From b8c6ff8db00ce5eec5e6f20a90e8f8ec993ef3d5 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 8 Dec 2012 02:04:18 -0800 Subject: Sat Dec 8 01:58:23 PST 2012 --- community/codeblocks/PKGBUILD | 22 +++++++-------- community/fcitx-hangul/PKGBUILD | 35 +++++++++++++++++++++++ community/fcitx-hangul/fcitx-hangul.install | 11 ++++++++ community/freeimage/PKGBUILD | 2 +- community/gtest/PKGBUILD | 43 +++++++++++++++++++++++++++++ community/ibus-chewing/PKGBUILD | 8 +++--- community/igmpproxy/PKGBUILD | 33 ++++++++++++++++++++++ community/igmpproxy/igmpproxy.rc.d | 38 +++++++++++++++++++++++++ community/igmpproxy/igmpproxy.service | 10 +++++++ community/iperf/PKGBUILD | 16 +++++++---- community/iperf/iperf-tcp.service | 8 ++++++ community/iperf/iperf-udp.service | 8 ++++++ community/iperf/iperf.install | 11 ++++++++ community/lazarus/PKGBUILD | 8 +++--- community/openocd/PKGBUILD | 6 ++-- community/opensc/PKGBUILD | 16 +++++------ community/siege/PKGBUILD | 8 +++--- community/sigil/PKGBUILD | 6 ++-- 18 files changed, 245 insertions(+), 44 deletions(-) create mode 100644 community/fcitx-hangul/PKGBUILD create mode 100644 community/fcitx-hangul/fcitx-hangul.install create mode 100644 community/gtest/PKGBUILD create mode 100644 community/igmpproxy/PKGBUILD create mode 100644 community/igmpproxy/igmpproxy.rc.d create mode 100644 community/igmpproxy/igmpproxy.service create mode 100644 community/iperf/iperf-tcp.service create mode 100644 community/iperf/iperf-udp.service create mode 100644 community/iperf/iperf.install (limited to 'community') diff --git a/community/codeblocks/PKGBUILD b/community/codeblocks/PKGBUILD index 478c452c4..5e6b2eafa 100644 --- a/community/codeblocks/PKGBUILD +++ b/community/codeblocks/PKGBUILD @@ -1,33 +1,33 @@ +# $Id: PKGBUILD 80953 2012-12-07 20:15:05Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Robert Hollencamp # Contributor: Daniel J Griffiths # Contributor: Stefan Husmann pkgname=codeblocks -pkgver=10.05 -pkgrel=2 -pkgdesc="An open source and cross-platform C/C++ IDE" +pkgver=12.11 +pkgrel=1 +pkgdesc='Open source and cross-platform C/C++ IDE' arch=('i686' 'x86_64') url="http://www.codeblocks.org" license=('GPL3') -depends=('wxgtk' 'hicolor-icon-theme' 'bzip2' 'shared-mime-info' 'desktop-file-utils' 'gtk-update-icon-cache') +depends=('boost' 'bzip2' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache' + 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk') makedepends=('zip') options=('!libtool') -source=(http://download.berlios.de/$pkgname/$pkgname-${pkgver}-src.tar.bz2) -md5sums=('ab077d562e98b0586f2f86c14cb773ba') install=codeblocks.install +source=(http://download.berlios.de/$pkgname/${pkgname}_${pkgver}-1.tar.gz) +md5sums=('4fa8980a8c578b8b5589fceb9b0890d6') build() { - cd "$srcdir/$pkgname-$pkgver-release" + cd $srcdir/$pkgname-${pkgver}release* LDFLAGS+=' -lX11' - ./bootstrap ./configure --prefix=/usr --with-contrib-plugins=all make } package() { - cd "$srcdir/$pkgname-$pkgver-release" - make DESTDIR="$pkgdir" install + cd $srcdir/$pkgname-${pkgver}release* + make DESTDIR=$pkgdir install } - diff --git a/community/fcitx-hangul/PKGBUILD b/community/fcitx-hangul/PKGBUILD new file mode 100644 index 000000000..d0732f8ff --- /dev/null +++ b/community/fcitx-hangul/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 80966 2012-12-08 01:28:14Z fyan $ +# Maintainer: Felix Yan + +pkgname=fcitx-hangul +pkgver=0.1.2 +pkgrel=2 +pkgdesc="Hangul (Korean) support for fcitx" +arch=('i686' 'x86_64') +url="http://code.google.com/p/fcitx/" +license=('GPL2') +depends=('fcitx>=4.2.2' 'libhangul') +makedepends=('cmake' 'intltool') +install="$pkgname.install" +source=("http://fcitx.googlecode.com/files/$pkgname-$pkgver.tar.xz") +sha1sums=('30648e569ea75e2a734ed98f8cc90b0a656a6bf5') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + msg "Starting make..." + + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver/build" + make DESTDIR="$pkgdir" install +} + + diff --git a/community/fcitx-hangul/fcitx-hangul.install b/community/fcitx-hangul/fcitx-hangul.install new file mode 100644 index 000000000..c0797237a --- /dev/null +++ b/community/fcitx-hangul/fcitx-hangul.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/freeimage/PKGBUILD b/community/freeimage/PKGBUILD index a047e79f9..817429c57 100644 --- a/community/freeimage/PKGBUILD +++ b/community/freeimage/PKGBUILD @@ -12,7 +12,7 @@ arch=('i686' 'x86_64') license=('GPL' 'custom:FIPL') url="http://freeimage.sourceforge.net/" depends=('gcc-libs') -makedepends=('hd2u') +makedepends=('dos2unix') source=("http://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip") md5sums=('6c305b4086500ff8541c596ea6fc7cd7') diff --git a/community/gtest/PKGBUILD b/community/gtest/PKGBUILD new file mode 100644 index 000000000..efc2ab416 --- /dev/null +++ b/community/gtest/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 80934 2012-12-07 06:58:41Z fyan $ +# Maintainer: Felix Yan +# Contributor: Alexandre Bique +# Contributor: Louis R. Marascio +# Contributor: Cody Maloney + +pkgname=gtest +pkgver=1.6.0 +pkgrel=7 +pkgdesc="Google Test - C++ testing utility based on the xUnit framework (like JUnit)" +arch=('i686' 'x86_64') +url="http://code.google.com/p/googletest/" +license=('custom:BSD3') +options=('!libtool') +depends=('gcc-libs' 'sh') +makedepends=('python2' 'cmake') +source=("http://googletest.googlecode.com/files/$pkgname-$pkgver.zip") +sha1sums=('00d6be170eb9fc3b2198ffdcb1f1d6ba7fc6e621') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + rm -rf build + mkdir build + cd build + + cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON .. + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + mkdir -pm 0755 $pkgdir/usr/{lib,include/gtest/internal,share/licenses/$pkgname,src/gtest/src,src/gtest/cmake} + install -m 0644 build/libgtest{,_main}.so $pkgdir/usr/lib/ + install -m 0644 include/gtest/*.h $pkgdir/usr/include/gtest/ + install -m 0644 include/gtest/internal/*.h $pkgdir/usr/include/gtest/internal/ + install -m 0644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + install -m 0644 $srcdir/$pkgname-$pkgver/fused-src/gtest/* $pkgdir/usr/src/gtest/src + install -m 0644 $srcdir/$pkgname-$pkgver/CMakeLists.txt $pkgdir/usr/src/gtest + install -m 0644 $srcdir/$pkgname-$pkgver/cmake/* $pkgdir/usr/src/gtest/cmake +} + +# vim:set ts=2 sw=2 et: diff --git a/community/ibus-chewing/PKGBUILD b/community/ibus-chewing/PKGBUILD index 8e0967fd8..fed502367 100644 --- a/community/ibus-chewing/PKGBUILD +++ b/community/ibus-chewing/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 80617 2012-11-27 04:47:44Z fyan $ +# $Id: PKGBUILD 80968 2012-12-08 02:26:09Z fyan $ # Maintainer: Felix Yan # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Rainy @@ -7,13 +7,13 @@ pkgname=ibus-chewing pkgver=1.4.3 -pkgrel=1 +pkgrel=2 pkgdesc='Chinese Chewing Engine for IBus Framework' arch=('i686' 'x86_64') license=('GPL') url='http://ibus.googlecode.com' -depends=('ibus' 'libchewing' 'libxtst') -makedepends=('swig' 'cmake' 'gob2' 'gconf') +depends=('ibus' 'libchewing' 'libxtst' 'gconf') +makedepends=('swig' 'cmake' 'gob2') options=('!makeflags') install=ibus-chewing.install source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz") diff --git a/community/igmpproxy/PKGBUILD b/community/igmpproxy/PKGBUILD new file mode 100644 index 000000000..ab3e7e291 --- /dev/null +++ b/community/igmpproxy/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 80944 2012-12-07 13:00:49Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: Jan "heftig" Steffens +# Contributor: sda + +pkgname=igmpproxy +pkgver=0.1 +pkgrel=1 +pkgdesc="a simple multicast router for Linux only using the IGMP protocol" +arch=(i686 x86_64) +url="http://sourceforge.net/projects/igmpproxy" +license=('GPL') +depends=() +backup=("etc/igmpproxy.conf") +source=("http://downloads.sourceforge.net/sourceforge/igmpproxy/igmpproxy-$pkgver.tar.gz" + "igmpproxy.rc.d" + "igmpproxy.service") +md5sums=('c56f41ec195bc1fe016369bf74efc5a1' + '642054dd586e5b0e7f660863e8131f57' + '2ff8500f8a59cdfaf910e48cd54ab659') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + install -Dm755 $srcdir/$pkgname.rc.d $pkgdir/etc/rc.d/$pkgname + install -Dm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service +} diff --git a/community/igmpproxy/igmpproxy.rc.d b/community/igmpproxy/igmpproxy.rc.d new file mode 100644 index 000000000..5b88e94f1 --- /dev/null +++ b/community/igmpproxy/igmpproxy.rc.d @@ -0,0 +1,38 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/igmpproxy` +case "$1" in + start) + stat_busy "Starting igmpproxy routing daemon" + if [ -z "$PID" ]; then + /usr/sbin/igmpproxy /etc/igmpproxy.conf & + fi + if [ ! -z "$PID" -o $? -gt 0 ]; then + stat_fail + else + disown + add_daemon igmpproxy + stat_done + fi + ;; + stop) + stat_busy "Stopping igmpproxy routing daemon" + [ ! -z "$PID" ] && kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon igmpproxy + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/community/igmpproxy/igmpproxy.service b/community/igmpproxy/igmpproxy.service new file mode 100644 index 000000000..c10ec63b1 --- /dev/null +++ b/community/igmpproxy/igmpproxy.service @@ -0,0 +1,10 @@ +[Unit] +Description=IGMP proxy +After=network.target + +[Service] +Type=simple +ExecStart=/usr/sbin/igmpproxy /etc/igmpproxy.conf + +[Install] +WantedBy=multi-user.target diff --git a/community/iperf/PKGBUILD b/community/iperf/PKGBUILD index 71a359d8d..5985ba0d1 100644 --- a/community/iperf/PKGBUILD +++ b/community/iperf/PKGBUILD @@ -1,25 +1,28 @@ -# $Id: PKGBUILD 70860 2012-05-18 02:29:56Z seblu $ +# $Id: PKGBUILD 80971 2012-12-08 03:52:17Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Giovanni Scafora # Contributor: Dale Blount pkgname=iperf pkgver=2.0.5 -pkgrel=5 +pkgrel=6 pkgdesc='A tool to measure maximum TCP bandwidth' arch=('i686' 'x86_64') license=('custom') url='http://iperf.sourceforge.net' depends=('gcc-libs') +install=iperf.install source=("http://downloads.sourceforge.net/iperf/iperf-$pkgver.tar.gz" 'iperf.rc' 'iperf.conf' - 'iperf.service' + 'iperf-tcp.service' + 'iperf-udp.service' 'client.cpp.patch') md5sums=('44b5536b67719f4250faed632a3cd016' 'e99dc0d41eb800970390dd149d70b544' 'c75cb18434c6bf19fdc89b9caa766d7d' - 'b0c1165e21fb686e449c6bab9852be31' + 'd2203fb26bb50a3378c2699714ada8e5' + '573964ec1b1558a78cd667459676cdb7' '82ce63c87cc8bb2f0f94069857ac14a9') build() { @@ -41,7 +44,8 @@ package() { # install initscripts install -Dm755 iperf.rc "$pkgdir/etc/rc.d/iperf" install -Dm644 iperf.conf "$pkgdir/etc/conf.d/iperf" - install -Dm644 iperf.service "$pkgdir/usr/lib/systemd/system/iperf.service" + install -Dm644 iperf-tcp.service "$pkgdir/usr/lib/systemd/system/iperf-tcp.service" + install -Dm644 iperf-udp.service "$pkgdir/usr/lib/systemd/system/iperf-udp.service" } -# vim:set ts=2 sw=2 ft=sh et: +# vim:set ts=2 sw=2 et: diff --git a/community/iperf/iperf-tcp.service b/community/iperf/iperf-tcp.service new file mode 100644 index 000000000..29967815a --- /dev/null +++ b/community/iperf/iperf-tcp.service @@ -0,0 +1,8 @@ +[Unit] +Description=Iperf TCP Server + +[Service] +ExecStart=/usr/bin/iperf -s -V + +[Install] +WantedBy=multi-user.target diff --git a/community/iperf/iperf-udp.service b/community/iperf/iperf-udp.service new file mode 100644 index 000000000..2253f9c45 --- /dev/null +++ b/community/iperf/iperf-udp.service @@ -0,0 +1,8 @@ +[Unit] +Description=Iperf UDP Server + +[Service] +ExecStart=/usr/bin/iperf -u -s -V + +[Install] +WantedBy=multi-user.target diff --git a/community/iperf/iperf.install b/community/iperf/iperf.install new file mode 100644 index 000000000..2fa553d52 --- /dev/null +++ b/community/iperf/iperf.install @@ -0,0 +1,11 @@ +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + if [ "$(vercmp $2 2.0.5-6)" -lt 0 ]; then + cat << EOF +===> iperf.service unit has been moved to iperf-udp.service and iperf-tcp.service. +EOF + fi +} + +# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/lazarus/PKGBUILD b/community/lazarus/PKGBUILD index 6a36c5ef9..693b1bdf9 100644 --- a/community/lazarus/PKGBUILD +++ b/community/lazarus/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 80760 2012-12-03 10:07:51Z spupykin $ +# $Id: PKGBUILD 80946 2012-12-07 13:01:24Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Jens Adam (byte/jra) # Contributor: BlackIkeEagle @@ -6,8 +6,8 @@ pkgbase=lazarus pkgname=('lazarus' 'lazarus-gtk2' 'lazarus-qt') pkgver=1.0.4 -_pkgsubver=0 -pkgrel=1 +_pkgsubver=1 +pkgrel=2 url='http://www.lazarus.freepascal.org/' license=('GPL2' 'MPL' 'custom:LGPL') arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ makedepends=('fpc' 'fpc-src' 'gtk2' 'qt4pas' 'rsync') options=('!emptydirs' '!makeflags') source=("http://downloads.sourceforge.net/project/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20$pkgver/lazarus-$pkgver-${_pkgsubver}.tar.gz" 'lazcontrols2.diff') -md5sums=('1075f1d79a4e01784b2bbbcf4209a732' +md5sums=('a3dea4ba0c74c35bd7078acd1d5de4fc' '288bca6ad5ade79deec34c3602daaaa9') build() { diff --git a/community/openocd/PKGBUILD b/community/openocd/PKGBUILD index 6b0884c55..8669ec0c6 100644 --- a/community/openocd/PKGBUILD +++ b/community/openocd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 79223 2012-11-01 10:24:39Z bpiotrowski $ +# $Id: PKGBUILD 80930 2012-12-07 05:30:32Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Matthias Bauch # Contributor: Laszlo Papp @@ -6,7 +6,7 @@ pkgname=openocd pkgver=0.6.1 -pkgrel=1 +pkgrel=2 pkgdesc='Debugging, in-system programming and boundary-scan testing for embedded target devices' arch=('i686' 'x86_64') url='http://openocd.berlios.de' @@ -17,7 +17,7 @@ install=openocd.install source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('946421efc2414ff89bdaf3f588b230f8') -_features=(parport ft2232_libftdi amtjtagaccel ep93xxat91rm9200gw16012 presto_libftdi usbprog oocd_trace jlink vsllink rlink arm-jtag-ew buspirate stlink) +_features=(amtjtagaccel arm-jtag-ew buspirate ep93xxat91rm9200gw16012 ft2232_libftdi ftdi jlink oocd_trace parport presto_libftdi rlink stlink ulink usbprog vsllink) build() { cd $srcdir/$pkgname-$pkgver diff --git a/community/opensc/PKGBUILD b/community/opensc/PKGBUILD index 1da03752e..6fd256ca3 100644 --- a/community/opensc/PKGBUILD +++ b/community/opensc/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 62576 2012-01-21 15:54:56Z seblu $ +# $Id: PKGBUILD 80964 2012-12-08 00:07:50Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: kevku pkgname=opensc -pkgver=0.12.2 -pkgrel=3 +pkgver=0.13.0 +pkgrel=1 pkgdesc='Access smart cards that support cryptographic operations' arch=('x86_64' 'i686') url='http://www.opensc-project.org/opensc/' @@ -13,9 +13,9 @@ backup=('etc/opensc.conf') makedepends=('docbook-xsl') depends=('openssl' 'pcsclite' 'libltdl') options=('!libtool' '!emptydirs') -source=("http://www.opensc-project.org/files/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('5116adea5f2f9f22fb9896965789144b') - +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('74a10de6c646bdaae307d6dc9e9accc0') + build() { cd $pkgname-$pkgver export LIBS=-lltdl @@ -32,11 +32,11 @@ build() { --with-xsl-stylesheetsdir="$_sheetdir" make } - + package(){ cd $pkgname-$pkgver make DESTDIR="$pkgdir" install install -D -m644 etc/opensc.conf "$pkgdir/etc/opensc.conf" -} +} # vim:set ts=2 sw=2 ft=sh et: diff --git a/community/siege/PKGBUILD b/community/siege/PKGBUILD index 9b2aebaff..790bc3ab5 100644 --- a/community/siege/PKGBUILD +++ b/community/siege/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 64675 2012-02-17 18:24:25Z bluewind $ +# $Id: PKGBUILD 80962 2012-12-07 23:56:44Z bluewind $ # Maintainer: Florian Pritz # Contributor: Sven Kauber pkgname=siege -pkgver=2.70 -pkgrel=3 +pkgver=2.72 +pkgrel=1 arch=('i686' 'x86_64') license=('GPL') pkgdesc="An http regression testing and benchmarking utility" @@ -29,4 +29,4 @@ package() { sed -i 's/^# file =$/file = \/etc\/urls.txt/' "$pkgdir/etc/siegerc" } -md5sums=('835c7a0606851357ebf03084ff546310') +md5sums=('6bd0b1dca6b95717e23a6bade9a0a1f4') diff --git a/community/sigil/PKGBUILD b/community/sigil/PKGBUILD index 63b09e8b3..fecf7f6ab 100644 --- a/community/sigil/PKGBUILD +++ b/community/sigil/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 80849 2012-12-04 13:39:38Z giovanni $ +# $Id: PKGBUILD 80936 2012-12-07 11:49:42Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Larry Hajali pkgname=sigil -pkgver=0.6.1 +pkgver=0.6.2 pkgrel=1 pkgdesc="WYSIWYG ebook editor" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('qtwebkit' 'boost-libs') makedepends=('cmake' 'gendesk' 'boost') install=sigil.install source=("http://sigil.googlecode.com/files/Sigil-${pkgver}-Code.zip") -md5sums=('cc104b2a9c3a5918c489a784c71ddf74') +md5sums=('78615dc007c12cc34271243d82783a36') build() { cd "${srcdir}" -- cgit v1.2.3-54-g00ecf