summaryrefslogtreecommitdiff
path: root/denyhosts/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2007-01-03 02:03:47 +1100
committerDanny Rawlins <romster@shortcircuit.net.au>2007-01-03 02:03:47 +1100
commit918fab3759b2659a77067b57715cae7284394d95 (patch)
treeabba09d099af176b0dd02b362ced647aeeaceab1 /denyhosts/Pkgfile
parentaec1b7843c1f3b2deccfc1c0d6e4e340429d2dcb (diff)
downloadcontrib-918fab3759b2659a77067b57715cae7284394d95.tar.gz
contrib-918fab3759b2659a77067b57715cae7284394d95.tar.xz
denyhosts: 2.5 -> 2.6
cleaned up README edited patch and Pkgfile to remove the .py off files in /usr/bin
Diffstat (limited to 'denyhosts/Pkgfile')
-rw-r--r--denyhosts/Pkgfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/denyhosts/Pkgfile b/denyhosts/Pkgfile
index 2d5ad2622..bbfaa31d8 100644
--- a/denyhosts/Pkgfile
+++ b/denyhosts/Pkgfile
@@ -5,7 +5,7 @@
# Depends on: python
name=denyhosts
-version=2.5
+version=2.6
release=1
source=(http://dl.sourceforge.net/sourceforge/$name/DenyHosts-$version.tar.gz \
$name-$version-config.patch)
@@ -15,7 +15,7 @@ build() {
patch -p0 -i $SRC/$name-$version-config.patch
python setup.py install --root=$PKG
- rm -fr $PKG/usr/share/denyhosts/*.txt
+ rm $PKG/usr/share/denyhosts/*.txt
install -d \
$PKG/etc/ \
@@ -30,7 +30,8 @@ build() {
chmod 700 $PKG/usr/share/denyhosts/daemon-control
- ln -sf /usr/share/denyhosts/daemon-control $PKG/etc/rc.d/denyhosts
+ ln -s /usr/share/denyhosts/daemon-control $PKG/etc/rc.d/denyhosts
rm $PKG/usr/share/denyhosts/plugins/README.contrib
+ mv $PKG/usr/bin/denyhosts.py $PKG/usr/bin/denyhosts
}

Generated by cgit