aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-03 16:47:41 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-03 16:50:27 +0200
commitc4df9d1805ff82794c28c739cd165ba5cdcdf361 (patch)
treeae407fb6fd46d21665a459932db74e06b56be2c4
parent8d0ac945d06e7988e1c4962eb9dc55eba09ddbee (diff)
downloadaports-c4df9d1805ff82794c28c739cd165ba5cdcdf361.tar.bz2
aports-c4df9d1805ff82794c28c739cd165ba5cdcdf361.tar.xz
main/avahi: fix arning about runscript
-rw-r--r--main/avahi/APKBUILD16
-rw-r--r--main/avahi/openrc-run.patch20
2 files changed, 25 insertions, 11 deletions
diff --git a/main/avahi/APKBUILD b/main/avahi/APKBUILD
index 82c9604bb5..4d76fbc2c8 100644
--- a/main/avahi/APKBUILD
+++ b/main/avahi/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avahi
pkgver=0.6.32
-pkgrel=3
+pkgrel=4
pkgdesc="A multicast/unicast DNS-SD framework"
url="http://www.avahi.org/"
arch="all"
@@ -18,18 +18,13 @@ 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"
-patches="
- "
source="https://github.com/lathiat/avahi/releases/download/v$pkgver/avahi-$pkgver.tar.gz
- $patches
+ openrc-run.patch
"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$builddir"
- for i in $patches; do
- msg $i; patch -p1 -i "$srcdir"/$i || return 1
- done
+ default_prepare
autoreconf -vif
}
@@ -122,6 +117,5 @@ py() {
}
-md5sums="22b5e705d3eabb31d26f2e1e7b074013 avahi-0.6.32.tar.gz"
-sha256sums="d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454 avahi-0.6.32.tar.gz"
-sha512sums="6f8d0a64292439cbb989c531a4ba2f25a53ee9cf7ad9df04dedf73149489a92612f3b5955e10aa4b1c76496c34b90ad75590e8aa49468249508267c1c8b899ee avahi-0.6.32.tar.gz"
+sha512sums="6f8d0a64292439cbb989c531a4ba2f25a53ee9cf7ad9df04dedf73149489a92612f3b5955e10aa4b1c76496c34b90ad75590e8aa49468249508267c1c8b899ee avahi-0.6.32.tar.gz
+2754d11bf027676f30de6322eb9251ae83df5ef8f7b354793263224d432514a49e021d8f819f5525eeaeead04b544e15bfd2183ac8bc9f97e871d246e2b6a108 openrc-run.patch"
diff --git a/main/avahi/openrc-run.patch b/main/avahi/openrc-run.patch
new file mode 100644
index 0000000000..08105aa268
--- /dev/null
+++ b/main/avahi/openrc-run.patch
@@ -0,0 +1,20 @@
+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
+