summaryrefslogtreecommitdiff
path: root/repo/avahi/avahi.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/avahi/avahi.xibuild
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/avahi/avahi.xibuild')
-rw-r--r--repo/avahi/avahi.xibuild60
1 files changed, 0 insertions, 60 deletions
diff --git a/repo/avahi/avahi.xibuild b/repo/avahi/avahi.xibuild
deleted file mode 100644
index d1e53f4..0000000
--- a/repo/avahi/avahi.xibuild
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/sh
-
-NAME="avahi"
-DESC="multicast/unicast DNS-SD framework"
-
-MAKEDEPS="gdbm intltool gobject-introspection expat libdaemon glib dbus libcap gettext autoconf automake libtool libevent"
-
-PKG_VER=0.8
-SOURCE="https://github.com/lathiat/avahi/releases/download/v$PKG_VER/avahi-$PKG_VER.tar.gz"
-
-ADDITIONAL="
-CVE-2021-3468.patch
-CVE-2021-36217.patch
-avahi.pre-install
-"
-
-prepare() {
- apply_patches
- autoreconf -vif
-}
-
-build() {
- # we dont build autoipd since dhcpcd does same job
- LDFLAGS="$LDFLAGS -lintl" \
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-autoipd \
- --disable-qt3 \
- --disable-qt4 \
- --disable-qt5 \
- --disable-gtk \
- --disable-gtk3 \
- --disable-mono \
- --disable-monodoc \
- --disable-doxygen-doc \
- --disable-xmltoman \
- --enable-compat-libdns_sd \
- --enable-compat-howl \
- --disable-python \
- --with-dbus-sys=/usr/share/dbus-1/system.d \
- --with-distro="gentoo"
- make
-}
-
-check() {
- make check
-}
-
-package() {
- make DESTDIR="$PKG_DEST" install
-
- install -d -o avahi -g avahi "$PKG_DEST"/var/run/avahi-daemon
-
- ln -s avahi-compat-howl.pc "$PKG_DEST"/usr/lib/pkgconfig/howl.pc
- ln -s avahi-compat-libdns_sd.pc "$PKG_DEST"/usr/lib/pkgconfig/libdns_sd.pc
- ln -s avahi-compat-libdns_sd/dns_sd.h "$PKG_DEST"/usr/include/
-}
-