diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-01 15:01:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-01 15:01:21 +0000 |
commit | fb65711545433ae5aed3b0e707ab7ae2698424ac (patch) | |
tree | d8a62daf17468832d9b3aa1e69ad650e5d42d199 /extra/asterisk | |
parent | 49ec5b75b0cce1fe05ed78c2ec5428214da1a03b (diff) | |
download | aports-fb65711545433ae5aed3b0e707ab7ae2698424ac.tar.bz2 aports-fb65711545433ae5aed3b0e707ab7ae2698424ac.tar.xz |
extra/asterisk: set rundir to /var/run/asterisk
fixes #38
Diffstat (limited to 'extra/asterisk')
-rw-r--r-- | extra/asterisk/103-rundir.patch | 11 | ||||
-rw-r--r-- | extra/asterisk/APKBUILD | 4 |
2 files changed, 14 insertions, 1 deletions
diff --git a/extra/asterisk/103-rundir.patch b/extra/asterisk/103-rundir.patch new file mode 100644 index 0000000000..367dc7163f --- /dev/null +++ b/extra/asterisk/103-rundir.patch @@ -0,0 +1,11 @@ +--- asterisk-1.4.0/Makefile.orig 2006-12-24 03:07:19.000000000 +0000 ++++ asterisk-1.4.0/Makefile 2006-12-24 03:07:57.000000000 +0000 +@@ -109,7 +109,7 @@ + ASTSBINDIR=$(sbindir) + ASTSPOOLDIR=$(localstatedir)/spool/asterisk + ASTLOGDIR=$(localstatedir)/log/asterisk +- ASTVARRUNDIR=$(localstatedir)/run ++ ASTVARRUNDIR=$(localstatedir)/run/asterisk + ASTMANDIR=$(mandir) + ifeq ($(OSARCH),FreeBSD) + ASTVARLIBDIR=$(prefix)/share/asterisk diff --git a/extra/asterisk/APKBUILD b/extra/asterisk/APKBUILD index 17acd6df7c..14e8b23b12 100644 --- a/extra/asterisk/APKBUILD +++ b/extra/asterisk/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Timo Teras <timo.teras@iki.fi> pkgname=asterisk pkgver=1.6.0.9 -pkgrel=1 +pkgrel=2 pkgdesc="Asterisk: A Module Open Source PBX System" url="http://www.asterisk.org/" license="GPL" @@ -17,6 +17,7 @@ source="http://downloads.digium.com/pub/asterisk/releases/$pkgname-$pkgver.tar.g 100-uclibc-daemon.patch 101-caps-uclibc.patch 102-gsm-pic.patch + 103-rundir.patch asterisk.pre-install asterisk.post-install asterisk.initd @@ -87,6 +88,7 @@ md5sums="9142461a5ae047a5493bcb610963bc42 asterisk-1.6.0.9.tar.gz b00c9d98ce2ad445501248a197c6e436 100-uclibc-daemon.patch 929f740db7043b4553544ebcc7315c91 101-caps-uclibc.patch 97b39fd9777a2521d4f9f095482b7ac2 102-gsm-pic.patch +5008f51c737ec91f5047519bc9f25b85 103-rundir.patch b4a97cb1ec3cc3f71a10ce8c067ab430 asterisk.pre-install 62ecffc90b6714b85f377d1fac73c58b asterisk.post-install bbcd152417bb7c838b25cb6007db91da asterisk.initd |