[arch-commits] Commit in openbsd-netcat/trunk (PKGBUILD)

Kpcyrd kpcyrd at gemini.archlinux.org
Fri Nov 19 12:45:58 UTC 2021


    Date: Friday, November 19, 2021 @ 12:45:57
  Author: kpcyrd
Revision: 1052771

upgpkg: openbsd-netcat 1.218_2-1

Modified:
  openbsd-netcat/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-19 12:33:47 UTC (rev 1052770)
+++ PKGBUILD	2021-11-19 12:45:57 UTC (rev 1052771)
@@ -2,26 +2,25 @@
 # Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
 
 pkgname="openbsd-netcat"
-pkgver=1.217_2
+pkgver=1.218_2
 pkgrel=1
 pkgdesc="TCP/IP swiss army knife. OpenBSD variant."
 arch=('x86_64')
-url="https://packages.debian.org/sid/netcat-openbsd"
+url="https://salsa.debian.org/debian/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')
+source=("https://salsa.debian.org/debian/netcat-openbsd/-/archive/debian/${pkgver/_/-}/netcat-openbsd-debian-${pkgver/_/-}.tar.gz")
+sha512sums=('d10be99f7ebb03c0b0e3ad5d9ba04c6c1aac3d10556b324201cbf4f07736f5101db6e622720b5803dd32a31c6b5d4f12148331ba581789f14072a7fca55cb1eb')
+b2sums=('f0e74a7562223ecf73888adfb6936a2ee0a0851dd047cc98e4a2b77d4aca432ac56f050d6b5c1e675ee26b30eba7ba8e0fa0d7f253b1700a06fea89768bd5776')
 
 build() {
-  cd "$srcdir"/netcat-openbsd-${pkgver%_*}
-  for i in `cat ../debian/patches/series`; do
+  cd netcat-openbsd-debian-${pkgver/_/-}
+  for i in `cat debian/patches/series`; do
 	echo "** patch $i" 1>&2
-	cat "../debian/patches/$i"
+	cat "debian/patches/$i"
   done | patch -p1
   make \
 	CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${pkgrel}\\\"\" -I/usr/include/libbsd" \
@@ -29,7 +28,7 @@
 }
 
 package() {
-  cd "$srcdir"/netcat-openbsd-${pkgver%_*}
+  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



More information about the arch-commits mailing list