[arch-commits] Commit in tcp-wrappers/repos (6 files)

2018-04-16 Thread Maxime Gauduin via arch-commits
Date: Monday, April 16, 2018 @ 18:41:39
  Author: alucryd
Revision: 316551

archrelease: copy trunk to community-staging-x86_64

Added:
  tcp-wrappers/repos/community-staging-x86_64/
  tcp-wrappers/repos/community-staging-x86_64/PKGBUILD
(from rev 316550, tcp-wrappers/trunk/PKGBUILD)
  tcp-wrappers/repos/community-staging-x86_64/hosts.allow
(from rev 316550, tcp-wrappers/trunk/hosts.allow)
  tcp-wrappers/repos/community-staging-x86_64/hosts.deny
(from rev 316550, tcp-wrappers/trunk/hosts.deny)
  tcp-wrappers/repos/community-staging-x86_64/tcp-wrappers-headers.patch
(from rev 316550, tcp-wrappers/trunk/tcp-wrappers-headers.patch)
  tcp-wrappers/repos/community-staging-x86_64/tcp-wrappers-redhat-bug11881.patch
(from rev 316550, tcp-wrappers/trunk/tcp-wrappers-redhat-bug11881.patch)

+
 PKGBUILD   |   86 ++
 hosts.allow|5 
 hosts.deny |7 
 tcp-wrappers-headers.patch |  296 +++
 tcp-wrappers-redhat-bug11881.patch |   36 
 5 files changed, 430 insertions(+)

