From 4e7b092898133e358d952c2111f6dc82bd64dbb6 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Wed, 7 Nov 2018 09:54:35 +0000 Subject: main/tcpproxy: move to unmaintained (upstream gone) --- main/tcpproxy/APKBUILD | 36 ------------------------------------ main/tcpproxy/tcpproxy.initd | 14 -------------- unmaintained/tcpproxy/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ unmaintained/tcpproxy/tcpproxy.initd | 14 ++++++++++++++ 4 files changed, 50 insertions(+), 50 deletions(-) delete mode 100644 main/tcpproxy/APKBUILD delete mode 100644 main/tcpproxy/tcpproxy.initd create mode 100644 unmaintained/tcpproxy/APKBUILD create mode 100644 unmaintained/tcpproxy/tcpproxy.initd diff --git a/main/tcpproxy/APKBUILD b/main/tcpproxy/APKBUILD deleted file mode 100644 index 4d1638f18b..0000000000 --- a/main/tcpproxy/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Michael Mason -# Maintainer: Fabian Affolter -pkgname=tcpproxy -pkgver=2.0.0_beta15 -_pkgver=2.0.0-beta15 -pkgrel=4 -pkgdesc="Transparent TCP Proxy" -url="http://www.quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/TcpProxy" -arch="all" -license="GPL-2.0-or-later" -depends= -makedepends="ctags linux-headers" -install="" -subpackages="" -source="http://www.quietsche-entchen.de/download/$pkgname-$_pkgver.tar.gz - tcpproxy.initd" - -_builddir="$srcdir"/$pkgname-$_pkgver -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -m755 -D "$pkgname" "$pkgdir"/usr/sbin/$pkgname || return 1 - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 -} - -md5sums="e946f807049d6296f54aa57b5c17f1c8 tcpproxy-2.0.0-beta15.tar.gz -6896b9e6c52ec58a30123d641f5cfd93 tcpproxy.initd" -sha256sums="05cce1d5127fc816465a8f7809ee8e6278cec403478179371dd1f85ac8fc86c0 tcpproxy-2.0.0-beta15.tar.gz -236457fd1479853ec40c1db2ee2c1b7b742904a76b2df7e79641746076ae6e83 tcpproxy.initd" -sha512sums="d5b0a8a11a5c90a86d5576d46c81985ba7f5a05b37b9eb1dc84ca1bdca123477e1246860fe2d16aca4a7db2b4ac8bb19bef4fe9a96dd5c6e8fc88ed4d6f50675 tcpproxy-2.0.0-beta15.tar.gz -de15102ec839e6ada80143a50b89187ede371de48ae5cfad8511aadbe8737d60121995ecdb0f155214440ac4f727b06885d205e3b31614164f3110ecff000d68 tcpproxy.initd" diff --git a/main/tcpproxy/tcpproxy.initd b/main/tcpproxy/tcpproxy.initd deleted file mode 100644 index b3101c61dc..0000000000 --- a/main/tcpproxy/tcpproxy.initd +++ /dev/null @@ -1,14 +0,0 @@ -#!/sbin/openrc-run - -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 $? -} diff --git a/unmaintained/tcpproxy/APKBUILD b/unmaintained/tcpproxy/APKBUILD new file mode 100644 index 0000000000..4d1638f18b --- /dev/null +++ b/unmaintained/tcpproxy/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Michael Mason +# Maintainer: Fabian Affolter +pkgname=tcpproxy +pkgver=2.0.0_beta15 +_pkgver=2.0.0-beta15 +pkgrel=4 +pkgdesc="Transparent TCP Proxy" +url="http://www.quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/TcpProxy" +arch="all" +license="GPL-2.0-or-later" +depends= +makedepends="ctags linux-headers" +install="" +subpackages="" +source="http://www.quietsche-entchen.de/download/$pkgname-$_pkgver.tar.gz + tcpproxy.initd" + +_builddir="$srcdir"/$pkgname-$_pkgver +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + install -m755 -D "$pkgname" "$pkgdir"/usr/sbin/$pkgname || return 1 + install -m755 -D "$srcdir"/$pkgname.initd \ + "$pkgdir"/etc/init.d/$pkgname || return 1 +} + +md5sums="e946f807049d6296f54aa57b5c17f1c8 tcpproxy-2.0.0-beta15.tar.gz +6896b9e6c52ec58a30123d641f5cfd93 tcpproxy.initd" +sha256sums="05cce1d5127fc816465a8f7809ee8e6278cec403478179371dd1f85ac8fc86c0 tcpproxy-2.0.0-beta15.tar.gz +236457fd1479853ec40c1db2ee2c1b7b742904a76b2df7e79641746076ae6e83 tcpproxy.initd" +sha512sums="d5b0a8a11a5c90a86d5576d46c81985ba7f5a05b37b9eb1dc84ca1bdca123477e1246860fe2d16aca4a7db2b4ac8bb19bef4fe9a96dd5c6e8fc88ed4d6f50675 tcpproxy-2.0.0-beta15.tar.gz +de15102ec839e6ada80143a50b89187ede371de48ae5cfad8511aadbe8737d60121995ecdb0f155214440ac4f727b06885d205e3b31614164f3110ecff000d68 tcpproxy.initd" diff --git a/unmaintained/tcpproxy/tcpproxy.initd b/unmaintained/tcpproxy/tcpproxy.initd new file mode 100644 index 0000000000..b3101c61dc --- /dev/null +++ b/unmaintained/tcpproxy/tcpproxy.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run + +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 $? +} -- cgit v1.2.3