]> git.pld-linux.org Git - packages/tcp_wrappers.git/commitdiff
- release 38 auto/ac/tcp_wrappers-7_6-38 auto/th/tcp_wrappers-7_6-38
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 27 Dec 2005 15:46:43 +0000 (15:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- moved libwrap.so.*.*.* to /lib for portmap

Changed files:
    tcp_wrappers.spec -> 1.76

tcp_wrappers.spec

index abe700c17b806e444baf6e4126730def7f848e67..ba376f33f5357009c3076ed1f8db7d8cee441134 100644 (file)
@@ -9,7 +9,7 @@ Summary(tr):    TCP s
 Summary(uk):   Security wrapper ÄÌÑ tcp-ÄÅÍÏΦ×
 Name:          tcp_wrappers
 Version:       7.6
-Release:       37
+Release:       38
 License:       distributable
 Group:         Networking/Admin
 Source0:       ftp://ftp.porcupine.org/pub/security/%{name}_%{version}.tar.gz
@@ -188,12 +188,16 @@ SYSTAT, FINGER, FTP, TELNET, RLOGIN, RSH, EXEC, TFTP, TALK 
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/tcpd \
        $RPM_BUILD_ROOT{%{_mandir}/man{3,5,8},%{_libdir}} \
-       $RPM_BUILD_ROOT{%{_prefix}/lib,%{_includedir},%{_sbindir}}
+       $RPM_BUILD_ROOT{/lib,%{_includedir},%{_sbindir}}
 
 %{__make} install \
        PREFIX=$RPM_BUILD_ROOT%{_prefix} \
        LIBDIR=$RPM_BUILD_ROOT%{_libdir} 
 
+mv $RPM_BUILD_ROOT%{_libdir}/libwrap.so.*.*.* $RPM_BUILD_ROOT/lib/
+ln -sf /lib/$(cd $RPM_BUILD_ROOT/lib ; echo libwrap.so.*.*.*) \
+        $RPM_BUILD_ROOT%{_libdir}/libwrap.so
+
 install        hosts_access.3                  $RPM_BUILD_ROOT%{_mandir}/man3
 install {hosts_access,hosts_options}.5 $RPM_BUILD_ROOT%{_mandir}/man5
 install {tcpd,tcpdchk,tcpdmatch}.8     $RPM_BUILD_ROOT%{_mandir}/man8
@@ -231,7 +235,7 @@ fi
 %defattr(644,root,root,755)
 %dir %{_sysconfdir}/tcpd
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tcpd/hosts.*
-%attr(755,root,root) %{_libdir}/libwrap.so.*.*
+%attr(755,root,root) /lib/libwrap.so.*.*
 %{_mandir}/man5/*
 
 %files -n libwrap-devel
This page took 0.037082 seconds and 4 git commands to generate.