Date: Friday, November 19, 2021 @ 12:46:13
  Author: kpcyrd
Revision: 1052772

archrelease: copy trunk to community-x86_64

Added:
  openbsd-netcat/repos/community-x86_64/PKGBUILD
    (from rev 1052771, openbsd-netcat/trunk/PKGBUILD)
Deleted:
  openbsd-netcat/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   75 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2021-11-19 12:45:57 UTC (rev 1052771)
+++ PKGBUILD    2021-11-19 12:46:13 UTC (rev 1052772)
@@ -1,38 +0,0 @@
-# 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
-}

Copied: openbsd-netcat/repos/community-x86_64/PKGBUILD (from rev 1052771, 
openbsd-netcat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-11-19 12:46:13 UTC (rev 1052772)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: Andrej Gelenberg <andrej.gelenb...@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
+}

Reply via email to