diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-11-05 13:46:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-11-05 13:46:16 +0000 |
commit | 5db039da57de8cc35955533b364cf9c36e3e7af8 (patch) | |
tree | 8daddb9814b39910533f3a07188b22c0407524a7 /main/avahi/APKBUILD | |
parent | ee2f0898662cbc1731b865f5e218d952fed5d044 (diff) | |
download | aports-5db039da57de8cc35955533b364cf9c36e3e7af8.tar.bz2 aports-5db039da57de8cc35955533b364cf9c36e3e7af8.tar.xz |
main/avahi: fixi init script
- replace 'opts' with 'extra_started_commands'
- start avahi after hostname is set
fixes #1461
Diffstat (limited to 'main/avahi/APKBUILD')
-rw-r--r-- | main/avahi/APKBUILD | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/main/avahi/APKBUILD b/main/avahi/APKBUILD index 5ba1f0cd1c..05b9a54098 100644 --- a/main/avahi/APKBUILD +++ b/main/avahi/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=avahi pkgver=0.6.31 -pkgrel=1 +pkgrel=2 pkgdesc="A multicast/unicast DNS-SD framework" url="http://www.avahi.org/" arch="all" @@ -16,10 +16,19 @@ pkggroups="avahi" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-ui-tools:uitools $pkgname-glib $pkgname-ui $pkgname-libs $pkgname-compat-howl:howl $pkgname-compat-libdns_sd:lidns_sd $pkgname-lang" +patches="initscripts.patch" source="http://www.avahi.org/download/avahi-$pkgver.tar.gz + $patches gnome-nettool.png" _builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + for i in $patches; do + patch -p1 -i "$srcdir"/$i || return 1 + done +} + build () { cd "$srcdir/$pkgname-$pkgver" @@ -116,4 +125,5 @@ lidns_sd() { } md5sums="2f22745b8f7368ad5a0a3fddac343f2d avahi-0.6.31.tar.gz +0f8cd64789585731adbeb3e3efd55b21 initscripts.patch 42c2905307c7a5dc6ac4b75f4c3d65a3 gnome-nettool.png" |