diff options
Diffstat (limited to 'network/wireguard-tools/wireguard-tools.SlackBuild')
-rw-r--r-- | network/wireguard-tools/wireguard-tools.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/network/wireguard-tools/wireguard-tools.SlackBuild b/network/wireguard-tools/wireguard-tools.SlackBuild index 54fe8d25d738..bd3c9c2ea292 100644 --- a/network/wireguard-tools/wireguard-tools.SlackBuild +++ b/network/wireguard-tools/wireguard-tools.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=wireguard-tools VERSION=${VERSION:-1.0.20200102} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGVER="$(printf %s "${VERSION}" | tr - _)" @@ -72,6 +72,11 @@ 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 {} \; + +NEW_NFT=${NEW_NFT:-no} +[[ $NEW_NFT != "no" ]] || sed -i 's/type -p nft/false/g' src/wg-quick/linux.bash ; + + # If you want this, you can have it :) SYSTEMD="${SYSTEMD:-no}" |