Summary(tr): TCP süreçleri için güvenlik sarmalayýcýsý
Name: tcp_wrappers
Version: 7.6
-Release: 8
+Release: 9
Copyright: Distributable
Group: Networking/Admin
Group(pl): Sieciowe/Administacyjne
-Source: ftp://coast.cs.purdue.edu/pub/tools/unix/tcp_wrappers/%{name}_%{version}.tar.gz
+URL: ftp://coast.cs.purdue.edu/pub/tools/unix/tcp_wrappers
+Source0: %{name}_%{version}.tar.gz
Source1: hosts.allow
Source2: hosts.deny
Patch0: tcp_wrappers-config.patch
Patch2: tcp_wrappers-doc_fix.patch
Patch3: tcp_wrappers-ipv6.patch
Patch4: tcp_wrappers-setenv.patch
+Requires: inetd
Buildroot: /tmp/%{name}-%{version}-root
%description
að hizmetleri için gelen istekleri izlemenizi ve isteðinize göre süzmenizi
saðlar.
-%package -n libwrap
+%package -n libwrap
Summary: Security wrapper access control library
Summary(pl): Biblioteki wrappera bezpieczeñstwa
Group: Libraries
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{etc/tcpd,usr/{man/man{3,5,8},lib,include,sbin}}
+install -d $RPM_BUILD_ROOT/{etc/tcpd,usr/{share/man/man{3,5,8},lib,include,sbin}}
install hosts_access.3 $RPM_BUILD_ROOT%{_mandir}/man3
install {hosts_access,hosts_options}.5 $RPM_BUILD_ROOT%{_mandir}/man5
mv /etc/hosts.{allow,deny} /etc/tcpd
fi
+if [ -f /var/lock/subsys/inetd ]; then
+ /etc/rc.d/init.d/inetd restart &>/dev/null
+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.*
+%attr(750,root,root) %dir /etc/tcpd
+%attr(640,root,root) %config %verify(not md5 mtime size) /etc/tcpd/hosts.*
%{_mandir}/man[58]/*
+
%attr(755,root,root) %{_sbindir}/*
%files -n libwrap
[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.
+- changed permission on /etc/tcpd to 750
* Sat Sep 26 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
[7.6-6]
- 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 <alan@redhat.com>
-- Erp where did the Dec 05 patch escape to
-
-* Thu May 07 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Fri Dec 05 1997 Erik Troan <ewt@redhat.com>
-- don't build setenv.o module -- it just breaks things
-
-* Wed Oct 29 1997 Marc Ewing <marc@redhat.com>
-- upgrade to 7.6
-
-* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
-- built against glibc
-
-* Mon Mar 03 1997 Erik Troan <ewt@redhat.com>
-- Upgraded to version 7.5
-- Uses a build root