summaryrefslogtreecommitdiffstats
path: root/extra/ufw/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-01-23 22:33:43 +0100
committertnut <thierryn1 at hispeed dot ch>2010-01-23 22:33:43 +0100
commitd8fa3f11cb6edfd10a193f70cbc1995c986c8abf (patch)
tree3e38ac79297bfacc93ff21e34d2135d3ab81dc82 /extra/ufw/Pkgfile
parentff560295097626ea55bb75a4c552f9ffb9eb618a (diff)
downloadnutyx-extra-d8fa3f11cb6edfd10a193f70cbc1995c986c8abf.tar.gz
nutyx-extra-d8fa3f11cb6edfd10a193f70cbc1995c986c8abf.tar.bz2
nutyx-extra-d8fa3f11cb6edfd10a193f70cbc1995c986c8abf.tar.xz
nutyx-extra-d8fa3f11cb6edfd10a193f70cbc1995c986c8abf.zip
Ajout de ufw#0.29.1-1
Diffstat (limited to 'extra/ufw/Pkgfile')
-rw-r--r--extra/ufw/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/ufw/Pkgfile b/extra/ufw/Pkgfile
new file mode 100644
index 000000000..ac73c5b96
--- /dev/null
+++ b/extra/ufw/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Un parefeu très simple
+# URL: https://launchpad.net/ufw
+# Maintainer: NuTyX core team
+# Packager: Tux03
+# Depends on: python, iptables
+
+name=ufw
+version=0.29.1
+release=1
+source=(http://launchpad.net/ufw/0.29/0.29.1/+download/ufw-0.29.1.tar.gz\
+ ufwd)
+
+build() {
+ cd $name-$version
+ python ./setup.py install --root=$PKG
+ mkdir -p $PKG/usr/bin
+ mv $PKG/usr/{sbin,bin}/$name
+ rm -r $PKG/usr/sbin
+ chmod 644 $PKG/etc/ufw/*.rules $PKG/lib/ufw/*.rules
+ mkdir -p $PKG/etc/rc.d/{init.d,rc{1,2,3,4,5}.d}
+ install -m755 ../ufwd $PKG/etc/rc.d/init.d/ufwd
+ for i in 2 3 4 5
+ do ln -s ../init.d/ufwd $PKG/etc/rc.d/rc$i.d/S19ufwd
+ done
+
+}