From 27372931726698f78e450f05ac096c3717a4b2bf Mon Sep 17 00:00:00 2001 From: Michael Mason Date: Fri, 9 Oct 2009 18:52:02 +0000 Subject: unstable/liblockfile Initial Commit --- unstable/liblockfile/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 unstable/liblockfile/APKBUILD (limited to 'unstable') diff --git a/unstable/liblockfile/APKBUILD b/unstable/liblockfile/APKBUILD new file mode 100644 index 00000000..8d89af84 --- /dev/null +++ b/unstable/liblockfile/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Michael Mason +# Maintainer: Michael Mason +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" -- cgit v1.2.3 From d80b2bb3a02fd4769adb84c455af7cd52c56d33f Mon Sep 17 00:00:00 2001 From: Michael Mason Date: Fri, 9 Oct 2009 19:17:34 +0000 Subject: unstable/mailx-support Initial Commit --- unstable/mailx-support/APKBUILD | 17 +++++++++++------ unstable/mailx-support/mailx-support-ldflags.patch | 15 +++++++++++++++ 2 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 unstable/mailx-support/mailx-support-ldflags.patch (limited to 'unstable') diff --git a/unstable/mailx-support/APKBUILD b/unstable/mailx-support/APKBUILD index 2a8fe731..503f2030 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 00000000..97c5b600 --- /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 $@ $^ -- cgit v1.2.3 From c09a8f931dced1c662fde492a9969a9ca5634978 Mon Sep 17 00:00:00 2001 From: Michael Mason Date: Tue, 13 Oct 2009 12:33:07 +0000 Subject: unstable/gnump3d Initial Commit --- unstable/gnump3d/APKBUILD | 29 +++++++++++++++++++++++++++++ unstable/gnump3d/gnump3d.confd | 6 ++++++ unstable/gnump3d/gnump3d.initd | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 unstable/gnump3d/APKBUILD create mode 100644 unstable/gnump3d/gnump3d.confd create mode 100644 unstable/gnump3d/gnump3d.initd (limited to 'unstable') diff --git a/unstable/gnump3d/APKBUILD b/unstable/gnump3d/APKBUILD new file mode 100644 index 00000000..b3674329 --- /dev/null +++ b/unstable/gnump3d/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Michael Mason +# Maintainer: Michael Mason +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/unstable/gnump3d/gnump3d.confd b/unstable/gnump3d/gnump3d.confd new file mode 100644 index 00000000..1d6cf397 --- /dev/null +++ b/unstable/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/unstable/gnump3d/gnump3d.initd b/unstable/gnump3d/gnump3d.initd new file mode 100644 index 00000000..43290ee3 --- /dev/null +++ b/unstable/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 $? +} -- cgit v1.2.3 From 996f4062c5e06084b0412fb6dc003d5cf32cf1c0 Mon Sep 17 00:00:00 2001 From: Michael Mason Date: Tue, 13 Oct 2009 19:37:15 +0000 Subject: unstable/gnump3d moved to testing --- unstable/gnump3d/APKBUILD | 29 ----------------------------- unstable/gnump3d/gnump3d.confd | 6 ------ unstable/gnump3d/gnump3d.initd | 37 ------------------------------------- 3 files changed, 72 deletions(-) delete mode 100644 unstable/gnump3d/APKBUILD delete mode 100644 unstable/gnump3d/gnump3d.confd delete mode 100644 unstable/gnump3d/gnump3d.initd (limited to 'unstable') diff --git a/unstable/gnump3d/APKBUILD b/unstable/gnump3d/APKBUILD deleted file mode 100644 index b3674329..00000000 --- a/unstable/gnump3d/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Michael Mason -# Maintainer: Michael Mason -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/unstable/gnump3d/gnump3d.confd b/unstable/gnump3d/gnump3d.confd deleted file mode 100644 index 1d6cf397..00000000 --- a/unstable/gnump3d/gnump3d.confd +++ /dev/null @@ -1,6 +0,0 @@ -# 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/unstable/gnump3d/gnump3d.initd b/unstable/gnump3d/gnump3d.initd deleted file mode 100644 index 43290ee3..00000000 --- a/unstable/gnump3d/gnump3d.initd +++ /dev/null @@ -1,37 +0,0 @@ -#!/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 $? -} -- cgit v1.2.3 From e092d1df05f32edf17a4c9d5c0aa2050e238ceb5 Mon Sep 17 00:00:00 2001 From: Michael Mason Date: Tue, 13 Oct 2009 21:02:57 +0000 Subject: unstable genshi trac setuptools Initial commit --- unstable/genshi/APKBUILD | 31 +++++++++++++++++++++++++++++++ unstable/setuptools/APKBUILD | 29 +++++++++++++++++++++++++++++ unstable/trac/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 unstable/genshi/APKBUILD create mode 100644 unstable/setuptools/APKBUILD create mode 100644 unstable/trac/APKBUILD (limited to 'unstable') diff --git a/unstable/genshi/APKBUILD b/unstable/genshi/APKBUILD new file mode 100644 index 00000000..65e49239 --- /dev/null +++ b/unstable/genshi/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Michael Mason +# Maintainer: Michael Mason +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/setuptools/APKBUILD b/unstable/setuptools/APKBUILD new file mode 100644 index 00000000..c7c5899b --- /dev/null +++ b/unstable/setuptools/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Michael Mason +# Maintainer: Michael Mason +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 00000000..8292ef9e --- /dev/null +++ b/unstable/trac/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Michael Mason +# Maintainer: Michael Mason +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" -- cgit v1.2.3