summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/command-not-found/PKGBUILD8
-rw-r--r--pcr/hiredis/ChangeLog10
-rw-r--r--pcr/hiredis/PKGBUILD46
-rw-r--r--pcr/hiredis/hiredis-fix-tests.patch11
-rw-r--r--pcr/rfc5766-turn-server/ChangeLog86
-rw-r--r--pcr/rfc5766-turn-server/PKGBUILD71
-rw-r--r--pcr/rfc5766-turn-server/stun.service10
-rw-r--r--pcr/rfc5766-turn-server/turn.service10
-rw-r--r--pcr/rfc5766-turn-server/turnserver.install17
-rw-r--r--pcr/rfc5766-turn-server/turnserver.service11
-rw-r--r--pcr/rfc5766-turn-server/turnserver.tmpfiles.d1
11 files changed, 200 insertions, 81 deletions
diff --git a/pcr/command-not-found/PKGBUILD b/pcr/command-not-found/PKGBUILD
index e2131a3d5..60aaa4fd5 100644
--- a/pcr/command-not-found/PKGBUILD
+++ b/pcr/command-not-found/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=command-not-found
pkgver=0.4.5
-pkgrel=1
+pkgrel=2
pkgdesc="In case a command could not be found this utility searches for packages containing this or a similar command (bash,zsh)."
arch=('i686' 'x86_64')
url="http://github.com/metti/command-not-found"
@@ -14,7 +14,9 @@ depends=('boost-libs' 'tdb' 'libarchive' 'wget')
makedepends=('boost' 'cmake')
install='install'
-source=("libre://$pkgname-$pkgver.tar.gz")
+source=("https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('cceea11367dd1847f08c94212f380ea5')
+
mksource=("$pkgname-$pkgver::git+https://github.com/metti/$pkgname.git#tag=v${pkgver}")
mkmd5sums=('SKIP')
@@ -28,5 +30,3 @@ package(){
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
-
-md5sums=('c055522251b2c58b9c6e0d0f0df481c0')
diff --git a/pcr/hiredis/ChangeLog b/pcr/hiredis/ChangeLog
index fbe55643a..b804e1b67 100644
--- a/pcr/hiredis/ChangeLog
+++ b/pcr/hiredis/ChangeLog
@@ -1,3 +1,13 @@
+2013-12-11 Vladimir Tsanev <tsachev@gamil.com>
+
+ * 0.11.0-3 :
+ Tests enabled thanks to Massimiliano Torromeo.
+
+2013-11-23 Vladimir Tsanev <tsachev@gamil.com>
+
+ * 0.11.0-2 :
+ added i686 arch.
+
2013-06-07 Vladimir Tsanev <tsachev@gamil.com>
* 0.11.0-1 :
diff --git a/pcr/hiredis/PKGBUILD b/pcr/hiredis/PKGBUILD
index 29762e87e..a6ad20868 100644
--- a/pcr/hiredis/PKGBUILD
+++ b/pcr/hiredis/PKGBUILD
@@ -1,33 +1,43 @@
-# Maintainer: Vladimir Tsanev <tsachev@gmail.com>
+# Maintainer: orphan
+# Contributor: Nicolás Reynolds <fauno@kiwwwi.com.ar>
+# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Vladimir Tsanev <tsachev@gmail.com>
+# Contributor (AUR): Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=hiredis
pkgver=0.11.0
-pkgrel=1
-pkgdesc='minimalistic C client library for Redis'
+pkgrel=3
+pkgdesc='Minimalistic C client library for Redis'
arch=('x86_64' 'i686')
url="https://github.com/redis/hiredis/"
-license=('BSD')
+license=('BSD3')
depends=('glibc')
+checkdepends=('redis')
changelog='ChangeLog'
-source=(https://codeload.github.com/redis/${pkgname}/tar.gz/v${pkgver})
-md5sums=('e2ac29509823ccc96990b6fe765b5d46')
+source=($pkgname-$pkgver.tar.gz::https://codeload.github.com/redis/$pkgname/tar.gz/v$pkgver
+ hiredis-fix-tests.patch)
+md5sums=('e2ac29509823ccc96990b6fe765b5d46'
+ 'ddcc73042a8ec278aca6cc2b2d26bc03')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -Np1 -i ../hiredis-fix-tests.patch
+}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make
+ cd "$srcdir/$pkgname-$pkgver"
+ make
}
-#
-#check() {
-# cd "${srcdir}/${pkgname}-${pkgver}"
-# make test check c
-#}
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -r 's|echo \\|echo -e \\|' -i Makefile
+ make check
+}
package() {
-
- cd "${srcdir}/${pkgname}-${pkgver}"
- make PREFIX="$pkgdir/usr" clean dep install
-
- install -Dm 644 COPYING "$pkgdir/usr/share/licenses/${pkgname}/COPYING"
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX="$pkgdir/usr" install
+ install -Dm 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
diff --git a/pcr/hiredis/hiredis-fix-tests.patch b/pcr/hiredis/hiredis-fix-tests.patch
new file mode 100644
index 000000000..51e49bf71
--- /dev/null
+++ b/pcr/hiredis/hiredis-fix-tests.patch
@@ -0,0 +1,11 @@
+diff -ru hiredis-0.11.0.orig/test.c hiredis-0.11.0/test.c
+--- hiredis-0.11.0.orig/test.c 2012-08-28 02:55:52.000000000 -0400
++++ hiredis-0.11.0/test.c 2014-03-02 17:49:24.396739767 -0500
+@@ -286,6 +286,7 @@
+ c = redisConnect((char*)"idontexist.local", 6379);
+ test_cond(c->err == REDIS_ERR_OTHER &&
+ (strcmp(c->errstr,"Name or service not known") == 0 ||
++ strcmp(c->errstr,"Temporary failure in name resolution") == 0 ||
+ strcmp(c->errstr,"Can't resolve: idontexist.local") == 0));
+ redisFree(c);
+
diff --git a/pcr/rfc5766-turn-server/ChangeLog b/pcr/rfc5766-turn-server/ChangeLog
index 5accefa5b..fd52b6d89 100644
--- a/pcr/rfc5766-turn-server/ChangeLog
+++ b/pcr/rfc5766-turn-server/ChangeLog
@@ -1,5 +1,89 @@
+2014-02-24 Vladimir Tsanev <tsachev@gmail.com>
+ * 3.2.2.8-1 :
+ New upstream release.
+2014-02-18 Vladimir Tsanev <tsachev@gmail.com>
+ * 3.2.2.7-1 :
+ New upstream release.
+
+2014-02-12 Vladimir Tsanev <tsachev@gmail.com>
+ * 3.2.2.6-1 :
+ New upstream release.
+
+2014-02-04 Vladimir Tsanev <tsachev@gmail.com>
+ * 3.2.2.5-1 :
+ New upstream release and PKGBUILD cleanup.
+
+2014-01-31 Vladimir Tsanev <tsachev@gmail.com>
+ * 3.2.2.4-1 :
+ New upstream release. New download site.
+
+2013-12-11 Vladimir Tsanev <tsachev@gamil.com>
+ * 3.1.2.2-1 :
+ New upstream release.
+
+2013-11-23 Vladimir Tsanev <tsachev@gamil.com>
+ * 3.0.0.0-1 :
+ New upstream release.
+
+2013-10-22 Vladimir Tsanev <tsachev@gamil.com>
+ * 2.6.6.0-1 :
+ New upstream release. --disable-rpath flag added to configure
+
+2013-10-16 Vladimir Tsanev <tsachev@gamil.com>
+ * 2.6.5.2-1 :
+ New upstream release.
+
+2013-09-07 Vladimir Tsanev <tsachev@gamil.com>
+ * 2.6.2.1-1 :
+ New upstream release.
+ Trivial PKGBUILD fixes.
+
+2013-08-09 Vladimir Tsanev <tsachev@gamil.com>
+ * 2.6.1.4-1 :
+ New upstream release.
+
+2013-08-09 Vladimir Tsanev <tsachev@gamil.com>
+ * 2.6.1.1-1 :
+ New upstream release.
+
+2013-07-19 Vladimir Tsanev <tsachev@gamil.com>
+ * 2.5.1.2-1 :
+ New upstream release.
+
+2013-07-19 Vladimir Tsanev <tsachev@gamil.com>
+ * 2.1.1.1-1 :
+ New upstream release.
+
+2013-07-16 Vladimir Tsanev <tsachev@gamil.com>
+ * 2.0.0.0-1 :
+ New upstream release.
+
+2013-06-24 Vladimir Tsanev <tsachev@gamil.com>
+ * 1.8.7.0-2 :
+ More packaging cleanup.
+
+ * 1.8.7.0-1 :
+ New upstream release and package cleanup.
+
+2013-06-12 Vladimir Tsanev <tsachev@gamil.com>
+
+ * 1.8.6.3-1 :
+ Upstream release.
+
+2013-06-07 Vladimir Tsanev <tsachev@gamil.com>
+
+ * 1.8.6.1-3 :
+ 'postgresql-libs' 'libmysqlclient' and 'hiredis' cannot be optional.
+
+2013-06-06 Vladimir Tsanev <tsachev@gamil.com>
+
+ * 1.8.6.1-2 :
+ Added systemd service. Fixed redis support.
+
+ * 1.8.6.1-1 :
+ New upstream release.
+
2013-06-05 Vladimir Tsanev <tsachev@gamil.com>
* 1.8.6.0-1 :
Initial package created.
-
diff --git a/pcr/rfc5766-turn-server/PKGBUILD b/pcr/rfc5766-turn-server/PKGBUILD
index c070ad309..fc14b4a76 100644
--- a/pcr/rfc5766-turn-server/PKGBUILD
+++ b/pcr/rfc5766-turn-server/PKGBUILD
@@ -1,64 +1,59 @@
-# Maintainer: Vladimir Tsanev <tsachev@gmail.com>
+# Maintainer: orphan
+# Contributor: Nicolás Reynolds <fauno@kiwwwi.com.ar>
+# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
+# Contributor: Michał Masłowski <mtjm@mtjm.eu>
+# Maintainer (AUR): Vladimir Tsanev <tsachev@gmail.com>
pkgname=rfc5766-turn-server
_portname=turnserver
-pkgver=2.6.2.1
+pkgver=3.2.2.8
pkgrel=1
pkgdesc="STUN and TURN Relay Server for VoIP and WebRTC"
arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/rfc5766-turn-server/"
-license=('custom:BSDNew')
+license=('BSD3')
depends=('libevent' 'postgresql-libs' 'libmysqlclient' 'hiredis')
-optdepends=('postgresql-client: to use postgresql'
- 'mariadb: mariadb backend'
- 'redis: redis backend')
+install="$_portname.install"
backup=("etc/turnserver.conf" "etc/turnuserdb.conf")
-changelog=ChangeLog
-source=(https://${pkgname}.googlecode.com/files/${_portname}-$pkgver.tar.gz
- turn.service stun.service)
+changelog='ChangeLog'
+source=(http://$_portname.open-sys.org/downloads/v$pkgver/$_portname-$pkgver.tar.gz $_portname.service $_portname.tmpfiles.d)
+md5sums=('c16ff9ced1ba0797fbd16a66161dca2c'
+ 'bf568b614a17ee439e831b8f8aa7236a'
+ 'aa7bf422a9dfba7febb56dc172feb1cf')
+sha1sums=('0faa1514f6819827f3ad0cffe2dc7bc6eef257cc'
+ '0c5b348e793bd52ce0ee38d420b26c9b2a2e2ca5'
+ '445e9982549d7ed018bc1fb6176a730313ae3d26')
build() {
- cd "${srcdir}/$_portname-${pkgver}"
-
- ./configure --prefix=/usr \
- --manprefix=/usr/share \
- --examplesdir="/usr/share/$_portname/examples"
+ cd "$srcdir/$_portname-$pkgver"
+ ./configure --prefix=/usr --manprefix=/usr/share --examplesdir="/usr/share/$_portname/examples" --disable-rpath
make
}
check() {
- cd "${srcdir}/$_portname-${pkgver}"
+ cd "$srcdir/$_portname-$pkgver"
make check
}
package() {
- cd "${srcdir}/$_portname-${pkgver}"
+ cd "$srcdir/$_portname-$pkgver"
make DESTDIR="$pkgdir" install
-
- install -D "$pkgdir/usr/share/$_portname/examples/etc/turnserver.conf" \
- "$pkgdir/etc/turnserver.conf"
- install -D "$pkgdir/usr/share/$_portname/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
- install -dm 755 "$pkgdir/var/log/$_portname"
+ mv "$pkgdir/usr/etc" "$pkgdir/etc"
+ local file
+ for file in "$pkgdir/etc"/*.default; do
+ mv "$file" "${file%.default}"
+ chmod 644 "${file%.default}"
+ done
+ sed -e '/^#log-file=\/var\/tmp\/turn.log$/c log-file=\/var\/log\/turnserver\/turn.log' \
+ -e '/^#pidfile="\/var\/run\/turnserver.pid"$/c pidfile="\/var\/run\/turnserver\/turnserver.pid"' \
+ -i "$pkgdir/etc/turnserver.conf"
+
+ install -Dm644 "../$_portname.service" "$pkgdir/usr/lib/systemd/system/$_portname.service"
+ install -Dm644 "../$_portname.tmpfiles.d" "$pkgdir/usr/lib/tmpfiles.d/$_portname.conf"
- sed \
- -e '/^#log-file=\/var\/tmp\/turn.log$/c log-file=\/var\/log\/turnserver\/turn.log' \
- -i "${pkgdir}"/etc/turnserver.conf
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
-sha1sums=('d7f01e6fadbe56fe4535d67a7d178a9cfba110b8'
- '0c5b348e793bd52ce0ee38d420b26c9b2a2e2ca5'
- 'b12805c049787cd1433181afaba4111f89740e63')
-sha256sums=('4d131f353aadb15901d175755075af65abf2a0e820d7281c9c164285642ff9c1'
- '319030c1916d353bfc3375626cc7f60d6eeca762fe4fce354f010212902c49dc'
- '63198e4f802c7b4b44e671e0fcaebca36589ebb11405e51ab9f36c80327ac4d9')
diff --git a/pcr/rfc5766-turn-server/stun.service b/pcr/rfc5766-turn-server/stun.service
deleted file mode 100644
index bddb6168a..000000000
--- a/pcr/rfc5766-turn-server/stun.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[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
deleted file mode 100644
index 54cc5f01a..000000000
--- a/pcr/rfc5766-turn-server/turn.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=TURN Server
-After=network.target
-
-[Service]
-Type=simple
-ExecStart=/usr/bin/turnserver
-
-[Install]
-WantedBy=multi-user.target
diff --git a/pcr/rfc5766-turn-server/turnserver.install b/pcr/rfc5766-turn-server/turnserver.install
new file mode 100644
index 000000000..84f31ca7f
--- /dev/null
+++ b/pcr/rfc5766-turn-server/turnserver.install
@@ -0,0 +1,17 @@
+post_install() {
+ id turnserver &>/dev/null || \
+ useradd -g daemon -M -s /usr/bin/false turnserver
+
+ install -dm 755 "/var/log/turnserver"
+ chown -R turnserver:daemon /var/log/turnserver
+
+ systemd-tmpfiles --create turnserver.conf
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ userdel turnserver
+}
diff --git a/pcr/rfc5766-turn-server/turnserver.service b/pcr/rfc5766-turn-server/turnserver.service
new file mode 100644
index 000000000..8e267b2e0
--- /dev/null
+++ b/pcr/rfc5766-turn-server/turnserver.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=STUN and TURN Relay Server for VoIP and WebRTC
+After=network.target
+
+[Service]
+Type=forking
+User=turnserver
+ExecStart=/usr/bin/turnserver -c /etc/turnserver.conf -o -v
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/rfc5766-turn-server/turnserver.tmpfiles.d b/pcr/rfc5766-turn-server/turnserver.tmpfiles.d
new file mode 100644
index 000000000..ec1a89758
--- /dev/null
+++ b/pcr/rfc5766-turn-server/turnserver.tmpfiles.d
@@ -0,0 +1 @@
+d /run/turnserver 0755 turnserver daemon -