From 918fab3759b2659a77067b57715cae7284394d95 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Wed, 3 Jan 2007 02:03:47 +1100 Subject: denyhosts: 2.5 -> 2.6 cleaned up README edited patch and Pkgfile to remove the .py off files in /usr/bin --- denyhosts/Pkgfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'denyhosts/Pkgfile') 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 } -- cgit v1.2.3