]> git.pld-linux.org Git - packages/tcp_wrappers.git/commitdiff
binaries owner is root.root,
authorwojtek <wojtek@pld.org.pl>
Sat, 5 Jun 1999 11:51:58 +0000 (11:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
/etc/tcpd perm. is 750, hosts.* 640 root.root,
added Requires: inetd && restart inetd
in %post (if /var/lock/subsys/inetd exist)

Changed files:
    tcp_wrappers.spec -> 1.12

tcp_wrappers.spec

index f5414e98850f47b90e8b652d7610e9ec0363558b..ca9ff32488c4803319ae53b29c923876818ffcd4 100644 (file)
@@ -5,11 +5,12 @@ Summary(pl):  Wrapper bezpiecze
 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
@@ -17,6 +18,7 @@ Patch1:               tcp_wrappers-inet_dir.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
@@ -39,7 +41,7 @@ Bu paket, SYSTAT, FINGER, FTP, TELNET, RLOGIN, RSH, EXEC, TFTP, TALK ve di
 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
@@ -68,7 +70,7 @@ 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 -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
@@ -93,15 +95,20 @@ if [ -f /etc/hosts.allow -o -f /etc/host.deny ]; then
        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
@@ -123,7 +130,7 @@ rm -rf $RPM_BUILD_ROOT
   [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]
@@ -145,22 +152,3 @@ rm -rf $RPM_BUILD_ROOT
 - 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
This page took 0.074843 seconds and 4 git commands to generate.