[arch-commits] Commit in openbsd-netcat/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Wed Apr 24 20:15:39 UTC 2019


    Date: Wednesday, April 24, 2019 @ 20:15:38
  Author: jelle
Revision: 453437

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-24 20:15:25 UTC (rev 453436)
+++ PKGBUILD	2019-04-24 20:15:38 UTC (rev 453437)
@@ -1,38 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
-
-pkgname="openbsd-netcat"
-pkgver=1.190_2
-pkgrel=1
-pkgdesc="TCP/IP swiss army knife. OpenBSD variant."
-arch=('x86_64')
-url="http://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=('32310813391f63b8283dc4a63e52821e464ecbfcd0ea995e8e15047c6252a86b31eb4725dc69b778594c43d6ce0cc081aa0f00d7cda0587c91941f20b93a33fe'
-            'c33510ad6761627e0b7e564747f6ae82c7569157bdc91f6a282a97b038b2b0917c27fdfba137462c7c34d84fcfdfe8b6393204884d153e3d200a86f5c6657a9a')
-
-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 453436, openbsd-netcat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-24 20:15:38 UTC (rev 453437)
@@ -0,0 +1,38 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
+
+pkgname="openbsd-netcat"
+pkgver=1.195_2
+pkgrel=1
+pkgdesc="TCP/IP swiss army knife. OpenBSD variant."
+arch=('x86_64')
+url="http://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=('ea95cda028f2759835ea8832db0174c178b002d5a917f4c51594445a5377a30d6114ac261071eea98d3d0b60ae1ec72102609db1625dbc5a6e57c67e28d2ff51'
+            '2a5cc6d04112fdde007be4b9adb3aee44060570c0cb2ae0e33e54af3d37c0b2ff4d6c96edf1f16047365106c7c3720195b38417af3c332226c9be81d49caa552')
+
+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
+}


More information about the arch-commits mailing list