diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-07-14 15:27:23 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-07-14 15:27:23 -0300 |
commit | a594ebe149ad81798984a410c036a0965df1581a (patch) | |
tree | 9f92df878175fe438860b196b7394ec8f0bac4cd /pcr/rfc5766-turn-server | |
parent | 03d128385c4ca773e67c93729a45899590d0d99e (diff) | |
parent | d525d9a731f5d79c1128a192b9d2977a2967570f (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/codeblocks/PKGBUILD
community/gnash/PKGBUILD
community/i3lock/PKGBUILD
community/instead/PKGBUILD
extra/asio/PKGBUILD
extra/cups/PKGBUILD
extra/libdrm/PKGBUILD
extra/liborigin2/PKGBUILD
extra/mesa/PKGBUILD
extra/mkvtoolnix/PKGBUILD
extra/ocrad/PKGBUILD
extra/qtiplot/PKGBUILD
extra/scribus/PKGBUILD
extra/xdg-user-dirs/PKGBUILD
Diffstat (limited to 'pcr/rfc5766-turn-server')
-rw-r--r-- | pcr/rfc5766-turn-server/PKGBUILD | 28 | ||||
-rw-r--r-- | pcr/rfc5766-turn-server/stun.service | 10 | ||||
-rw-r--r-- | pcr/rfc5766-turn-server/turn.service | 10 |
3 files changed, 39 insertions, 9 deletions
diff --git a/pcr/rfc5766-turn-server/PKGBUILD b/pcr/rfc5766-turn-server/PKGBUILD index 81eb3d14d..e85f98bb8 100644 --- a/pcr/rfc5766-turn-server/PKGBUILD +++ b/pcr/rfc5766-turn-server/PKGBUILD @@ -3,20 +3,21 @@ pkgname=rfc5766-turn-server _portname=turnserver pkgver=1.8.6.0 -pkgrel=1 +pkgrel=2 epoch= pkgdesc="Free open source implementation of TURN and STUN Server" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://code.google.com/p/rfc5766-turn-server/" license=('custom:BSDNew') -makedepends=('gcc>=3.4.4' 'make') +makedepends=('gcc>=3.4.4' 'make' 'hiredis' 'postgresql-libs' 'libmariadbclient') depends=('libevent') -#no redis headers in redi package -optdepends=('postgresql-client: to use postgresql' 'libmysqlclient') +optdepends=('postgresql-client: to use postgresql' + 'mariadb: mariadb backend' + 'redis: redis backend') backup=("etc/turnserver.conf" "etc/turnuserdb.conf") changelog=ChangeLog -source=(https://${pkgname}.googlecode.com/files/${_portname}-$pkgver.tar.gz) -sha1sums=('155990b95d399542db1bb497f1746c1b9bb290d2') +source=(https://${pkgname}.googlecode.com/files/${_portname}-$pkgver.tar.gz + turn.service stun.service) build() { cd "${srcdir}/$_portname-${pkgver}" @@ -51,11 +52,20 @@ package() { install - install -D "$pkgdir/usr/share/$pkgname/examples/etc/turnserver.conf" "$pkgdir/etc/turnserver.conf" - install -D "$pkgdir/usr/share/$pkgname/examples/etc/turnuserdb.conf" "$pkgdir/etc/turnuserdb.conf" + install -D "$pkgdir/usr/share/$pkgname/examples/etc/turnserver.conf" \ + "$pkgdir/etc/turnserver.conf" + install -D "$pkgdir/usr/share/$pkgname/examples/etc/turnuserdb.conf" \ + "$pkgdir/etc/turnuserdb.conf" + install -D "$srcdir/stun.service" \ + "$pkgdir/usr/lib/systemd/system/stun.service" + install -D "$srcdir/turn.service" \ + "$pkgdir/usr/lib/systemd/system/turn.service" rm -r "$pkgdir/usr/etc" chmod 644 "$pkgdir/usr/lib/libturnclient.a" install -Dm 644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE } +md5sums=('def4cc2ea6239795edab12b5eee5f8ed' + '1da26c3a1fe29a8961e6b9d73f9048d3' + '83670d79026c67c7701481ee9d39f100') diff --git a/pcr/rfc5766-turn-server/stun.service b/pcr/rfc5766-turn-server/stun.service new file mode 100644 index 000000000..bddb6168a --- /dev/null +++ b/pcr/rfc5766-turn-server/stun.service @@ -0,0 +1,10 @@ +[Unit] +Description=STUN Server +After=network.target + +[Service] +Type=simple +ExecStart=/usr/bin/turnserver --stun-only + +[Install] +WantedBy=multi-user.target diff --git a/pcr/rfc5766-turn-server/turn.service b/pcr/rfc5766-turn-server/turn.service new file mode 100644 index 000000000..54cc5f01a --- /dev/null +++ b/pcr/rfc5766-turn-server/turn.service @@ -0,0 +1,10 @@ +[Unit] +Description=TURN Server +After=network.target + +[Service] +Type=simple +ExecStart=/usr/bin/turnserver + +[Install] +WantedBy=multi-user.target |