update to 7.6.31
rebuilt with debug package, debian patches, and specfile fixes [release 7.6.31-1mamba;Fri Nov 27 2020]
This commit is contained in:
parent
82b31e57e6
commit
f91eba6ee0
@ -1,13 +1,16 @@
|
|||||||
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
|
%define patchver %(echo %version | cut -d. -f3)
|
||||||
Name: tcp_wrappers
|
Name: tcp_wrappers
|
||||||
Version: 7.6
|
Version: 7.6.31
|
||||||
Release: 4mamba
|
Release: 1mamba
|
||||||
Summary: A security tool which acts as a wrapper for TCP daemons
|
Summary: A security tool which acts as a wrapper for TCP daemons
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://ftp.porcupine.org/pub/security/
|
URL: http://ftp.porcupine.org/pub/security/
|
||||||
Source: http://ftp.porcupine.org/pub/security/%{name}_%{version}.tar.gz
|
Source: http://ftp.porcupine.org/pub/security/%{name}_%{majver}.tar.gz
|
||||||
|
Source1: http://http.us.debian.org/debian/pool/main/t/tcp-wrappers/tcp-wrappers_%{majver}.q-%{patchver}.debian.tar.xz
|
||||||
Patch0: %{name}-7.6-conf.patch
|
Patch0: %{name}-7.6-conf.patch
|
||||||
Patch1: %{name}-7.6-setenv.patch
|
Patch1: %{name}-7.6-setenv.patch
|
||||||
Patch2: %{name}-7.6-security.patch
|
Patch2: %{name}-7.6-security.patch
|
||||||
@ -18,6 +21,11 @@ Patch6: %{name}-7.6-sig.patch
|
|||||||
Patch7: %{name}-7.6-malloc.patch
|
Patch7: %{name}-7.6-malloc.patch
|
||||||
Patch8: %{name}-7.6-shared_lib_plus_plus-1.patch
|
Patch8: %{name}-7.6-shared_lib_plus_plus-1.patch
|
||||||
License: Distributable
|
License: Distributable
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ldconfig
|
||||||
|
BuildRequires: libnsl-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -44,19 +52,19 @@ Provides: tcp_wrappers-devel
|
|||||||
The tcp_wrappers package provides small daemon programs which can monitor and filter incoming requests for systat, finger, ftp, telnet, rlogin, rsh, exec, tftp, talk and other network services.
|
The tcp_wrappers package provides small daemon programs which can monitor and filter incoming requests for systat, finger, ftp, telnet, rlogin, rsh, exec, tftp, talk and other network services.
|
||||||
This package contains the static libraries and header files for the tcp_wrappers program.
|
This package contains the static libraries and header files for the tcp_wrappers program.
|
||||||
|
|
||||||
%prep
|
%debug_package
|
||||||
%setup -q -n %{name}_%{version}
|
|
||||||
%patch8 -p1
|
|
||||||
#%patch0 -p1
|
|
||||||
#%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
#%patch3 -p1
|
|
||||||
%patch4 -p1
|
|
||||||
#%patch5 -p1
|
|
||||||
%patch6 -p1
|
|
||||||
%patch7 -p1
|
|
||||||
|
|
||||||
sed -i "s|/usr/lib/|/usr/%_lib/|g" Makefile
|
%prep
|
||||||
|
%setup -q -n %{name}_%{majver} -a1
|
||||||
|
for p in `sed -e 's:^:debian/patches/:' debian/patches/series`; do patch -p1 < $p; done
|
||||||
|
|
||||||
|
#%patch8 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
#%patch4 -p1
|
||||||
|
#%patch6 -p1
|
||||||
|
#%patch7 -p1
|
||||||
|
|
||||||
|
sed -i "s|/usr/lib/|%{_libdir}|g" Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if "%{_host}" != "%{_build}"
|
%if "%{_host}" != "%{_build}"
|
||||||
@ -66,44 +74,67 @@ sed -i "s|-lwrap|-lnsl -lwrap|" Makefile
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
sed -i "s|-o root -g root ||" Makefile
|
|
||||||
install -d %{buildroot}%{_sbindir} %{buildroot}%{_libdir} \
|
|
||||||
%{buildroot}%{_mandir}/man{3,5,8} \
|
|
||||||
%{buildroot}%{_includedir} \
|
|
||||||
|
|
||||||
%makeinstall
|
for f in libwrap.so libwrap.so.0 libwrap.so.0.7.6; do
|
||||||
|
install -D -m0755 shared/$f %{buildroot}%{_libdir}/$f
|
||||||
|
done
|
||||||
|
install -D -m0755 libwrap.a %{buildroot}%{_libdir}/libwrap.a
|
||||||
|
|
||||||
|
install -D -m0644 tcpd.h %{buildroot}%{_includedir}/tcpd.h
|
||||||
|
|
||||||
|
for f in safe_finger tcpd tcpdchk tcpdmatch try-from; do
|
||||||
|
install -D -m0755 $f %{buildroot}%{_sbindir}/$f
|
||||||
|
install -D -m0644 $f.8 %{buildroot}%{_mandir}/man8/$f.8
|
||||||
|
done
|
||||||
|
|
||||||
|
for f in hosts_access hosts_options; do
|
||||||
|
install -D -m0644 $f.5 %{buildroot}%{_mandir}/man5/$f.5
|
||||||
|
done
|
||||||
|
|
||||||
|
for f in hosts_access; do
|
||||||
|
install -D -m0644 $f.3 %{buildroot}%{_mandir}/man3/$f.3
|
||||||
|
done
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sbindir}/*
|
%{_sbindir}/safe_finger
|
||||||
%{_mandir}/man8/tcpd.8.gz
|
%{_sbindir}/tcpd
|
||||||
%{_mandir}/man8/tcpdchk.8.gz
|
%{_sbindir}/tcpdchk
|
||||||
%{_mandir}/man8/tcpdmatch.8.gz
|
%{_sbindir}/tcpdmatch
|
||||||
%{_mandir}/man8/try-from.8.gz
|
%{_sbindir}/try-from
|
||||||
%{_mandir}/man8/safe_finger.8.gz
|
%{_mandir}/man5/hosts_access.5*
|
||||||
%{_mandir}/man8/safe_finger.8.gz
|
%{_mandir}/man5/hosts_options.5*
|
||||||
|
%{_mandir}/man8/tcpd.8*
|
||||||
|
%{_mandir}/man8/tcpdchk.8*
|
||||||
|
%{_mandir}/man8/tcpdmatch.8*
|
||||||
|
%{_mandir}/man8/try-from.8*
|
||||||
|
%{_mandir}/man8/safe_finger.8*
|
||||||
|
%{_mandir}/man8/safe_finger.8*
|
||||||
|
|
||||||
%files -n libwrap
|
%files -n libwrap
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libwrap.so.*
|
%{_libdir}/libwrap.so.*
|
||||||
%{_mandir}/man5/hosts_access.5.gz
|
%doc DISCLAIMER
|
||||||
%{_mandir}/man5/hosts_options.5.gz
|
|
||||||
%doc BLURB CHANGES README* DISCLAIMER Banners.Makefile
|
|
||||||
|
|
||||||
%files -n libwrap-devel
|
%files -n libwrap-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/tcpd.h
|
%{_includedir}/tcpd.h
|
||||||
%{_libdir}/libwrap.a
|
%{_libdir}/libwrap.a
|
||||||
%{_libdir}/libwrap.so
|
%{_libdir}/libwrap.so
|
||||||
%{_mandir}/man3/hosts_access.3.gz
|
%{_mandir}/man3/hosts_access.3*
|
||||||
%{_mandir}/man3/hosts_ctl.3.gz
|
#%{_mandir}/man3/hosts_ctl.3*
|
||||||
%{_mandir}/man3/request_init.3.gz
|
#%{_mandir}/man3/request_init.3*
|
||||||
%{_mandir}/man3/request_set.3.gz
|
#%{_mandir}/man3/request_set.3*
|
||||||
|
%doc BLURB CHANGES README*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 7.6.31-1mamba
|
||||||
|
- update to 7.6.31
|
||||||
|
- rebuilt with debug package, debian patches, and specfile fixes
|
||||||
|
|
||||||
* Fri Sep 21 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 7.6-4mamba
|
* Fri Sep 21 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 7.6-4mamba
|
||||||
- added shared_lib_plus_plus patch for dynamic library and build fixes for other packages
|
- added shared_lib_plus_plus patch for dynamic library and build fixes for other packages
|
||||||
- use Makefile for install, remove specfile code
|
- use Makefile for install, remove specfile code
|
||||||
@ -117,5 +148,5 @@ install -d %{buildroot}%{_sbindir} %{buildroot}%{_libdir} \
|
|||||||
- misc security fixes
|
- misc security fixes
|
||||||
- fixed gcc compilation errors
|
- fixed gcc compilation errors
|
||||||
|
|
||||||
* Tue Apr 17 2003 Luca Tinelli <luca.tinelli@qinet.it> 7.6-1qilnx
|
* Thu Apr 17 2003 Luca Tinelli <luca.tinelli@qinet.it> 7.6-1qilnx
|
||||||
- first build
|
- first build
|
||||||
|
Loading…
Reference in New Issue
Block a user