diff options
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/jabberd14/APKBUILD | 32 | ||||
-rw-r--r-- | unmaintained/jabberd14/jabberd14.initd | 29 | ||||
-rw-r--r-- | unmaintained/liblockfile/APKBUILD | 32 | ||||
-rw-r--r-- | unmaintained/mailutils/APKBUILD | 29 | ||||
-rw-r--r-- | unmaintained/mailx-support/APKBUILD | 29 | ||||
-rw-r--r-- | unmaintained/mailx-support/mailx-support-ldflags.patch | 15 | ||||
-rw-r--r-- | unmaintained/ucsniff/APKBUILD | 27 | ||||
-rw-r--r-- | unmaintained/wzdftpd-svn/APKBUILD | 46 | ||||
-rw-r--r-- | unmaintained/wzdftpd-svn/wzdftpd-svn.initd | 32 | ||||
-rw-r--r-- | unmaintained/xbmc/APKBUILD | 76 |
10 files changed, 347 insertions, 0 deletions
diff --git a/unmaintained/jabberd14/APKBUILD b/unmaintained/jabberd14/APKBUILD new file mode 100644 index 0000000000..a9b7f7f505 --- /dev/null +++ b/unmaintained/jabberd14/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +pkgname=jabberd14 +pkgver=1.6.1.1 +pkgrel=2 +pkgdesc="Jabber server or XMPP" +url="http://jabberd.org/" +license="GPL" +depends= +makedepends="automake pkgconfig gnutls-dev libidn-dev libtool + popt-dev pth-dev expat-dev libgcrypt-dev" +install= +subpackages="$pkgname-doc $pkgname-dev" +source="http://download.jabberd.org/jabberd14/$pkgname-$pkgver.tar.gz + jabberd14.initd" + +build() { + cd "$srcdir/$pkgname-$pkgver" + export CXX=${CXX_UC:-g++-uc} + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make -j1 || return 1 + make -j1 DESTDIR="$pkgdir" install + + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + +} + +md5sums="597c7ee14518ba22b1cee883b4737d87 jabberd14-1.6.1.1.tar.gz +aa6ec7b00e05aedcc1db49da0029242b jabberd14.initd" diff --git a/unmaintained/jabberd14/jabberd14.initd b/unmaintained/jabberd14/jabberd14.initd new file mode 100644 index 0000000000..6c1b7126fc --- /dev/null +++ b/unmaintained/jabberd14/jabberd14.initd @@ -0,0 +1,29 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/net-im/jabberd/files/jabberd-1.6.1.1.init,v 1.1 2008/06/18 12:24:56 nelchael Exp $ + +depend() { + need net + after firewall + provide jabber-server + +} + +start() { + + ebegin "Starting Jabber Server" + start-stop-daemon --start \ + -c jabber:jabber \ + -x /usr/bin/jabberd -- -B -c /etc/jabber/jabberd.xml + eend $? + +} + +stop() { + + ebegin "Stopping Jabber Server" + start-stop-daemon --stop -x /usr/bin/jabberd + eend $? + +} diff --git a/unmaintained/liblockfile/APKBUILD b/unmaintained/liblockfile/APKBUILD new file mode 100644 index 0000000000..8d89af8478 --- /dev/null +++ b/unmaintained/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/unmaintained/mailutils/APKBUILD b/unmaintained/mailutils/APKBUILD new file mode 100644 index 0000000000..220214f114 --- /dev/null +++ b/unmaintained/mailutils/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +# Maintainer: Michael Mason <ms13sp@gmail.com> +pkgname=mailutils +pkgver=2.0 +pkgrel=0 +pkgdesc="A useful collection of mail servers, clients, and filters." +url="http://www.gnu.org/software/mailutils/mailutils.html" +license="GPL" +depends="" +makedepends="" +install= +subpackages="$pkgname-doc $pkgname-dev" +source="http://ftp.gnu.org/gnu/mailutils/$pkgname-$pkgver.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 + + # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="299ae73c1c0143de94d7486bf7f479a4 mailutils-2.0.tar.bz2" diff --git a/unmaintained/mailx-support/APKBUILD b/unmaintained/mailx-support/APKBUILD new file mode 100644 index 0000000000..503f203067 --- /dev/null +++ b/unmaintained/mailx-support/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +# Maintainer: Michael Mason <ms13sp@gmail.com> +pkgname=mailx-support +pkgver=20060102 +pkgrel=0 +pkgdesc="Provides lockspool utility" +url="http://www.openbsd.org" +license="BSD" +depends="" +makedepends="" +install= +subpackages="$pkgname-doc" +source="http://gentoo.osuosl.org/distfiles/$pkgname-$pkgver.tar.bz2 + mailx-support-ldflags.patch" + +build() { + cd "$srcdir"/$pkgname-$pkgver + for i in ../*.patch; do + msg "Appling $i..." + patch -p1 < $i || return 1 + done + + make || return 1 + 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 +32a98aee973db8860f1f53a9297b8dd9 mailx-support-ldflags.patch" diff --git a/unmaintained/mailx-support/mailx-support-ldflags.patch b/unmaintained/mailx-support/mailx-support-ldflags.patch new file mode 100644 index 0000000000..97c5b60047 --- /dev/null +++ b/unmaintained/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/unmaintained/ucsniff/APKBUILD b/unmaintained/ucsniff/APKBUILD new file mode 100644 index 0000000000..5ce323ba7f --- /dev/null +++ b/unmaintained/ucsniff/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Mika Havela <mika.havela@gmail.com> +pkgname=ucsniff +pkgver=1.0.0 +pkgrel=0 +pkgdesc="VoIP Security Assessment tool" +url="http://ucsniff.sourceforge.net" +license="GPLv3" +depends="libpcap libnet zlib alsa-lib libltdl" +makedepends="libpcap-dev libnet-dev zlib-dev" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --disable-gtk \ + --disable-nls \ + --without-iconv || return 1 + + make || return 1 + make DESTDIR="$pkgdir" install +} + +md5sums="64f12c353744dcf6c8710b4704cadfbe ucsniff-1.0.0.tar.gz" diff --git a/unmaintained/wzdftpd-svn/APKBUILD b/unmaintained/wzdftpd-svn/APKBUILD new file mode 100644 index 0000000000..b9b4626564 --- /dev/null +++ b/unmaintained/wzdftpd-svn/APKBUILD @@ -0,0 +1,46 @@ +# This is an example APKBUILD file. Use this as a start to creating your own, +# and remove these comments. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Contributor: Your Name <youremail@domain.com> +pkgname=wzdftpd-svn +pkgver=2040 +pkgrel=2 +pkgdesc="A portable, modular, small, and efficient FTP server" +url="http://www.wzdftpd.net" +license='GPL' +depends= +makedepends="cmake mysql-dev sqlite-dev tcl-dev openssl-dev flex" +source="http://alpine.nethq.org/clandmeter/src/wzdftpd-svn2040.tar.gz +wzdftpd-svn.initd" +subpackages="$pkgname-doc" + +build() { + mkdir "$srcdir/${pkgname}" + mv "$srcdir/wzdftpd-src" "$srcdir/${pkgname}/" + cd "$srcdir/${pkgname}/" + cmake \ + -D CMAKE_INSTALL_PREFIX:PATH=/usr \ + -D WITH_DUPECHECK:BOOL=ON \ + -D WITH_SFV:BOOL=ON \ + -D BUILD_TESTING:BOOL=OFF \ + -D WITH_Zeroconf:BOOL=ON \ + -D TCL_LIBRARY:FILEPATH=/usr/lib/libtcl8.5.so \ + -D WITH_PAM:BOOL=OFF \ + -D WITH_PerlDev:BOOL=OFF \ + -D CONF_INSTALL_PATH:PATH=/etc/wzdftpd \ + ./wzdftpd-src || return 1 + make || return 1 + make DESTDIR="$pkgdir/" install + mv $pkgdir/usr/var $pkgdir/ + sed -i -e 's|usr/var|var|' \ + -e 's|usr/etc|etc|' \ + -e 's|usr//etc|etc|' \ + -e 's|#pid_file|pid_file|' \ + $pkgdir/etc/wzdftpd/wzd.cfg.sample + install -Dm 755 "$startdir"/$pkgname.initd $pkgdir/etc/init.d/wzdftpd +} + +md5sums="4bdb2fcaa4ca316261e9f77380818769 wzdftpd-svn2040.tar.gz +ae2b7497cc7729bfaf346ba0d3b607d2 wzdftpd-svn.initd" diff --git a/unmaintained/wzdftpd-svn/wzdftpd-svn.initd b/unmaintained/wzdftpd-svn/wzdftpd-svn.initd new file mode 100644 index 0000000000..25f4da6f47 --- /dev/null +++ b/unmaintained/wzdftpd-svn/wzdftpd-svn.initd @@ -0,0 +1,32 @@ +#!/sbin/runscript + +depend() { + need net + after firewall + use dns +} + +checkconfig() { + if [ ! -f /etc/wzdftpd/wzd.cfg ] ; then + eerror "No /etc/wzdftpd/wzd.cnf file exists!" + return 1 + fi + if [ ! -d /var/run/wzdftpd ] ; then + install -dD -o ftp -g ftp /var/run/wzdftpd + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting wzdftpd" + /usr/sbin/wzdftpd >/dev/null 2>&1 & + eend $? +} + +stop () { + ebegin "Stopping wzdftpd" + start-stop-daemon --stop --quiet \ + --pidfile=/var/run/wzdftpd/wzdftpd.pid --retry 20 + eend $? +} + diff --git a/unmaintained/xbmc/APKBUILD b/unmaintained/xbmc/APKBUILD new file mode 100644 index 0000000000..8edcf46e9c --- /dev/null +++ b/unmaintained/xbmc/APKBUILD @@ -0,0 +1,76 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: +pkgname=xbmc +pkgver=10.1 +pkgrel=0 +pkgdesc="A cross-platform Media Center" +url="http://xbmc.org" +arch="all" +license="Custom GPL" +depends= +depends_dev="alsa-lib-dev autoconf automake boost-dev bzip2-dev cmake curl-dev + dbus-dev enca-dev faac-dev faad2-dev flac-dev fontconfig-dev fribidi-dev + glew-dev jasper-dev jpeg-dev libcdio-dev libiconv-dev libogg-dev + libmad-dev libmms-dev libmodplug-dev libmpeg2-dev libpng-dev + libsamplerate-dev libssh-dev libvdpau libvorbis-dev libxinerama-dev + libxmu-dev libxrandr-dev libxt-dev libxtst-dev lzo-dev mesa-dev mysql-dev + pcre-dev samba-dev sdl-dev sdl_image-dev sdl_mixer-dev sqlite-dev + tiff-dev wavpack-dev" +makedepends="$depends_dev" +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://mirrors.xbmc.org/releases/source/$pkgname-$pkgver.tar.gz + xbmc-10.1-gcc-4.6.patch + xbmc-10.0-python-2.7.patch + " + + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + + find xbmc/cores/dvdplayer/Codecs -name Makefile.in \ + -exec sed -i 's: --soname,: -Wl,--soname,:' {} \; || return 1 +} + +build() { + cd "$_builddir" + unset LDFLAGS; LDFLAGS="-Wl,--hash-style=gnu" + ./bootstrap + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-vdpau \ + --disable-openmax \ + --disable-joystick \ + --disable-hal \ + --disable-avahi \ + --enable-external-libraries \ + --disable-external-liba52 \ + --disable-external-libdts \ + --disable-external-ffmpeg \ + --enable-external-python \ + --disable-non-free \ + --disable-webserver \ + --disable-debug + + make || return 1 + make -C lib/addons/script.module.pil || return 1 + make -C lib/addons/script.module.pysqlite || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="391398126cb86a4f6fbd0b7037997d84 xbmc-10.1.tar.gz +d88b854d6f356a74d7658cd1f74a4695 xbmc-10.1-gcc-4.6.patch +62d46c8b44e4e5313a10922209cb14f8 xbmc-10.0-python-2.7.patch" |