[arch-commits] Commit in openbsd-netcat/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at gemini.archlinux.org
Tue Apr 5 19:47:42 UTC 2022
Date: Tuesday, April 5, 2022 @ 19:47:42
Author: kpcyrd
Revision: 1181494
archrelease: copy trunk to community-x86_64
Added:
openbsd-netcat/repos/community-x86_64/PKGBUILD
(from rev 1181493, 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-04-05 19:47:23 UTC (rev 1181493)
+++ PKGBUILD 2022-04-05 19:47:42 UTC (rev 1181494)
@@ -1,37 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
-
-pkgname="openbsd-netcat"
-pkgver=1.218_2
-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=('d10be99f7ebb03c0b0e3ad5d9ba04c6c1aac3d10556b324201cbf4f07736f5101db6e622720b5803dd32a31c6b5d4f12148331ba581789f14072a7fca55cb1eb')
-b2sums=('f0e74a7562223ecf73888adfb6936a2ee0a0851dd047cc98e4a2b77d4aca432ac56f050d6b5c1e675ee26b30eba7ba8e0fa0d7f253b1700a06fea89768bd5776')
-
-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 1181493, openbsd-netcat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-05 19:47:42 UTC (rev 1181494)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
+
+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
+}
More information about the arch-commits
mailing list