From c16968d4179be76966c262f854c9e1fb827dc3ec Mon Sep 17 00:00:00 2001 From: root Date: Tue, 26 Mar 2013 00:06:16 -0700 Subject: Tue Mar 26 00:06:15 PDT 2013 --- community/opensips/PKGBUILD | 20 ++++++++++++++------ community/opensips/opensips.service | 2 +- 2 files changed, 15 insertions(+), 7 deletions(-) (limited to 'community/opensips') 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 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() { @@ -40,6 +40,14 @@ build() sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file done + 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 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 -- cgit v1.2.3-54-g00ecf