mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/avahi: upgrade to 0.7
This commit is contained in:
parent
0c0fd7471c
commit
4dc7770d04
@ -1,28 +1,25 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=avahi
|
||||
pkgver=0.6.32
|
||||
pkgrel=4
|
||||
pkgver=0.7
|
||||
pkgrel=0
|
||||
pkgdesc="A multicast/unicast DNS-SD framework"
|
||||
url="http://www.avahi.org/"
|
||||
url="https://www.avahi.org/"
|
||||
arch="all"
|
||||
license="LGPL-2.0-or-later"
|
||||
pkgusers="avahi"
|
||||
pkggroups="avahi"
|
||||
depends=""
|
||||
depends_dev="gdbm-dev"
|
||||
makedepends="py-dbus-dev intltool gobject-introspection-dev expat-dev
|
||||
makedepends="py-dbus-dev intltool py-gobject3-dev gobject-introspection-dev expat-dev
|
||||
libdaemon-dev glib-dev dbus-dev libcap-dev gdbm-dev py-gdbm
|
||||
gettext-dev autoconf automake libtool"
|
||||
install="$pkgname.pre-install"
|
||||
pkgusers="avahi"
|
||||
pkggroups="avahi"
|
||||
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-glib
|
||||
$pkgname-libs $pkgname-compat-howl:howl
|
||||
$pkgname-compat-libdns_sd:lidns_sd $pkgname-lang
|
||||
py-avahi:py"
|
||||
source="https://github.com/lathiat/avahi/releases/download/v$pkgver/avahi-$pkgver.tar.gz
|
||||
openrc-run.patch
|
||||
"
|
||||
py-avahi:py:noarch"
|
||||
source="https://github.com/lathiat/avahi/releases/download/v$pkgver/avahi-$pkgver.tar.gz"
|
||||
|
||||
builddir="$srcdir"/$pkgname-$pkgver
|
||||
prepare() {
|
||||
default_prepare
|
||||
autoreconf -vif
|
||||
@ -51,20 +48,24 @@ build() {
|
||||
--enable-compat-howl \
|
||||
--enable-python \
|
||||
--with-distro="gentoo" \
|
||||
--with-systemdsystemunitdir=/lib/systemd/system \
|
||||
|| return 1
|
||||
--with-systemdsystemunitdir=/lib/systemd/system
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -d -o avahi -g avahi "$pkgdir"/var/run/avahi-daemon
|
||||
ln -s avahi-compat-howl.pc "$pkgdir"/usr/lib/pkgconfig/howl.pc
|
||||
ln -s avahi-compat-libdns_sd.pc \
|
||||
"$pkgdir"/usr/lib/pkgconfig/libdns_sd.pc
|
||||
ln -s avahi-compat-libdns_sd/dns_sd.h "$pkgdir"/usr/include/
|
||||
rm -r "$pkgdir"/usr/bin/avahi-bookmarks || return 1
|
||||
rm -r "$pkgdir"/usr/bin/avahi-bookmarks
|
||||
}
|
||||
|
||||
dev() {
|
||||
@ -117,5 +118,4 @@ py() {
|
||||
}
|
||||
|
||||
|
||||
sha512sums="6f8d0a64292439cbb989c531a4ba2f25a53ee9cf7ad9df04dedf73149489a92612f3b5955e10aa4b1c76496c34b90ad75590e8aa49468249508267c1c8b899ee avahi-0.6.32.tar.gz
|
||||
2754d11bf027676f30de6322eb9251ae83df5ef8f7b354793263224d432514a49e021d8f819f5525eeaeead04b544e15bfd2183ac8bc9f97e871d246e2b6a108 openrc-run.patch"
|
||||
sha512sums="bae5a1e9204aca90b90e7fd223d19e809e3514d03ba5fa2da1e55bf1d72d3d3b98567f357900c36393613dc17dc98e15ff3ebf0f226f2f6b9766e592452a6ce7 avahi-0.7.tar.gz"
|
||||
|
@ -1,20 +0,0 @@
|
||||
diff --git a/initscript/gentoo/avahi-daemon.in b/initscript/gentoo/avahi-daemon.in
|
||||
index f12d0e4..c038c75 100644
|
||||
--- a/initscript/gentoo/avahi-daemon.in
|
||||
+++ b/initscript/gentoo/avahi-daemon.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/sbin/runscript
|
||||
+#!/sbin/openrc-run
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
diff --git a/initscript/gentoo/avahi-dnsconfd.in b/initscript/gentoo/avahi-dnsconfd.in
|
||||
index dff914c..48f3b35 100644
|
||||
--- a/initscript/gentoo/avahi-dnsconfd.in
|
||||
+++ b/initscript/gentoo/avahi-dnsconfd.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/sbin/runscript
|
||||
+#!/sbin/openrc-run
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
Loading…
Reference in New Issue
Block a user