summaryrefslogtreecommitdiffstats
path: root/extra/knock/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-03-07 11:44:08 +0100
committersibel <lesibel@free.fr>2011-03-07 11:44:08 +0100
commit083431558d47805085b959e59aaeb3ed2a7d30d2 (patch)
tree3bf5cfaa3953ad23b189ce3b1a0edad256c9c3ac /extra/knock/Pkgfile
parent7efd0c1bf7a75bce3f2545f26f53c73c2f5c5581 (diff)
downloadnutyx-extra-083431558d47805085b959e59aaeb3ed2a7d30d2.tar.gz
nutyx-extra-083431558d47805085b959e59aaeb3ed2a7d30d2.tar.bz2
nutyx-extra-083431558d47805085b959e59aaeb3ed2a7d30d2.tar.xz
nutyx-extra-083431558d47805085b959e59aaeb3ed2a7d30d2.zip
knock, déplacé dans ouvert
Diffstat (limited to 'extra/knock/Pkgfile')
-rw-r--r--extra/knock/Pkgfile33
1 files changed, 0 insertions, 33 deletions
diff --git a/extra/knock/Pkgfile b/extra/knock/Pkgfile
deleted file mode 100644
index 35e032f47..000000000
--- a/extra/knock/Pkgfile
+++ /dev/null
@@ -1,33 +0,0 @@
-# Description: Port knocking
-# URL: http://www.zeroflux.org/projects/knock
-# Maintainer: Cobex4
-# Packager: cobex4 at gmail dot com
-# Depends on: libpcap
-# Run on:
-
-name=knock
-version=0.5
-release=1
-source=(http://www.zeroflux.org/proj/knock/files/$name-$version.tar.gz\
- knockd)
-
-build() {
- cd $name-$version
- # build-time config
- echo "#include <limits.h>" >> src/list.h
-
- ./configure --prefix=/usr \
- --mandir=/usr/share/man
- make
- make DESTDIR=$PKG install
- # Installation du service
- mkdir -v -p $PKG/etc/rc.d/init.d
- mkdir -v -p $PKG/etc/rc.d/rc{0,1,3,4,5,6}.d
- install -m755 ../knockd $PKG/etc/rc.d/init.d/
- ln -svf ../init.d/knockd $PKG/etc/rc.d/rc3.d/S20knockd
- ln -svf ../init.d/knockd $PKG/etc/rc.d/rc5.d/S20knockd
- ln -svf ../init.d/knockd $PKG/etc/rc.d/rc4.d/S20knockd
- ln -svf ../init.d/knockd $PKG/etc/rc.d/rc0.d/K90knockd
- ln -svf ../init.d/knockd $PKG/etc/rc.d/rc1.d/K90knockd
- ln -svf ../init.d/knockd $PKG/etc/rc.d/rc6.d/K90knockd
-}