aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/findutils/APKBUILD27
-rw-r--r--testing/gnump3d/APKBUILD29
-rw-r--r--testing/gnump3d/gnump3d.confd6
-rw-r--r--testing/gnump3d/gnump3d.initd37
-rw-r--r--testing/hping/APKBUILD34
-rw-r--r--testing/iperf/APKBUILD27
-rw-r--r--unstable/genshi/APKBUILD31
-rw-r--r--unstable/liblockfile/APKBUILD32
-rw-r--r--unstable/mailx-support/APKBUILD17
-rw-r--r--unstable/mailx-support/mailx-support-ldflags.patch15
-rw-r--r--unstable/setuptools/APKBUILD29
-rw-r--r--unstable/trac/APKBUILD35
12 files changed, 313 insertions, 6 deletions
diff --git a/main/findutils/APKBUILD b/main/findutils/APKBUILD
new file mode 100644
index 0000000000..3fbb0bac28
--- /dev/null
+++ b/main/findutils/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=findutils
+pkgver=4.4.2
+pkgrel=0
+pkgdesc="GNU utilities for finding files"
+url="http://www.gnu.org/software/findutils/"
+license="GPL"
+depends=""
+makedepends=""
+install=
+subpackages="$pkgname-doc"
+source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+ make DESTDIR="$pkgdir" install
+
+}
+
+md5sums="351cc4adb07d54877fa15f75fb77d39f findutils-4.4.2.tar.gz"
diff --git a/testing/gnump3d/APKBUILD b/testing/gnump3d/APKBUILD
new file mode 100644
index 0000000000..b367432942
--- /dev/null
+++ b/testing/gnump3d/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=gnump3d
+pkgver=3.0
+pkgrel=0
+pkgdesc="A streaming server for MP3, OGG vorbis and other streamable files"
+url="http://www.gnump3d.org/"
+license="GPL-2"
+depends="perl"
+makedepends=""
+install=
+subpackages="$pkgname-doc"
+source="http://savannah.gnu.org/download/gnump3d/$pkgname-$pkgver.tar.gz
+ gnump3d.confd
+ gnump3d.initd"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make PREFIX="$pkgdir" install
+
+ install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+ mv "$pkgdir"/usr/local "$pkgdir"-doc/
+}
+
+md5sums="d2b665c3267253cc8cae29659131b9b4 gnump3d-3.0.tar.gz
+59f0286d4c943226a67ab7b7787547c6 gnump3d.confd
+5202488dff1c7e6c6788fb00fb32f071 gnump3d.initd"
diff --git a/testing/gnump3d/gnump3d.confd b/testing/gnump3d/gnump3d.confd
new file mode 100644
index 0000000000..1d6cf397d2
--- /dev/null
+++ b/testing/gnump3d/gnump3d.confd
@@ -0,0 +1,6 @@
+# Set this to 0 to stop the init script from indexing your mp3s.
+# It takes the longest on the first time, but after that, it only does
+# updates.
+
+DO_INDEX=1
+
diff --git a/testing/gnump3d/gnump3d.initd b/testing/gnump3d/gnump3d.initd
new file mode 100644
index 0000000000..43290ee30a
--- /dev/null
+++ b/testing/gnump3d/gnump3d.initd
@@ -0,0 +1,37 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/media-sound/gnump3d/files/gnump3d.init.d,v 1.4 2008/06/03 14:52:33 beandog Exp $
+
+opts="start stop index"
+
+depend() {
+ need net
+ after netmount nfsmount
+}
+
+start() {
+ ebegin "Starting gnump3d"
+
+ if [ ${DO_INDEX} -eq 1 ]; then
+ ebegin "Updating index of music files (may take a while for the first time)"
+ /usr/bin/gnump3d-index
+ eend $?
+ fi
+
+ start-stop-daemon --start --quiet --exec /usr/bin/gnump3d2 --make-pidfile \
+ --pidfile /var/run/gnump3d.pid --background -- --quiet
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping gnump3d"
+ start-stop-daemon --stop --quiet --pidfile /var/run/gnump3d.pid
+ eend $?
+}
+
+index() {
+ ebegin "Indexing music files"
+ /usr/bin/gnump3d-index
+ eend $?
+}
diff --git a/testing/hping/APKBUILD b/testing/hping/APKBUILD
new file mode 100644
index 0000000000..5f48e80339
--- /dev/null
+++ b/testing/hping/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=hping
+_altname=hping3
+pkgver=20051105
+pkgrel=0
+pkgdesc="A ping-like TCP/IP packet assembler/analyzer"
+url="http://www.hping.org"
+license="GPL"
+depends=""
+makedepends="libpcap-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://www.hping.org/$_altname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir"/$_altname-$pkgver
+ ln -s /usr/include/pcap/bpf.h /usr/include/net/bpf.h
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --no-tcl
+ make || return 1
+ make strip || return 1
+ install -m755 -D "$srcdir"/"$_altname-$pkgver"/$_altname "$pkgdir"/usr/sbin/$pkgname
+ ln -s "$pkgdir"/usr/sbin/$pkgname "$pkgdir"/usr/sbin/hping3
+ ln -s "$pkgdir"/usr/sbin/$pkgname "$pkgdir"/usr/sbin/hping2
+ install -m644 -D "$srcdir"/"$_altname-$pkgver"/docs/hping2.8 "$pkgdir"/usr/share/man/man8/hping2.8
+ install -m644 -D "$srcdir"/"$_altname-$pkgver"/docs/hping3.8 "$pkgdir"/usr/share/man/man8/hping3.8
+
+}
+
+md5sums="ca4ea4e34bcc2162aedf25df8b2d1747 hping3-20051105.tar.gz"
diff --git a/testing/iperf/APKBUILD b/testing/iperf/APKBUILD
new file mode 100644
index 0000000000..06c93a46f5
--- /dev/null
+++ b/testing/iperf/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=iperf
+pkgver=2.0.3
+pkgrel=0
+pkgdesc="tool to measure IP bandwidth using UDP or TCP"
+url="http://iperf.sourceforge.net/"
+license="GPL"
+depends=""
+makedepends=""
+install=
+subpackages=""
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+ make DESTDIR="$pkgdir" install
+
+}
+
+md5sums="78f6a49b5f051d18b55789999c12c7a6 iperf-2.0.3.tar.gz"
diff --git a/unstable/genshi/APKBUILD b/unstable/genshi/APKBUILD
new file mode 100644
index 0000000000..65e4923903
--- /dev/null
+++ b/unstable/genshi/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=genshi
+_altname=Genshi
+pkgver=0.5.1
+pkgrel=0
+pkgdesc="Python toolkit for stream-based generation of output for the web."
+url="http://genshi.edgewall.org/"
+license="GPL"
+depends="python setuptools"
+makedepends=""
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.tar.bz2"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+ make DESTDIR="$pkgdir" install
+
+ # remove the 2 lines below (and this) if there is no init.d script
+ # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+}
+
+md5sums="" #generate with 'abuild checksum'
diff --git a/unstable/liblockfile/APKBUILD b/unstable/liblockfile/APKBUILD
new file mode 100644
index 0000000000..8d89af8478
--- /dev/null
+++ b/unstable/liblockfile/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=liblockfile
+pkgver=1.08
+pkgrel=0
+pkgdesc="Implements functions designed to lock the standard mailboxes"
+url="http://www.debian.org"
+license="GPL"
+depends=""
+makedepends=""
+install=
+subpackages="$pkgname-doc"
+source="ftp://ftp.debian.org/debian/pool/main/libl/$pkgname/"$pkgname"_"$pkgver".orig.tar.gz"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+ install -m2755 -D "$srcdir"/"$pkgname-$pkgver"/dotlockfile "$pkgdir"/usr/bin/dotlockfile
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/lockfile.h "$pkgdir"/usr/include/lockfile.h
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/maillock.h "$pkgdir"/usr/include/maillock.h
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/liblockfile.a "$pkgdir"/usr/lib/liblockfile.a
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/dotlockfile.1 "$pkgdir"-doc/usr/man/man1/dotlockfile.1
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/lockfile_create.3 "$pkgdir"-doc/usr/man/man3/lockfile_create.3
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/maillock.3 "$pkgdir"-doc/usr/man/man3/maillock.3
+}
+
+md5sums="c24e2dfb4a2aab0263fe5ac1564d305e liblockfile_1.08.orig.tar.gz"
diff --git a/unstable/mailx-support/APKBUILD b/unstable/mailx-support/APKBUILD
index 2a8fe73171..503f203067 100644
--- a/unstable/mailx-support/APKBUILD
+++ b/unstable/mailx-support/APKBUILD
@@ -5,20 +5,25 @@ pkgver=20060102
pkgrel=0
pkgdesc="Provides lockspool utility"
url="http://www.openbsd.org"
-license="GPL"
+license="BSD"
depends=""
makedepends=""
install=
subpackages="$pkgname-doc"
-source="http://gentoo.osuosl.org/distfiles/$pkgname-$pkgver.tar.bz2"
+source="http://gentoo.osuosl.org/distfiles/$pkgname-$pkgver.tar.bz2
+ mailx-support-ldflags.patch"
build() {
cd "$srcdir"/$pkgname-$pkgver
-#need to add a DESTDIR in make file
+ for i in ../*.patch; do
+ msg "Appling $i..."
+ patch -p1 < $i || return 1
+ done
make || return 1
- make DESTDIR="$pkgdir" install
-
+ install -m755 -D "$srcdir"/"$pkgname-$pkgver"/lockspool "$pkgdir"/usr/libexec/lockspool
+ install -m644 -D "$srcdir"/"$pkgname-$pkgver"/lockspool.1 "$pkgdir"-doc/usr/share/man/man1/lockspool.1
}
-md5sums="3f671fe4368a5b536e8384980a9a5c80 mailx-support-20060102.tar.bz2"
+md5sums="3f671fe4368a5b536e8384980a9a5c80 mailx-support-20060102.tar.bz2
+32a98aee973db8860f1f53a9297b8dd9 mailx-support-ldflags.patch"
diff --git a/unstable/mailx-support/mailx-support-ldflags.patch b/unstable/mailx-support/mailx-support-ldflags.patch
new file mode 100644
index 0000000000..97c5b60047
--- /dev/null
+++ b/unstable/mailx-support/mailx-support-ldflags.patch
@@ -0,0 +1,15 @@
+--- mailx-support-20060102.orig/Makefile
++++ mailx-support-20060102/Makefile
+@@ -17,10 +17,10 @@ clean:
+ ${RM} -f ${PRODUCTS} *.o
+
+ mail.local: mail.local.o locking.o open_with_exlock.o
+- ${CC} ${CFLAGS} -o $@ $^
++ ${CC} ${LDFLAGS} ${CFLAGS} -o $@ $^
+
+ lockspool: lockspool.o locking.o open_with_exlock.o
+- ${CC} ${CFLAGS} -o $@ $^
++ ${CC} ${LDFLAGS} ${BINDNOW_FLAGS} ${CFLAGS} -o $@ $^
+
+ .c.o:
+ ${CC} ${CFLAGS} -c -o $@ $^
diff --git a/unstable/setuptools/APKBUILD b/unstable/setuptools/APKBUILD
new file mode 100644
index 0000000000..c7c5899b4c
--- /dev/null
+++ b/unstable/setuptools/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=setuptools
+_altname=distribute
+pkgver=0.6.4
+pkgrel=0
+pkgdesc=""
+url="http://pypi.python.org/pypi/distribute"
+license="PSF-2.2"
+depends="python"
+makedepends=""
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://pypi.python.org/packages/source/d/distribute/$_altname-$pkgver.tar.gz"
+
+# append extra dependencies to -dev subpackage
+# remove if not used.
+# depends_dev="somepackage-dev"
+
+build() {
+ cd "$srcdir"/$_altname-$pkgver
+
+ python setup.py build
+# make || return 1
+# make DESTDIR="$pkgdir" install
+
+}
+
+md5sums="7a963679fddc64a0e363b2ccf8024952 distribute-0.6.4.tar.gz"
diff --git a/unstable/trac/APKBUILD b/unstable/trac/APKBUILD
new file mode 100644
index 0000000000..8292ef9e12
--- /dev/null
+++ b/unstable/trac/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=trac
+_altname=Trac
+pkgver=0.11.5
+pkgrel=0
+pkgdesc="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system."
+url="http://trac.edgewall.com/"
+license="GPL"
+depends="python"
+makedepends="postgresql-dev"
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="ftp://ftp.edgewall.com/pub/$pkgname/$_altname-$pkgver.tar.gz"
+
+# append extra dependencies to -dev subpackage
+# remove if not used.
+# depends_dev="somepackage-dev"
+
+build() {
+ cd "$srcdir"/$_altname-$pkgver
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+ make DESTDIR="$pkgdir" install
+
+ # remove the 2 lines below (and this) if there is no init.d script
+ # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+}
+
+md5sums="c8042490096a49478580fd599ad26322 Trac-0.11.5.tar.gz"