Date: Friday, February 5, 2016 @ 12:28:56 Author: spupykin Revision: 160403
archrelease: copy trunk to community-i686, community-x86_64 Added: opensips/repos/community-i686/PKGBUILD (from rev 160402, opensips/trunk/PKGBUILD) opensips/repos/community-i686/opensips.install (from rev 160402, opensips/trunk/opensips.install) opensips/repos/community-i686/opensips.service (from rev 160402, opensips/trunk/opensips.service) opensips/repos/community-x86_64/PKGBUILD (from rev 160402, opensips/trunk/PKGBUILD) opensips/repos/community-x86_64/opensips.install (from rev 160402, opensips/trunk/opensips.install) opensips/repos/community-x86_64/opensips.service (from rev 160402, opensips/trunk/opensips.service) Deleted: opensips/repos/community-i686/PKGBUILD opensips/repos/community-i686/opensips.install opensips/repos/community-i686/opensips.service opensips/repos/community-x86_64/PKGBUILD opensips/repos/community-x86_64/opensips.install opensips/repos/community-x86_64/opensips.service -----------------------------------+ /PKGBUILD | 160 ++++++++++++++++++++++++++++++++++++ /opensips.install | 6 + /opensips.service | 22 ++++ community-i686/PKGBUILD | 80 ------------------ community-i686/opensips.install | 3 community-i686/opensips.service | 11 -- community-x86_64/PKGBUILD | 80 ------------------ community-x86_64/opensips.install | 3 community-x86_64/opensips.service | 11 -- 9 files changed, 188 insertions(+), 188 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2016-02-05 11:28:39 UTC (rev 160402) +++ community-i686/PKGBUILD 2016-02-05 11:28:56 UTC (rev 160403) @@ -1,80 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgname=opensips -pkgver=2.1.2 -pkgrel=1 -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' 'libmariadbclient' - 'lynx' 'libxslt' 'libmicrohttpd') -optdepends=('postgresql-libs' - 'unixodbc' - 'libldap' - 'libmariadbclient' - 'libsasl' - 'python2' - 'pcre') -backup=("etc/opensips/opensips.cfg" - "etc/opensips/dictionary.radius" - "etc/opensips/opensipsctlrc") -arch=('i686' 'x86_64') -license=('GPL') -install=opensips.install -options=('!emptydirs' 'zipman' '!makeflags' 'docs') -source=(http://opensips.org/pub/opensips/${pkgver}/opensips-${pkgver}.tar.gz - opensips.service) -md5sums=('f7590fde5d99fffe05659442073d750c' - '35cdcb3692f6925236fd5fe7e9484c58') - -prepare() { - cd $srcdir/$pkgname-$pkgver/ - - # python2 fix - for file in $(find . -name '*.py' -print); do - sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file - sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file - done - - sed -i 's|sbin|bin|g' Makefile - sed -i 's|bin-dir = sbin/|bin-dir = bin/|' Makefile.defs -} - -_modules="ldap db_mysql db_postgres db_unixodbc presence presence_xml h350 proto_tls tlsops db_http httpd tm rr" - -build() { - cd $srcdir/$pkgname-$pkgver/ - - make \ - include_modules="${_modules}" \ - LIBDIR=lib PREFIX=/usr -} - -package() { - cd $srcdir/$pkgname-$pkgver/ - - make \ - include_modules="${_modules}" \ - BASEDIR=$pkgdir PREFIX=/usr LIBDIR=lib install - - # Conforms to the arch packaging standards (http://wiki.archlinux.org/index.php/Arch_Packaging_Standards) - mkdir -p $pkgdir/etc/ - mv $pkgdir/usr/etc/opensips/ $pkgdir/etc/ - sed -i 's#mpath=".*lib/opensips/modules/"#mpath="/usr/lib/opensips/modules/"#' $pkgdir/etc/opensips/opensips.cfg - - # fix bad paths - cd $pkgdir/usr/share - find -type f -exec sed -i "s#$pkgdir##" {} \; - - cd $pkgdir/usr/lib/opensips/opensipsctl - find -type f -exec sed -i "s#$pkgdir##" {} \; - - cd $pkgdir/usr/bin - sed -i "s#$pkgdir##" opensipsctl opensipsdbctl osipsconsole - - cd $pkgdir/etc - find -type f -exec sed -i "s#$pkgdir##" {} \; - - install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service -} Copied: opensips/repos/community-i686/PKGBUILD (from rev 160402, opensips/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-02-05 11:28:56 UTC (rev 160403) @@ -0,0 +1,80 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgname=opensips +pkgver=2.1.2 +pkgrel=2 +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' 'libmariadbclient' + 'lynx' 'libxslt' 'libmicrohttpd') +optdepends=('postgresql-libs' + 'unixodbc' + 'libldap' + 'libmariadbclient' + 'libsasl' + 'python2' + 'pcre') +backup=("etc/opensips/opensips.cfg" + "etc/opensips/dictionary.radius" + "etc/opensips/opensipsctlrc") +arch=('i686' 'x86_64') +license=('GPL') +install=opensips.install +options=('!emptydirs' 'zipman' '!makeflags' 'docs') +source=(http://opensips.org/pub/opensips/${pkgver}/opensips-${pkgver}.tar.gz + opensips.service) +md5sums=('f7590fde5d99fffe05659442073d750c' + '35cdcb3692f6925236fd5fe7e9484c58') + +prepare() { + cd $srcdir/$pkgname-$pkgver/ + + # python2 fix + for file in $(find . -name '*.py' -print); do + sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file + sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file + done + + sed -i 's|sbin|bin|g' Makefile + sed -i 's|bin-dir = sbin/|bin-dir = bin/|' Makefile.defs +} + +_modules="ldap db_mysql db_postgres db_unixodbc presence presence_xml h350 proto_tls tlsops db_http httpd tm rr" + +build() { + cd $srcdir/$pkgname-$pkgver/ + + make \ + include_modules="${_modules}" \ + LIBDIR=lib PREFIX=/usr +} + +package() { + cd $srcdir/$pkgname-$pkgver/ + + make \ + include_modules="${_modules}" \ + BASEDIR=$pkgdir PREFIX=/usr LIBDIR=lib install + + # Conforms to the arch packaging standards (http://wiki.archlinux.org/index.php/Arch_Packaging_Standards) + mkdir -p $pkgdir/etc/ + mv $pkgdir/usr/etc/opensips/ $pkgdir/etc/ + sed -i 's#mpath=".*lib/opensips/modules/"#mpath="/usr/lib/opensips/modules/"#' $pkgdir/etc/opensips/opensips.cfg + + # fix bad paths + cd $pkgdir/usr/share + find -type f -exec sed -i "s#$pkgdir##" {} \; + + cd $pkgdir/usr/lib/opensips/opensipsctl + find -type f -exec sed -i "s#$pkgdir##" {} \; + + cd $pkgdir/usr/bin + sed -i "s#$pkgdir##" opensipsctl opensipsdbctl osipsconsole + + cd $pkgdir/etc + find -type f -exec sed -i "s#$pkgdir##" {} \; + + install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service +} Deleted: community-i686/opensips.install =================================================================== --- community-i686/opensips.install 2016-02-05 11:28:39 UTC (rev 160402) +++ community-i686/opensips.install 2016-02-05 11:28:56 UTC (rev 160403) @@ -1,3 +0,0 @@ -post_install() { - echo "To use MySQL, you should install mysql package and run 'opensipsdbctl create'" -} Copied: opensips/repos/community-i686/opensips.install (from rev 160402, opensips/trunk/opensips.install) =================================================================== --- community-i686/opensips.install (rev 0) +++ community-i686/opensips.install 2016-02-05 11:28:56 UTC (rev 160403) @@ -0,0 +1,3 @@ +post_install() { + echo "To use MySQL, you should install mysql package and run 'opensipsdbctl create'" +} Deleted: community-i686/opensips.service =================================================================== --- community-i686/opensips.service 2016-02-05 11:28:39 UTC (rev 160402) +++ community-i686/opensips.service 2016-02-05 11:28:56 UTC (rev 160403) @@ -1,11 +0,0 @@ -[Unit] -Description=OpenSIPS daemon -After=network.target remote-fs.target nss-lookup.target - -[Service] -Type=forking -PIDFile=/run/opensips.pid -ExecStart=/usr/bin/opensips -f /etc/opensips/opensips.cfg -w /var/tmp -P /run/opensips.pid - -[Install] -WantedBy=multi-user.target Copied: opensips/repos/community-i686/opensips.service (from rev 160402, opensips/trunk/opensips.service) =================================================================== --- community-i686/opensips.service (rev 0) +++ community-i686/opensips.service 2016-02-05 11:28:56 UTC (rev 160403) @@ -0,0 +1,11 @@ +[Unit] +Description=OpenSIPS daemon +After=network.target remote-fs.target nss-lookup.target + +[Service] +Type=forking +PIDFile=/run/opensips.pid +ExecStart=/usr/bin/opensips -f /etc/opensips/opensips.cfg -w /var/tmp -P /run/opensips.pid + +[Install] +WantedBy=multi-user.target Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2016-02-05 11:28:39 UTC (rev 160402) +++ community-x86_64/PKGBUILD 2016-02-05 11:28:56 UTC (rev 160403) @@ -1,80 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgname=opensips -pkgver=2.1.2 -pkgrel=1 -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' 'libmariadbclient' - 'lynx' 'libxslt' 'libmicrohttpd') -optdepends=('postgresql-libs' - 'unixodbc' - 'libldap' - 'libmariadbclient' - 'libsasl' - 'python2' - 'pcre') -backup=("etc/opensips/opensips.cfg" - "etc/opensips/dictionary.radius" - "etc/opensips/opensipsctlrc") -arch=('i686' 'x86_64') -license=('GPL') -install=opensips.install -options=('!emptydirs' 'zipman' '!makeflags' 'docs') -source=(http://opensips.org/pub/opensips/${pkgver}/opensips-${pkgver}.tar.gz - opensips.service) -md5sums=('f7590fde5d99fffe05659442073d750c' - '35cdcb3692f6925236fd5fe7e9484c58') - -prepare() { - cd $srcdir/$pkgname-$pkgver/ - - # python2 fix - for file in $(find . -name '*.py' -print); do - sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file - sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file - done - - sed -i 's|sbin|bin|g' Makefile - sed -i 's|bin-dir = sbin/|bin-dir = bin/|' Makefile.defs -} - -_modules="ldap db_mysql db_postgres db_unixodbc presence presence_xml h350 proto_tls tlsops db_http httpd tm rr" - -build() { - cd $srcdir/$pkgname-$pkgver/ - - make \ - include_modules="${_modules}" \ - LIBDIR=lib PREFIX=/usr -} - -package() { - cd $srcdir/$pkgname-$pkgver/ - - make \ - include_modules="${_modules}" \ - BASEDIR=$pkgdir PREFIX=/usr LIBDIR=lib install - - # Conforms to the arch packaging standards (http://wiki.archlinux.org/index.php/Arch_Packaging_Standards) - mkdir -p $pkgdir/etc/ - mv $pkgdir/usr/etc/opensips/ $pkgdir/etc/ - sed -i 's#mpath=".*lib/opensips/modules/"#mpath="/usr/lib/opensips/modules/"#' $pkgdir/etc/opensips/opensips.cfg - - # fix bad paths - cd $pkgdir/usr/share - find -type f -exec sed -i "s#$pkgdir##" {} \; - - cd $pkgdir/usr/lib/opensips/opensipsctl - find -type f -exec sed -i "s#$pkgdir##" {} \; - - cd $pkgdir/usr/bin - sed -i "s#$pkgdir##" opensipsctl opensipsdbctl osipsconsole - - cd $pkgdir/etc - find -type f -exec sed -i "s#$pkgdir##" {} \; - - install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service -} Copied: opensips/repos/community-x86_64/PKGBUILD (from rev 160402, opensips/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2016-02-05 11:28:56 UTC (rev 160403) @@ -0,0 +1,80 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgname=opensips +pkgver=2.1.2 +pkgrel=2 +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' 'libmariadbclient' + 'lynx' 'libxslt' 'libmicrohttpd') +optdepends=('postgresql-libs' + 'unixodbc' + 'libldap' + 'libmariadbclient' + 'libsasl' + 'python2' + 'pcre') +backup=("etc/opensips/opensips.cfg" + "etc/opensips/dictionary.radius" + "etc/opensips/opensipsctlrc") +arch=('i686' 'x86_64') +license=('GPL') +install=opensips.install +options=('!emptydirs' 'zipman' '!makeflags' 'docs') +source=(http://opensips.org/pub/opensips/${pkgver}/opensips-${pkgver}.tar.gz + opensips.service) +md5sums=('f7590fde5d99fffe05659442073d750c' + '35cdcb3692f6925236fd5fe7e9484c58') + +prepare() { + cd $srcdir/$pkgname-$pkgver/ + + # python2 fix + for file in $(find . -name '*.py' -print); do + sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file + sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file + done + + sed -i 's|sbin|bin|g' Makefile + sed -i 's|bin-dir = sbin/|bin-dir = bin/|' Makefile.defs +} + +_modules="ldap db_mysql db_postgres db_unixodbc presence presence_xml h350 proto_tls tlsops db_http httpd tm rr" + +build() { + cd $srcdir/$pkgname-$pkgver/ + + make \ + include_modules="${_modules}" \ + LIBDIR=lib PREFIX=/usr +} + +package() { + cd $srcdir/$pkgname-$pkgver/ + + make \ + include_modules="${_modules}" \ + BASEDIR=$pkgdir PREFIX=/usr LIBDIR=lib install + + # Conforms to the arch packaging standards (http://wiki.archlinux.org/index.php/Arch_Packaging_Standards) + mkdir -p $pkgdir/etc/ + mv $pkgdir/usr/etc/opensips/ $pkgdir/etc/ + sed -i 's#mpath=".*lib/opensips/modules/"#mpath="/usr/lib/opensips/modules/"#' $pkgdir/etc/opensips/opensips.cfg + + # fix bad paths + cd $pkgdir/usr/share + find -type f -exec sed -i "s#$pkgdir##" {} \; + + cd $pkgdir/usr/lib/opensips/opensipsctl + find -type f -exec sed -i "s#$pkgdir##" {} \; + + cd $pkgdir/usr/bin + sed -i "s#$pkgdir##" opensipsctl opensipsdbctl osipsconsole + + cd $pkgdir/etc + find -type f -exec sed -i "s#$pkgdir##" {} \; + + install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service +} Deleted: community-x86_64/opensips.install =================================================================== --- community-x86_64/opensips.install 2016-02-05 11:28:39 UTC (rev 160402) +++ community-x86_64/opensips.install 2016-02-05 11:28:56 UTC (rev 160403) @@ -1,3 +0,0 @@ -post_install() { - echo "To use MySQL, you should install mysql package and run 'opensipsdbctl create'" -} Copied: opensips/repos/community-x86_64/opensips.install (from rev 160402, opensips/trunk/opensips.install) =================================================================== --- community-x86_64/opensips.install (rev 0) +++ community-x86_64/opensips.install 2016-02-05 11:28:56 UTC (rev 160403) @@ -0,0 +1,3 @@ +post_install() { + echo "To use MySQL, you should install mysql package and run 'opensipsdbctl create'" +} Deleted: community-x86_64/opensips.service =================================================================== --- community-x86_64/opensips.service 2016-02-05 11:28:39 UTC (rev 160402) +++ community-x86_64/opensips.service 2016-02-05 11:28:56 UTC (rev 160403) @@ -1,11 +0,0 @@ -[Unit] -Description=OpenSIPS daemon -After=network.target remote-fs.target nss-lookup.target - -[Service] -Type=forking -PIDFile=/run/opensips.pid -ExecStart=/usr/bin/opensips -f /etc/opensips/opensips.cfg -w /var/tmp -P /run/opensips.pid - -[Install] -WantedBy=multi-user.target Copied: opensips/repos/community-x86_64/opensips.service (from rev 160402, opensips/trunk/opensips.service) =================================================================== --- community-x86_64/opensips.service (rev 0) +++ community-x86_64/opensips.service 2016-02-05 11:28:56 UTC (rev 160403) @@ -0,0 +1,11 @@ +[Unit] +Description=OpenSIPS daemon +After=network.target remote-fs.target nss-lookup.target + +[Service] +Type=forking +PIDFile=/run/opensips.pid +ExecStart=/usr/bin/opensips -f /etc/opensips/opensips.cfg -w /var/tmp -P /run/opensips.pid + +[Install] +WantedBy=multi-user.target