diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-25 07:58:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-25 07:58:29 +0000 |
commit | e075859841633fea370ce4089db31ca6ca209cea (patch) | |
tree | c7e82dd714104c5f970992b4e62f5f1e6e5b0084 /testing/mediaproxy/APKBUILD | |
parent | e6f6391e1341b142db81dd730af6589ebd69fbee (diff) | |
download | aports-e075859841633fea370ce4089db31ca6ca209cea.tar.bz2 aports-e075859841633fea370ce4089db31ca6ca209cea.tar.xz |
testing/mediaproxy: misc fixes
* fixed dependencies
* init.d script fixes from nangel
Diffstat (limited to 'testing/mediaproxy/APKBUILD')
-rw-r--r-- | testing/mediaproxy/APKBUILD | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/testing/mediaproxy/APKBUILD b/testing/mediaproxy/APKBUILD index cda819435e..b8077fe871 100644 --- a/testing/mediaproxy/APKBUILD +++ b/testing/mediaproxy/APKBUILD @@ -2,13 +2,15 @@ # Maintainer: pkgname=mediaproxy pkgver=2.3.8 -pkgrel=1 +pkgrel=2 pkgdesc="MediaProxy" url="http://www.ag-projects.com/MediaProxy/" +pkgusers="kamailio" +pkggroups="kamailio" license="GPL" -depends="python" +depends="python python-application python-gnutls twisted python-cjson iptables" makedepends="libnetfilter_conntrack-dev libnfnetlink-dev python26-buildutils - python26-setuptools python-application python-cjson python-gnutls python-dev twisted" + python26-setuptools python-dev" install= subpackages="" #subpackages="$pkgname-dev $pkgname-doc" @@ -24,18 +26,20 @@ build() { python setup.py install --root="$pkgdir" - echo "/usr/lib/python2.6/site-packages/$_pkgname-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$_pkgname.pth + echo "/usr/lib/python2.6/site-packages/$_pkgname-$pkgver-py2.6.egg" \ + > "$pkgdir"/usr/lib/python2.6/site-packages/$_pkgname.pth - sed -i -e 's:net.ipv4.ip_forward = 0:net.ipv4.ip_forward = 1:' /etc/sysctl.conf - - install -D -m755 "$srcdir"/$pkgname-dispatcher.initd "$pkgdir"/etc/init.d/$pkgname-dispatcher - install -D -m755 "$srcdir"/$pkgname-relay.initd "$pkgdir"/etc/init.d/$pkgname-relay - install -D -m755 "$srcdir"/config.ini "$pkgdir"/etc/mediaproxy/config.ini + install -D -m755 "$srcdir"/$pkgname-dispatcher.initd \ + "$pkgdir"/etc/init.d/$pkgname-dispatcher + install -D -m755 "$srcdir"/$pkgname-relay.initd \ + "$pkgdir"/etc/init.d/$pkgname-relay + install -D -m755 "$srcdir"/config.ini \ + "$pkgdir"/etc/mediaproxy/config.ini install -d -o kamailio "$pkgdir"/etc/mediaproxy/tls/ install -d -o kamailio "$pkgdir"/var/run/$pkgname } md5sums="8914a2b69415946e5ffdb843823b3ef1 mediaproxy-2.3.8.tar.gz -7fa7907b87777281c31e5ff49d8d5011 mediaproxy-dispatcher.initd -842beb8bca2dbbf16a092fbc27ee4ac2 mediaproxy-relay.initd +cf081e451ab5d8d5ff66a8d9fa6707d6 mediaproxy-dispatcher.initd +1add855d86ead49c19798e9d86c69efe mediaproxy-relay.initd d3df3569543d696ca102f131f7ad95e4 config.ini" |