diff options
author | Joey Trungale <joey@trungale.net> | 2010-05-13 00:36:56 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:36:56 +0200 |
commit | 6b0bec112ec5eef0b22a1fa5d94bdef096fc3e6c (patch) | |
tree | 86efaf29b183d35cfe82e3eb81788efcc8893e6f /network/knock | |
parent | ff00687459d1b42d8417a31fb1b957266ae61361 (diff) |
network/knock: Updated for version .0.5
Diffstat (limited to 'network/knock')
-rw-r--r-- | network/knock/doinst.sh | 2 | ||||
-rw-r--r-- | network/knock/knock.SlackBuild | 6 | ||||
-rw-r--r-- | network/knock/knock.info | 2 | ||||
-rw-r--r-- | network/knock/slack-desc | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/network/knock/doinst.sh b/network/knock/doinst.sh index 9a247a060bc4..34adf21d6fcd 100644 --- a/network/knock/doinst.sh +++ b/network/knock/doinst.sh @@ -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 diff --git a/network/knock/knock.SlackBuild b/network/knock/knock.SlackBuild index 0e174d967105..d6ac8e24ed2e 100644 --- a/network/knock/knock.SlackBuild +++ b/network/knock/knock.SlackBuild @@ -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} diff --git a/network/knock/knock.info b/network/knock/knock.info index c8cb983cb308..93a00139a8f0 100644 --- a/network/knock/knock.info +++ b/network/knock/knock.info @@ -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" diff --git a/network/knock/slack-desc b/network/knock/slack-desc index 1ba1ec04207b..b1173d607dea 100644 --- a/network/knock/slack-desc +++ b/network/knock/slack-desc @@ -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: |