Browse Source
network/knock: Updated for version 0.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/255/head
Joey Trungale
12 months ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with
10 additions and
10 deletions
-
network/knock/knock.SlackBuild
-
network/knock/knock.info
-
network/knock/slack-desc
|
|
@ -7,7 +7,7 @@ |
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=knock |
|
|
|
VERSION=${VERSION:-0.7} |
|
|
|
VERSION=${VERSION:-0.8} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
@ -20,9 +20,6 @@ if [ -z "$ARCH" ]; then |
|
|
|
esac |
|
|
|
fi |
|
|
|
|
|
|
|
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what |
|
|
|
# the name of the created package would be, and then exit. This information |
|
|
|
# could be useful to other scripts. |
|
|
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then |
|
|
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" |
|
|
|
exit 0 |
|
|
@ -46,7 +43,7 @@ else |
|
|
|
LIBDIRSUFFIX="" |
|
|
|
fi |
|
|
|
|
|
|
|
set -e |
|
|
|
set -e |
|
|
|
|
|
|
|
rm -rf $PKG |
|
|
|
mkdir -p $TMP $PKG $OUTPUT |
|
|
@ -61,6 +58,8 @@ find -L . \ |
|
|
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ |
|
|
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; |
|
|
|
|
|
|
|
autoreconf -fi |
|
|
|
|
|
|
|
CFLAGS="$SLKCFLAGS" \ |
|
|
|
CXXFLAGS="$SLKCFLAGS" \ |
|
|
|
./configure \ |
|
|
@ -84,6 +83,7 @@ cp -a COPYING README.md ChangeLog TODO $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |
|
|
|
cat $PKG/etc/knockd.conf > $PKG/usr/doc/$PRGNAM-$VERSION/knockd.conf |
|
|
|
mv $PKG/etc/knockd.conf $PKG/etc/knockd.conf.new |
|
|
|
rm -rf $PKG/usr/share/ |
|
|
|
|
|
|
|
mkdir -p $PKG/etc/rc.d |
|
|
|
cat $CWD/rc.knockd.new > $PKG/etc/rc.d/rc.knockd.new |
|
|
|
|
|
@ -1,8 +1,8 @@ |
|
|
|
PRGNAM="knock" |
|
|
|
VERSION="0.7" |
|
|
|
HOMEPAGE="http://www.zeroflux.org" |
|
|
|
DOWNLOAD="http://www.zeroflux.org/proj/knock/files/knock-0.7.tar.gz" |
|
|
|
MD5SUM="cb6373fd4ccb42eeca3ff406b7fdb8a7" |
|
|
|
VERSION="0.8" |
|
|
|
HOMEPAGE="https://github.com/jvinet/knock" |
|
|
|
DOWNLOAD="https://github.com/jvinet/knock/archive/refs/tags/v0.8/knock-0.8.tar.gz" |
|
|
|
MD5SUM="9fec0dff4ad76a38b0860de65dd3dd18" |
|
|
|
DOWNLOAD_x86_64="" |
|
|
|
MD5SUM_x86_64="" |
|
|
|
REQUIRES="" |
|
|
|
|
|
@ -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: Homepage: http://www.zeroflux.org/cgi-bin/cvstrac.cgi/knock/wiki |
|
|
|
knock: Homepage: https://github.com/jvinet/knock |
|
|
|
knock: |