summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD36
-rw-r--r--pcr/rfc5766-turn-server/PKGBUILD49
2 files changed, 42 insertions, 43 deletions
diff --git a/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD b/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD
index 6f4b12fef..91084085d 100644
--- a/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD
+++ b/cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 165111 2012-08-11 08:21:11Z allan $
+# $Id: PKGBUILD 180857 2013-03-27 11:11:40Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
@@ -8,40 +8,46 @@ _target=mips64el-unknown-linux-gnu
_sysroot="/usr/${_target}"
pkgname=${_target}-linux-libre-api-headers
-_basekernel=3.5
-_sublevel=1
+_basekernel=3.10
+_sublevel=9
pkgver=${_basekernel}.${_sublevel}
-pkgrel=1.1
+pkgrel=1
pkgdesc="Kernel headers sanitized for use in userspace"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/libc"
license=('GPL2')
-provides=("${_target}-linux-api-headers=${pkgver}" "${_target}-kernel-headers=${pkgver}")
-conflicts=("${_target}-linux-api-headers" "${_target}-kernel-headers")
-replaces=("${_target}-linux-api-headers" "${_target}-kernel-headers")
+provides=("${_target}-linux-api-headers=${pkgver}")
+conflicts=("${_target}-linux-api-headers")
+replaces=("${_target}-linux-api-headers" )
source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz"
"http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz")
-md5sums=('2407fc9563a74acaf38aa0c06516eb1c'
- '67b650dd355fbca16035510df063420b')
+sha1sums=('22abb16dc6175bab805f2098c5a276ff700424cf'
+ '10f907e7127f14e1a7f524d1d39852d98622793f')
+sha256sums=('abee814b92422cfa3df90b62ad9ba888697fcc03a713adc2c7f68e0d0c23c329'
+ 'd5bc5369b102dae74f0cbaeba19a6db1d0d919645672a16208b06a71aab1de1b')
-build() {
+prepare() {
cd ${srcdir}/linux-${_basekernel}
if [ "${_basekernel}" != "${pkgver}" ]; then
patch -Np1 -i "${srcdir}/patch-${_basekernel}-gnu-${pkgver}-gnu"
fi
+}
+
+build() {
+ cd ${srcdir}/linux-${_basekernel}
make mrproper
- make headers_check
+ make ARCH=${ARCH} headers_check
}
package() {
cd ${srcdir}/linux-${_basekernel}
- make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir}${_sysroot}/usr headers_install
+ make ARCH=${ARCH} INSTALL_HDR_PATH=${pkgdir}${_sysroot} headers_install
# use headers from libdrm
- rm -rf ${pkgdir}/usr/include/drm
-
+ rm -r ${pkgdir}${_sysroot}/include/drm
+
# clean-up unnecessary files generated during install
- find ${pkgdir} -name .install -or -name ..install.cmd -print0 | xargs -0 rm -f
+ find ${pkgdir} \( -name .install -o -name ..install.cmd \) -delete
}
diff --git a/pcr/rfc5766-turn-server/PKGBUILD b/pcr/rfc5766-turn-server/PKGBUILD
index e85f98bb8..c070ad309 100644
--- a/pcr/rfc5766-turn-server/PKGBUILD
+++ b/pcr/rfc5766-turn-server/PKGBUILD
@@ -2,15 +2,13 @@
pkgname=rfc5766-turn-server
_portname=turnserver
-pkgver=1.8.6.0
-pkgrel=2
-epoch=
-pkgdesc="Free open source implementation of TURN and STUN Server"
+pkgver=2.6.2.1
+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')
-makedepends=('gcc>=3.4.4' 'make' 'hiredis' 'postgresql-libs' 'libmariadbclient')
-depends=('libevent')
+depends=('libevent' 'postgresql-libs' 'libmysqlclient' 'hiredis')
optdepends=('postgresql-client: to use postgresql'
'mariadb: mariadb backend'
'redis: redis backend')
@@ -22,14 +20,9 @@ source=(https://${pkgname}.googlecode.com/files/${_portname}-$pkgver.tar.gz
build() {
cd "${srcdir}/$_portname-${pkgver}"
- PREFIX=/usr \
- MANPREFIX=/usr/share \
- EXAMPLESDIR="/usr/share/$pkgname/examples" \
- DOCSDIR="/usr/share/doc/$pkgname" \
- LIBDIR=/usr/lib \
- SCHEMADIR="/usr/share/$pkgname" \
- TURNINCLUDEDIR="/usr/include/turn"
- ./configure
+ ./configure --prefix=/usr \
+ --manprefix=/usr/share \
+ --examplesdir="/usr/share/$_portname/examples"
make
}
@@ -41,20 +34,12 @@ check() {
package() {
cd "${srcdir}/$_portname-${pkgver}"
- make \
- PREFIX="$pkgdir/usr" \
- MANPREFIX="$pkgdir/usr/share" \
- EXAMPLESDIR="$pkgdir/usr/share/$pkgname/examples" \
- DOCSDIR="$pkgdir/usr/share/doc/$pkgname" \
- LIBDIR="$pkgdir/usr/lib" \
- SCHEMADIR="$pkgdir/usr/share/$pkgname" \
- TURNINCLUDEDIR="$pkgdir/usr/include/turn" \
- install
+ make DESTDIR="$pkgdir" install
- install -D "$pkgdir/usr/share/$pkgname/examples/etc/turnserver.conf" \
+ install -D "$pkgdir/usr/share/$_portname/examples/etc/turnserver.conf" \
"$pkgdir/etc/turnserver.conf"
- install -D "$pkgdir/usr/share/$pkgname/examples/etc/turnuserdb.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"
@@ -65,7 +50,15 @@ package() {
chmod 644 "$pkgdir/usr/lib/libturnclient.a"
install -Dm 644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+ install -dm 755 "$pkgdir/var/log/$_portname"
+
+ sed \
+ -e '/^#log-file=\/var\/tmp\/turn.log$/c log-file=\/var\/log\/turnserver\/turn.log' \
+ -i "${pkgdir}"/etc/turnserver.conf
}
-md5sums=('def4cc2ea6239795edab12b5eee5f8ed'
- '1da26c3a1fe29a8961e6b9d73f9048d3'
- '83670d79026c67c7701481ee9d39f100')
+sha1sums=('d7f01e6fadbe56fe4535d67a7d178a9cfba110b8'
+ '0c5b348e793bd52ce0ee38d420b26c9b2a2e2ca5'
+ 'b12805c049787cd1433181afaba4111f89740e63')
+sha256sums=('4d131f353aadb15901d175755075af65abf2a0e820d7281c9c164285642ff9c1'
+ '319030c1916d353bfc3375626cc7f60d6eeca762fe4fce354f010212902c49dc'
+ '63198e4f802c7b4b44e671e0fcaebca36589ebb11405e51ab9f36c80327ac4d9')