summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/bibutils/PKGBUILD27
-rw-r--r--community/bind/PKGBUILD6
-rw-r--r--community/enet/PKGBUILD6
-rw-r--r--community/flightgear/PKGBUILD8
-rw-r--r--community/gmic/PKGBUILD10
-rw-r--r--community/haskell-citeproc-hs/PKGBUILD6
-rw-r--r--community/haskell-hs-bibutils/PKGBUILD44
-rw-r--r--community/haskell-hs-bibutils/haskell-hs-bibutils.install23
-rw-r--r--community/haskell-pandoc/PKGBUILD2
-rw-r--r--community/inn/PKGBUILD18
-rw-r--r--community/mixxx/PKGBUILD10
-rw-r--r--community/mongodb/PKGBUILD15
-rw-r--r--community/tomoyo-tools/PKGBUILD12
-rw-r--r--core/libedit/PKGBUILD6
-rw-r--r--core/pcre/PKGBUILD10
-rw-r--r--extra/spamassassin/PKGBUILD18
-rw-r--r--extra/spamassassin/perl-5.18-fixes.patch97
-rw-r--r--extra/spamassassin/spamassassin.service2
-rw-r--r--libre/devtools-legacy/PKGBUILD28
-rw-r--r--libre/libretools-legacy/PKGBUILD100
-rw-r--r--libre/libretools-legacy/libretools-legacy.install28
-rw-r--r--libre/libretools/PKGBUILD5
-rw-r--r--libre/mksyslinux/PKGBUILD8
-rwxr-xr-xlibre/mksyslinux/mksyslinux7
-rw-r--r--libre/mksyslinux/mksyslinux.conf2
-rw-r--r--pcr/rfc5766-turn-server/ChangeLog5
-rw-r--r--pcr/rfc5766-turn-server/PKGBUILD61
27 files changed, 499 insertions, 65 deletions
diff --git a/community/bibutils/PKGBUILD b/community/bibutils/PKGBUILD
new file mode 100644
index 000000000..1d73c0d68
--- /dev/null
+++ b/community/bibutils/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Daniel Micay <danielmicay@gmail.com>
+# Contributor: Ivy Foster <joyfulgirl (at) archlinux (dot) us>
+
+pkgname=bibutils
+_basename=bibutils
+pkgver=5.0
+pkgrel=1
+pkgdesc="Bibliography conversion tools"
+arch=("i686" "x86_64")
+url="http://sourceforge.net/p/bibutils/home/Bibutils/"
+license=('GPL2')
+makedepends=('tcsh')
+depends=(glibc)
+source=("http://downloads.sourceforge.net/project/${_basename}/${_basename}_${pkgver}_src.tgz")
+md5sums=('c4838bf0d8ae48e4df49ae395bf643d0')
+
+build() {
+ cd ${_basename}_$pkgver
+ ./configure --dynamic --install-dir "$pkgdir/usr/bin" --install-lib "$pkgdir/usr/lib"
+ make
+}
+
+package() {
+ cd ${_basename}_$pkgver
+ mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/lib"
+ make install
+}
diff --git a/community/bind/PKGBUILD b/community/bind/PKGBUILD
index a42e023a6..588c8c0a7 100644
--- a/community/bind/PKGBUILD
+++ b/community/bind/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 91985 2013-05-30 17:41:01Z seblu $
+# $Id: PKGBUILD 92426 2013-06-05 07:49:55Z seblu $
# Maintainer: Sébastien Luttringer
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
# Contributor: Mario Vazquez <mario_vazq@hotmail.com>
pkgname=bind
-_pkgver=9.9.3
+_pkgver=9.9.3-P1
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='The ISC BIND nameserver'
@@ -26,7 +26,7 @@ source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"
'named.logrotate'
'localhost.zone'
'127.0.0.zone')
-sha1sums=('0d770a68ccdb98db7930951cf380d5c7ed9b5b67'
+sha1sums=('9e1a9e5e45685befce6b93d4fcfd63e50eaeb2cf'
'029f89c49550c40ec7a95116b6a33f0e5a041094'
'c5a2bcd9b0f009ae71f3a03fbdbe012196962a11'
'c71a7fc02d4bf0d55e8e29d1e014607ac1d58726'
diff --git a/community/enet/PKGBUILD b/community/enet/PKGBUILD
index 98c26c4ea..2e1f2a1ad 100644
--- a/community/enet/PKGBUILD
+++ b/community/enet/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 88352 2013-04-16 15:17:10Z svenstaro $
+# $Id: PKGBUILD 92446 2013-06-05 15:30:42Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Bj?indeijer <bjorn@lindeijer.nl>
pkgname=enet
-pkgver=1.3.7
+pkgver=1.3.8
pkgrel=1
pkgdesc='A relatively thin, simple and robust network communication layer on top of UDP.'
arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@ license=('custom')
depends=('glibc')
options=('!libtool')
source=("http://enet.bespin.org/download/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('5611926d47ce0699c8176898496603192d5744e4')
+sha1sums=('72284b0699ace09c1723fd532742077ca775b724')
build() {
cd "${pkgname}-${pkgver}"
diff --git a/community/flightgear/PKGBUILD b/community/flightgear/PKGBUILD
index d029315a7..5cd15184b 100644
--- a/community/flightgear/PKGBUILD
+++ b/community/flightgear/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 90024 2013-05-06 19:36:54Z foutrelis $
+# $Id: PKGBUILD 92437 2013-06-05 11:05:37Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: William Rea <sillywilly@gmail.com>
# Contributor: Hans Janssen <hans@janserv.xs4all.nl>
pkgname=flightgear
pkgver=2.10.0
-pkgrel=2
+pkgrel=3
pkgdesc="An open-source, multi-platform flight simulator"
arch=(i686 x86_64)
depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu')
-makedepends=('boost' 'cmake' 'mesa')
+makedepends=('boost' 'cmake' 'mesa' 'sharutils')
license=("GPL")
url="http://www.flightgear.org"
options=('!makeflags')
@@ -24,6 +24,7 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DFG_DATA_DIR:STRING="/usr/share/flightgear/data" .
+ uudecode -o package/flightgear.png package/flightgear.png.uue
make
sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop
}
@@ -36,5 +37,6 @@ package() {
install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop
install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico
+ install -Dm0644 package/flightgear.png $pkgdir/usr/share/icons/flightgear.png
ln -sf flightgear $pkgdir/usr/share/FlightGear
}
diff --git a/community/gmic/PKGBUILD b/community/gmic/PKGBUILD
index 2f00712dc..9a0e7ffa6 100644
--- a/community/gmic/PKGBUILD
+++ b/community/gmic/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 90039 2013-05-06 19:37:31Z foutrelis $
+# $Id: PKGBUILD 92433 2013-06-05 10:32:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: farid <farid at archlinuc-br.org>
@@ -6,8 +6,8 @@
pkgbase=gmic
pkgname=("gmic" "gimp-plugin-gmic" "zart")
-pkgver=1.5.5.2
-pkgrel=2
+pkgver=1.5.6.0
+pkgrel=1
arch=("i686" "x86_64")
url="http://gmic.sourceforge.net"
license=("custom:CeCILL")
@@ -15,7 +15,7 @@ makedepends=('gimp' 'qt4' 'fftw' 'openexr' 'opencv' 'mesa' 'gtk2')
#options=('!emptydirs')
source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_${pkgver}.tar.gz"
"opencv-buildfix.patch")
-md5sums=('ec68076448166ea18d15c0a69489dd25'
+md5sums=('3aea4c983bc5e8a834f147dad88ebdac'
'120319b0d6c81c5af186abe2281b79ca')
prepare() {
@@ -25,8 +25,6 @@ prepare() {
find "${srcdir}/gmic-${pkgver}/zart" -type d -execdir chmod 755 '{}' \;
sed -i 's|qmake zart.pro|qmake-qt4 zart.pro|' src/Makefile
}
-md5sums=('7d3a8e5cf9e866dd8979dc7c759a21a6'
- '120319b0d6c81c5af186abe2281b79ca')
build() {
cd "${srcdir}/gmic-${pkgver}"
diff --git a/community/haskell-citeproc-hs/PKGBUILD b/community/haskell-citeproc-hs/PKGBUILD
index 9e3bfdcf3..f66d18870 100644
--- a/community/haskell-citeproc-hs/PKGBUILD
+++ b/community/haskell-citeproc-hs/PKGBUILD
@@ -5,14 +5,14 @@
_hkgname=citeproc-hs
pkgname=haskell-citeproc-hs
pkgver=0.3.8
-pkgrel=2
+pkgrel=3
pkgdesc="A Citation Style Language implementation in Haskell"
url="http://gorgias.mine.nu/repos/citeproc-hs/"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=('ghc')
depends=(haskell-http haskell-bytestring haskell-containers haskell-directory
- haskell-filepath haskell-json haskell-mtl haskell-old-locale
+ haskell-filepath haskell-json haskell-mtl haskell-old-locale haskell-hs-bibutils
haskell-pandoc-types haskell-parsec haskell-syb haskell-time haskell-utf8-string haskell-xml)
source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/${_hkgname}-${pkgver}.tar.gz")
install=$pkgname.install
@@ -22,7 +22,7 @@ build() {
cd "$srcdir/$_hkgname-$pkgver"
runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
--prefix=/usr --docdir=/usr/share/doc/$pkgname \
- --libsubdir=\$compiler/site-local/\$pkgid -f generic
+ --libsubdir=\$compiler/site-local/\$pkgid -f bibutils
runhaskell Setup build
runhaskell Setup haddock
runhaskell Setup register --gen-script
diff --git a/community/haskell-hs-bibutils/PKGBUILD b/community/haskell-hs-bibutils/PKGBUILD
new file mode 100644
index 000000000..85a7a74c7
--- /dev/null
+++ b/community/haskell-hs-bibutils/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Daniel Micay <danielmicay@gmail.com>
+# Contributor: Ivy Foster <joyfulgirl (at) archlinux (dot) # us>
+# Contributor: Alexander Dunlap <alexander.dunlap at gmail # dot com>
+
+_hkgname=hs-bibutils
+pkgname=haskell-hs-bibutils
+pkgver=5.0
+pkgrel=2
+pkgdesc="Haskell bindings to bibutils, the bibliography conversion utilities."
+url="http://hackage.haskell.org/package/$_hkgname"
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('ghc' 'haskell-syb>=0.3' 'bibutils')
+options=('strip')
+source=(http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz)
+install=$pkgname.install
+md5sums=('611e02005ad8bbb69218ebf15f3587c6')
+
+build() {
+ cd "$_hkgname-$pkgver"
+ runhaskell Setup configure -O \
+ --enable-split-objs \
+ --enable-shared \
+ --prefix=/usr \
+ --docdir=/usr/share/doc/$pkgname \
+ --libsubdir=\$compiler/site-local/\$pkgid \
+ --enable-library-profiling
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r \
+ -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" \
+ unregister.sh
+}
+
+package() {
+ cd "$_hkgname-$pkgver"
+ install -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+ install -m744 unregister.sh "$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+ install -dm755 "$pkgdir/usr/share/doc/ghc/html/libraries"
+ ln -s /usr/share/doc/${pkgname}/html "$pkgdir/usr/share/doc/ghc/html/libraries/$_hkgname"
+ runhaskell Setup copy --destdir="$pkgdir"
+}
diff --git a/community/haskell-hs-bibutils/haskell-hs-bibutils.install b/community/haskell-hs-bibutils/haskell-hs-bibutils.install
new file mode 100644
index 000000000..7b5f4d635
--- /dev/null
+++ b/community/haskell-hs-bibutils/haskell-hs-bibutils.install
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hs-bibutils
+
+post_install() {
+ $HS_DIR/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_upgrade() {
+ $HS_DIR/unregister.sh
+}
+
+post_upgrade() {
+ $HS_DIR/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_remove() {
+ $HS_DIR/unregister.sh
+}
+
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/community/haskell-pandoc/PKGBUILD b/community/haskell-pandoc/PKGBUILD
index a31f95cb8..fe85263af 100644
--- a/community/haskell-pandoc/PKGBUILD
+++ b/community/haskell-pandoc/PKGBUILD
@@ -5,7 +5,7 @@
_hkgname=pandoc
pkgname=haskell-pandoc
pkgver=1.11.1
-pkgrel=6
+pkgrel=7
pkgdesc="Conversion between markup formats"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
diff --git a/community/inn/PKGBUILD b/community/inn/PKGBUILD
index dd354675d..adc62dab0 100644
--- a/community/inn/PKGBUILD
+++ b/community/inn/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 91652 2013-05-26 09:24:36Z bluewind $
+# $Id: PKGBUILD 92442 2013-06-05 11:48:40Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Edward Tjörnhammar <xhemi@cube2.se>
# Contributor: Edward Tjörnhammar <xhemi@cube2.se>
pkgname=inn
pkgver=2.5.3
-pkgrel=6
+pkgrel=7
pkgdesc="Complete open source Usenet system. De facto standard for handling news routing, news spool and serving the spool to customers."
url="http://www.isc.org/software/inn/"
arch=('i686' 'x86_64')
@@ -55,10 +55,16 @@ md5sums=('353fe95232828ddbc80debff86c240bc'
'050b7bffff3361c673a118739e42349e'
'960c800026ed6e03901cf0bafdfd53d8')
-build() {
+prepare() {
cd $srcdir/inn-$pkgver
+# sed -i 's|-export-dynamic gnu|-export-dynamic|' Makefile.global
+ [ $NOEXTRACT -eq 1 ] || patch -p3 < $srcdir/site.make.patch
+ sed -i 's|#define L_NOTICE.*|#define L_NOTICE LOG_NOTICE|' include/inn/options.h
+}
- [ $NOEXTRACT -eq 1 ] || PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+build() {
+ cd $srcdir/inn-$pkgver
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--includedir=/usr/include/inn \
--sbindir=/usr/sbin \
--with-libtool \
@@ -78,7 +84,6 @@ build() {
--with-news-user=9 \
--with-news-group=13
# See https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
-
test -f include/config.h
cat >>include/config.h <<EOF
#undef RUNASUSER
@@ -86,9 +91,6 @@ build() {
#undef RUNASGROUP
#define RUNASGROUP "news"
EOF
- sed -i 's|-export-dynamic gnu|-export-dynamic|' Makefile.global
- [ $NOEXTRACT -eq 1 ] || patch -p3 < $srcdir/site.make.patch
-
make
}
diff --git a/community/mixxx/PKGBUILD b/community/mixxx/PKGBUILD
index 5f3fb3b9e..de26827ae 100644
--- a/community/mixxx/PKGBUILD
+++ b/community/mixxx/PKGBUILD
@@ -1,21 +1,21 @@
-# $Id: PKGBUILD 86767 2013-03-22 00:23:48Z eric $
+# $Id: PKGBUILD 92429 2013-06-05 10:08:34Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Ali H. Caliskan <ali.h.caliskan AT gmail DOT com>
# Contributor: Ryan Coyner <rcoyner@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=mixxx
-pkgver=1.10.1
-pkgrel=2
+pkgver=1.11.0
+pkgrel=1
pkgdesc="Free, open source software for digital DJ'ing."
arch=('i686' 'x86_64')
url='http://www.mixxx.org'
license=('GPL')
depends=('fftw' 'libid3tag' 'libmad' 'libogg' 'libshout' 'libsndfile' 'portaudio' 'portmidi'
- 'taglib' 'qtwebkit')
+ 'taglib' 'qtwebkit' 'vamp-plugin-sdk' 'libusbx' 'protobuf')
makedepends=('mesa' 'scons' 'libshout' 'glu')
source=("http://downloads.mixxx.org/${pkgname}-${pkgver}/${pkgname}-${pkgver}-src.tar.gz")
-md5sums=('765bc5216ec8102c2186dd3ea80187a9')
+md5sums=('89ee8ba60824919d8dd1194287bda259')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD
index 6db2976d1..85e53fafc 100644
--- a/community/mongodb/PKGBUILD
+++ b/community/mongodb/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 88850 2013-04-24 10:16:56Z fyan $
+# $Id: PKGBUILD 92438 2013-06-05 11:16:09Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
@@ -6,7 +6,7 @@
# Contributor: Alec Thomas
pkgname=mongodb
-pkgver=2.4.3
+pkgver=2.4.4
pkgrel=1
pkgdesc='A high-performance, open source, schema-free document-oriented database'
arch=('i686' 'x86_64')
@@ -64,8 +64,9 @@ package() {
mv ${pkgdir}/usr/lib64/libmongoclient.a ${pkgdir}/usr/lib/ || true
rm -r ${pkgdir}/usr/lib64 || true
}
-md5sums=('ff6a9c90bdaca66a7e997ba8490fc222'
- '4839fe1d638187ca3226e8267b947318'
- '96ab4517b48974ce0e566d9746a75a4f'
- 'a9529e2a6e392ffecef7a9178394c814'
- 'c97f3fd59bbbdd9f0f6916322d95feb4')
+
+sha512sums=('f72aee0a9c979756741902eb87775d154de45660596ec4507274a7719d376869510f192cf7777840821cb491cfe009beced8891e3f243c761ee758ab023a457d'
+ '05dead727d3ea5fe8af1a3c3888693f6b3e2b8cb7f197a5d793352e10d2c524e96c9a5c55ad2e88c1114643a9612ec0b26a2574b48a5260a9b51ec8941461f1c'
+ '177251404b2e818ae2b546fe8b13cb76e348c99e85c7bef22a04b0f07b600fd515a309ede50214f4198594388a6d2b31f46e945b9dae84aabb4dfa13b1123bb9'
+ '2f7d0e9e35a043d9006fd429f36cd6b45ed4edd98ce653b35b237e0313d2d7ef39ae85dcd31713bae7ab68e40a38534bba5f7746653e9380f2106865a8b3b9a5'
+ 'e709f76fa71a10d6b72d2eeae65d715e0a0a7e6cb93704114f22db8662d7102de77bd1e6706049351beb159aaa04548cfe4b14fe6ee498a166c5ad54c8275f84')
diff --git a/community/tomoyo-tools/PKGBUILD b/community/tomoyo-tools/PKGBUILD
index 9fd6ccc30..c046d9d44 100644
--- a/community/tomoyo-tools/PKGBUILD
+++ b/community/tomoyo-tools/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 91910 2013-05-29 10:07:22Z spupykin $
+# $Id: PKGBUILD 92435 2013-06-05 10:32:39Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jamie Nguyen <jamie AT tomoyolinux.co.uk>
@@ -7,7 +7,7 @@ _basever=2.5.0
_timestamp=20130214
_file=53357
pkgver=${_basever}.${_timestamp}
-pkgrel=3
+pkgrel=4
pkgdesc='TOMOYO Linux userspace tools for Linux kernels >=3.2'
arch=('i686' 'x86_64')
url='http://tomoyo.sourceforge.jp'
@@ -19,6 +19,14 @@ install=tomoyo-tools.install
source=("http://sourceforge.jp/frs/redir.php?f=/tomoyo/${_file}/${pkgname}-${_basever}-${_timestamp}.tar.gz")
md5sums=('ffff6b531ed9ac32b01722a9cd749a2f')
+prepare() {
+ cd "${srcdir}/${pkgname}"
+ sed -i \
+ -e 's|usr/sbin|usr/bin|g' \
+ -e 's|sbin|usr/bin|g' \
+ usr_lib_tomoyo/init_policy.c
+}
+
build() {
cd "${srcdir}/${pkgname}"
make USRSBINDIR=/usr/bin SBINDIR=/usr/bin
diff --git a/core/libedit/PKGBUILD b/core/libedit/PKGBUILD
index 29b6480c8..819a7b5c7 100644
--- a/core/libedit/PKGBUILD
+++ b/core/libedit/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 165851 2012-09-01 14:29:46Z bisson $
+# $Id: PKGBUILD 187329 2013-06-05 12:52:10Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
# Contributor: Roman Cheplyaka <roma@ro-che.info>
pkgname=libedit
-pkgver=20120601_3.0
+pkgver=20130601_3.1
pkgrel=1
pkgdesc='Command line editor library providing generic line editing, history, and tokenization functions'
url='http://www.thrysoee.dk/editline/'
@@ -13,7 +13,7 @@ license=('BSD')
depends=('ncurses')
options=('!libtool')
source=("http://www.thrysoee.dk/editline/libedit-${pkgver/_/-}.tar.gz")
-sha1sums=('18ec27120f6abb222754e9f283d000fec0dcfc08')
+sha1sums=('9c3fe7af5ba3d86c608872de3d6e8179add8cc88')
build() {
cd "${srcdir}/${pkgname}-${pkgver/_/-}"
diff --git a/core/pcre/PKGBUILD b/core/pcre/PKGBUILD
index 86269ade2..046fb3f79 100644
--- a/core/pcre/PKGBUILD
+++ b/core/pcre/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 172477 2012-12-03 21:23:28Z allan $
+# $Id: PKGBUILD 187186 2013-06-05 04:57:31Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=pcre
-pkgver=8.32
+pkgver=8.33
pkgrel=1
pkgdesc="A library that implements Perl 5-style regular expressions"
arch=('i686' 'x86_64')
@@ -13,8 +13,8 @@ license=('BSD')
depends=('gcc-libs')
options=('!libtool')
source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2{,.sig})
-md5sums=('62f02a76bb57a40bc66681760ed511d5'
- '275ffe85e62565118756f8f3d08bb70f')
+md5sums=('21514018448ac10062ece7a668fca949'
+ 'SKIP')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
@@ -26,7 +26,7 @@ build() {
check() {
cd "${srcdir}"/${pkgname}-${pkgver}
- make check
+ make -j1 check
}
package() {
diff --git a/extra/spamassassin/PKGBUILD b/extra/spamassassin/PKGBUILD
index 8782d5e5d..d5699b83e 100644
--- a/extra/spamassassin/PKGBUILD
+++ b/extra/spamassassin/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 185272 2013-05-12 17:03:55Z bluewind $
+# $Id: PKGBUILD 187368 2013-06-05 15:55:32Z bluewind $
# Maintainer: Florian Pritz <bluewind@xinu.at>
# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=spamassassin
pkgver=3.3.2
-pkgrel=8
+pkgrel=9
pkgdesc="A mail filter to identify spam."
arch=('i686' 'x86_64')
license=('APACHE')
@@ -12,7 +12,7 @@ url="http://spamassassin.apache.org"
depends=('openssl' 'zlib' 're2c' 'perl-net-dns' 'perl-io-socket-ssl'
'perl-libwww' 'perl-mail-spf' 'perl-http-message' 'perl-net-http'
'perl-io-socket-inet6' 'perl-mail-dkim' 'perl-crypt-ssleay')
-makedepends=('razor' 'perl-dbi')
+makedepends=('razor' 'perl-dbi')
optdepends=('razor: to identify collaborately-flagged spam')
backup=('etc/mail/spamassassin/local.cf'
'etc/mail/spamassassin/init.pre'
@@ -23,9 +23,17 @@ backup=('etc/mail/spamassassin/local.cf'
install="${pkgname}.install"
options=('!emptydirs')
source=("http://mirrors.devlib.org/apache/${pkgname}/source/Mail-SpamAssassin-${pkgver}.tar.gz"
- 'spamassassin.service')
+ 'spamassassin.service'
+ 'perl-5.18-fixes.patch')
md5sums=('d1d62cc5c6eac57e88c4006d9633b81e'
- 'ded3e012a4d502df001f2d97c495cc4e')
+ 'b8dcea016fb73b074b941e832cfae5c9'
+ '6cf63928eeeaea25967c2ffd875d106a')
+
+prepare() {
+ cd "${srcdir}/Mail-SpamAssassin-${pkgver}"
+
+ patch -p0 -d lib -i "$srcdir/perl-5.18-fixes.patch"
+}
build() {
cd "${srcdir}/Mail-SpamAssassin-${pkgver}"
diff --git a/extra/spamassassin/perl-5.18-fixes.patch b/extra/spamassassin/perl-5.18-fixes.patch
new file mode 100644
index 000000000..74277fc8b
--- /dev/null
+++ b/extra/spamassassin/perl-5.18-fixes.patch
@@ -0,0 +1,97 @@
+--- Mail/SpamAssassin/AsyncLoop.pm~ 2011-06-07 01:59:17.000000000 +0200
++++ Mail/SpamAssassin/AsyncLoop.pm 2013-05-29 01:37:58.000000000 +0200
+@@ -361,5 +361,12 @@
+ $now = time; # capture new timestamp, after possible sleep in 'select'
+
+- while (my($key,$ent) = each %$pending) {
++ # A callback routine may generate another DNS query, which may insert
++ # an entry into the %$pending hash thus invalidating the each() context.
++ # So, make sure that callbacks are not called while the each() context
++ # is open, or avoid using each(). [Bug 6937]
++ #
++ # while (my($key,$ent) = each %$pending) {
++ foreach my $key (keys %$pending) {
++ my $ent = $pending->{$key};
+ my $id = $ent->{id};
+ if (defined $ent->{poll_callback}) { # call a "poll_callback" if exists
+@@ -449,5 +456,6 @@
+ my $foundcnt = 0;
+ my $now = time;
+- while (my($key,$ent) = each %$pending) {
++ foreach my $key (keys %$pending) {
++ my $ent = $pending->{$key};
+ dbg("async: aborting after %.3f s, %s: %s",
+ $now - $ent->{start_time},
+--- Mail/SpamAssassin/Conf/Parser.pm~ 2011-06-07 01:59:17.000000000 +0200
++++ Mail/SpamAssassin/Conf/Parser.pm 2013-05-29 01:32:06.000000000 +0200
+@@ -1249,5 +1249,5 @@
+ my $mods = '';
+ local ($1,$2);
+- if ($re =~ s/^m{//) {
++ if ($re =~ s/^m\{//) {
+ $re =~ s/}([a-z]*)$//; $mods = $1;
+ }
+--- Mail/SpamAssassin/DnsResolver.pm~ 2011-06-07 01:59:17.000000000 +0200
++++ Mail/SpamAssassin/DnsResolver.pm 2013-05-29 01:32:06.000000000 +0200
+@@ -441,8 +441,14 @@
+ if (!defined($timeout) || $timeout > 0)
+ { $timer = $self->{main}->time_method("poll_dns_idle") }
++ $! = 0;
+ ($nfound, $timeleft) = select($rout=$rin, undef, undef, $timeout);
+ }
+ if (!defined $nfound || $nfound < 0) {
+- warn "dns: select failed: $!";
++ if ($!) { warn "dns: select failed: $!\n" }
++ else { info("dns: select interrupted") }
++ return;
++ } elsif (!$nfound) {
++ if (!defined $timeout) { warn("dns: select returned empty-handed\n") }
++ elsif ($timeout > 0) { dbg("dns: select timed out %.3f s", $timeout) }
+ return;
+ }
+--- Mail/SpamAssassin/Message.pm~ 2011-06-07 01:59:17.000000000 +0200
++++ Mail/SpamAssassin/Message.pm 2013-05-29 01:32:06.000000000 +0200
+@@ -567,5 +567,5 @@
+ # bug 5557: windows requires tmp file be closed before it can be rm'd
+ if (ref $part->{'raw'} eq 'GLOB') {
+- close($part->{'raw'}) or die "error closing input file: $!";
++ close($part->{'raw'}) or warn "error closing input file: $!";
+ }
+
+--- Mail/SpamAssassin/PerMsgStatus.pm~ 2011-06-07 01:59:17.000000000 +0200
++++ Mail/SpamAssassin/PerMsgStatus.pm 2013-05-29 01:32:06.000000000 +0200
+@@ -421,6 +421,6 @@
+ }
+
+- # ignore tests with 0 score in this scoreset
+- next if ($scores->{$test} == 0);
++ # ignore tests with 0 score (or undefined) in this scoreset
++ next if !$scores->{$test};
+
+ # Go ahead and add points to the proper locations
+@@ -1253,11 +1253,10 @@
+ my $line = '';
+ foreach my $test (sort @{$self->{test_names_hit}}) {
+- if (!$line) {
+- $line .= $test . "=" . $self->{conf}->{scores}->{$test};
+- } else {
+- $line .= $arg . $test . "=" . $self->{conf}->{scores}->{$test};
+- }
++ my $score = $self->{conf}->{scores}->{$test};
++ $score = '0' if !defined $score;
++ $line .= $arg if $line ne '';
++ $line .= $test . "=" . $score;
+ }
+- $line ? $line : 'none';
++ $line ne '' ? $line : 'none';
+ },
+
+--- Mail/SpamAssassin/Util.pm~ 2013-05-29 01:29:59.000000000 +0200
++++ Mail/SpamAssassin/Util.pm 2013-05-29 01:33:16.000000000 +0200
+@@ -1588,5 +1588,5 @@
+ return undef; # invalid
+ }
+- elsif ($re =~ s/^m{//) { # m{foo/bar}
++ elsif ($re =~ s/^m\{//) { # m{foo/bar}
+ $delim = '}';
+ }
diff --git a/extra/spamassassin/spamassassin.service b/extra/spamassassin/spamassassin.service
index 2ccfa5b11..e9c9c07fd 100644
--- a/extra/spamassassin/spamassassin.service
+++ b/extra/spamassassin/spamassassin.service
@@ -5,7 +5,7 @@ After=syslog.target network.target
[Service]
Type=forking
PIDFile=/var/run/spamd.pid
-ExecStart=/usr/bin/vendor_perl/spamd -d --pidfile /var/run/spamd.pid -c
+ExecStart=/usr/bin/vendor_perl/spamd -d --pidfile /var/run/spamd.pid -c -c -x --virtual-config-dir=/var/lib/spamassassin -u nobody
StandardOutput=syslog
StandardError=syslog
Restart=always
diff --git a/libre/devtools-legacy/PKGBUILD b/libre/devtools-legacy/PKGBUILD
new file mode 100644
index 000000000..2ff4cbc42
--- /dev/null
+++ b/libre/devtools-legacy/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+# Maintainer: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=devtools-legacy
+_pkgname=devtools
+pkgver=20130408
+pkgrel=1
+pkgdesc='Tools for Arch Linux package maintainers (legacy)'
+arch=('any')
+license=('GPL')
+url='http://projects.archlinux.org/devtools.git/'
+depends=('namcap' 'openssh' 'subversion' 'rsync' 'arch-install-scripts')
+conflicts=$_pkgname
+source=("ftp://ftp.archlinux.org/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
+ "ftp://ftp.archlinux.org/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz.sig")
+md5sums=('12b42b429744af6517ae789f728e9f63'
+ 'SKIP')
+
+build() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ make PREFIX=/usr
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ make PREFIX=/usr DESTDIR=${pkgdir} install
+}
+
diff --git a/libre/libretools-legacy/PKGBUILD b/libre/libretools-legacy/PKGBUILD
new file mode 100644
index 000000000..59e383449
--- /dev/null
+++ b/libre/libretools-legacy/PKGBUILD
@@ -0,0 +1,100 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+# Maintainer: Joshua Haase <hahj87@gmail.com
+# Contributor: fauno <fauno@kiwwwi.com.ar>
+
+pkgbase=libretools
+pkgname=(libretools-legacy libretools-legacy-pr libretools-legacy-mips64el)
+pkgver=20120924
+pkgrel=1
+pkgdesc="Programs for Parabola development (legacy)"
+arch=('any')
+url="http://parabolagnulinux.org"
+license=('GPL3+')
+depends=(openssh rsync git wget devtools-legacy)
+install=libretools-legacy.install
+source=(https://projects.parabolagnulinux.org/$pkgbase.git/snapshot/$pkgbase-v$pkgver.tar)
+md5sums=(dfb8cb24d3deda29178d0fdc20b0e4bd)
+conflicts=libretools
+
+package_libretools-legacy() {
+ backup=(etc/libretools.conf)
+
+ cd $srcdir/$pkgbase-v$pkgver
+
+ # fixing librebasebuilder librechroot libremakepkg !!!NEED MORE PATCH for makechrootpkg -d and mkarchroot -n!!!
+ # more info in:
+ # https://projects.archlinux.org/devtools.git/commit/?id=abba9f07a6d703cd97fc2d2bbd397072d5bf796d
+ # https://projects.archlinux.org/devtools.git/commit/?id=453558c4bb44b4bff43fcd22f96d4cfe1dbcf6f1
+ #sed -i 's|makechrootpkg -d -r "$CHROOTDIR" -l "$CHROOT" -- $MAKEPKG_ARGS|makechrootpkg -r "$CHROOTDIR" -l "$CHROOT" -- $MAKEPKG_ARGS|;
+ # s|mkarchroot -n|mkarchroot|;
+ # s|mkarchroot -r "/clean" "${CHROOTDIR}/${CHROOTNAME}"|arch-nspawn "${CHROOTDIR}/${CHROOTNAME}" "/clean"|;
+ # s|mkarchroot -r "bash" "${CHROOTDIR}/${CHROOTNAME}"|arch-nspawn "${CHROOTDIR}/${CHROOTNAME}" "bash"|;
+ # s|mkarchroot -u "${CHROOTDIR}/${CHROOTNAME}"|arch-nspawn "${CHROOTDIR}/${CHROOTNAME}" pacman -Syu --noconfirm|;
+ # ' librebasebuilder librechroot libremakepkg
+
+ install -d ${pkgdir}/etc/libretools.d
+ install -m644 libretools.conf ${pkgdir}/etc/
+
+ install -d ${pkgdir}/usr/bin
+ install -m755 abslibre-commit ${pkgdir}/usr/bin
+ install -m755 add-mips64el ${pkgdir}/usr/bin
+ install -m755 aur ${pkgdir}/usr/bin
+ install -m755 buildenv ${pkgdir}/usr/bin
+ install -m755 chcleanup ${pkgdir}/usr/bin
+ install -m755 createworkdir ${pkgdir}/usr/bin
+ install -m755 diff-unfree ${pkgdir}/usr/bin
+ install -m755 fullpkg ${pkgdir}/usr/bin
+ install -m755 fullpkg-build ${pkgdir}/usr/bin
+ install -m755 fullpkg-find ${pkgdir}/usr/bin
+ install -m755 is_built ${pkgdir}/usr/bin
+ install -m755 is_unfree ${pkgdir}/usr/bin
+ install -m755 lb ${pkgdir}/usr/bin
+ install -m755 libreaddiff ${pkgdir}/usr/bin
+ install -m755 librebasebuilder ${pkgdir}/usr/bin
+ install -m755 librechroot ${pkgdir}/usr/bin
+ install -m755 librecommit ${pkgdir}/usr/bin
+ install -m755 librediff ${pkgdir}/usr/bin
+ install -m755 libremakepkg ${pkgdir}/usr/bin
+ install -m755 libremessages ${pkgdir}/usr/bin
+ install -m755 libremkchroot ${pkgdir}/usr/bin
+ install -m755 librerelease ${pkgdir}/usr/bin
+ install -m755 librerepkg ${pkgdir}/usr/bin
+ install -m755 librestage ${pkgdir}/usr/bin
+ install -m755 pkgbuild-check-nonfree ${pkgdir}/usr/bin
+ install -m755 toru ${pkgdir}/usr/bin
+ install -m755 toru-path ${pkgdir}/usr/bin
+ install -m755 toru-utils ${pkgdir}/usr/bin
+ install -m755 toru-where ${pkgdir}/usr/bin
+ install -m755 updateabslibre ${pkgdir}/usr/bin
+ install -m755 update-cleansystem ${pkgdir}/usr/bin
+
+ install -d ${pkgdir}/usr/share/pacman
+ install -m755 rePKGBUILD.proto ${pkgdir}/usr/share/pacman
+}
+
+package_libretools-legacy-pr() {
+ backup=('etc/libretools.d/prtools.conf')
+
+ cd $srcdir/$pkgbase-v$pkgver
+
+ install -d ${pkgdir}/etc/libretools.d
+ install -m644 prtools/prtools.conf ${pkgdir}/etc/libretools.d
+
+ install -d ${pkgdir}/usr/bin
+ install -m755 prtools/prfullpkg ${pkgdir}/usr/bin
+ install -m755 prtools/prmipsrelease ${pkgdir}/usr/bin
+ install -m755 prtools/prtoru ${pkgdir}/usr/bin
+}
+
+package_libretools-legacy-mips64el() {
+ backup=('etc/libretools.d/mips64el.conf')
+
+ cd $srcdir/$pkgbase-v$pkgver
+
+ install -d ${pkgdir}/etc/libretools.d
+ install -m755 mips64el/mips64el.conf ${pkgdir}/etc/libretools.d
+
+ install -d ${pkgdir}/usr/bin
+ install -m755 mips64el/mips-add ${pkgdir}/usr/bin
+ install -m755 mips64el/mipsrelease ${pkgdir}/usr/bin
+}
diff --git a/libre/libretools-legacy/libretools-legacy.install b/libre/libretools-legacy/libretools-legacy.install
new file mode 100644
index 000000000..3ede1f904
--- /dev/null
+++ b/libre/libretools-legacy/libretools-legacy.install
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+# arg 1: the new package version
+post_install() {
+ cat <<EOF
+Please check https://wiki.parabolagnulinux.org/Package_maintainer_guide
+and follow instructions there before using libretools.
+
+If you plan using fullpkg you should read https://wiki.parabolagnulinux.org/fullpkg
+and install libretools-\$arch if avaliable
+
+EOF
+ update-cleansystem
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ cat <<EOF
+Check your /etc/libretools.conf, it has changed substantially.
+
+If using fullpkg, you should install libretools-\$arch if avaliable
+
+EOF
+ update-cleansystem
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD
index 9f67689df..815f28b96 100644
--- a/libre/libretools/PKGBUILD
+++ b/libre/libretools/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Joshua Haase <hahj87@gmail.com
# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: fauno <fauno@kiwwwi.com.ar>
+# Contributor: Márcio Silva <coadde@lavabit.com>
pkgbase=libretools
pkgname=(libretools libretools-mips64el)
@@ -9,11 +10,11 @@ pkgdesc="Programs for Parabola development"
url="https://projects.parabolagnulinux.org/libretools.git/"
license=('GPL3+' 'GPL2')
-pkgrel=3
+pkgrel=4
arch=('any')
groups=(base-devel)
depends=(openssh rsync git wget tokyocabinet)
-conflicts=(chroottools)
+conflicts=(chroottools devtools libretools-legacy)
source=(https://projects.parabolagnulinux.org/$pkgbase.git/snapshot/$pkgbase-$pkgver.tar)
build() {
diff --git a/libre/mksyslinux/PKGBUILD b/libre/mksyslinux/PKGBUILD
index 16d595f12..a64f141fd 100644
--- a/libre/mksyslinux/PKGBUILD
+++ b/libre/mksyslinux/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 186874 2013-05-31 13:27:18Z tpowa $
+# $Id: PKGBUILD 187120 2013-06-04 06:46:39Z tpowa $
# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
pkgname=mksyslinux
-pkgver=2013.05
+pkgver=2013.06
pkgrel=1
pkgdesc="Advanced, modular syslinux boot image creation utility (Parabola rebranded)"
arch=(any)
@@ -21,6 +21,6 @@ package()
install -D -m644 options.msg "$pkgdir/usr/share/mksyslinux/options.msg"
}
md5sums=('287aad9693ca8061495e248c41ba43a7'
- 'd958575945e4ce8a9002bd056e2f14be'
- '1f1e2d80e28b087e4103282bc5c44071'
+ '0a9fd93356b5d98ab386f28bc849b808'
+ '15742e47e40a46491694b4b7680d4e38'
'ae0007d6679b5a575b2a9e5ac3664baf')
diff --git a/libre/mksyslinux/mksyslinux b/libre/mksyslinux/mksyslinux
index 4db771f83..96ad45133 100755
--- a/libre/mksyslinux/mksyslinux
+++ b/libre/mksyslinux/mksyslinux
@@ -71,13 +71,14 @@ export RUNPROGRAM="${APPNAME}"
export USEKERNEL=${VERSION}
# begin script
[ -e ${TEMPDIR} ] && rm -r ${TEMPDIR}
-mkdir -p ${TEMPDIR}/$BOOTDIRNAME
+mkdir -p ${TEMPDIR}
echo ":: Mounting ${DEVICE} ..."
if ! [ "${IMAGENAME}" = "" ]; then
modprobe loop
else
mount ${DEVICE} ${TEMPDIR} || exit 1
fi
+mkdir -p ${TEMPDIR}/${BOOTDIRNAME}
# prepare syslinux bootloader
install -m755 /usr/lib/syslinux/isolinux.bin ${TEMPDIR}/${BOOTDIRNAME}/isolinux.bin
for i in /usr/lib/syslinux/*.c32; do
@@ -102,7 +103,7 @@ else
sed "s|@@PROMPT@@|${PROMPT}|g;s|@@TIMEOUT@@|${TIMEOUT}|g;s|@@KERNEL_BOOT_OPTIONS@@|${KERNEL_BOOT_OPTIONS}|g" \
${SYSLINUXCFG} > ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg
fi
-[ ! -s ${TEMPDIR}/syslinux.cfg ] && echo "No syslinux.cfg found" && exit 1
+[ ! -s ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg ] && echo "No syslinux.cfg found" && exit 1
echo ":: Calling mkinitcpio CONFIG=${MKINITCPIO_CONFIG} KERNEL=${VERSION} ..."
# generate initramdisk
echo ":: Creating initramdisk ..."
@@ -136,7 +137,7 @@ else
echo ":: Installing MBR on ${MBRDEVICE} ..."
cat ${MBR} > ${MBRDEVICE}
echo ":: Installing SYSLINUX on ${DEVICE} ..."
- syslinux -o offset ${DEVICE} && echo "Installation completed."
+ syslinux -t offset ${DEVICE} && echo "Installation completed."
fi
# clean /tmp
rm -r ${TEMPDIR}
diff --git a/libre/mksyslinux/mksyslinux.conf b/libre/mksyslinux/mksyslinux.conf
index ab2d4978a..cfbfc49d8 100644
--- a/libre/mksyslinux/mksyslinux.conf
+++ b/libre/mksyslinux/mksyslinux.conf
@@ -20,7 +20,7 @@ KERNEL="/boot/vmlinuz-linux-libre"
BOOTMESSAGE="/usr/share/mksyslinux/boot.msg"
OPTIONSBOOTMESSAGE="/usr/share/mksyslinux/options.msg"
-syslinux.cfg file to use
+# syslinux.cfg file to use
SYSLINUXCFG=""
# Prompt on boot, 1=yes 0=no
diff --git a/pcr/rfc5766-turn-server/ChangeLog b/pcr/rfc5766-turn-server/ChangeLog
new file mode 100644
index 000000000..5accefa5b
--- /dev/null
+++ b/pcr/rfc5766-turn-server/ChangeLog
@@ -0,0 +1,5 @@
+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
new file mode 100644
index 000000000..81eb3d14d
--- /dev/null
+++ b/pcr/rfc5766-turn-server/PKGBUILD
@@ -0,0 +1,61 @@
+# Maintainer: Vladimir Tsanev <tsachev@gmail.com>
+
+pkgname=rfc5766-turn-server
+_portname=turnserver
+pkgver=1.8.6.0
+pkgrel=1
+epoch=
+pkgdesc="Free open source implementation of TURN and STUN Server"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/rfc5766-turn-server/"
+license=('custom:BSDNew')
+makedepends=('gcc>=3.4.4' 'make')
+depends=('libevent')
+#no redis headers in redi package
+optdepends=('postgresql-client: to use postgresql' 'libmysqlclient')
+backup=("etc/turnserver.conf" "etc/turnuserdb.conf")
+changelog=ChangeLog
+source=(https://${pkgname}.googlecode.com/files/${_portname}-$pkgver.tar.gz)
+sha1sums=('155990b95d399542db1bb497f1746c1b9bb290d2')
+
+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
+
+ make
+}
+
+check() {
+ cd "${srcdir}/$_portname-${pkgver}"
+ make 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
+
+
+ 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"
+ rm -r "$pkgdir/usr/etc"
+
+ chmod 644 "$pkgdir/usr/lib/libturnclient.a"
+
+ install -Dm 644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}