diff options
author | Joey Trungale <joey@trungale.net> | 2024-10-29 15:50:08 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-10-29 22:40:01 +0700 |
commit | 5a408e4c6f24ca8b1aa4823b3338df890080ee22 (patch) | |
tree | 427516e1395da4f2ad7af70030e081a75125bcee /network/knock/knock.SlackBuild | |
parent | cafae1962b986ac9194761c090d23122d21e971a (diff) |
network/knock: Updated for version 0.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/knock/knock.SlackBuild')
-rw-r--r-- | network/knock/knock.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/network/knock/knock.SlackBuild b/network/knock/knock.SlackBuild index aa49efa71e..1ab95632cf 100644 --- a/network/knock/knock.SlackBuild +++ b/network/knock/knock.SlackBuild @@ -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 |