mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/knock: Updated for version .0.5
This commit is contained in:
parent
ff00687459
commit
6b0bec112e
4 changed files with 9 additions and 3 deletions
|
@ -9,7 +9,7 @@ config() {
|
|||
rm $NEW
|
||||
fi
|
||||
# Otherwise, we leave the .new copy for the admin to consider...
|
||||
}
|
||||
}
|
||||
|
||||
# Keep same permissions on rc.knockd.new as an existing rc.knockd:
|
||||
if [ -e etc/rc.d/rc.knockd ]; then
|
||||
|
|
|
@ -17,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e # Exit on most errors
|
||||
|
@ -42,6 +45,7 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man
|
||||
|
@ -75,4 +79,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
|
|||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="knock"
|
|||
VERSION=".0.5"
|
||||
HOMEPAGE="http://www.zeroflux.org"
|
||||
DOWNLOAD="http://www.zeroflux.org/proj/knock/files/knock-0.5.tar.gz"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="ca09d61458974cff90a700aba6120891"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Joey Trungale"
|
||||
EMAIL="joey@trungale.net"
|
||||
APPROVED="dsomero"
|
||||
|
|
|
@ -15,5 +15,5 @@ knock: bound to that port knock sequence. These port-hits need not be on
|
|||
knock: open ports, since we use libpcap to sniff the raw interface traffic.
|
||||
knock:
|
||||
knock:
|
||||
knock: http://www.zeroflux.org/cgi-bin/cvstrac.cgi/knock/wiki
|
||||
knock: Homepage: http://www.zeroflux.org/cgi-bin/cvstrac.cgi/knock/wiki
|
||||
knock:
|
||||
|
|
Loading…
Reference in a new issue