From c399d539f0e3802194114d2566e8334951ffb146 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 23 Jul 2010 18:07:58 +0000 Subject: testing/bluez: upgrade to 4.69 --- testing/bluez/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testing') diff --git a/testing/bluez/APKBUILD b/testing/bluez/APKBUILD index b8a18a350e..2bf90aea96 100644 --- a/testing/bluez/APKBUILD +++ b/testing/bluez/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=bluez -pkgver=4.64 -pkgrel=1 +pkgver=4.69 +pkgrel=0 pkgdesc="Tools for the Bluetooth protocol stack" url="http://www.bluez.org/" license="GPL2" @@ -72,6 +72,6 @@ netlink() { "$subpkgdir"/usr/lib/bluetooth/plugins } -md5sums="d6e60bad937fe72b0bc77e327ee470b0 bluez-4.64.tar.bz2 +md5sums="350568aa11a95eac6e56e9289ff1f91d bluez-4.69.tar.bz2 66408fb89b05e7ce7e61c4c3c356d2c6 bluetooth.initd a159d897a057f4675548327329c4cc22 bluetooth.confd" -- cgit v1.2.3 From d3edd157d08526e8f63d01e4b4c0acdf6d1a8c10 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 23 Jul 2010 18:29:59 +0000 Subject: testing/bluez: fix support for usb and gstreamer --- testing/bluez/APKBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'testing') diff --git a/testing/bluez/APKBUILD b/testing/bluez/APKBUILD index 2bf90aea96..1ae394e84f 100644 --- a/testing/bluez/APKBUILD +++ b/testing/bluez/APKBUILD @@ -1,14 +1,15 @@ # Maintainer: Natanael Copa pkgname=bluez pkgver=4.69 -pkgrel=0 +pkgrel=1 pkgdesc="Tools for the Bluetooth protocol stack" url="http://www.bluez.org/" license="GPL2" depends= -makedepends="dbus-dev gstreamer-dev alsa-lib-dev libusb-dev libnl-dev" +makedepends="dbus-dev gst-plugins-base-dev alsa-lib-dev libusb-compat-dev + libnl-dev" subpackages="$pkgname-dev $pkgname-doc libbluetooth $pkgname-alsa $pkgname-cups - $pkgname-netlink" + $pkgname-netlink $pkgname-gstreamer" source="http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2 bluetooth.initd bluetooth.confd @@ -72,6 +73,12 @@ netlink() { "$subpkgdir"/usr/lib/bluetooth/plugins } +gstreamer() { + pkgdesc="Bluez plugin for gstreamer" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/gstreamer* \ + "$subpkgdir"/usr/lib/ +} md5sums="350568aa11a95eac6e56e9289ff1f91d bluez-4.69.tar.bz2 66408fb89b05e7ce7e61c4c3c356d2c6 bluetooth.initd a159d897a057f4675548327329c4cc22 bluetooth.confd" -- cgit v1.2.3 From dd195cdcf5e67c9c21257512ded0a03b5bff0d5e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 23 Jul 2010 18:44:57 +0000 Subject: testing/libusb-compat: fix dependency for -dev --- testing/libusb-compat/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/libusb-compat/APKBUILD b/testing/libusb-compat/APKBUILD index d36933b66b..daffca273e 100644 --- a/testing/libusb-compat/APKBUILD +++ b/testing/libusb-compat/APKBUILD @@ -1,12 +1,13 @@ # Maintainer: Leonardo Arena pkgname=libusb-compat pkgver=0.1.3 -pkgrel=0 +pkgrel=1 pkgdesc="Compatibility library for use by user level applications to access USB devices regardless of OS" url="http://www.libusb.org/" license="LGPL v2.1" depends= makedepends="libusb-dev" +depends_dev="libusb-dev" install= subpackages="$pkgname-dev" source="http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2" -- cgit v1.2.3 From ea3f9462b32674efcb34d577e5a620580d977766 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 23 Jul 2010 19:27:51 +0000 Subject: testing/bluez: include bluez-simple-agent --- testing/bluez/APKBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/bluez/APKBUILD b/testing/bluez/APKBUILD index 1ae394e84f..a011239283 100644 --- a/testing/bluez/APKBUILD +++ b/testing/bluez/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=bluez pkgver=4.69 -pkgrel=1 +pkgrel=2 pkgdesc="Tools for the Bluetooth protocol stack" url="http://www.bluez.org/" license="GPL2" @@ -45,6 +45,7 @@ package() { make install DESTDIR="$pkgdir" install -Dm755 "$srcdir"/bluetooth.initd "$pkgdir"/etc/init.d/bluetooth install -Dm644 "$srcdir"/bluetooth.confd "$pkgdir"/etc/conf.d/bluetooth + install -Dm755 "$srcdir"/test/simple-agent "$pkgdir"/usr/bin/bluez-simple-agent } libbluetooth() { -- cgit v1.2.3 From 0ece70338db480ca97a5edbdc0351d09ec956269 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 23 Jul 2010 19:34:04 +0000 Subject: testing/bluez: build fix --- testing/bluez/APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/bluez/APKBUILD b/testing/bluez/APKBUILD index a011239283..6ccd959312 100644 --- a/testing/bluez/APKBUILD +++ b/testing/bluez/APKBUILD @@ -45,7 +45,7 @@ package() { make install DESTDIR="$pkgdir" install -Dm755 "$srcdir"/bluetooth.initd "$pkgdir"/etc/init.d/bluetooth install -Dm644 "$srcdir"/bluetooth.confd "$pkgdir"/etc/conf.d/bluetooth - install -Dm755 "$srcdir"/test/simple-agent "$pkgdir"/usr/bin/bluez-simple-agent + install -Dm755 test/simple-agent "$pkgdir"/usr/bin/bluez-simple-agent } libbluetooth() { -- cgit v1.2.3 From 7ae1072fba012df7f5cea36c55d923c0a2f5b817 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sat, 24 Jul 2010 07:56:16 +0000 Subject: testing/py-gobject: new aport Python bindings for the GObject library http://www.pygtk.org/ --- testing/py-gobject/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 testing/py-gobject/APKBUILD (limited to 'testing') diff --git a/testing/py-gobject/APKBUILD b/testing/py-gobject/APKBUILD new file mode 100644 index 0000000000..fe758d3c9a --- /dev/null +++ b/testing/py-gobject/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: +# Maintainer: Natanael Copa +pkgname=py-gobject +pkgver=2.20.0 +pkgrel=0 +pkgdesc="Python bindings for the GObject library" +url="http://www.pygtk.org/" +license="GPL" +depends= +makedepends="python-dev glib-dev" +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.20/pygobject-$pkgver.tar.bz2" + +_builddir="$srcdir"/pygobject-$pkgver +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="10e1fb79be3d698476a28b1e1b0c5640 pygobject-2.20.0.tar.bz2" -- cgit v1.2.3 From 696cbfd0ad23379ae90f40ba336efd0cef18a834 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sat, 24 Jul 2010 08:09:49 +0000 Subject: testing/py-dbus: new aport Python bindings for DBUS http://www.freedesktop.org/wiki/Software/DBusBindings --- testing/py-dbus/APKBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 testing/py-dbus/APKBUILD (limited to 'testing') diff --git a/testing/py-dbus/APKBUILD b/testing/py-dbus/APKBUILD new file mode 100644 index 0000000000..64e1d54181 --- /dev/null +++ b/testing/py-dbus/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa +pkgname=py-dbus +pkgver=0.83.1 +pkgrel=0 +pkgdesc="Python bindings for DBUS" +url="http://www.freedesktop.org/wiki/Software/DBusBindings" +license="GPL LGPL" +depends="python>=2.6.5" +makedepends="pkgconfig dbus-glib-dev python-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="http://dbus.freedesktop.org/releases/dbus-python/dbus-python-$pkgver.tar.gz" + +_builddir="$srcdir"/dbus-python-$pkgver +build() { + cd "$_builddir" + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="5fdf3970aa0c00020289de7ba8f3be18 dbus-python-0.83.1.tar.gz" -- cgit v1.2.3 From 28d08f8ac2796f1be43712d277540a1aeac932e6 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 26 Jul 2010 14:30:48 +0000 Subject: testing/sems: bump pkgrel so we get the init.d script included --- testing/sems/APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/sems/APKBUILD b/testing/sems/APKBUILD index 9d16fc8336..c587cae82d 100644 --- a/testing/sems/APKBUILD +++ b/testing/sems/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista pkgname=sems pkgver=1.2.1 -pkgrel=0 +pkgrel=1 pkgdesc="High performance, extensible media server for SIP (RFC3261) based VoIP services" url="http://iptel.org/sems/" license="GPL-2" -- cgit v1.2.3 From 6a74f0064cfb6554de47f73b56c9c58e2914fe9f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 27 Jul 2010 07:24:41 +0000 Subject: testing/cmph: new aport minimal perfect hash C library - utility application http://cmph.sourceforge.net/ --- testing/cmph/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/cmph/APKBUILD (limited to 'testing') diff --git a/testing/cmph/APKBUILD b/testing/cmph/APKBUILD new file mode 100644 index 0000000000..a52b0bcf13 --- /dev/null +++ b/testing/cmph/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: +# Maintainer: +pkgname=cmph +pkgver=0.9 +pkgrel=0 +pkgdesc="minimal perfect hash C library - utility application" +url="http://cmph.sourceforge.net/" +license="LGPL MPL-1.1" +depends= +makedepends= +install= +subpackages="$pkgname-dev $pkgname-doc libcmph:lib" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +lib() { + pkgdesc="minimal perfect hash C library - utility application" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libcmph*.so.* "$subpkgdir"/usr/lib/ +} + +md5sums="14c17e3058174e9333936caa8e18ed28 cmph-0.9.tar.gz" -- cgit v1.2.3 From 76ec47a71a94d95451e36a71c847c29175044eae Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 27 Jul 2010 09:38:56 +0000 Subject: testing/iw: new aport nl80211 based CLI configuration utility for wireless devices http://wireless.kernel.org/en/users/Documentation/iw --- testing/iw/APKBUILD | 33 +++++++++++++++++++++++++++++++++ testing/iw/iw-bb-install.patch | 15 +++++++++++++++ testing/iw/iw-git-version.patch | 11 +++++++++++ 3 files changed, 59 insertions(+) create mode 100644 testing/iw/APKBUILD create mode 100644 testing/iw/iw-bb-install.patch create mode 100644 testing/iw/iw-git-version.patch (limited to 'testing') diff --git a/testing/iw/APKBUILD b/testing/iw/APKBUILD new file mode 100644 index 0000000000..3cce23eff1 --- /dev/null +++ b/testing/iw/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: Natanael Copa +pkgname=iw +pkgver=0.9.18 +pkgrel=0 +pkgdesc="nl80211 based CLI configuration utility for wireless devices" +url="http://wireless.kernel.org/en/users/Documentation/iw" +license="GPL" +depends="" +makedepends="libnl-dev" +source="http://wireless.kernel.org/download/iw/iw-$pkgver.tar.bz2 + iw-bb-install.patch + iw-git-version.patch" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + patch -p1 -i "$srcdir"/iw-bb-install.patch || return 1 + patch -p1 -i "$srcdir"/iw-git-version.patch || return 1 +} + +build () { + cd "$_builddir" + make V=1 || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="9734080d8a5c4b768c5e0da665a48950 iw-0.9.18.tar.bz2 +7f8cfc205fdcfd49d04c8923c76f439a iw-bb-install.patch +779d0e73df6e484c071149c9fb720551 iw-git-version.patch" diff --git a/testing/iw/iw-bb-install.patch b/testing/iw/iw-bb-install.patch new file mode 100644 index 0000000000..b736dbf7c2 --- /dev/null +++ b/testing/iw/iw-bb-install.patch @@ -0,0 +1,15 @@ +--- ./Makefile.orig ++++ ./Makefile +@@ -86,10 +86,10 @@ + install: iw iw.8.gz + @$(NQ) ' INST iw' + $(Q)$(MKDIR) $(DESTDIR)$(SBINDIR) +- $(Q)$(INSTALL) -m 755 -t $(DESTDIR)$(SBINDIR) iw ++ $(Q)$(INSTALL) -m 755 iw $(DESTDIR)$(SBINDIR)/ + @$(NQ) ' INST iw.8' + $(Q)$(MKDIR) $(DESTDIR)$(MANDIR)/man8/ +- $(Q)$(INSTALL) -m 644 -t $(DESTDIR)$(MANDIR)/man8/ iw.8.gz ++ $(Q)$(INSTALL) -m 644 iw.8.gz $(DESTDIR)$(MANDIR)/man8/ + + clean: + $(Q)rm -f iw *.o *~ *.gz version.c *-stamp diff --git a/testing/iw/iw-git-version.patch b/testing/iw/iw-git-version.patch new file mode 100644 index 0000000000..0286eb4889 --- /dev/null +++ b/testing/iw/iw-git-version.patch @@ -0,0 +1,11 @@ +--- ./version.sh.orig ++++ ./version.sh +@@ -5,7 +5,7 @@ + + echo '#include "iw.h"' > "$OUT" + +-if head=`git rev-parse --verify HEAD 2>/dev/null`; then ++if [ -d .git ] && head=`git rev-parse --verify HEAD 2>/dev/null`; then + git update-index --refresh --unmerged > /dev/null + descr=$(git describe) + -- cgit v1.2.3 From 390e45e6bad74946c1aaf87fa7ad180b434b05b9 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 28 Jul 2010 13:40:43 +0000 Subject: testing/smokeping: new aport Smokeping network latency monitoring http://oss.oetiker.ch/smokeping/ ref #348 --- testing/smokeping/APKBUILD | 107 ++++++++++++++++++++++++++++++++ testing/smokeping/smokeping.initd | 77 +++++++++++++++++++++++ testing/smokeping/smokeping.pre-install | 5 ++ 3 files changed, 189 insertions(+) create mode 100644 testing/smokeping/APKBUILD create mode 100644 testing/smokeping/smokeping.initd create mode 100644 testing/smokeping/smokeping.pre-install (limited to 'testing') diff --git a/testing/smokeping/APKBUILD b/testing/smokeping/APKBUILD new file mode 100644 index 0000000000..9ea5710534 --- /dev/null +++ b/testing/smokeping/APKBUILD @@ -0,0 +1,107 @@ +# Contributor: Jeff Bilyk +pkgname=smokeping +pkgver=2.4.2 +pkgrel=0 +pkgdesc="Smokeping network latency monitoring" +pkgusers="smokeping" +pkggroups="smokeping" +install="$pkgname.pre-install" +url="http://oss.oetiker.ch/smokeping/" +source="http://oss.oetiker.ch/smokeping/pub/smokeping-$pkgver.tar.gz + smokeping.initd" +depends="perl fping rrdtool perl-rrd + perl-uri-escape + perl-digest-hmac + perl-cgi-session + perl-libwww + perl-snmp-session + perl-net-dns + " +license="GPL" + +_builddir="$srcdir"/$pkgname-$pkgver +_vendorlib=/usr/share/perl5/vendor_perl + +prepare() { + cd "$_builddir" + # provided by perl-digest-hmac + rm -rf lib/Digest + # provided by perl-cgi-session + rm -rf lib/CGI + # provided by perl-snmp-session + rm -r lib/BER.pm lib/SNMP_Session.pm lib/SNMP_util.pm + rm -r qooxdoo/qooxdoolink +} + +build() { + return 0 +} + +package() { + cd "$_builddir" + + # create dirs + mkdir -p "$pkgdir"/etc/smokeping \ + "$pkgdir"/usr/bin \ + "$pkgdir"/usr/share/webapps/smokeping \ + "$pkgdir"/$_vendorlib + + # install libs + cp -ra "$_builddir"/lib/* "$pkgdir"/$_vendorlib + + # install cgi scripts + sed -e 's:^use lib:#use lib:g' \ + -e 's:/home/oetiker.*/config.dist:/etc/smokeping/config:' \ + -i htdocs/*.cgi.dist + + for i in smokeping.cgi tr.cgi; do + install -m755 htdocs/$i.dist \ + "$pkgdir"/usr/share/webapps/smokeping/$i \ + || return 1 + rm htdocs/$i.dist + done + + # install ajax scripts + mv "$_builddir/htdocs"/* "$pkgdir"/usr/share/webapps/smokeping + + # install smokeping executables + for i in smokeping tSmoke; do + sed -e 's:^use lib:#use lib:g' \ + -e 's:etc/config.dist:/etc/smokeping/config:' \ + -i bin/$i.dist + install -m755 bin/$i.dist "$pkgdir"/usr/bin/$i + done + + # config + sed -e '/^imgcache/{s:\(^imgcache[ \t]*=\).*:\1 /var/lib/smokeping/.simg:}' \ + -e '/^imgurl/{s:\(^imgurl[ \t]*=\).*:\1 ../.simg:}' \ + -e '/^datadir/{s:\(^datadir[ \t]*=\).*:\1 /var/lib/smokeping:}' \ + -e '/^piddir/{s:\(^piddir[ \t]*=\).*:\1 /var/run/smokeping:}' \ + -e '/^cgiurl/{s#\(^cgiurl[ \t]*=\).*#\1 http://some.place.xyz/perl/smokeping.pl#}' \ + -e '/^smokemail/{s:\(^smokemail[ \t]*=\).*:\1 /etc/smokeping/smokemail:}' \ + -e '/^tmail/{s:\(^tmail[ \t]*=\).*:\1 /etc/smokeping/tmail:}' \ + -e '/^secrets/{s:\(^secrets[ \t]*=\).*:\1 /etc/smokeping/smokeping_secrets:}' \ + -e '/^template/{s:\(^template[ \t]*=\).*:\1 /etc/smokeping/basepage.html:}' \ + -i etc/config.dist || return 1 + + sed -e '/^