summaryrefslogtreecommitdiff
path: root/community/openbsd-netcat
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/openbsd-netcat
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/openbsd-netcat')
-rw-r--r--community/openbsd-netcat/PKGBUILD39
1 files changed, 0 insertions, 39 deletions
diff --git a/community/openbsd-netcat/PKGBUILD b/community/openbsd-netcat/PKGBUILD
deleted file mode 100644
index ffc02fc9b..000000000
--- a/community/openbsd-netcat/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 86494 2013-03-18 11:55:20Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
-
-pkgname="openbsd-netcat"
-pkgver=1.105_7
-pkgrel=6
-pkgdesc="TCP/IP swiss army knife. OpenBSD variant."
-arch=('i686' 'x86_64')
-url="http://packages.debian.org/sid/netcat-openbsd"
-license=('BSD')
-depends=('libbsd')
-makedepends=('gcc' 'make')
-provides=('netcat')
-conflicts=('gnu-netcat')
-source=("http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${pkgver%_*}.orig.tar.gz"
- "http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${pkgver/_/-}.debian.tar.gz")
-md5sums=('7e67b22f1ad41a1b7effbb59ff28fca1'
- 'e914f8eb7eda5c75c679dd77787ac76b')
-
-build() {
- cd $srcdir/netcat-openbsd-${pkgver%_*}
- for i in `cat ../debian/patches/series`; do
- echo "** patch $i" 1>&2
- cat "../debian/patches/$i"
- done | patch -p1
- make \
- CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${pkgrel}\\\"\" -I/usr/include/libbsd" \
- LDFLAGS="$LDFLAGS -lbsd"
-}
-
-package() {
- cd $srcdir/netcat-openbsd-${pkgver%_*}
- install -Dm0755 nc $pkgdir/usr/bin/nc
- ln -s nc $pkgdir/usr/bin/netcat
- install -Dm0644 nc.1 $pkgdir/usr/share/man/man1/nc.1
- install -dm0755 $pkgdir/usr/share/licenses/$pkgname/
- head -n28 netcat.c | tail -n+2 >$pkgdir/usr/share/licenses/$pkgname/LICENSE
-}