aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/ucspi-tcp/APKBUILD46
-rw-r--r--testing/ucspi-tcp/ucspi-tcp-0.88.a_record.patch (renamed from unmaintained/ucspi-tcp/ucspi-tcp-0.88.a_record.patch)0
-rw-r--r--testing/ucspi-tcp/ucspi-tcp-0.88.errno.patch (renamed from unmaintained/ucspi-tcp/ucspi-tcp-0.88.errno.patch)0
-rw-r--r--unmaintained/ucspi-tcp/APKBUILD50
4 files changed, 46 insertions, 50 deletions
diff --git a/testing/ucspi-tcp/APKBUILD b/testing/ucspi-tcp/APKBUILD
new file mode 100644
index 0000000000..ce8a751831
--- /dev/null
+++ b/testing/ucspi-tcp/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Johannes Findeisen <you@hanez.org>
+
+pkgname=ucspi-tcp
+pkgver=0.88
+pkgrel=0
+pkgdesc="Easy-to-use command-line tools for building TCP client-server applications."
+url="http://cr.yp.to/ucspi-tcp.html"
+arch="all"
+license="public-domain"
+depends=""
+makedepends=""
+source="http://cr.yp.to/$pkgname/$pkgname-$pkgver.tar.gz
+ ucspi-tcp-0.88.a_record.patch
+ ucspi-tcp-0.88.errno.patch
+ "
+
+builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ echo "${CC:-"gcc"} ${CFLAGS}" > conf-cc
+ echo "${CC:-"gcc"} ${LDFLAGS}" > conf-ld
+ echo "/usr" > conf-home
+ make || return 1
+}
+
+package() {
+ local f
+ cd "$builddir"
+ mkdir -p "$pkgdir"/usr/bin
+ for f in tcpserver tcprules tcprulescheck argv0 recordio tcpclient \
+ *\@ tcpcat mconnect mconnect-io addcr delcr fixcrio rblsmtpd; do
+ cp $f "$pkgdir"/usr/bin/$f
+ done
+}
+
+md5sums="39b619147db54687c4a583a7a94c9163 ucspi-tcp-0.88.tar.gz
+554ec0eb60f619667efde3fb5325310d ucspi-tcp-0.88.a_record.patch
+759a11fafff188d9580be6498a028095 ucspi-tcp-0.88.errno.patch"
+sha256sums="4a0615cab74886f5b4f7e8fd32933a07b955536a3476d74ea087a3ea66a23e9c ucspi-tcp-0.88.tar.gz
+5101354eb86d8e11edefd7b83df4e9c274a55b845f4cb2ce36dda912aced56f4 ucspi-tcp-0.88.a_record.patch
+3a4c0d8770c5716f749450a12b678b2282a06e43360478ce9c1d25bd3890e816 ucspi-tcp-0.88.errno.patch"
+sha512sums="44efbd477dacf31d39fc970e2d2f74526dc815b905742f6127f0d5c80928ecc7e743089eaab0492386a58d5b97905113fbe8bbc7214ae179b7be27966b7566c7 ucspi-tcp-0.88.tar.gz
+643514c57570fc0b4e817b07e6d26e831cec5b4657c3d1b9948bd90267fe370a340b911897d575eb94192e24ba71a03ac68ceb2774ef7c0e7ff819c5b4285bc3 ucspi-tcp-0.88.a_record.patch
+86b58807e5d2dcd4ab15a4c0f62baaa0988aa4c6b49b522fa1721da5dcab32b1ceb9bde6c07b2a7340471ed5932af5a9c160e345805626b16fd9b1bad55be0eb ucspi-tcp-0.88.errno.patch"
diff --git a/unmaintained/ucspi-tcp/ucspi-tcp-0.88.a_record.patch b/testing/ucspi-tcp/ucspi-tcp-0.88.a_record.patch
index 903125eaae..903125eaae 100644
--- a/unmaintained/ucspi-tcp/ucspi-tcp-0.88.a_record.patch
+++ b/testing/ucspi-tcp/ucspi-tcp-0.88.a_record.patch
diff --git a/unmaintained/ucspi-tcp/ucspi-tcp-0.88.errno.patch b/testing/ucspi-tcp/ucspi-tcp-0.88.errno.patch
index 7654c783a6..7654c783a6 100644
--- a/unmaintained/ucspi-tcp/ucspi-tcp-0.88.errno.patch
+++ b/testing/ucspi-tcp/ucspi-tcp-0.88.errno.patch
diff --git a/unmaintained/ucspi-tcp/APKBUILD b/unmaintained/ucspi-tcp/APKBUILD
deleted file mode 100644
index 98e84685a6..0000000000
--- a/unmaintained/ucspi-tcp/APKBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer: Francesco Colista <francesco.colista@gmail.com>
-
-pkgname=ucspi-tcp
-pkgver=0.88
-pkgrel=1
-pkgdesc="Easy-to-use command-line tools for building TCP client-server applications."
-url="http://cr.yp.to/ucspi-tcp.html"
-arch="all"
-license="public-domain"
-depends=""
-makedepends=""
-install=
-subpackages=""
-source="http://cr.yp.to/$pkgname/$pkgname-$pkgver.tar.gz
- ucspi-tcp-0.88.a_record.patch
- ucspi-tcp-0.88.errno.patch
- "
-
-prepare() {
- cd "$srcdir"/$pkgname-$pkgver
- for i in ../*.patch;
- do
- msg "Applying $i"
- patch -p1 -i $i || return 1
- done
-}
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver
- echo "${CC:-"gcc"} ${CFLAGS}" > conf-cc
- echo "${CC:-"gcc"} ${LDFLAGS}" > conf-ld
- echo "/usr" > conf-home
- make || return 1
-}
-
-package() {
- local f
- cd "$srcdir"/$pkgname-$pkgver
- mkdir -p "$pkgdir"/usr/bin
- for f in tcpserver tcprules tcprulescheck argv0 recordio tcpclient \
- *\@ tcpcat mconnect mconnect-io addcr delcr fixcrio \
- rblsmtpd; do
- cp $f "$pkgdir"/usr/bin/$f
- done
-}
-
-md5sums="39b619147db54687c4a583a7a94c9163 ucspi-tcp-0.88.tar.gz
-554ec0eb60f619667efde3fb5325310d ucspi-tcp-0.88.a_record.patch
-759a11fafff188d9580be6498a028095 ucspi-tcp-0.88.errno.patch"