aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-15 12:14:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-15 12:14:18 +0000
commit334ba4029aa89519fda0915bc31e1446f8c84b2e (patch)
tree1fb152460d0e79fffc1b7b231320fae80e43076d /main/alpine-conf/APKBUILD
parent5c518b6bec8bb98330b7674823627c3d1b3adb0b (diff)
downloadaports-334ba4029aa89519fda0915bc31e1446f8c84b2e.tar.bz2
aports-334ba4029aa89519fda0915bc31e1446f8c84b2e.tar.xz
main/alpine-conf: setup-alpine edits /etc/hosts
fixes #163
Diffstat (limited to 'main/alpine-conf/APKBUILD')
-rw-r--r--main/alpine-conf/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/alpine-conf/APKBUILD b/main/alpine-conf/APKBUILD
index d7dfc4e26d..aa65754961 100644
--- a/main/alpine-conf/APKBUILD
+++ b/main/alpine-conf/APKBUILD
@@ -1,16 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=2.0_rc3
-pkgrel=0
+pkgrel=1
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
depends="openrc"
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ 0001-setup-alpine-add-the-hostname-to-etc-hosts.patch
"
license="GPL-2"
build() {
cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 -i ../0001-setup-alpine-add-the-hostname-to-etc-hosts.patch \
+ || return 1
make || return 1
make install PREFIX= DESTDIR="$pkgdir"
@@ -18,4 +21,5 @@ build() {
ln -s lbu "$pkgdir"/sbin/lbu_$i
done
}
-md5sums="54810ee972f0d9c9a992f706af8feb43 alpine-conf-2.0_rc3.tar.bz2"
+md5sums="54810ee972f0d9c9a992f706af8feb43 alpine-conf-2.0_rc3.tar.bz2
+c91b9ca722dfbb479e0739d905211f94 0001-setup-alpine-add-the-hostname-to-etc-hosts.patch"