- review changes
This commit is contained in:
parent
ddb296a25c
commit
b9ba20fe3d
|
@ -1,7 +1,7 @@
|
||||||
Summary: A security tool which acts as a wrapper for TCP daemons.
|
Summary: A security tool which acts as a wrapper for TCP daemons
|
||||||
Name: tcp_wrappers
|
Name: tcp_wrappers
|
||||||
Version: 7.6
|
Version: 7.6
|
||||||
Release: 50%{?dist}
|
Release: 51%{?dist}
|
||||||
|
|
||||||
%define LIB_MAJOR 0
|
%define LIB_MAJOR 0
|
||||||
%define LIB_MINOR 7
|
%define LIB_MINOR 7
|
||||||
|
@ -35,7 +35,7 @@ Patch21: tcp_wrappers-7.6-196326.patch
|
||||||
Patch22: tcp_wrappers_7.6-249430.patch
|
Patch22: tcp_wrappers_7.6-249430.patch
|
||||||
# required by sin_scope_id in ipv6 patch
|
# required by sin_scope_id in ipv6 patch
|
||||||
BuildRequires: glibc-devel >= 2.2
|
BuildRequires: glibc-devel >= 2.2
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
Requires: tcp_wrappers-libs = %{version}-%{release}
|
Requires: tcp_wrappers-libs = %{version}-%{release}
|
||||||
Obsoletes: tcp_wrappers < 7.6-41
|
Obsoletes: tcp_wrappers < 7.6-41
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ filtering incoming network services requests.
|
||||||
This version also supports IPv6.
|
This version also supports IPv6.
|
||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
Summary: tcp_wrappers libraries.
|
Summary: tcp_wrappers libraries
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Obsoletes: tcp_wrappers < 7.6-41
|
Obsoletes: tcp_wrappers < 7.6-41
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ Obsoletes: tcp_wrappers < 7.6-41
|
||||||
tcp_wrappers-libs contains the libraries of the tcp_wrappers package.
|
tcp_wrappers-libs contains the libraries of the tcp_wrappers package.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: tcp_wrappers development libraries and headers.
|
Summary: tcp_wrappers development libraries and headers
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Obsoletes: tcp_wrappers < 7.6-41
|
Obsoletes: tcp_wrappers < 7.6-41
|
||||||
Requires: tcp_wrappers-libs = %{version}-%{release}
|
Requires: tcp_wrappers-libs = %{version}-%{release}
|
||||||
|
@ -103,16 +103,16 @@ mkdir -p ${RPM_BUILD_ROOT}/%{_lib}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{3,5,8}
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{3,5,8}
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
||||||
|
|
||||||
cp hosts_access.3 ${RPM_BUILD_ROOT}%{_mandir}/man3
|
install -p -m644 hosts_access.3 ${RPM_BUILD_ROOT}%{_mandir}/man3
|
||||||
cp hosts_access.5 hosts_options.5 ${RPM_BUILD_ROOT}%{_mandir}/man5
|
install -p -m644 hosts_access.5 hosts_options.5 ${RPM_BUILD_ROOT}%{_mandir}/man5
|
||||||
cp tcpd.8 tcpdchk.8 tcpdmatch.8 ${RPM_BUILD_ROOT}%{_mandir}/man8
|
install -p -m644 tcpd.8 tcpdchk.8 tcpdmatch.8 ${RPM_BUILD_ROOT}%{_mandir}/man8
|
||||||
ln -sf hosts_access.5 ${RPM_BUILD_ROOT}%{_mandir}/man5/hosts.allow.5
|
ln -sf hosts_access.5 ${RPM_BUILD_ROOT}%{_mandir}/man5/hosts.allow.5
|
||||||
ln -sf hosts_access.5 ${RPM_BUILD_ROOT}%{_mandir}/man5/hosts.deny.5
|
ln -sf hosts_access.5 ${RPM_BUILD_ROOT}%{_mandir}/man5/hosts.deny.5
|
||||||
#cp -a libwrap.a ${RPM_BUILD_ROOT}%{_libdir}
|
#cp -a libwrap.a ${RPM_BUILD_ROOT}%{_libdir}
|
||||||
cp -a libwrap.so* ${RPM_BUILD_ROOT}/%{_lib}
|
cp -a libwrap.so* ${RPM_BUILD_ROOT}/%{_lib}
|
||||||
cp tcpd.h ${RPM_BUILD_ROOT}%{_includedir}
|
install -p -m644 tcpd.h ${RPM_BUILD_ROOT}%{_includedir}
|
||||||
install -m755 safe_finger ${RPM_BUILD_ROOT}%{_sbindir}
|
install -m755 safe_finger ${RPM_BUILD_ROOT}%{_sbindir}
|
||||||
install -m711 tcpd ${RPM_BUILD_ROOT}%{_sbindir}
|
install -m755 tcpd ${RPM_BUILD_ROOT}%{_sbindir}
|
||||||
install -m755 try-from ${RPM_BUILD_ROOT}%{_sbindir}
|
install -m755 try-from ${RPM_BUILD_ROOT}%{_sbindir}
|
||||||
|
|
||||||
# XXX remove utilities that expect /etc/inetd.conf (#16059).
|
# XXX remove utilities that expect /etc/inetd.conf (#16059).
|
||||||
|
@ -121,33 +121,36 @@ install -m755 try-from ${RPM_BUILD_ROOT}%{_sbindir}
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man8/tcpdmatch.*
|
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man8/tcpdmatch.*
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man8/tcpdchk.*
|
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man8/tcpdchk.*
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc BLURB CHANGES README* DISCLAIMER Banners.Makefile
|
%doc BLURB CHANGES README* DISCLAIMER Banners.Makefile
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc BLURB CHANGES README* DISCLAIMER Banners.Makefile
|
%doc BLURB CHANGES README* DISCLAIMER Banners.Makefile
|
||||||
/%{_lib}/*.so.*
|
/%{_lib}/*.so.*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
#%{_libdir}/*.a
|
#%{_libdir}/*.a
|
||||||
/%{_lib}/*.so
|
/%{_lib}/*.so
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 16 2007 Tomas Janousek <tjanouse@redhat.com> - 7.6-51
|
||||||
|
- review changes
|
||||||
|
|
||||||
* Fri Aug 24 2007 Tomas Janousek <tjanouse@redhat.com> - 7.6-50
|
* Fri Aug 24 2007 Tomas Janousek <tjanouse@redhat.com> - 7.6-50
|
||||||
- license tag update (and rebuild for BuildID, etc.)
|
- license tag update (and rebuild for BuildID, etc.)
|
||||||
- include docs in the -libs subpackage, as it is the only one installed on most
|
- include docs in the -libs subpackage, as it is the only one installed on most
|
||||||
|
|
Loading…
Reference in New Issue