aboutsummaryrefslogtreecommitdiff
path: root/network/AdGuardHome/AdGuardHome.SlackBuild
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2022-04-24 21:47:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-30 13:52:03 +0700
commitebebf6fc33562897dabe1438a2a0d8e940813754 (patch)
tree92c31626914e390c70f465187ff05f415662a3f2 /network/AdGuardHome/AdGuardHome.SlackBuild
parent5dc36c680a7b77fc6a2b60f335064fba2f60471e (diff)
network/AdGuardHome: Updated for version 0.107.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/AdGuardHome/AdGuardHome.SlackBuild')
-rw-r--r--network/AdGuardHome/AdGuardHome.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/network/AdGuardHome/AdGuardHome.SlackBuild b/network/AdGuardHome/AdGuardHome.SlackBuild
index c1aed11fe2a34..713ec42f9f92d 100644
--- a/network/AdGuardHome/AdGuardHome.SlackBuild
+++ b/network/AdGuardHome/AdGuardHome.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for AdGuardHome
-# Copyright 2019-2021, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2019-2022, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=AdGuardHome
-VERSION=${VERSION:-0.105.2}
+VERSION=${VERSION:-0.107.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -37,9 +37,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
@@ -77,6 +74,8 @@ install -m 0755 -o root -g root AdGuardHome $PKG/usr/sbin
install -m 0644 -o root -g root $CWD/rc.AdGuardHome \
$PKG/etc/rc.d/rc.AdGuardHome.new
+mkdir -p $PKG/var/lib/AdGuardHome
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true