summaryrefslogtreecommitdiffstats
path: root/source/n/netatalk/netatalk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/netatalk/netatalk.SlackBuild')
-rwxr-xr-xsource/n/netatalk/netatalk.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/n/netatalk/netatalk.SlackBuild b/source/n/netatalk/netatalk.SlackBuild
index 7674450d6..09f715c43 100755
--- a/source/n/netatalk/netatalk.SlackBuild
+++ b/source/n/netatalk/netatalk.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=netatalk
VERSION=${VERSION:-$(echo netatalk-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -78,6 +78,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# https://bugzilla.redhat.com/show_bug.cgi?id=1793912
+zcat $CWD/netatalk-invalid_dircache_entries.patch.gz | patch -p1 --verbose || exit 1
+
# Choose correct options depending on whether PAM is installed:
if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then
PAM_OPTIONS="--with-pam-confdir=/etc/pam.d --with-pam --enable-ddp"
@@ -101,7 +104,7 @@ CFLAGS="$SLKCFLAGS" \
$PAM_OPTIONS \
$SHADOW_OPTIONS \
--with-libevent=system \
- --with-dbus-sysconf-dir=/etc/dbus-1/system.d/ \
+ --with-dbus-sysconf-dir=/usr/share/dbus-1/system.d/ \
--with-dbus-daemon=/usr/bin/dbus-daemon \
--build=$ARCH-slackware-linux || exit 1