diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:12:28 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:12:28 +0100 |
commit | 9291e062cb24bac5d7c7059d4dc64669c1917b33 (patch) | |
tree | ae6f7e4fb2769d6c53b214c5e0b4d862f1df98dc /tcp_wrappers | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.gz nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.bz2 nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.xz nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.zip |
aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé
Diffstat (limited to 'tcp_wrappers')
-rw-r--r-- | tcp_wrappers/.footprint.i686 | 33 | ||||
-rw-r--r-- | tcp_wrappers/.footprint.x86_64 | 33 | ||||
-rw-r--r-- | tcp_wrappers/.md5sum.i686 | 4 | ||||
-rw-r--r-- | tcp_wrappers/.md5sum.x86_64 | 4 | ||||
-rwxr-xr-x | tcp_wrappers/Pkgfile | 24 | ||||
-rw-r--r-- | tcp_wrappers/hosts.allow | 7 | ||||
-rw-r--r-- | tcp_wrappers/hosts.deny | 7 |
7 files changed, 112 insertions, 0 deletions
diff --git a/tcp_wrappers/.footprint.i686 b/tcp_wrappers/.footprint.i686 new file mode 100644 index 000000000..564f4a2b2 --- /dev/null +++ b/tcp_wrappers/.footprint.i686 @@ -0,0 +1,33 @@ +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/hosts.allow +-rw-r--r-- root/root etc/hosts.deny +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/tcpd.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libwrap.a +lrwxrwxrwx root/root usr/lib/libwrap.so -> libwrap.so.0 +lrwxrwxrwx root/root usr/lib/libwrap.so.0 -> libwrap.so.0.7.6 +-rwxr-xr-x root/root usr/lib/libwrap.so.0.7.6 +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/safe_finger +-rwxr-xr-x root/root usr/sbin/tcpd +-rwxr-xr-x root/root usr/sbin/tcpdchk +-rwxr-xr-x root/root usr/sbin/tcpdmatch +-rwxr-xr-x root/root usr/sbin/try-from +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/hosts_access.3.gz +lrwxrwxrwx root/root usr/share/man/man3/hosts_ctl.3.gz -> hosts_access.3.gz +lrwxrwxrwx root/root usr/share/man/man3/request_init.3.gz -> hosts_access.3.gz +lrwxrwxrwx root/root usr/share/man/man3/request_set.3.gz -> hosts_access.3.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/hosts_access.5.gz +-rw-r--r-- root/root usr/share/man/man5/hosts_options.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/safe_finger.8.gz +-rw-r--r-- root/root usr/share/man/man8/tcpd.8.gz +-rw-r--r-- root/root usr/share/man/man8/tcpdchk.8.gz +-rw-r--r-- root/root usr/share/man/man8/tcpdmatch.8.gz +-rw-r--r-- root/root usr/share/man/man8/try-from.8.gz diff --git a/tcp_wrappers/.footprint.x86_64 b/tcp_wrappers/.footprint.x86_64 new file mode 100644 index 000000000..564f4a2b2 --- /dev/null +++ b/tcp_wrappers/.footprint.x86_64 @@ -0,0 +1,33 @@ +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/hosts.allow +-rw-r--r-- root/root etc/hosts.deny +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/tcpd.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libwrap.a +lrwxrwxrwx root/root usr/lib/libwrap.so -> libwrap.so.0 +lrwxrwxrwx root/root usr/lib/libwrap.so.0 -> libwrap.so.0.7.6 +-rwxr-xr-x root/root usr/lib/libwrap.so.0.7.6 +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/safe_finger +-rwxr-xr-x root/root usr/sbin/tcpd +-rwxr-xr-x root/root usr/sbin/tcpdchk +-rwxr-xr-x root/root usr/sbin/tcpdmatch +-rwxr-xr-x root/root usr/sbin/try-from +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/hosts_access.3.gz +lrwxrwxrwx root/root usr/share/man/man3/hosts_ctl.3.gz -> hosts_access.3.gz +lrwxrwxrwx root/root usr/share/man/man3/request_init.3.gz -> hosts_access.3.gz +lrwxrwxrwx root/root usr/share/man/man3/request_set.3.gz -> hosts_access.3.gz +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/hosts_access.5.gz +-rw-r--r-- root/root usr/share/man/man5/hosts_options.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/safe_finger.8.gz +-rw-r--r-- root/root usr/share/man/man8/tcpd.8.gz +-rw-r--r-- root/root usr/share/man/man8/tcpdchk.8.gz +-rw-r--r-- root/root usr/share/man/man8/tcpdmatch.8.gz +-rw-r--r-- root/root usr/share/man/man8/try-from.8.gz diff --git a/tcp_wrappers/.md5sum.i686 b/tcp_wrappers/.md5sum.i686 new file mode 100644 index 000000000..fa0d21556 --- /dev/null +++ b/tcp_wrappers/.md5sum.i686 @@ -0,0 +1,4 @@ +9eaab7733be201959fe72d66fc9791d9 hosts.allow +a0ee30f6aeaca241c4d44f7c177eca6b hosts.deny +7262407ace12078824f0f64e60615e40 tcp_wrappers-7.6-shared_lib_plus_plus-1.patch +e6fa25f71226d090f34de3f6b122fb5a tcp_wrappers_7.6.tar.gz diff --git a/tcp_wrappers/.md5sum.x86_64 b/tcp_wrappers/.md5sum.x86_64 new file mode 100644 index 000000000..fa0d21556 --- /dev/null +++ b/tcp_wrappers/.md5sum.x86_64 @@ -0,0 +1,4 @@ +9eaab7733be201959fe72d66fc9791d9 hosts.allow +a0ee30f6aeaca241c4d44f7c177eca6b hosts.deny +7262407ace12078824f0f64e60615e40 tcp_wrappers-7.6-shared_lib_plus_plus-1.patch +e6fa25f71226d090f34de3f6b122fb5a tcp_wrappers_7.6.tar.gz diff --git a/tcp_wrappers/Pkgfile b/tcp_wrappers/Pkgfile new file mode 100755 index 000000000..81ca71986 --- /dev/null +++ b/tcp_wrappers/Pkgfile @@ -0,0 +1,24 @@ +# Description: Supervise et contrôle les flux TCP entrants +# URL: http://ftp.porcupine.org/pub/security/index.html +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=tcp_wrappers +version=7.6 +release=1 +source=( ftp://ftp.porcupine.org/pub/security/tcp_wrappers_$version.tar.gz\ + http://www.linuxfromscratch.org/patches/blfs/svn/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch\ + hosts.allow hosts.deny) + + +build() { + cd tcp_wrappers_$version + patch -Np1 -i ../tcp_wrappers-7.6-shared_lib_plus_plus-1.patch + sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c + make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux + mkdir -p $PKG/usr/{sbin,lib,include,share/man/man{3,5,8}} + mkdir $PKG/etc + mv ../hosts.{allow,deny} $PKG/etc + make DESTDIR=$PKG install +} diff --git a/tcp_wrappers/hosts.allow b/tcp_wrappers/hosts.allow new file mode 100644 index 000000000..aff411755 --- /dev/null +++ b/tcp_wrappers/hosts.allow @@ -0,0 +1,7 @@ +# +# /etc/hosts.allow +# + +# <service>: <ip> + +# End of file diff --git a/tcp_wrappers/hosts.deny b/tcp_wrappers/hosts.deny new file mode 100644 index 000000000..efcce18ea --- /dev/null +++ b/tcp_wrappers/hosts.deny @@ -0,0 +1,7 @@ +# +# /etc/hosts.deny +# + +ALL: ALL: DENY + +# End of file |