aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opensips/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-12 15:32:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-12 15:32:03 +0000
commitfb1384b92fe6d183c2e4fe0dc5b728912d99a0fb (patch)
tree2bbb337bbb183000c1551a02b18621073cd8d2e3 /testing/opensips/APKBUILD
parent703395542c366ffe80e8e8f2c067ec34b96d6521 (diff)
downloadaports-fb1384b92fe6d183c2e4fe0dc5b728912d99a0fb.tar.bz2
aports-fb1384b92fe6d183c2e4fe0dc5b728912d99a0fb.tar.xz
testing/opensips: set permissions on config file
Diffstat (limited to 'testing/opensips/APKBUILD')
-rw-r--r--testing/opensips/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/opensips/APKBUILD b/testing/opensips/APKBUILD
index b6842e235c..ab98d4ba6e 100644
--- a/testing/opensips/APKBUILD
+++ b/testing/opensips/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=opensips
pkgver=1.5.0
-pkgrel=2
+pkgrel=3
pkgdesc="Flexible and customizable sip routing engine"
url="http://www.opensips.org/"
license="GPL"
@@ -26,11 +26,12 @@ build() {
make prefix=/usr || return 1
make prefix=/usr basedir="$pkgdir" install
+ chmod 750 "$pkgdir"/etc/opensips/opensips.cfg
install -d "$pkgdir"/var/run/opensips
install -Dm755 ../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
md5sums="ba99592a6e42e8b4dc2d38964420dfec opensips-1.5.0-notls_src.tar.gz
3a8a5d3c4c23ce9f2fc60b449ad61820 opensips.pre-install
-f4f90144213715621f1f386c51ba330c opensips.post-install
+d9b551148d2b60466c05b4295b935091 opensips.post-install
6606574b4872cbc5114e490f962ca096 opensips.initd"