summaryrefslogtreecommitdiff
path: root/community/opensips
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-26 00:06:16 -0700
committerroot <root@rshg054.dnsready.net>2013-03-26 00:06:16 -0700
commitc16968d4179be76966c262f854c9e1fb827dc3ec (patch)
tree3dc52f45dc9b7b4a2999ca42a28631072abb7e39 /community/opensips
parent32793d9a5b60ef0591c71c12ad75121d9b155adf (diff)
Tue Mar 26 00:06:15 PDT 2013
Diffstat (limited to 'community/opensips')
-rw-r--r--community/opensips/PKGBUILD20
-rw-r--r--community/opensips/opensips.service2
2 files changed, 15 insertions, 7 deletions
diff --git a/community/opensips/PKGBUILD b/community/opensips/PKGBUILD
index 47b01740e..82c0b08d2 100644
--- a/community/opensips/PKGBUILD
+++ b/community/opensips/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 78612 2012-10-22 09:08:59Z spupykin $
+# $Id: PKGBUILD 87012 2013-03-25 19:16:53Z bpiotrowski $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=opensips
pkgver=1.8.1
-pkgrel=3
+pkgrel=5
pkgdesc="An Open Source SIP Server able to act as a SIP proxy, registrar, location server, redirect server ..."
url="http://www.opensips.org"
depends=('gcc-libs' 'openssl' 'db' 'attr' 'libxml2')
-makedepends=('postgresql-libs>=8.4.1' 'unixodbc' 'libldap>=2.4.18' 'libmysqlclient'
+makedepends=('postgresql-libs>=8.4.1' 'unixodbc' 'libldap>=2.4.18' 'libmariadbclient'
'lynx' 'libxslt')
optdepends=('postgresql-libs'
'unixodbc'
'libldap'
- 'libmysqlclient'
+ 'libmariadbclient'
'libsasl'
'python2'
'pcre')
@@ -26,9 +26,9 @@ options=('!emptydirs' 'zipman' '!makeflags' 'docs')
source=(http://opensips.org/pub/opensips/$pkgver/src/opensips-${pkgver}_src.tar.gz
opensips.init
opensips.service)
-md5sums=('ec3d0f13bf8198a74aed91e5c38ec445'
+md5sums=('4a7cc708a5fba6ab3d1a3aa0aaa85d77'
'685fbe00826df1285b410d4610dcbb0c'
- '0d80ef75b5c10324e6db790b7741c2eb')
+ '7b786d758fe3174af34e2ced44b549e7')
build()
{
@@ -42,6 +42,14 @@ build()
make \
include_modules="ldap db_mysql db_postgres db_unixodbc presence presence_xml h350" \
+ TLS=1 LIBDIR=lib
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver-tls/
+
+ make \
+ include_modules="ldap db_mysql db_postgres db_unixodbc presence presence_xml h350" \
TLS=1 DESTDIR=$pkgdir/usr LIBDIR=lib install
# Conforms to the arch packaging standards (http://wiki.archlinux.org/index.php/Arch_Packaging_Standards)
diff --git a/community/opensips/opensips.service b/community/opensips/opensips.service
index 042ff7c9a..81f6fd93e 100644
--- a/community/opensips/opensips.service
+++ b/community/opensips/opensips.service
@@ -5,7 +5,7 @@ After=network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
PIDFile=/var/run/opensips.pid
-ExecStart=/usr/bin/opensips -f /etc/opensips/opensips.cfg -w /var/tmp -P /var/run/opensips.pid
+ExecStart=/usr/sbin/opensips -f /etc/opensips/opensips.cfg -w /var/tmp -P /var/run/opensips.pid
[Install]
WantedBy=multi-user.target