diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-12 15:32:03 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-12 15:32:03 +0000 |
commit | fb1384b92fe6d183c2e4fe0dc5b728912d99a0fb (patch) | |
tree | 2bbb337bbb183000c1551a02b18621073cd8d2e3 /testing/opensips | |
parent | 703395542c366ffe80e8e8f2c067ec34b96d6521 (diff) | |
download | aports-fb1384b92fe6d183c2e4fe0dc5b728912d99a0fb.tar.bz2 aports-fb1384b92fe6d183c2e4fe0dc5b728912d99a0fb.tar.xz |
testing/opensips: set permissions on config file
Diffstat (limited to 'testing/opensips')
-rw-r--r-- | testing/opensips/APKBUILD | 5 | ||||
-rw-r--r-- | testing/opensips/opensips.post-install | 2 |
2 files changed, 5 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" diff --git a/testing/opensips/opensips.post-install b/testing/opensips/opensips.post-install index e0b90e8640..eb9d86d98b 100644 --- a/testing/opensips/opensips.post-install +++ b/testing/opensips/opensips.post-install @@ -1,3 +1,5 @@ #!/bin/sh chown -R opensips:opensips /var/run/opensips +chgrp opensips /etc/opensips/opensips.cfg +exit 0 |