Commit 8279802e authored by Michael Mason's avatar Michael Mason

testing/tcpproxy

testing/ctags
Adding needed package tcpproxy
ctags needed to build tcpproxy
parent af501c43
# 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"
# 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"
#!/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 $?
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment