Date: Thursday, August 20, 2020 @ 22:06:14 Author: kpcyrd Revision: 685720
archrelease: copy trunk to community-x86_64 Added: openbsd-netcat/repos/community-x86_64/PKGBUILD (from rev 685719, openbsd-netcat/trunk/PKGBUILD) Deleted: openbsd-netcat/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-20 22:06:00 UTC (rev 685719) +++ PKGBUILD 2020-08-20 22:06:14 UTC (rev 685720) @@ -1,38 +0,0 @@ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Andrej Gelenberg <andrej.gelenb...@udo.edu> - -pkgname="openbsd-netcat" -pkgver=1.206_1 -pkgrel=1 -pkgdesc="TCP/IP swiss army knife. OpenBSD variant." -arch=('x86_64') -url="https://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.xz") -sha512sums=('998979075ccd75f9ccb027b3dd067f07a5f5d4ad3f11736434f66d1cd3741a89c3aa134daf101c11fe39a87d7733aa6d2fbd88b5370d44528f1e4dba546d1235' - 'e75626143f72700f4857470f8cf673b86f9e4331be71492f7f428e8783b49ce323566666659735e7a28a2311e69566034a5413d75ff34d5d3a3361b1a0aca1d4') - -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 -} Copied: openbsd-netcat/repos/community-x86_64/PKGBUILD (from rev 685719, openbsd-netcat/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-20 22:06:14 UTC (rev 685720) @@ -0,0 +1,38 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Andrej Gelenberg <andrej.gelenb...@udo.edu> + +pkgname="openbsd-netcat" +pkgver=1.217_2 +pkgrel=1 +pkgdesc="TCP/IP swiss army knife. OpenBSD variant." +arch=('x86_64') +url="https://packages.debian.org/sid/netcat-openbsd" +license=('BSD') +depends=('libbsd') +makedepends=('gcc' 'make') +provides=('netcat') +conflicts=('gnu-netcat') +source=("https://deb.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${pkgver%_*}.orig.tar.gz" + "https://deb.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${pkgver/_/-}.debian.tar.xz") +sha512sums=('99da59fa1d9b6e991531b45c0291ef43b064f2d54184cde8a2f508562d015b37cfc69391a4b0562b89b40dfe7307e8d38f48a63bb293af3b8f705848c689dd17' + '4dcd95dddd77598a37fe7f4450be6d332058cd787d64454db347bfcfe8f2f809b22884df46925f96d020f8fbe6b411c3d6a19d7cd6e3903b15438ad7928f657a') + +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 +}