Copied: tcp-wrappers/repos/community-staging-x86_64/PKGBUILD (from rev 316550, 
tcp-wrappers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-04-16 18:41:39 UTC (rev 316551)
@@ -0,0 +1,86 @@
+# $Id$
+# Maintainer: Maxime Gauduin 
+# Contributor: Manuel Hüsers 
+# Contributor: vigo 
+# Contributor: Sergej Pupykin 
+# Contributor: judd 
+
+pkgbase=tcp-wrappers
+pkgname=('libwrap' 'tcp-wrappers')
+pkgver=7.6.24
+pkgrel=4
+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')
+sha256sums=('9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d'
+'672ad0d3f70579815cd8f15c29054c49f6fd9902863be42cc2452a9ecbe8eacd'
+'caf0719fdac5c0c8874420af63bddf3b970c40d464f0553a9822a53d372854d8'
+'2e527e54c1ea208de10a206c667f751e54651eb77c973271d213e3459d690403'
+'c1b19035a14ba552e8795ec3d7171e688592c9317f2eb14373320315435565e3'
+'969414f0a161e95fbe4cfe32df7c657a2793734d09416c00fa1116c5c0a9924f')
+
+prepare() {
+  cd tcp_wrappers_${pkgver%.*}
+
+  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
+}
+
+build() {
+  cd tcp_wrappers_${pkgver%.*}
+
+  make \
+COPTS="$CFLAGS" \
+LDOPTS="$LDFLAGS" \
+REAL_DAEMON_DIR='/usr/bin' \
+STYLE='-DPROCESS_OPTIONS' \
+linux
+}
+
+package_libwrap() {
+  provides=('tcp_wrappers-libs')
+  conflicts=('tcp_wrappers-libs')
+
+  cd tcp_wrappers_${pkgver%.*}
+
+  install -Dm 644 tcpd.h -t "${pkgdir}"/usr/include/
+  install -Dm 644 shared/libwrap.so.0.${pkgver%.*} -t "${pkgdir}"/usr/lib/
+  ln -s libwrap.so.0.${pkgver%.*} "${pkgdir}"/usr/lib/libwrap.so.0
+  ln -s libwrap.so.0 "${pkgdir}"/usr/lib/libwrap.so
+
+  install -Dm 644 DISCLAIMER -t "${pkgdir}"/usr/share/licenses/libwrap/
+}
+
+package_tcp-wrappers() {
+  depends=('libwrap')
+  provides=('tcp_wrappers')
+  conflicts=('tcp_wrappers')
+  backup=('etc/hosts.allow'
+  'etc/hosts.deny')
+
+  cd tcp_wrappers_${pkgver%.*}
+
+  install -Dm 755 safe_finger tcpd tcpdchk tcpdmatch try-from -t 
"${pkgdir}"/usr/bin/
+  install -Dm 644 *.3 -t "${pkgdir}"/usr/share/man/man3/
+  install -Dm 644 *.5 -t "${pkgdir}"/usr/share/man/man5/
+  install -Dm 644 *.8 -t "${pkgdir}"/usr/share/man/man8/
+  install -Dm 644 ../hosts.{allow,deny} -t "${pkgdir}"/etc/
+  install -Dm 644 README -t "${pkgdir}"/usr/share/doc/tcp-wrappers/
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s libwrap "${pkgdir}"/usr/share/licenses/tcp-wrappers
+}
+
+# vim: ts=2 sw=2 et:

Copied: tcp-wrappers/repos/community-staging-x86_64/hosts.allow (from rev 
316550, tcp-wrappers/trunk/hosts.allow)
===
--- community-staging-x86_64/hosts.allow(rev 0)
+++ community-staging-x86_64/hosts.allow2018-04-16 18:41:39 UTC (rev 
316551)
@@ -0,0 +1,5 @@
+#
+# /etc/hosts.allow
+#
+
+# End of file

Copied: tcp-wrappers/repos/community-staging-x86_64/hosts.deny (from rev 
316550, tcp-wrappers/trunk/hosts.deny)
===
--- community-stagi

[arch-commits] Commit in tcp-wrappers/repos (6 files)

2016-10-02 Thread Maxime Gauduin
Date: Sunday, October 2, 2016 @ 13:32:21
  Author: alucryd
Revision: 191209

Fix bad communitypkg

Added:
  tcp-wrappers/repos/community-i686/PKGBUILD
  tcp-wrappers/repos/community-i686/tcp-wrappers-headers.patch
  tcp-wrappers/repos/community-i686/tcp-wrappers-redhat-bug11881.patch
  tcp-wrappers/repos/community-x86_64/PKGBUILD
  tcp-wrappers/repos/community-x86_64/tcp-wrappers-headers.patch
  tcp-wrappers/repos/community-x86_64/tcp-wrappers-redhat-bug11881.patch

-+
 community-i686/PKGBUILD |   86 +
 community-i686/tcp-wrappers-headers.patch   |  296 ++
 community-i686/tcp-wrappers-redhat-bug11881.patch   |   36 ++
 community-x86_64/PKGBUILD   |   86 +
 community-x86_64/tcp-wrappers-headers.patch |  296 ++
 community-x86_64/tcp-wrappers-redhat-bug11881.patch |   36 ++
 6 files changed, 836 insertions(+)

Added: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-10-02 13:32:21 UTC (rev 191209)
@@ -0,0 +1,86 @@
+# $Id: PKGBUILD 191207 2016-10-02 13:29:29Z alucryd $
+# Maintainer: Maxime Gauduin 
+# Contributor: Manuel Hüsers 
+# Contributor: vigo 
+# Contributor: Sergej Pupykin 
+# Contributor: judd 
+
+pkgbase=tcp-wrappers
+pkgname=('libwrap' 'tcp-wrappers')
+pkgver=7.6.24
+pkgrel=2
+pkgdesc='Monitors and Controls incoming TCP connections'
+arch=('i686' 'x86_64')
+url='ftp://ftp.porcupine.org/pub/security/index.html'
+license=('BSD')
+depends=('glibc')
+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')
+sha256sums=('9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d'
+'672ad0d3f70579815cd8f15c29054c49f6fd9902863be42cc2452a9ecbe8eacd'
+'caf0719fdac5c0c8874420af63bddf3b970c40d464f0553a9822a53d372854d8'
+'2e527e54c1ea208de10a206c667f751e54651eb77c973271d213e3459d690403'
+'c1b19035a14ba552e8795ec3d7171e688592c9317f2eb14373320315435565e3'
+'969414f0a161e95fbe4cfe32df7c657a2793734d09416c00fa1116c5c0a9924f')
+
+prepare() {
+  cd tcp_wrappers_${pkgver%.*}
+
+  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
+}
+
+build() {
+  cd tcp_wrappers_${pkgver%.*}
+
+  make \
+COPTS="$CFLAGS" \
+LDOPTS="$LDFLAGS" \
+REAL_DAEMON_DIR='/usr/bin' \
+STYLE='-DPROCESS_OPTIONS' \
+linux
+}
+
+package_libwrap() {
+  provides=('tcp_wrappers-libs')
+  conflicts=('tcp_wrappers-libs')
+
+  cd tcp_wrappers_${pkgver%.*}
+
+  install -Dm 644 shared/libwrap.so.0.${pkgver%.*} -t "${pkgdir}"/usr/lib/
+  ln -s libwrap.so.0.${pkgver%.*} "${pkgdir}"/usr/lib/libwrap.so.0
+  ln -s libwrap.so.0 "${pkgdir}"/usr/lib/libwrap.so
+
+  install -Dm 644 DISCLAIMER -t "${pkgdir}"/usr/share/licenses/libwrap/
+}
+
+package_tcp-wrappers() {
+  depends=('libwrap')
+  provides=('tcp_wrappers')
+  conflicts=('tcp_wrappers')
+  backup=('etc/hosts.allow'
+  'etc/hosts.deny')
+
+  cd tcp_wrappers_${pkgver%.*}
+
+  install -Dm 755 safe_finger tcpd tcpdchk tcpdmatch try-from -t 
"${pkgdir}"/usr/bin/
+  install -Dm 644 tcpd.h -t "${pkgdir}"/usr/include/
+  install -Dm 644 *.3 -t "${pkgdir}"/usr/share/man/man3/
+  install -Dm 644 *.5 -t "${pkgdir}"/usr/share/man/man5/
+  install -Dm 644 *.8 -t "${pkgdir}"/usr/share/man/man8/
+  install -Dm 644 ../hosts.{allow,deny} -t "${pkgdir}"/etc/
+  install -Dm 644 README -t "${pkgdir}"/usr/share/doc/tcp-wrappers/
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s libwrap "${pkgdir}"/usr/share/licenses/tcp-wrappers
+}
+
+# vim: ts=2 sw=2 et:

Added: community-i686/tcp-wrappers-headers.patch
===
--- community-i686/tcp-wrappers-headers.patch   (rev 0)
+++ community-i686/tcp-wrappers-headers.patch   2016-10-02 13:32:21 UTC (rev 
191209)
@@ -0,0 +1,296 @@
+--- a/options.c
 b/options.c
+@@ -34,6 +34,8 @@
+ 
+ /* System libraries. */
+ 
++#include 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/safe_finger.c
 b/safe_finger.c
+@@ -20,6 +20,11 @@
+ 
+ /* System libraries */
+ 
++#include 
++#include 
++#include 
++#include 
++#include 
+ #include 
+ #include 
+ #include 
+@@ -27,7 +31,7 @@
+ #include 
+ #include 
+ 
+-extern void exit();
++int pipe_stdin(char **argv);
+ 
+ /* Local stuff */
+ 
+--- a/scaffold.c
 b/scaffold.c
+@@ -10,6 +10,7 @@
+ 
+ /* System libra

[arch-commits] Commit in tcp-wrappers/repos (6 files)

2016-10-02 Thread Maxime Gauduin
Date: Sunday, October 2, 2016 @ 13:29:42
  Author: alucryd
Revision: 191208

archrelease: copy trunk to community-i686, community-x86_64

Deleted:
  tcp-wrappers/repos/community-i686/PKGBUILD
  tcp-wrappers/repos/community-i686/tcp-wrappers-headers.patch
  tcp-wrappers/repos/community-i686/tcp-wrappers-redhat-bug11881.patch
  tcp-wrappers/repos/community-x86_64/PKGBUILD
  tcp-wrappers/repos/community-x86_64/tcp-wrappers-headers.patch
  tcp-wrappers/repos/community-x86_64/tcp-wrappers-redhat-bug11881.patch

-+
 community-i686/PKGBUILD |   81 
 community-i686/tcp-wrappers-headers.patch   |  296 --
 community-i686/tcp-wrappers-redhat-bug11881.patch   |   36 --
 community-x86_64/PKGBUILD   |   81 
 community-x86_64/tcp-wrappers-headers.patch |  296 --
 community-x86_64/tcp-wrappers-redhat-bug11881.patch |   36 --
 6 files changed, 826 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-10-02 13:29:29 UTC (rev 191207)
+++ community-i686/PKGBUILD 2016-10-02 13:29:42 UTC (rev 191208)
@@ -1,81 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin 
-# Contributor: Manuel Hüsers 
-# Contributor: vigo 
-# Contributor: Sergej Pupykin 
-# Contributor: judd 
-
-pkgbase=tcp-wrappers
-pkgname=('libwrap' 'tcp-wrappers')
-pkgver=7.6.24
-pkgrel=1
-pkgdesc='Monitors and Controls incoming TCP connections'
-arch=('i686' 'x86_64')
-url='ftp://ftp.porcupine.org/pub/security/index.html'
-license=('BSD')
-depends=('glibc')
-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')
-sha256sums=('9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d'
-'672ad0d3f70579815cd8f15c29054c49f6fd9902863be42cc2452a9ecbe8eacd'
-'caf0719fdac5c0c8874420af63bddf3b970c40d464f0553a9822a53d372854d8'
-'2e527e54c1ea208de10a206c667f751e54651eb77c973271d213e3459d690403'
-'c1b19035a14ba552e8795ec3d7171e688592c9317f2eb14373320315435565e3'
-'969414f0a161e95fbe4cfe32df7c657a2793734d09416c00fa1116c5c0a9924f')
-
-prepare() {
-  cd tcp_wrappers_${pkgver%.*}
-
-  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
-}
-
-build() {
-  cd tcp_wrappers_${pkgver%.*}
-
-  make \
-COPTS="$CFLAGS" \
-LDOPTS="$LDFLAGS" \
-REAL_DAEMON_DIR='/usr/bin' \
-STYLE='-DPROCESS_OPTIONS' \
-linux
-}
-
-package_libwrap() {
-  cd tcp_wrappers_${pkgver%.*}
-
-  install -Dm 644 shared/libwrap.so.0.${pkgver%.*} -t "${pkgdir}"/usr/lib/
-  ln -s libwrap.so.0.${pkgver%.*} "${pkgdir}"/usr/lib/libwrap.so.0
-  ln -s libwrap.so.0 "${pkgdir}"/usr/lib/libwrap.so
-
-  install -Dm 644 DISCLAIMER -t "${pkgdir}"/usr/share/licenses/libwrap/
-}
-
-package_tcp-wrappers() {
-  depends=('libwrap')
-  backup=('etc/hosts.allow'
-  'etc/hosts.deny')
-
-  cd tcp_wrappers_${pkgver%.*}
-
-  install -Dm 755 safe_finger tcpd tcpdchk tcpdmatch try-from -t 
"${pkgdir}"/usr/bin/
-  install -Dm 644 tcpd.h -t "${pkgdir}"/usr/include/
-  install -Dm 644 *.3 -t "${pkgdir}"/usr/share/man/man3/
-  install -Dm 644 *.5 -t "${pkgdir}"/usr/share/man/man5/
-  install -Dm 644 *.8 -t "${pkgdir}"/usr/share/man/man8/
-  install -Dm 644 ../hosts.{allow,deny} -t "${pkgdir}"/etc/
-  install -Dm 644 README -t "${pkgdir}"/usr/share/doc/tcp-wrappers/
-
-  install -dm 755 "${pkgdir}"/usr/share/licenses
-  ln -s libwrap "${pkgdir}"/usr/share/licenses/tcp-wrappers
-}
-
-# vim: ts=2 sw=2 et:

Deleted: community-i686/tcp-wrappers-headers.patch
===
--- community-i686/tcp-wrappers-headers.patch   2016-10-02 13:29:29 UTC (rev 
191207)
+++ community-i686/tcp-wrappers-headers.patch   2016-10-02 13:29:42 UTC (rev 
191208)
@@ -1,296 +0,0 @@
 a/options.c
-+++ b/options.c
-@@ -34,6 +34,8 @@
- 
- /* System libraries. */
- 
-+#include 
-+#include 
- #include 
- #include 
- #include 
 a/safe_finger.c
-+++ b/safe_finger.c
-@@ -20,6 +20,11 @@
- 
- /* System libraries */
- 
-+#include 
-+#include 
-+#include 
-+#include 
-+#include 
- #include 
- #include 
- #include 
-@@ -27,7 +31,7 @@
- #include 
- #include 
- 
--extern void exit();
-+int pipe_stdin(char **argv);
- 
- /* Local stuff */
- 
 a/scaffold.c
-+++ b/scaffold.c
-@@ -10,6 +10,7 @@
- 
- /* System libraries. */
- 
-+#include 
- #include 
- #include 
- #include 
-@@ -27,7 +27,4 @@
- #endif
- 
--#ifndef INET6
--extern char *ma