From 559f8739357af66f22f2259e84b21c76b3a66205 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 12 Nov 2011 23:14:57 +0000 Subject: Sat Nov 12 23:14:57 UTC 2011 --- community/fatrat/PKGBUILD | 13 +++--- community/freeradius/PKGBUILD | 6 +-- community/freeradius/freeradius.install | 4 +- community/libmediainfo/PKGBUILD | 6 +-- community/libzen/PKGBUILD | 6 +-- community/log4cpp/PKGBUILD | 30 +++++++++++++ community/log4cpp/gcc43.patch | 26 ++++++++++++ community/mediainfo-gui/PKGBUILD | 6 +-- community/mediainfo/PKGBUILD | 6 +-- community/open-vm-tools-modules/PKGBUILD | 10 +++-- .../open-vm-tools-modules.install | 2 +- community/open-vm-tools/PKGBUILD | 6 +-- community/open-vm-tools/open-vm-tools.rc.d | 4 +- community/pion-net/PKGBUILD | 49 ++++++++++++++++++++++ community/pion-net/pion-net-4.0.5-build.patch | 12 ++++++ community/rsyslog/PKGBUILD | 8 ++-- 16 files changed, 157 insertions(+), 37 deletions(-) create mode 100644 community/log4cpp/PKGBUILD create mode 100644 community/log4cpp/gcc43.patch create mode 100644 community/pion-net/PKGBUILD create mode 100644 community/pion-net/pion-net-4.0.5-build.patch (limited to 'community') diff --git a/community/fatrat/PKGBUILD b/community/fatrat/PKGBUILD index 70fdfc489..50b2e8b2f 100644 --- a/community/fatrat/PKGBUILD +++ b/community/fatrat/PKGBUILD @@ -1,17 +1,18 @@ -# $Id: PKGBUILD 52540 2011-07-26 04:27:53Z svenstaro $ +# $Id: PKGBUILD 58327 2011-11-11 14:02:33Z stativ $ # Maintainer: Lukas Jirkovsky + pkgname=fatrat -pkgver=1.1.3 -pkgrel=5 +pkgver=1.2.0_beta1 +pkgrel=1 pkgdesc="QT4 based download manager with support for HTTP, FTP, SFTP, BitTorrent, rapidshare and more" arch=('i686' 'x86_64') url="http://fatrat.dolezel.info/" license=('GPL') -depends=('gloox' 'curl' 'qt' 'libtorrent-rasterbar') +depends=('gloox' 'qt' 'libtorrent-rasterbar' 'pion-net') optdepends=('geoip: GeoIP support') -makedepends=('asio' 'cmake') +makedepends=('boost' 'cmake' 'java-environment') source=(http://www.dolezel.info/download/data/fatrat/fatrat-$pkgver.tar.gz) -md5sums=('6d4a00cdd0b59a05b1521184508d4637') +md5sums=('7ce4d5e6318361f36ba5ac86a5755da9') build() { cd $pkgname-$pkgver diff --git a/community/freeradius/PKGBUILD b/community/freeradius/PKGBUILD index 5b69d0db0..71773ae2e 100644 --- a/community/freeradius/PKGBUILD +++ b/community/freeradius/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 51749 2011-07-14 06:47:41Z spupykin $ +# $Id: PKGBUILD 58316 2011-11-11 09:18:12Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Jason R Begley (jayray@digitalgoat.com> pkgname=freeradius -pkgver=2.1.11 +pkgver=2.1.12 pkgrel=1 pkgdesc="The premier open source RADIUS server" arch=('i686' 'x86_64') @@ -17,7 +17,7 @@ install=$pkgname.install source=(ftp://ftp.freeradius.org/pub/radius/freeradius-server-$pkgver.tar.bz2 radiusd krb5-build-fix.patch) -md5sums=('96b21a95117d8ebde689c4c13c028d30' +md5sums=('862d3a2c11011e61890ba84fa636ed8c' 'f1a6530b1b69d2fa793aa45b2de379bb' 'c6a61de7576933f59154a53bfc12a2d2') diff --git a/community/freeradius/freeradius.install b/community/freeradius/freeradius.install index e50aa403d..c3b9f9415 100644 --- a/community/freeradius/freeradius.install +++ b/community/freeradius/freeradius.install @@ -1,6 +1,6 @@ post_install() { - groupadd radiusd - useradd -m -d /var/lib/radiusd -g radiusd -s /bin/false radiusd + groupadd -r radiusd + useradd -r -m -d /var/lib/radiusd -g radiusd -s /bin/false radiusd touch /var/log/radius/radius.log chown -R radiusd.radiusd /var/log/radius/radius.log diff --git a/community/libmediainfo/PKGBUILD b/community/libmediainfo/PKGBUILD index e605fc5b3..90208050a 100644 --- a/community/libmediainfo/PKGBUILD +++ b/community/libmediainfo/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 56302 2011-10-05 13:53:49Z spupykin $ +# $Id: PKGBUILD 58331 2011-11-11 18:59:34Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: hydro pkgname=libmediainfo -pkgver=0.7.50 +pkgver=0.7.51 pkgrel=1 pkgdesc="shared library for mediainfo" arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ makedepends=('libtool' 'automake' 'autoconf') options=(!libtool) source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2 libmediainfo-0.7.50-libmms.patch) -md5sums=('d637d7f1e20b30c1dd1926ad134ee639' +md5sums=('eb377eebb40d64bf980c857f36cc5b51' '2f4b21cc250f663d52b497dedb963e3b') build() { diff --git a/community/libzen/PKGBUILD b/community/libzen/PKGBUILD index 39097ffc6..4f4fd5d7f 100644 --- a/community/libzen/PKGBUILD +++ b/community/libzen/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 56229 2011-10-03 15:41:17Z spupykin $ +# $Id: PKGBUILD 58333 2011-11-11 19:01:15Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: hydro pkgname=libzen -pkgver=0.4.22 +pkgver=0.4.23 pkgrel=1 pkgdesc="shared library for libmediainfo and mediainfo" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('gcc-libs') makedepends=('libtool' 'automake' 'autoconf') options=('!libtool') source=(http://downloads.sourceforge.net/zenlib/${pkgname}_${pkgver}.tar.bz2) -md5sums=('f44a39e783ceafe71cd3e7dde8a81e22') +md5sums=('00e622cf33eeb134a785463fbf49d227') build() { cd $srcdir/ZenLib/Project/GNU/Library diff --git a/community/log4cpp/PKGBUILD b/community/log4cpp/PKGBUILD new file mode 100644 index 000000000..21bfddf37 --- /dev/null +++ b/community/log4cpp/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 58314 2011-11-11 08:13:40Z stativ $ +# Maintainer: Lukas Jirkovsky +# Contributor : Geraud Le Falher + +pkgname=log4cpp +pkgver=1.0 +pkgrel=6 +pkgdesc="A library of C++ classes for flexible logging to files, syslog, IDSA and other destinations." +arch=('i686' 'x86_64') +url="http://log4cpp.hora-obscura.de/" +license=('LGPL') +depends=('gcc-libs') +options=('!libtool') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz gcc43.patch) +md5sums=('1face50ead0790d1297dfb04bacf273c' + '09a6fd8ab6527a417c97c4db5215e558') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i "$srcdir"/gcc43.patch + ./configure --prefix=/usr --disable-doxygen --disable-dot --without-idsa + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} + +# vim: set ft=sh ts=2 sw=2 et: diff --git a/community/log4cpp/gcc43.patch b/community/log4cpp/gcc43.patch new file mode 100644 index 000000000..a60f986e9 --- /dev/null +++ b/community/log4cpp/gcc43.patch @@ -0,0 +1,26 @@ +Index: log4cpp-1.0/src/BasicLayout.cpp +=================================================================== +--- log4cpp-1.0.orig/src/BasicLayout.cpp 2008-03-14 16:06:57.000000000 -0400 ++++ log4cpp-1.0/src/BasicLayout.cpp 2008-03-14 16:07:11.000000000 -0400 +@@ -15,6 +15,8 @@ + #include + #endif + ++#include ++ + namespace log4cpp { + + BasicLayout::BasicLayout() { +Index: log4cpp-1.0/src/PatternLayout.cpp +=================================================================== +--- log4cpp-1.0.orig/src/PatternLayout.cpp 2008-03-14 16:07:33.000000000 -0400 ++++ log4cpp-1.0/src/PatternLayout.cpp 2008-03-14 16:07:49.000000000 -0400 +@@ -370,7 +370,7 @@ + literal = ""; + } + if ((minWidth != 0) || (maxWidth != 0)) { +- component = new FormatModifierComponent(component, std::abs(minWidth), maxWidth, minWidth < 0); ++ component = new FormatModifierComponent(component, std::abs((float)minWidth), maxWidth, minWidth < 0); + minWidth = maxWidth = 0; + } + _components.push_back(component); diff --git a/community/mediainfo-gui/PKGBUILD b/community/mediainfo-gui/PKGBUILD index 8e55daefc..d2a10bc10 100644 --- a/community/mediainfo-gui/PKGBUILD +++ b/community/mediainfo-gui/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 56306 2011-10-05 13:55:59Z spupykin $ +# $Id: PKGBUILD 58337 2011-11-11 19:02:47Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: hydro pkgname=mediainfo-gui -pkgver=0.7.50 +pkgver=0.7.51 pkgrel=1 pkgdesc="GUI for mediainfo" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('libmediainfo>=0.7.35' 'wxgtk') makedepends=('libtool' 'automake' 'autoconf') install=mediainfo-gui.install source=(http://downloads.sourceforge.net/mediainfo/mediainfo_${pkgver}.tar.bz2) -md5sums=('1c647544dde097c5730959515a18481a') +md5sums=('b06dc34481ce2971c28e517b146888e8') build() { cd $srcdir/MediaInfo/Project/GNU/GUI diff --git a/community/mediainfo/PKGBUILD b/community/mediainfo/PKGBUILD index 3398979e0..326c00e48 100644 --- a/community/mediainfo/PKGBUILD +++ b/community/mediainfo/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 56304 2011-10-05 13:54:48Z spupykin $ +# $Id: PKGBUILD 58335 2011-11-11 19:02:05Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: hydro pkgname=mediainfo -pkgver=0.7.50 +pkgver=0.7.51 pkgrel=1 pkgdesc="supplies technical and tag information about a video or audio file" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('GPL') depends=('libmediainfo>=0.7.35') makedepends=('libtool' 'automake' 'autoconf') source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2) -md5sums=('1c647544dde097c5730959515a18481a') +md5sums=('b06dc34481ce2971c28e517b146888e8') build() { cd $srcdir/MediaInfo/Project/GNU/CLI diff --git a/community/open-vm-tools-modules/PKGBUILD b/community/open-vm-tools-modules/PKGBUILD index 19d738644..022db4869 100644 --- a/community/open-vm-tools-modules/PKGBUILD +++ b/community/open-vm-tools-modules/PKGBUILD @@ -1,18 +1,19 @@ -# $Id: PKGBUILD 58261 2011-11-09 14:59:24Z spupykin $ +# $Id: PKGBUILD 58321 2011-11-11 11:56:51Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Krzysztof Raczkowski pkgname=open-vm-tools-modules pkgver=2011.10.26 _pkgsubver=514583 -pkgrel=1 -pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools" +pkgrel=2 +pkgdesc="kernel modules for the open source implementation of VMware Tools" arch=('i686' 'x86_64') url="http://open-vm-tools.sourceforge.net/" license=('GPL') makedepends=('libdnet' 'icu' 'uriparser' 'linux-headers') depends=("linux") install=$pkgname.install +options=('!strip') source=("http://downloads.sourceforge.net/open-vm-tools/open-vm-tools-$pkgver-${_pkgsubver}.tar.gz") md5sums=('06f299375a91fbcba9d16b5007490023') @@ -35,7 +36,8 @@ package() { cd "$srcdir/open-vm-tools-${pkgver}-${_pkgsubver}" mkdir -p $pkgdir/lib/modules/extramodules-3.${_kernver}-ARCH/ for MOD in `find -type f -name '*.ko'`; do - install -D -m644 $MOD $pkgdir/lib/modules/extramodules-3.${_kernver}-ARCH/ + install -Dm644 $MOD $pkgdir/lib/modules/extramodules-3.${_kernver}-ARCH/ done sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='$KERNEL_VERSION'/" $startdir/$pkgname.install + gzip $pkgdir/lib/modules/extramodules-3.${_kernver}-ARCH/*.ko } diff --git a/community/open-vm-tools-modules/open-vm-tools-modules.install b/community/open-vm-tools-modules/open-vm-tools-modules.install index 801d2c5b3..cdd13e929 100644 --- a/community/open-vm-tools-modules/open-vm-tools-modules.install +++ b/community/open-vm-tools-modules/open-vm-tools-modules.install @@ -1,4 +1,4 @@ -KERNEL_VERSION='2.6.38-ARCH' +KERNEL_VERSION='3.1.0-4-ARCH' post_install() { depmod -a -v $KERNEL_VERSION > /dev/null 2>&1 diff --git a/community/open-vm-tools/PKGBUILD b/community/open-vm-tools/PKGBUILD index 8821eaa01..c719fdc44 100644 --- a/community/open-vm-tools/PKGBUILD +++ b/community/open-vm-tools/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 58259 2011-11-09 14:58:37Z spupykin $ +# $Id: PKGBUILD 58319 2011-11-11 11:55:59Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Krzysztof Raczkowski pkgname=open-vm-tools pkgver=2011.10.26 _pkgsubver=514583 -pkgrel=1 +pkgrel=2 pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools." arch=('i686' 'x86_64') url="http://open-vm-tools.sourceforge.net/" @@ -29,7 +29,7 @@ md5sums=('06f299375a91fbcba9d16b5007490023' '199508b0d3fe6fa9b726d09170bf51f1' '8c333a979578bdc0c3134c1dd6bb7353' '79b0a14d86191fee70a4639da8bd7785' - '67cb83a9e5a4dd016c1a1da2863ca36d' + '136ff53d0d3a303d09266a407fd2d215' 'b55d15e2c4be396aad709aeca91033d3' '73cc1a2665b0dd62427733d62ead8b9a' '75a25d83417e683957321f97a00f8465') diff --git a/community/open-vm-tools/open-vm-tools.rc.d b/community/open-vm-tools/open-vm-tools.rc.d index 0c9221489..555fa1535 100644 --- a/community/open-vm-tools/open-vm-tools.rc.d +++ b/community/open-vm-tools/open-vm-tools.rc.d @@ -13,7 +13,7 @@ case "$1" in if [ "$VM_DRAG_AND_DROP" == "yes" ]; then VMBLOCK=`grep -w vmblock /proc/modules` - [ -z "$VMBLOCK" ] && modprobe vmblock + [ -z "$VMBLOCK" ] && modprobe -f vmblock if [ $? -gt 0 ]; then stat_fail exit 1 @@ -36,7 +36,7 @@ case "$1" in for m in vmhgfs vmsync; do VMMOD=`grep -w $m /proc/modules` [ -z "$VMMOD" ] && \ - { modprobe $m + { modprobe -f $m if [ $? -gt 0 ]; then stat_fail exit 1 diff --git a/community/pion-net/PKGBUILD b/community/pion-net/PKGBUILD new file mode 100644 index 000000000..b359ca4f0 --- /dev/null +++ b/community/pion-net/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 58325 2011-11-11 13:52:07Z stativ $ +# Maintainer: Lukas Jirkovsky +# Contributor: David Watzke + +pkgname=pion-net +pkgver=4.0.5 +pkgrel=3 +pkgdesc="A C++ development library for implementing lightweight HTTP interfaces" +url="http://www.pion.org/projects/pion-network-library" +arch=('i686' 'x86_64') +license=('custom:Boost') +depends=('boost-libs' 'openssl' 'log4cpp') +makedepends=('boost') +source=("http://www.pion.org/files/$pkgname-$pkgver.tar.bz2" + "$pkgname-$pkgver-build.patch") +md5sums=('1030fcce124621de705bdab40a1d977c' + 'd75ea2af90163a81d2bc71fda00f0c00') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + patch -p1 -i "$srcdir/$pkgname-$pkgver-build.patch" + + # override configure bug (forces debug even when nobody asked for it) + sed -i "s/ -ggdb//g;s/ -DNDEBUG//g" configure + + ./configure --prefix=/usr --disable-doxygen-doc --with-log4cpp + + find -name Makefile -print0 | xargs -0 \ + sed -i -r '/^C(XX)?FLAGS/ s/$/ -DBOOST_FILESYSTEM_VERSION=2/' Makefile + + # override Makefile bug + sed -i "/docs:/ s/doxygen-doc//" Makefile + + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + # install license + install -D -m0755 COPYING "$pkgdir/usr/share/licenses/$pkgname/Boost" +} diff --git a/community/pion-net/pion-net-4.0.5-build.patch b/community/pion-net/pion-net-4.0.5-build.patch new file mode 100644 index 000000000..25fdca20b --- /dev/null +++ b/community/pion-net/pion-net-4.0.5-build.patch @@ -0,0 +1,12 @@ +diff -ru pion-net-4.0.5/net/include/pion/net/TCPConnection.hpp pion-net-4.0.5.fixed/net/include/pion/net/TCPConnection.hpp +--- pion-net-4.0.5/net/include/pion/net/TCPConnection.hpp 2010-12-21 03:07:13.000000000 +0100 ++++ pion-net-4.0.5.fixed/net/include/pion/net/TCPConnection.hpp 2011-07-31 09:01:38.445559768 +0200 +@@ -639,7 +639,7 @@ + + /// returns reference to the io_service used for async operations + inline boost::asio::io_service& getIOService(void) { +- return m_ssl_socket.lowest_layer().io_service(); ++ return m_ssl_socket.lowest_layer().get_io_service(); + } + + /// returns non-const reference to underlying TCP socket object diff --git a/community/rsyslog/PKGBUILD b/community/rsyslog/PKGBUILD index 651683a6e..7d098c9b6 100644 --- a/community/rsyslog/PKGBUILD +++ b/community/rsyslog/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 56119 2011-10-02 02:52:32Z ebelanger $ +# $Id: PKGBUILD 58329 2011-11-11 14:26:11Z spupykin $ # Maintainer: Sergej Pupykin pkgname=rsyslog -pkgver=5.8.5 -pkgrel=2 +pkgver=5.8.6 +pkgrel=1 pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability" url="http://www.rsyslog.com/" arch=('i686' 'x86_64') @@ -22,7 +22,7 @@ source=("http://www.rsyslog.com/files/download/rsyslog/rsyslog-$pkgver.tar.gz" 'rsyslog' 'rsyslog.logrotate' 'rsyslog.conf.d') -md5sums=('a73cb577cb4bc5b9c8f0d217eb054ad2' +md5sums=('c46db0496066b82faf735bd4222208d7' 'a18bbcbb6ebdaa13a6ec6d9f3d9eb2da' '8065db4bef3061a4f000ba58779f6829' '1a0cd4530dd5d1439456d5ae230574d9') -- cgit v1.2.3-54-g00ecf