summaryrefslogtreecommitdiffstats
path: root/network/AdGuardHome/AdGuardHome.SlackBuild
diff options
context:
space:
mode:
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 c1aed11fe2..713ec42f9f 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