diff options
Diffstat (limited to 'unstable')
-rw-r--r-- | unstable/kamailio/APKBUILD | 37 | ||||
-rw-r--r-- | unstable/kamailio/kamailio.initd | 24 | ||||
-rw-r--r-- | unstable/kamailio/kamailio.post-install | 5 | ||||
-rw-r--r-- | unstable/kamailio/kamailio.pre-install | 5 |
4 files changed, 0 insertions, 71 deletions
diff --git a/unstable/kamailio/APKBUILD b/unstable/kamailio/APKBUILD deleted file mode 100644 index 07dee300ba..0000000000 --- a/unstable/kamailio/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Michael Mason <ms13sp@gmail.com> -pkgname=kamailio -pkgver=1.5.2 -pkgrel=0 -pkgdesc="Open Source SIP Server" -url="http://www.kamailio.org/" -license="GPL" -depends="expat postgresql" -makedepends="bison flex coreutils expat-dev libpq" -install= -subpackages="$pkgname-doc" -source="http://www.kamailio.org/pub/kamailio/$pkgver/src/$pkgname-$pkgver-notls_src.tar.gz - kamailio.initd - kamailio.pre-install - kamailio.post-install" - -build() { - cd "$srcdir/$pkgname-$pkgver-notls" - sed -i -e 's:^cfg-target.*:cfg-target = $(cfg-dir):' \ - -e 's:^cfg-prefix.*:cfg-prefix = $(basedir):' Makefile.defs - - cd scripts - sed -i -e 's:/var/run/kamailio.pid:/var/run/kamailio/kamailio.pid:g' \ - kamctl.base kamctlrc - cd .. - - make prefix=/usr || return 1 - make prefix=/usr basedir="$pkgdir" install - - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname -} - -md5sums="6c6f4ed6fbcb4d008b8ac3de5b99ce99 kamailio-1.5.2-notls_src.tar.gz -e6b93397ec2a1ec094d23d93d87771bd kamailio.initd -c646af2dd31f5c4289a2f802c873d98f kamailio.pre-install -3fbaf633ff1620d0d526fc4047c7bed9 kamailio.post-install" diff --git a/unstable/kamailio/kamailio.initd b/unstable/kamailio/kamailio.initd deleted file mode 100644 index aaea95b3ee..0000000000 --- a/unstable/kamailio/kamailio.initd +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/runscript - -daemon=/usr/sbin/kamailio -pidfile=/var/run/kamailio/kamailio.pid - -depend() { - need net -} - -start() { - ebegin "Starting Kamailio" - start-stop-daemon --start --quiet --pidfile $pidfile --exec $daemon \ - -- \ - -u ${KAMAILIO_USER:-opensips} \ - -g ${KAMAILIO_GROUP:-opensips} \ - -P $pidfile - eend $? -} - -stop() { - ebegin "Stopping Kamailio" - start-stop-daemon --stop --quiet --pidfile $pidfile - eend $? -} diff --git a/unstable/kamailio/kamailio.post-install b/unstable/kamailio/kamailio.post-install deleted file mode 100644 index 19fc932dd6..0000000000 --- a/unstable/kamailio/kamailio.post-install +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -chown -R kamailio:kamailio /var/run/kamailio -chgrp kamailio /etc/kamailio/kamailio.cfg -exit 0 diff --git a/unstable/kamailio/kamailio.pre-install b/unstable/kamailio/kamailio.pre-install deleted file mode 100644 index 78dfa38bf3..0000000000 --- a/unstable/kamailio/kamailio.pre-install +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -adduser -H -h /var/empty -s /bin/false -D kamailio 2>/dev/null - -exit 0 |