diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2022-03-19 23:15:55 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-20 20:45:18 +0700 |
commit | 23501ee3910e1276f93cce3c01225b38fb340e7d (patch) | |
tree | 61adf1fc065f4bfaa2ce08071fe913697f8c150b /network/avahi/avahi.SlackBuild | |
parent | 76485db1a58de67250c5106a691fba89920a0f23 (diff) |
network/avahi: Included several patches from Debian
Thanks to Petr Mayr for the heads-up on missing functionality
without these patches.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/avahi/avahi.SlackBuild')
-rw-r--r-- | network/avahi/avahi.SlackBuild | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/network/avahi/avahi.SlackBuild b/network/avahi/avahi.SlackBuild index b0d58a9d9bb2b..321ce5761214e 100644 --- a/network/avahi/avahi.SlackBuild +++ b/network/avahi/avahi.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=avahi VERSION=${VERSION:-0.8} -BUILD=${BUILD:-5} +BUILD=${BUILD:-6} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -104,18 +104,35 @@ 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 {} \; -patch -p1 --verbose < $CWD/fixup_avahi-dnsconfd.action.patch -patch -p1 --verbose < $CWD/ipv6_race_condition_fix.patch # thanks, LFS +# This patch is mine --rworkman +patch -p1 --verbose < $CWD/patches/fixup_avahi-dnsconfd.action.patch + +# Thanks to LFS for this patch +patch -p1 --verbose < $CWD/patches/ipv6_race_condition_fix.patch + +# Thanks to Debian for these patches +patch -p1 --verbose < $CWD/patches/man-fix-reference-to-avahi-autoipd.action-8-in-avahi-auto.patch +patch -p1 --verbose < $CWD/patches/man-add-missing-bshell.1-symlink.patch +patch -p1 --verbose < $CWD/patches/Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK3.patch +patch -p1 --verbose < $CWD/patches/avahi_dns_packet_consume_uint32-fix-potential-undefined-b.patch +patch -p1 --verbose < $CWD/patches/fix-bytestring-decoding-for-proper-display.patch +patch -p1 --verbose < $CWD/patches/avahi-discover-Don-t-decode-unicode-strings-only-bytestri.patch +patch -p1 --verbose < $CWD/patches/Fetch-build-db-from-upstream-git.patch +patch -p1 --verbose < $CWD/patches/build-db-Use-the-same-database-format-that-the-C-code-exp.patch +patch -p1 --verbose < $CWD/patches/avahi-daemon-chroot-fix-bogus-assignments-in-assertions.patch +patch -p1 --verbose < $CWD/patches/avahi-client-fix-resource-leak.patch +patch -p1 --verbose < $CWD/patches/avoid-infinite-loop-in-avahi-daemon-by-handling-hup-event-in-client-work.patch +patch -p1 --verbose < $CWD/patches/CVE-2021-3502.patch # Okay, I had to cheat a bit on the manual pages; there's a commit # in git that will fix this, so I just built a git checkout, grabbed # the built manual pages, and we'll drop them into place so the build # will work for this released version... -cat $CWD/build-db > service-type-database/build-db -chmod 0755 service-type-database/build-db cat $CWD/bssh.1 > man/bssh.1 cat $CWD/avahi-discover.1 > man/avahi-discover.1 +autoreconf -vif + export PYTHON=python3 CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |