diff options
author | Michael Mason <ms13sp@gmail.com> | 2009-03-10 20:37:00 +0000 |
---|---|---|
committer | Michael Mason <ms13sp@gmail.com> | 2009-03-10 20:37:00 +0000 |
commit | 8279802efddeaad8939fce9b0f92296bab912bc4 (patch) | |
tree | 4600bb5fb878a4a45f3d274fadcd15aeb1b6ea52 | |
parent | af501c435be20a086fb7e2eca80c9825e312d3cf (diff) | |
download | aports-8279802efddeaad8939fce9b0f92296bab912bc4.tar.bz2 aports-8279802efddeaad8939fce9b0f92296bab912bc4.tar.xz |
testing/tcpproxy
testing/ctags
Adding needed package tcpproxy
ctags needed to build tcpproxy
-rw-r--r-- | testing/ctags/APKBUILD | 26 | ||||
-rw-r--r-- | testing/tcpproxy/APKBUILD | 25 | ||||
-rw-r--r-- | testing/tcpproxy/tcpproxy.initd | 14 |
3 files changed, 65 insertions, 0 deletions
diff --git a/testing/ctags/APKBUILD b/testing/ctags/APKBUILD new file mode 100644 index 0000000000..0d45e287c3 --- /dev/null +++ b/testing/ctags/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +pkgname=ctags +pkgver=5.7 +pkgrel=0 +pkgdesc="Generator of tags for all types of C/C++ languages" +url="http://ctags.sourceforge.net/" +license="GPL" +depends="uclibc" +makedepends="" +install= +subpackages="" +source="http://prdownloads.sourceforge.net/ctags/$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 + + install -m755 -D $pkgname "$pkgdir"/usr/bin/$pkgname +} + +md5sums="643cab63b39c8a24377dc4c781547d40 ctags-5.7.tar.gz" diff --git a/testing/tcpproxy/APKBUILD b/testing/tcpproxy/APKBUILD new file mode 100644 index 0000000000..fb7d1226d7 --- /dev/null +++ b/testing/tcpproxy/APKBUILD @@ -0,0 +1,25 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +pkgname=tcpproxy +pkgver=2.0.0-beta15 +pkgrel=0 +pkgdesc="Transparent TCP Proxy" +url="http://www.quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/TcpProxy" +license="GPL" +depends="uclibc" +makedepends="ctags" +install="" +subpackages="" +source="http://www.quietsche-entchen.de/download/$pkgname-$pkgver.tar.gz + tcpproxy.initd" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + make || return 1 + + install -m755 -D "$pkgname" "$pkgdir"/usr/sbin/"$pkgname" + install -Dm 755 "$startdir"/$pkgname.initd $pkgdir/etc/init.d/$pkgname +} + +md5sums="e946f807049d6296f54aa57b5c17f1c8 tcpproxy-2.0.0-beta15.tar.gz +f13fccf076e24df1352dfb884aa7b880 tcpproxy.initd" diff --git a/testing/tcpproxy/tcpproxy.initd b/testing/tcpproxy/tcpproxy.initd new file mode 100644 index 0000000000..a7fd4292db --- /dev/null +++ b/testing/tcpproxy/tcpproxy.initd @@ -0,0 +1,14 @@ +#!/sbin/runscript + +DAEMON=/usr/sbin/tcpproxy +start() { + ebegin "Starting tcpproxy" + start-stop-daemon -S -x $DAEMON -- $TCPPROXY_OPTS + eend $? +} + +stop() { + ebegin "Stopping tcpproxy" + start-stop-daemon -K -x $DAEMON + eend $? +} |