[arch-commits] Commit in tcp-wrappers/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Sat Aug 17 16:28:10 UTC 2019


    Date: Saturday, August 17, 2019 @ 16:28:10
  Author: alucryd
Revision: 500007

upgpkg: tcp-wrappers 7.6.28-1

Modified:
  tcp-wrappers/trunk/PKGBUILD

----------+
 PKGBUILD |   56 +++++++++++++++++++++++++++++++-------------------------
 1 file changed, 31 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-17 16:21:51 UTC (rev 500006)
+++ PKGBUILD	2019-08-17 16:28:10 UTC (rev 500007)
@@ -5,24 +5,29 @@
 # Contributor: judd <jvinet at zeroflux.org>
 
 pkgbase=tcp-wrappers
-pkgname=('libwrap' 'tcp-wrappers')
-pkgver=7.6.24
-pkgrel=4
+pkgname=(
+  libwrap
+  tcp-wrappers
+)
+pkgver=7.6.28
+pkgrel=1
 pkgdesc='Monitors and Controls incoming TCP connections'
-arch=('x86_64')
-url='ftp://ftp.porcupine.org/pub/security/index.html'
-license=('BSD')
-depends=('glibc' 'libnsl')
-options=('!makeflags')
-source=("ftp://ftp.porcupine.org/pub/security/tcp_wrappers_${pkgver%.*}.tar.gz"
-        "http://http.debian.net/debian/pool/main/t/tcp-wrappers/tcp-wrappers_${pkgver%.*}.q-${pkgver##*.}.debian.tar.xz"
-        'tcp-wrappers-headers.patch'
-        'tcp-wrappers-redhat-bug11881.patch'
-        'hosts.allow'
-        'hosts.deny')
+arch=(x86_64)
+url=ftp://ftp.porcupine.org/pub/security/index.html
+license=(BSD)
+depends=(
+  glibc
+  libnsl
+)
+source=(
+  ftp://ftp.porcupine.org/pub/security/tcp_wrappers_${pkgver%.*}.tar.gz
+  http://http.debian.net/debian/pool/main/t/tcp-wrappers/tcp-wrappers_${pkgver%.*}.q-${pkgver##*.}.debian.tar.xz
+  tcp-wrappers-redhat-bug11881.patch
+  hosts.allow
+  hosts.deny
+)
 sha256sums=('9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d'
-            '672ad0d3f70579815cd8f15c29054c49f6fd9902863be42cc2452a9ecbe8eacd'
-            'caf0719fdac5c0c8874420af63bddf3b970c40d464f0553a9822a53d372854d8'
+            '9e878177878b7796ab9e8cb4abb094bf66b3d37e0e1af3cee3e24afde4b1e11f'
             '2e527e54c1ea208de10a206c667f751e54651eb77c973271d213e3459d690403'
             'c1b19035a14ba552e8795ec3d7171e688592c9317f2eb14373320315435565e3'
             '969414f0a161e95fbe4cfe32df7c657a2793734d09416c00fa1116c5c0a9924f')
@@ -33,7 +38,6 @@
   for patch in $(cat ../debian/patches/series); do
     patch -Np1 -i ../debian/patches/${patch}
   done
-  patch -Np1 -i ../tcp-wrappers-headers.patch
   patch -Np1 -i ../tcp-wrappers-redhat-bug11881.patch
 }
 
@@ -43,14 +47,14 @@
   make \
     COPTS="$CFLAGS" \
     LDOPTS="$LDFLAGS" \
-    REAL_DAEMON_DIR='/usr/bin' \
+    REAL_DAEMON_DIR=/usr/bin \
     STYLE='-DPROCESS_OPTIONS' \
     linux
 }
 
 package_libwrap() {
-  provides=('tcp_wrappers-libs')
-  conflicts=('tcp_wrappers-libs')
+  provides=(tcp_wrappers-libs)
+  conflicts=(tcp_wrappers-libs)
 
   cd tcp_wrappers_${pkgver%.*}
 
@@ -63,11 +67,13 @@
 }
 
 package_tcp-wrappers() {
-  depends=('libwrap')
-  provides=('tcp_wrappers')
-  conflicts=('tcp_wrappers')
-  backup=('etc/hosts.allow'
-          'etc/hosts.deny')
+  depends=(libwrap)
+  provides=(tcp_wrappers)
+  conflicts=(tcp_wrappers)
+  backup=(
+    etc/hosts.allow
+    etc/hosts.deny
+  )
 
   cd tcp_wrappers_${pkgver%.*}
 


More information about the arch-commits mailing list