aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-29 11:09:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 08:23:21 +0000
commit6d6a38f39ada0d2f2a0b6dc556b8d42bb8d42f09 (patch)
tree83cecd27a3baa0f1fe0516dcbf7a69ace544a2d1
parentbd1b6fbd6613c1151b54037447fe8fe2550c463f (diff)
downloadaports-6d6a38f39ada0d2f2a0b6dc556b8d42bb8d42f09.tar.bz2
aports-6d6a38f39ada0d2f2a0b6dc556b8d42bb8d42f09.tar.xz
main/tcpproxy: update layout
-rw-r--r--main/tcpproxy/APKBUILD27
1 files changed, 18 insertions, 9 deletions
diff --git a/main/tcpproxy/APKBUILD b/main/tcpproxy/APKBUILD
index 4c3e2d88f1..df3396de54 100644
--- a/main/tcpproxy/APKBUILD
+++ b/main/tcpproxy/APKBUILD
@@ -1,27 +1,36 @@
-# Contributor: Michael Mason <ms13sp@gmail.com>
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=tcpproxy
pkgver=2.0.0_beta15
-_realver=2.0.0-beta15
-pkgrel=2
+_pkgver=2.0.0-beta15
+pkgrel=3
pkgdesc="Transparent TCP Proxy"
url="http://www.quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/TcpProxy"
arch="all"
-license="GPL"
+license="GPL2+"
depends=
makedepends="ctags"
install=""
subpackages=""
-source="http://www.quietsche-entchen.de/download/$pkgname-$_realver.tar.gz
+source="http://www.quietsche-entchen.de/download/$pkgname-$_pkgver.tar.gz
tcpproxy.initd"
+_builddir="$srcdir"/$pkgname-$_pkgver
build() {
- cd "$srcdir/$pkgname-$_realver"
-
+ cd "$_builddir"
make || return 1
+}
- install -m755 -D "$pkgname" "$pkgdir"/usr/sbin/"$pkgname"
- install -Dm 755 "$startdir"/$pkgname.initd $pkgdir/etc/init.d/$pkgname
+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
f13fccf076e24df1352dfb884aa7b880 tcpproxy.initd"
+sha256sums="05cce1d5127fc816465a8f7809ee8e6278cec403478179371dd1f85ac8fc86c0 tcpproxy-2.0.0-beta15.tar.gz
+1e3fe1cd844a738efee252dff59b3bc6fb7883c73a48823891770258f96729dd tcpproxy.initd"
+sha512sums="d5b0a8a11a5c90a86d5576d46c81985ba7f5a05b37b9eb1dc84ca1bdca123477e1246860fe2d16aca4a7db2b4ac8bb19bef4fe9a96dd5c6e8fc88ed4d6f50675 tcpproxy-2.0.0-beta15.tar.gz
+9bfcffa557446cc84935574c5e546c4375225577e14f3dee9ac4bbde369bdad5c5d0a0f01f9627184ae62e9155d43271384d4b5d5afd77314a1c80da8a84cb24 tcpproxy.initd"