Date: Wednesday, November 9, 2022 @ 17:55:08
Author: kpcyrd
Revision: 1346247
archrelease: copy trunk to community-x86_64
Added:
openbsd-netcat/repos/community-x86_64/PKGBUILD
(from rev 1346246, openbsd-netcat/trunk/PKGBUILD)
Deleted:
openbsd-netcat/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-09 17:54:49 UTC (rev 1346246)
+++ PKGBUILD 2022-11-09 17:55:08 UTC (rev 1346247)
@@ -1,37 +0,0 @@
-# Maintainer: Sergej Pupykin <[email protected]>
-# Contributor: Andrej Gelenberg <[email protected]>
-
-pkgname="openbsd-netcat"
-pkgver=1.218_5
-pkgrel=1
-pkgdesc="TCP/IP swiss army knife. OpenBSD variant."
-arch=('x86_64')
-url="https://salsa.debian.org/debian/netcat-openbsd"
-license=('BSD')
-depends=('libbsd')
-makedepends=('gcc' 'make')
-provides=('netcat')
-conflicts=('gnu-netcat')
-source=("https://salsa.debian.org/debian/netcat-openbsd/-/archive/debian/${pkgver/_/-}/netcat-openbsd-debian-${pkgver/_/-}.tar.gz")
-sha512sums=('c6dd057fbd6bff4a98c75f11a83ea330593c80f0ff796187eee2c32b4fd451a743372d144043a33bb59e8077cd50f5ed69dba3a487203c024771d8658ab2db5b')
-b2sums=('457ae2dd3bb0da31cd7fc94b7f4c00cf1021b6d9237ad3ea24437fdad1d4f6bd97f292d7915c0eccc6e905ac5c7270d1917f2ef547996a8930560a78589be2a3')
-
-build() {
- cd netcat-openbsd-debian-${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 netcat-openbsd-debian-${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 1346246,
openbsd-netcat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-09 17:55:08 UTC (rev 1346247)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin <[email protected]>
+# Contributor: Andrej Gelenberg <[email protected]>
+
+pkgname="openbsd-netcat"
+pkgver=1.219_1
+pkgrel=1
+pkgdesc="TCP/IP swiss army knife. OpenBSD variant."
+arch=('x86_64')
+url="https://salsa.debian.org/debian/netcat-openbsd"
+license=('BSD')
+depends=('libbsd')
+makedepends=('gcc' 'make')
+provides=('netcat')
+conflicts=('gnu-netcat')
+source=("https://salsa.debian.org/debian/netcat-openbsd/-/archive/debian/${pkgver/_/-}/netcat-openbsd-debian-${pkgver/_/-}.tar.gz")
+sha512sums=('5b9911d8cc97840350ed3cc6e1d831f498718e5c4699454c90fc43d24168f55cb105b37b953b03b6d1fee7f14cc685bca6446f3564d1f6fc44aa85abdc6cf71f')
+b2sums=('ef42d22d6615ef8086f0ddc459c84f3d45820c46806ba5dbabdc51f890eddda621715e8d4e07a54aa3d7f928ff44169037f46366ce751a445ee67dac212704e2')
+
+build() {
+ cd netcat-openbsd-debian-${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 netcat-openbsd-debian-${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
+}