From a829a3b1a4b3eefc7adb1d630f071247e79b9f72 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 15 Dec 2012 02:31:42 -0800 Subject: Sat Dec 15 02:25:53 PST 2012 --- community/cantata/PKGBUILD | 6 +++--- community/enet/PKGBUILD | 6 +++--- community/libunwind/PKGBUILD | 36 ++++++++++++++++++++++++++++++++ community/linux-tools/PKGBUILD | 44 ++++++++++++++++++++++++++++++++------- community/luasocket/PKGBUILD | 14 ++++++------- community/python-pymongo/PKGBUILD | 6 +++--- 6 files changed, 89 insertions(+), 23 deletions(-) create mode 100644 community/libunwind/PKGBUILD (limited to 'community') diff --git a/community/cantata/PKGBUILD b/community/cantata/PKGBUILD index f72e9cb61..825faff17 100644 --- a/community/cantata/PKGBUILD +++ b/community/cantata/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 80920 2012-12-06 21:02:34Z andrea $ +# $Id: PKGBUILD 81241 2012-12-14 11:41:36Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Mcder3 # Contributor: MisterFred pkgname=cantata -pkgver=0.9.0 +pkgver=0.9.1 pkgdesc="A KDE client for the music player daemon (MPD)" pkgrel=1 arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ depends=('kdebase-runtime' 'taglib-extras' 'ffmpeg' 'mpg123' 'libmtp' 'speex') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://cantata.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2") -md5sums=('e05e7dd876b40b8351e03a1a939f9fe6') +md5sums=('78e2f379fe9a0afd32e24de83f1c283e') build() { mkdir build diff --git a/community/enet/PKGBUILD b/community/enet/PKGBUILD index a3557237a..a1ee98aea 100644 --- a/community/enet/PKGBUILD +++ b/community/enet/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 77516 2012-10-11 13:14:20Z svenstaro $ +# $Id: PKGBUILD 81243 2012-12-14 12:11:24Z svenstaro $ # Maintainer: Mateusz Herych # Contributor: Bj?indeijer pkgname=enet -pkgver=1.3.5 +pkgver=1.3.6 pkgrel=1 pkgdesc='A relatively thin, simple and robust network communication layer on top of UDP.' arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('custom') depends=('glibc') options=('!libtool') source=("http://enet.bespin.org/download/${pkgname}-${pkgver}.tar.gz") -md5sums=('c75d0be31b6f23330839a68ee66e00f9') +md5sums=('215faae73d7e1f0d6dc48676884d07c7') build() { cd "${pkgname}-${pkgver}" diff --git a/community/libunwind/PKGBUILD b/community/libunwind/PKGBUILD new file mode 100644 index 000000000..57cc71112 --- /dev/null +++ b/community/libunwind/PKGBUILD @@ -0,0 +1,36 @@ +# $id$ +# Maintainer: Sébastien Luttringer +# Contributor: Lawrence Lee +# Contributor: Phillip Marvin +# Contributor: keystone + +pkgname=libunwind +pkgver=1.1 +pkgrel=1 +pkgdesc='Portable and efficient C programming interface (API) to determine the call-chain of a program' +arch=('i686' 'x86_64') +url='http://www.nongnu.org/libunwind/' +license=('GPL') +depends=('glibc' 'xz') +options=(!libtool) +source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('fb4ea2f6fbbe45bf032cd36e586883ce') + +build() { + cd $pkgname-$pkgver + ./configure CFLAGS="$CFLAGS -U_FORTIFY_SOURCE" --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver + # This function is ``supposed'' to fail. Upstream know, but haven't fixed it. + make check || return 0 +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD index a5d361ee0..7f5af2c58 100644 --- a/community/linux-tools/PKGBUILD +++ b/community/linux-tools/PKGBUILD @@ -1,10 +1,11 @@ -# $Id: PKGBUILD 76842 2012-10-01 03:29:15Z seblu $ +# $Id: PKGBUILD 81261 2012-12-15 00:17:32Z seblu $ # Maintainer: Sébastien Luttringer pkgbase=linux-tools -pkgname=('perf' 'cpupower' 'x86_energy_perf_policy' 'usbip') -pkgver=3.6 -pkgrel=1 +pkgname=('libtraceevent' 'perf' 'cpupower' 'x86_energy_perf_policy' 'usbip') +[[ $CARCH == i686 ]] && pkgname+=('lguest') +pkgver=3.7 +pkgrel=2 license=('GPL2') arch=('i686' 'x86_64') url='http://www.kernel.org' @@ -13,7 +14,7 @@ options=('!strip') # kernel source deps makedepends=('asciidoc' 'xmlto') # perf deps -makedepends+=('perl' 'python2' 'libnewt' 'elfutils') +makedepends+=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind') # cpupower deps makedepends+=('pciutils') # usbip deps @@ -28,7 +29,7 @@ source=("http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$pkgver.tar.xz" 'usbipd.conf' 'usbipd.rc' 'usbipd.service') -md5sums=('1a1760420eac802c541a20ab51a093d1' +md5sums=('21223369d682bcf44bcdfe1521095983' '56883c159381ba89e50ab8ea65efec77' '5fc1fcda4cef93f16e752b1931db23e3' 'c0d17b5295fe964623c772a2dd981771' @@ -44,6 +45,11 @@ build() { patch -N -p1 -i "$srcdir"/patch-* fi + msg2 'Build libtraceevent' + pushd linux-$pkgver/tools/lib/traceevent + make + popd + msg2 'Build perf' pushd linux-$pkgver/tools/perf make \ @@ -70,15 +76,32 @@ build() { msg2 'Build usbip' pushd linux-$pkgver/drivers/staging/usbip/userspace + # fix missing man page + sed -i 's/usbip_bind_driver.8//' Makefile.am ./autogen.sh ./configure --prefix=/usr make popd + + if [[ $CARCH == i686 ]]; then + msg2 'Build lguest' + pushd linux-$pkgver/tools/lguest + make + popd + fi +} + +package_libtraceevent() { + pkgdesc='Linux kernel trace event library' + + cd linux-$pkgver/tools/lib/traceevent + install -dm 755 "$pkgdir/usr/lib" + install -m 644 libtraceevent.a libtraceevent.so "$pkgdir/usr/lib" } package_perf() { pkgdesc='Linux kernel performance auditing tool' - depends=('perl' 'python2' 'libnewt' 'elfutils') + depends=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind') cd linux-$pkgver/tools/perf make \ @@ -138,4 +161,11 @@ package_usbip() { install -Dm 644 usbipd.service "$pkgdir/usr/lib/systemd/system/usbipd.service" } +package_lguest() { + pkgdesc='The simple x86 hypervisor' + + cd linux-$pkgver/tools/lguest + install -Dm 755 lguest "$pkgdir/usr/bin/lguest" +} + # vim:set ts=2 sw=2 et: diff --git a/community/luasocket/PKGBUILD b/community/luasocket/PKGBUILD index 06ce58737..4537779c2 100644 --- a/community/luasocket/PKGBUILD +++ b/community/luasocket/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 81217 2012-12-13 11:26:27Z spupykin $ +# $Id: PKGBUILD 81244 2012-12-14 12:38:59Z seblu $ # Maintainer: Sergej Pupykin # Contributor: Anders Bergh pkgbase=luasocket pkgname=(lua-socket lua51-socket) pkgver=2.0.2 -pkgrel=3 +pkgrel=4 pkgdesc='Networking support library for the Lua language' arch=('i686' 'x86_64') url='http://www.cs.princeton.edu/~diego/professional/luasocket/' @@ -35,10 +35,10 @@ build() { package_lua-socket() { depends=('lua') - cd luasocket-$pkgver + cd luasocket-$pkgver-52 make DESTDIR="$pkgdir/" \ - INSTALL_TOP_SHARE='$(DESTDIR)/usr/share/lua/5.1' \ - INSTALL_TOP_LIB='$(DESTDIR)/usr/lib/lua/5.1' install + INSTALL_TOP_SHARE='$(DESTDIR)/usr/share/lua/5.2' \ + INSTALL_TOP_LIB='$(DESTDIR)/usr/lib/lua/5.2' install install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } @@ -46,7 +46,7 @@ package_lua51-socket() { depends=('lua51') cd luasocket-$pkgver make DESTDIR="$pkgdir/" \ - INSTALL_TOP_SHARE='$(DESTDIR)/usr/share/lua/5.2' \ - INSTALL_TOP_LIB='$(DESTDIR)/usr/lib/lua/5.2' install + INSTALL_TOP_SHARE='$(DESTDIR)/usr/share/lua/5.1' \ + INSTALL_TOP_LIB='$(DESTDIR)/usr/lib/lua/5.1' install install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } diff --git a/community/python-pymongo/PKGBUILD b/community/python-pymongo/PKGBUILD index 22f6685cd..3386eabdc 100644 --- a/community/python-pymongo/PKGBUILD +++ b/community/python-pymongo/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 80655 2012-11-28 19:20:11Z arodseth $ +# $Id: PKGBUILD 81246 2012-12-14 12:47:15Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Thomas S Hatch # Contributor: Jelle van der Waa pkgbase=python-pymongo pkgname=('python-pymongo' 'python2-pymongo') -pkgver=2.4 +pkgver=2.4.1 pkgrel=1 pkgdesc='Python driver for MongoDB' arch=('x86_64' 'i686') @@ -13,7 +13,7 @@ license=('APACHE') url='http://pypi.python.org/pypi/pymongo/' makedepends=('python-distribute' 'python2-distribute') source=("http://pypi.python.org/packages/source/p/pymongo/pymongo-$pkgver.tar.gz") -sha256sums=('11d6a2934188eea6a6b6c55f3a0b1ac610175e6de92b0e5632bb8d90acb3d48d') +sha256sums=('dae8a074137ade3c854c47f76853792b69d1cbc263d9e74aaca50a02842da970') build() { cd $srcdir -- cgit v1.2.3-54-g00ecf