summaryrefslogtreecommitdiff
path: root/denyhosts/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2006-11-21 23:43:30 +1100
committerDanny Rawlins <romster@shortcircuit.net.au>2006-11-21 23:43:30 +1100
commit83729584bf7aeb3f13b9a72750462dd5a6ecb564 (patch)
treee0210d73c1f02ae221d4284bd56040165194d9a7 /denyhosts/Pkgfile
parentdd5393fec3a68646f2b516812793889f6ca45fa0 (diff)
downloadcontrib-83729584bf7aeb3f13b9a72750462dd5a6ecb564.tar.gz
contrib-83729584bf7aeb3f13b9a72750462dd5a6ecb564.tar.xz
forgot to add 2 ports, fftw and denyhosts
Diffstat (limited to 'denyhosts/Pkgfile')
-rw-r--r--denyhosts/Pkgfile36
1 files changed, 36 insertions, 0 deletions
diff --git a/denyhosts/Pkgfile b/denyhosts/Pkgfile
new file mode 100644
index 000000000..2d5ad2622
--- /dev/null
+++ b/denyhosts/Pkgfile
@@ -0,0 +1,36 @@
+# Description: DenyHosts is a script intended to be run by Linux system administrators to help thwart ssh server attacks.
+# URL: http://denyhosts.sourceforge.net/
+# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
+# Packager: Danny Rawlins, romster at shortcircuit dot net dot au
+# Depends on: python
+
+name=denyhosts
+version=2.5
+release=1
+source=(http://dl.sourceforge.net/sourceforge/$name/DenyHosts-$version.tar.gz \
+ $name-$version-config.patch)
+
+build() {
+ cd DenyHosts-$version
+ patch -p0 -i $SRC/$name-$version-config.patch
+ python setup.py install --root=$PKG
+
+ rm -fr $PKG/usr/share/denyhosts/*.txt
+
+ install -d \
+ $PKG/etc/ \
+ $PKG/etc/{denyhosts,rc.d} \
+ $PKG/var/log
+
+ mv $PKG/usr/share/denyhosts/denyhosts.cfg-dist \
+ $PKG/etc/denyhosts/denyhosts.conf
+
+ mv $PKG/usr/share/denyhosts/daemon-control-dist \
+ $PKG/usr/share/denyhosts/daemon-control
+
+ chmod 700 $PKG/usr/share/denyhosts/daemon-control
+
+ ln -sf /usr/share/denyhosts/daemon-control $PKG/etc/rc.d/denyhosts
+ rm $PKG/usr/share/denyhosts/plugins/README.contrib
+}
+

Generated by cgit