Summary: Security wrapper for tcp daemons Summary(de): Sicherheitspackung für tcp-Dämonen Summary(fr): Enveloppe de sécurité pour les démons tcp Summary(pl): Wrapper bezpieczeństwa dla demonów tcp Summary(tr): TCP süreçleri için güvenlik sarmalayýcýsý Name: tcp_wrappers Version: 7.6 Release: 8 Copyright: Distributable Group: Networking/Admin Group(pl): Sieciowe/Administacyjne Source: ftp://coast.cs.purdue.edu/pub/tools/unix/tcp_wrappers/%{name}_%{version}.tar.gz Source1: hosts.allow Source2: hosts.deny Patch0: tcp_wrappers-config.patch Patch1: tcp_wrappers-inet_dir.patch Patch2: tcp_wrappers-doc_fix.patch Patch3: tcp_wrappers-ipv6.patch Patch4: tcp_wrappers-setenv.patch Buildroot: /tmp/%{name}-%{version}-root %description With this package you can monitor and filter incoming requests for the SYSTAT, FINGER, FTP, TELNET, RLOGIN, RSH, EXEC, TFTP, TALK, and other network services. %description -l fr Avec ce paquetage, vous pouvez gérer et filtrer les requętes entrantes pour SYSTAT, FINGER, FTP, TELNET, RLOGIN, RSH, EXEC, TFTP, TALK et autres services réseau. %description -l pl Z tym pakietem możesz monitorować i filtrować nadchodzące prośby do SYSTAT, FINGER, FTP, TELNET, RLOGIN, RSH, EXEC, TFTP, TALK, i innych usług sieciowych. %description -l tr Bu paket, SYSTAT, FINGER, FTP, TELNET, RLOGIN, RSH, EXEC, TFTP, TALK ve diđer ađ hizmetleri için gelen istekleri izlemenizi ve isteđinize göre süzmenizi sađlar. %package -n libwrap Summary: Security wrapper access control library Summary(pl): Biblioteki wrappera bezpieczeństwa Group: Libraries Group(pl): Biblioteki %description -n libwrap Security wrapper access control library which implement a rule-based access control language with optional shell commands that are executed when a rule fires. %description -l pl -n libwrap Biblioteki wrappera bezpieczeństwa, które zawierają implementację kontroli dostępu bazującą na języku reguł, opcjonalnie z komendami powłoki wykowywanymi zależnie od ustawionej regułki. %prep %setup -q -n %{name}_%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %build make linux RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DINET6" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/{etc/tcpd,usr/{man/man{3,5,8},lib,include,sbin}} install hosts_access.3 $RPM_BUILD_ROOT/usr/man/man3 install {hosts_access,hosts_options}.5 $RPM_BUILD_ROOT/usr/man/man5 install {tcpd,tcpdchk,tcpdmatch}.8 $RPM_BUILD_ROOT/usr/man/man8 install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/tcpd echo ".so hosts_access.5" > $RPM_BUILD_ROOT/usr/man/man5/hosts.allow.5 echo ".so hosts_access.5" > $RPM_BUILD_ROOT/usr/man/man5/hosts.deny.5 install libwrap.a $RPM_BUILD_ROOT/usr/lib install tcpd.h $RPM_BUILD_ROOT/usr/include install -s safe_finger tcpd tcpdchk tcpdmatch try-from $RPM_BUILD_ROOT/usr/sbin gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* \ BLURB CHANGES README* DISCLAIMER %post if [ -f /etc/hosts.allow -o -f /etc/host.deny ]; then mv /etc/tcpd/hosts.allow /etc/tcpd/hosts.allow.newrpm mv /etc/tcpd/hosts.deny /etc/tcpd/hosts.deny.newrpm mv /etc/hosts.{allow,deny} /etc/tcpd fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *gz Banners.Makefile %attr(750,root,bin) %dir /etc/tcpd %attr(440,root,bin) %config %verify(not md5 mtime size) /etc/tcpd/hosts.* /usr/man/man[58]/* %attr(755,root,root) /usr/sbin/* %files -n libwrap %defattr(644,root,root,755) /usr/include/tcpd.h /usr/lib/libwrap.a /usr/man/man3/* %changelog * Thu Apr 15 1999 Tomasz Kłoczko [7.6-8] - added gzipping %doc, - Fix: set . to root.bin on /etc/tcpd. * Wed Nov 18 1998 Wojtek Ślusarczyk - added some patches prepared by Maciej W. Różycki . * Sun Nov 8 1998 Tomasz Kłoczko [7.6-7] - in tcpw-config.patch added modifications informs that hosts.{allow,deny} files now placed in /etc/tcpd, - changed permission on /etc/tcpd to 700. * Sat Sep 26 1998 Arkadiusz Miśkiewicz [7.6-6] - added pl translation. * Thu Aug 18 1998 Tomasz Kłoczko [7.6-5] - added -q %setup parameter, - changed Buildroot to /tmp/%%{name}-%%{version}-root, - added using %%{name} and %%{version} in Source and %setup, - added libwrap subpackage, - fiew simplification in %install, - hosts.{allow,deny} moved to this package to separated directoty /etc/tcpd for this files and banners from setup (also added %verify rules for this files), - hosts.allow(5) and hosts.deny(5) man pages are now maked as nroff include to hosts_access(5) instead making sym link to hosts_access.5 (this allow compress man pages in future), - added %post section with moving previouse hosts.{allow,deny} to /etc/tcpd, - added %attr and %defattr macros in %files (allow build package from non-root account). * Thu Jun 25 1998 Alan Cox - Erp where did the Dec 05 patch escape to * Thu May 07 1998 Prospector System - translations modified for de, fr, tr * Fri Dec 05 1997 Erik Troan - don't build setenv.o module -- it just breaks things * Wed Oct 29 1997 Marc Ewing - upgrade to 7.6 * Thu Jul 17 1997 Erik Troan - built against glibc * Mon Mar 03 1997 Erik Troan - Upgraded to version 7.5 - Uses a build root