From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- repo/avahi/avahi.xibuild | 60 ------------------------------------------------ 1 file changed, 60 deletions(-) delete mode 100644 repo/avahi/avahi.xibuild (limited to 'repo/avahi/avahi.xibuild') 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/ -} - -- cgit v1.2.1