-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: 7
-Copyright: Distributable
-Group: Networking/Admin
-Source: ftp://coast.cs.purdue.edu/pub/tools/unix/tcp_wrappers/%{name}_%{version}.tar.gz
-Source1: hosts.allow
-Source2: hosts.deny
-Patch: tcpw-config.patch
-Patch1: tcpw7.2-setenv.patch
-Buildroot: /tmp/%{name}-%{version}-root
+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
+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
+Buildroot: /tmp/%{name}-%{version}-root
%description
With this package you can monitor and filter incoming requests for the
saðlar.
%package -n libwrap
-Summary: Security wrapper access control library
-Summary(pl): Biblioteki wrappera bezpieczeñstwa
-Group: Libraries
+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
%prep
%setup -q -n %{name}_%{version}
-%patch -p1 -b .config
-%patch1 -p1 -b .setenv
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
%build
-make linux
+make linux RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DINET6"
%install
rm -rf $RPM_BUILD_ROOT
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
rm -rf $RPM_BUILD_ROOT
%files
-%defattr(644, root, root, 755)
-%doc BLURB CHANGES README* DISCLAIMER Banners.Makefile
-%attr(700, root, root) %dir /etc/tcpd
-%config %verify(not md5 mtime size) /etc/tcpd/hosts.*
-%attr(644, root, man) /usr/man/man[58]/*
-%attr(755, root, root) /usr/sbin/*
+%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)
+%defattr(644,root,root,755)
/usr/include/tcpd.h
/usr/lib/libwrap.a
-%attr(644, root, man) /usr/man/man3/*
+/usr/man/man3/*
%changelog
+* Thu Apr 15 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+ [7.6-8]
+- added gzipping %doc,
+- Fix: set <uid>.<gid> to root.bin on /etc/tcpd.
+
+* Wed Nov 18 1998 Wojtek ¦lusarczyk <wojtek@SHADOW.EU.ORG>
+- added some patches prepared by Maciej W. Ró¿ycki <macro@amg.gda.pl>.
+
* Sun Nov 8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
[7.6-7]
- in tcpw-config.patch added modifications informs that hosts.{allow,deny}
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 (allows build package from
+- added %attr and %defattr macros in %files (allow build package from
non-root account).
* Thu Jun 25 1998 Alan Cox <alan@redhat.com>