From 6c5c865fa6674610732dd8427bf8f09f3c166299 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 19 Oct 2011 23:14:52 +0000 Subject: Wed Oct 19 23:14:52 UTC 2011 --- community/arp-scan/PKGBUILD | 26 ++++++++++++++++++++++++++ community/cdemu-daemon/PKGBUILD | 14 +++++++------- community/cdemu-daemon/cdemud.conf | 4 ++++ community/cdemu-daemon/cdemud.rc | 5 ++--- community/glom/PKGBUILD | 6 +++--- community/go/PKGBUILD | 5 +++-- community/ibus-chewing/PKGBUILD | 18 ++++++++---------- community/ibus-hangul/PKGBUILD | 14 +++++--------- community/libacpi/PKGBUILD | 14 ++++++++------ community/nmon/PKGBUILD | 20 ++++++++++++++++++++ 10 files changed, 86 insertions(+), 40 deletions(-) create mode 100644 community/arp-scan/PKGBUILD create mode 100644 community/nmon/PKGBUILD (limited to 'community') diff --git a/community/arp-scan/PKGBUILD b/community/arp-scan/PKGBUILD new file mode 100644 index 000000000..6987f26d9 --- /dev/null +++ b/community/arp-scan/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 57027 2011-10-18 19:06:52Z mtorromeo $ +# Maintainer: Massimiliano Torromeo +# Contributor: xav + +pkgname=arp-scan +pkgver=1.8.1 +pkgrel=1 +pkgdesc="A tool that uses ARP to discover and fingerprint IP hosts on the local network" +arch=('i686' 'x86_64') +url="http://www.nta-monitor.com/tools/arp-scan/" +license=('GPL') +depends=('libpcap' 'perl-libwww') +source=(http://www.nta-monitor.com/tools/arp-scan/download/${pkgname}-${pkgver}.tar.gz) +md5sums=('38db8f27fc6553a88367748ea04483d6') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} + diff --git a/community/cdemu-daemon/PKGBUILD b/community/cdemu-daemon/PKGBUILD index bdea742ae..dd47d1248 100644 --- a/community/cdemu-daemon/PKGBUILD +++ b/community/cdemu-daemon/PKGBUILD @@ -1,25 +1,25 @@ -# $Id: PKGBUILD 40133 2011-02-20 13:02:28Z jelle $ +# $Id: PKGBUILD 57021 2011-10-18 18:14:16Z bpiotrowski $ # Maintainer: Mateusz Herych # Contributor: Charles Lindsay pkgname=cdemu-daemon -pkgver=1.3.0 -pkgrel=4 +pkgver=1.4.0 +pkgrel=1 pkgdesc="CD/DVD-ROM device emulator daemon" arch=('i686' 'x86_64') backup=('etc/conf.d/cdemud' 'etc/dbus-1/system.d/cdemud-dbus.conf') url="http://cdemu.sourceforge.net/" license=('GPL') -depends=('glib2' 'dbus' 'dbus-glib' 'libdaemon' 'vhba-module' 'libmirage' 'libao') +depends=('glib2' 'dbus' 'dbus-glib' 'libdaemon' 'vhba-module' "libmirage=$pkgver" 'libao') install=cdemud.install source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.gz cdemud.conf cdemud.rc 60-vhba.rules) -md5sums=('4ec07bd202ac1dcc2f352fc394268d67' - '26b94a626c2c1d0a83ad5a7593dff70f' - '655b2bf46802f2fa7821a649cecd1c4d' +md5sums=('f7ccc0abc33057d552ec7b0925fce63a' + '2b94bd399873e585e40b2bfd8634f322' + '340a30ab2c42162b3bd042c74a399219' '93324b320e7b68d01ad9a0b548018ed5') build() { diff --git a/community/cdemu-daemon/cdemud.conf b/community/cdemu-daemon/cdemud.conf index 91ada613f..8e49cdfd5 100644 --- a/community/cdemu-daemon/cdemud.conf +++ b/community/cdemu-daemon/cdemud.conf @@ -6,3 +6,7 @@ CTL_DEVICE=/dev/vhba_ctl # audio backend (null or alsa) AUDIO_BACKEND=null + +DAEMON="/usr/bin/cdemud" +BUS="system" +LOG_FILE="/var/log/cdemu.log" diff --git a/community/cdemu-daemon/cdemud.rc b/community/cdemu-daemon/cdemud.rc index c13fa6239..6e1b0b091 100644 --- a/community/cdemu-daemon/cdemud.rc +++ b/community/cdemu-daemon/cdemud.rc @@ -7,7 +7,6 @@ case "$1" in start) stat_busy "Loading vhba and loop modules" - modprobe loop modprobe vhba if [ $? -ne 0 ]; then stat_fail @@ -28,7 +27,7 @@ case "$1" in fi stat_busy "Starting cdemud" - cdemud -d -n $NUM_DRIVES -c $CTL_DEVICE -a $AUDIO_BACKEND &>/dev/null + cdemud --ctl-device=$CTL_DEVICE --bus=$SYSTEM --num-devices=$NUM_DEVICES --audio-driver=$AUDIO_DRIVER --logfile=$LOG_FILE & if [ $? -ne 0 ]; then stat_fail else @@ -38,7 +37,7 @@ case "$1" in ;; stop) stat_busy "Stopping cdemud" - cdemud -k &>/dev/null + kill -9 `pidof cdemud` &>/dev/null && sleep 1 && rmmod vhba if [ $? -ne 0 ]; then stat_fail else diff --git a/community/glom/PKGBUILD b/community/glom/PKGBUILD index 7861dbd86..680d4668c 100644 --- a/community/glom/PKGBUILD +++ b/community/glom/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 56705 2011-10-10 19:26:37Z ibiru $ +# $Id: PKGBUILD 57035 2011-10-18 22:47:54Z heftig $ # Maintainer: Roman Kyrylych # Contributor: William Rea # Contributor: Jaroslav Lichtblau pkgname=glom -pkgver=1.19.12 +pkgver=1.19.14 pkgrel=1 pkgdesc="An easy-to-use database designer and user interface" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ makedepends=('intltool' 'gnome-doc-utils' 'python-sphinx' 'boost') options=('!libtool') install=$pkgname.install source=(http://ftp.gnome.org/pub/GNOME/sources/glom/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('36771e0a8b3367364cd84e6c8a9bd6a9b6c97953220d57d1c195c5bef3701575') +sha256sums=('18dbbf572045380c07fb6cb2bdbca1893bbd322fb1283e1f0d0d2b295b4a28c8') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD index 4790cc4ee..1b0a27fbe 100644 --- a/community/go/PKGBUILD +++ b/community/go/PKGBUILD @@ -5,7 +5,7 @@ # Contributor: Christian Himpel pkgname=go -pkgver=r60 +pkgver=r60.3 pkgrel=1 epoch=1 pkgdesc='Google Go compiler and tools (release version)' @@ -13,7 +13,7 @@ arch=('i686' 'x86_64') url="http://golang.org/" license=('custom') depends=('perl' 'ed') -makedepends=('mercurial') +makedepends=('mercurial' 'inetutils') options=('!strip') install=$pkgname.install source=($pkgname.sh) @@ -45,6 +45,7 @@ build() { export GOOS=linux export GOBIN="$GOROOT/bin" export PATH="$GOBIN:$PATH" + export CGO_ENABLED=0 # disable building net against libc, not needed on arch linux(?) mkdir -p "$GOROOT/bin" cd "$GOROOT/src" diff --git a/community/ibus-chewing/PKGBUILD b/community/ibus-chewing/PKGBUILD index 67fc6ff52..b435eebc9 100644 --- a/community/ibus-chewing/PKGBUILD +++ b/community/ibus-chewing/PKGBUILD @@ -1,38 +1,36 @@ -# $Id: PKGBUILD 56294 2011-10-05 06:10:32Z ebelanger $ +# $Id: PKGBUILD 57032 2011-10-18 21:32:56Z ebelanger $ # Maintainer: Thomas Dziedzic < gostrc at gmail > # Contributor: Rainy # Contributor: Lee.MaRS # Contributor: Hiroshi Yui pkgname=ibus-chewing -pkgver=1.3.9.2 -pkgrel=5 +pkgver=1.3.10 +pkgrel=1 pkgdesc='Chinese Chewing Engine for IBus Framework' arch=('i686' 'x86_64') license=('GPL') url='http://ibus.googlecode.com' -depends=('ibus' 'libchewing' 'libxtst' 'gconf') +depends=('ibus' 'libchewing' 'libxtst') makedepends=('swig' 'cmake' 'gob2') install=ibus-chewing.install source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz - ibus-chewing-696864-abrt-ibus-1.4.patch) -md5sums=('8d177d67647944f5d1f9cca0654eaccb' - '4bc83c143243a4fc5aa6a6e6fb0a3aa1') + https://fedorahosted.org/releases/c/m/cmake-fedora/cmake-fedora-modules-only-latest.tar.gz) +md5sums=('2a447828ca9290dd6bdf2336b2889bb0' + 'eb24ff0ec5b7646dd1b077f3b379712b') build() { cd "${srcdir}/${pkgname}-${pkgver}-Source" - patch -p1 -i "${srcdir}/ibus-chewing-696864-abrt-ibus-1.4.patch" + tar -xzf ../cmake-fedora-modules-only-latest.tar.gz cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONF_INSTALL_DIR=/usr/share \ -DLIBEXEC_DIR=/usr/lib/ibus \ . - make } package() { cd "${srcdir}/${pkgname}-${pkgver}-Source" - make DESTDIR="${pkgdir}" install } diff --git a/community/ibus-hangul/PKGBUILD b/community/ibus-hangul/PKGBUILD index c9385ed9b..4873f704e 100644 --- a/community/ibus-hangul/PKGBUILD +++ b/community/ibus-hangul/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 56129 2011-10-02 08:05:56Z ebelanger $ +# $Id: PKGBUILD 57039 2011-10-18 23:59:43Z ebelanger $ # Maintainer: Thomas Dziedzic < gostrc at gmail > # Contributor: Radim Hvizdák pkgname=ibus-hangul -pkgver=1.3.1 -pkgrel=2 +pkgver=1.3.2 +pkgrel=1 pkgdesc='Korean input engine for IBus' arch=('i686' 'x86_64') url='http://ibus.googlecode.com' @@ -12,21 +12,17 @@ license=('GPL') depends=('ibus' 'libhangul') makedepends=('intltool') source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz ibus-1.4.0.patch) -md5sums=('b71565bba3a1439a47212611b774ecf7' +md5sums=('b8132e8b11afadd803b2602c63294da5' 'edf93824ab2eead1307088d3edc24dbc') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -p1 -i "${srcdir}/ibus-1.4.0.patch" - ./configure \ - --prefix=/usr \ - --libexecdir=/usr/lib/ibus - + PYTHON=python2 ./configure --prefix=/usr --libexecdir=/usr/lib/ibus make } package() { cd "${srcdir}/${pkgname}-${pkgver}" - make NO_INDEX=true DESTDIR="${pkgdir}" install } diff --git a/community/libacpi/PKGBUILD b/community/libacpi/PKGBUILD index f2448bae9..26c930902 100644 --- a/community/libacpi/PKGBUILD +++ b/community/libacpi/PKGBUILD @@ -1,21 +1,23 @@ -# $Id: PKGBUILD 11341 2010-02-09 23:06:14Z dgriffiths $ +# $Id: PKGBUILD 57009 2011-10-18 09:29:14Z spupykin $ # Maintainer: Sergej Pupykin pkgname=libacpi pkgver=0.2 -pkgrel=2.1 +pkgrel=3 pkgdesc="general purpose lib to gather ACPI data" arch=(i686 x86_64) url="http://www.ngolde.de/libacpi.html" license=('GPL') depends=() options=(!emptydirs) -source=(http://www.ngolde.de/download/${pkgname}-${pkgver}.tar.gz) -md5sums=('05b53dd7bead66dda35fec502b91066c') +source=(http://www.ngolde.de/download/${pkgname}-${pkgver}.tar.gz + http://ftp.de.debian.org/debian/pool/main/liba/libacpi/libacpi_${pkgver}-4.diff.gz) +md5sums=('05b53dd7bead66dda35fec502b91066c' + '30ecd3c281dfe7e11670618fdd8e3c5b') build() { cd "${srcdir}/${pkgname}-${pkgver}" - - make PREFIX=/usr || return 1 + patch -p1 <$srcdir/libacpi_${pkgver}-4.diff + make PREFIX=/usr make PREFIX=/usr DESTDIR="${pkgdir}" install } diff --git a/community/nmon/PKGBUILD b/community/nmon/PKGBUILD new file mode 100644 index 000000000..9cf278e07 --- /dev/null +++ b/community/nmon/PKGBUILD @@ -0,0 +1,20 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo + +pkgname=nmon +pkgver=14g +pkgrel=2 +pkgdesc="AIX & Linux Performance Monitoring tool" +arch=('i686' 'x86_64') +url="http://nmon.sourceforge.net" +license=("GPL") +depends=("ncurses") +source=("http://downloads.sourceforge.net/${pkgname}/lmon$pkgver.c") + +build() { + cd ${srcdir} + cc -o nmon lmon$pkgver.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g + install -D -m 0755 nmon "${pkgdir}/usr/bin/nmon" +} + +md5sums=('e537f51446fb375140368b115dc8278b') -- cgit v1.2.3-54-g00ecf