diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2022-02-25 19:31:26 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-27 01:09:52 +0700 |
commit | 3e36ca23d7266b611018151b358aa5e1d973fbf4 (patch) | |
tree | eeec175a5fb59290b1b3907033bc9b2b9e6183d9 /network/yadifa/yadifa.SlackBuild | |
parent | 0a624b1c9dd975615e3b2de8e8a8f218580b8150 (diff) |
network/yadifa: Updated for version 2.5.3.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/yadifa/yadifa.SlackBuild')
-rw-r--r-- | network/yadifa/yadifa.SlackBuild | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/network/yadifa/yadifa.SlackBuild b/network/yadifa/yadifa.SlackBuild index 0050b7e9aaacb..d284cd810872e 100644 --- a/network/yadifa/yadifa.SlackBuild +++ b/network/yadifa/yadifa.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=yadifa -VERSION=${VERSION:-2.4.0} -VSUFFIX=${VSUFFIX:-9809} +VERSION=${VERSION:-2.5.3} +VSUFFIX=${VSUFFIX:-10333} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -34,17 +34,17 @@ PKGTYPE=${PKGTYPE:-tgz} SRCVERSION=$(echo $VERSION-$VSUFFIX | tr _ -) if ! grep -q "^yadifa:" /etc/group; then - echo "$0: Error: $PRGNAM group (yadifa) doesn't exist." - echo "$0: Try creating one with:" - echo " # groupadd -g 332 yadifa" - exit 1 + echo "$0: Error: $PRGNAM group (yadifa) doesn't exist." + echo "$0: Try creating one with:" + echo " # groupadd -g 332 yadifa" + exit 1 fi if ! grep -q "^yadifa:" /etc/passwd; then - echo "$0: Error: $PRGNAM user (yadifa) doesn't exist." - echo "$0: Try creating one with:" - echo " # useradd -u 332 -d /var/lib/yadifa -g yadifa -s /bin/false yadifa" - exit 1 + echo "$0: Error: $PRGNAM user (yadifa) doesn't exist." + echo "$0: Try creating one with:" + echo " # useradd -u 332 -d /var/lib/yadifa -g yadifa -s /bin/false yadifa" + exit 1 fi if [ -z "$ARCH" ]; then @@ -152,8 +152,9 @@ install --mode=644 $CWD/zones.conf $PKG/etc/yadifa/zones.conf.new mkdir -p $PKG/etc/logrotate.d install --mode=644 $CWD/yadifa.logrotate $PKG/etc/logrotate.d/yadifa.new -# remove empty file +# remove empty files rm -rf $PKG/etc/yadifa/yadifad.conf +rm -rf $PKG/etc/yadifa/yakeyrolld.conf cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |