2006-12-19 00:17:59 +01:00
|
|
|
#
|
|
|
|
# spec file for package tcpd (Version 7.6)
|
|
|
|
#
|
2008-04-10 15:34:12 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:17:59 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 15:34:12 +02:00
|
|
|
|
2006-12-19 00:17:59 +01:00
|
|
|
Name: tcpd
|
2008-04-10 15:34:12 +02:00
|
|
|
Url: ftp://ftp.porcupine.org/pub/security/index.html
|
|
|
|
License: BSD 3-Clause
|
2006-12-19 00:17:59 +01:00
|
|
|
Group: Productivity/Networking/System
|
|
|
|
Provides: nkitb:/usr/sbin/tcpd
|
2008-04-10 15:34:12 +02:00
|
|
|
AutoReqProv: on
|
2006-12-19 00:17:59 +01:00
|
|
|
Version: 7.6
|
2008-04-10 15:34:12 +02:00
|
|
|
Release: 820
|
2006-12-19 00:17:59 +01:00
|
|
|
Summary: A security wrapper for TCP daemons
|
|
|
|
Source: tcp_wrappers_%{version}.tar.bz2
|
|
|
|
Patch: tcp_wrappers_%{version}.dif
|
|
|
|
Patch1: tcp_wrappers_%{version}-ipv6-1.6.diff.gz
|
|
|
|
Patch2: tcp_wrappers_%{version}-ipv6-fix.diff
|
|
|
|
Patch3: tcp_wrappers_%{version}-ipv6.fix.fix.diff
|
|
|
|
Patch4: tcp_wrappers_%{version}-ipv6.fix.fix2.diff
|
|
|
|
Patch5: tcp_wrappers_%{version}-host_name_mapping-fix.diff
|
|
|
|
Patch6: tcp_wrappers_%{version}-fix_options-fix.diff
|
|
|
|
Patch7: tcp_wrappers_%{version}-shared-lib.diff
|
|
|
|
Patch8: tcp_wrappers_%{version}-builtin.diff
|
|
|
|
Patch9: tcp_wrappers_%{version}-multi_local_interfaces-fix.diff
|
|
|
|
Patch10: tcp_wrappers_7.6-optflags.diff
|
|
|
|
Patch11: tcp_wrappers_7.6-nonvoid.diff
|
|
|
|
Patch12: tcp_wrappers_7.6-prototypes.diff
|
|
|
|
Patch13: tcp_wrappers_7.6-hosts_ctl.diff
|
|
|
|
Patch14: tcp_wrappers_7.6-uninitialized.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a small daemon program that can monitor and
|
|
|
|
filter incoming requests for finger, ftp, telnet, rlogin, rsh, exec,
|
|
|
|
tftp, talk, and other network services.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Wietse Venema <wietse@wzv.win.tue.nl>
|
|
|
|
|
|
|
|
%package devel
|
2008-04-10 15:34:12 +02:00
|
|
|
License: BSD 3-Clause
|
2006-12-19 00:17:59 +01:00
|
|
|
Summary: Include Files and Libraries for the TCP wrapper library
|
|
|
|
Group: Productivity/Networking/System
|
|
|
|
Prefix: %{_prefix}
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: glibc-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the library and header files, which are necessary
|
|
|
|
to compile and link programs against the TCP wrapper library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n tcp_wrappers_%{version}
|
|
|
|
%patch1 -p2
|
|
|
|
%patch
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3
|
|
|
|
%patch4
|
|
|
|
%patch5
|
|
|
|
%patch6
|
|
|
|
%patch7
|
|
|
|
%patch8
|
|
|
|
%patch9
|
|
|
|
%patch10
|
|
|
|
%patch11
|
|
|
|
%patch12 -p1
|
|
|
|
%patch13
|
|
|
|
%patch14
|
|
|
|
|
|
|
|
%build
|
|
|
|
#RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIE -Wformat=2"
|
|
|
|
make linux
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/usr/{%{_lib},include,sbin}
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man{1,3,5,8}
|
|
|
|
install -m 755 tcpd tcpdchk tcpdmatch safe_finger try-from $RPM_BUILD_ROOT/usr/sbin/
|
|
|
|
install -m 644 tcpd.8 tcpdchk.8 tcpdmatch.8 $RPM_BUILD_ROOT%{_mandir}/man8/
|
|
|
|
install -m 644 hosts_access.3 $RPM_BUILD_ROOT%{_mandir}/man3/
|
|
|
|
install -m 644 hosts_access.5 hosts_options.5 $RPM_BUILD_ROOT%{_mandir}/man5/
|
|
|
|
install -m 644 libwrap.a $RPM_BUILD_ROOT/%{_libdir}
|
|
|
|
install -m 644 tcpd.h $RPM_BUILD_ROOT/usr/include/
|
|
|
|
install -m 644 ip6utils.h $RPM_BUILD_ROOT/usr/include/
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/%{_lib}
|
|
|
|
install -m 644 shared/libwrap.so.0.%{version} $RPM_BUILD_ROOT/%{_lib}
|
|
|
|
cd $RPM_BUILD_ROOT/%{_lib}
|
|
|
|
ln -sf libwrap.so.0.%{version} libwrap.so.0
|
|
|
|
cd $RPM_BUILD_ROOT/%{_libdir}
|
|
|
|
ln -sf /%{_lib}/libwrap.so.0.%{version} libwrap.so
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
%doc BLURB CHANGES DISCLAIMER README README.ipv6 README.NIS
|
|
|
|
%attr(755,root,root) /%{_lib}/libwrap.so.*
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%attr(755,root,root) /usr/sbin/*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
/usr/include/tcpd.h
|
|
|
|
/usr/include/ip6utils.h
|
|
|
|
%{_libdir}/libwrap.a
|
|
|
|
%{_libdir}/libwrap.so
|
|
|
|
|
2008-04-10 15:34:12 +02:00
|
|
|
%changelog
|
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Tue May 30 2006 lmichnovic@suse.cz
|
2006-12-19 00:17:59 +01:00
|
|
|
- fixed uninitilized filepointer (uninitialized.diff) [#178636]
|
2008-04-10 15:34:12 +02:00
|
|
|
* Fri Mar 31 2006 lmichnovic@suse.cz
|
2006-12-19 00:17:59 +01:00
|
|
|
- fixed missing definition of hosts_ctl() in tcpd.h (hosts_ctl.diff)
|
|
|
|
[#162303]
|
2008-04-10 15:34:12 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-10 15:34:12 +02:00
|
|
|
* Sun Jan 15 2006 schwab@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- Don't strip binaries.
|
2008-04-10 15:34:12 +02:00
|
|
|
* Sat Sep 17 2005 meissner@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- fixed all implicit warnings.
|
2008-04-10 15:34:12 +02:00
|
|
|
* Fri Jun 24 2005 ro@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- build with fPIE/pie
|
|
|
|
- really use RPM_OPT_FLAGS
|
|
|
|
- fix some non-void-return warnings
|
2008-04-10 15:34:12 +02:00
|
|
|
* Thu Jan 13 2005 postadal@suse.cz
|
2006-12-19 00:17:59 +01:00
|
|
|
- fixed crashing on system with more than one network interface [#49368]
|
2008-04-10 15:34:12 +02:00
|
|
|
* Wed Sep 15 2004 aj@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- Fix warnings about implicit functions to compile with GCC 4.0.
|
2008-04-10 15:34:12 +02:00
|
|
|
* Mon Mar 22 2004 ro@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- installed shared lib to /%%_lib, not /usr/%%_lib
|
|
|
|
and add symlinks (fix for part of #36514)
|
2008-04-10 15:34:12 +02:00
|
|
|
* Thu Feb 12 2004 kukuk@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- Create subpackage "tcpd-devel"
|
2008-04-10 15:34:12 +02:00
|
|
|
* Mon Feb 09 2004 postadal@suse.cz
|
2006-12-19 00:17:59 +01:00
|
|
|
- added support for compiling as shared library with soname of libwrap0 (version 7.6)
|
2008-04-10 15:34:12 +02:00
|
|
|
* Sun Jan 11 2004 adrian@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- build as user
|
2008-04-10 15:34:12 +02:00
|
|
|
* Fri Oct 31 2003 postadal@suse.cz
|
2006-12-19 00:17:59 +01:00
|
|
|
- fixed invalid warning about "host name mismatch" [#26519, #32772]
|
2008-04-10 15:34:12 +02:00
|
|
|
* Wed Sep 10 2003 postadal@suse.cz
|
2006-12-19 00:17:59 +01:00
|
|
|
- fixed handling patterns ending with period [#27322]
|
2008-04-10 15:34:12 +02:00
|
|
|
* Sat Mar 15 2003 kukuk@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- Don't handle IPv4 netmask as Prefix length [#25409]
|
2008-04-10 15:34:12 +02:00
|
|
|
* Mon Dec 16 2002 postadal@suse.cz
|
2006-12-19 00:17:59 +01:00
|
|
|
- added ip6utils.h to filelist [#22487]
|
2008-04-10 15:34:12 +02:00
|
|
|
* Fri Dec 13 2002 postadal@suse.cz
|
2006-12-19 00:17:59 +01:00
|
|
|
- fixed fix_options function in libwrap.a [#22000]
|
|
|
|
- included patch ipv6-fix.diff of mludvig@suse.cz to make tcpd work
|
|
|
|
with IPv4 and mapped IPv4 addresses. [#16162]
|
|
|
|
- turned off remote username lookups (allways_rfc931) [#22013]
|
2008-04-10 15:34:12 +02:00
|
|
|
* Thu Jan 10 2002 cihlar@suse.cz
|
2006-12-19 00:17:59 +01:00
|
|
|
- use %%{_libdir}
|
2008-04-10 15:34:12 +02:00
|
|
|
* Tue Nov 20 2001 cihlar@suse.cz
|
2006-12-19 00:17:59 +01:00
|
|
|
- fixed SEGFAULT in tcpdchk [#12135]
|
2008-04-10 15:34:12 +02:00
|
|
|
* Thu Sep 06 2001 schwab@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- Compile with -fPIC so that it can be included in a shared library.
|
2008-04-10 15:34:12 +02:00
|
|
|
* Wed Sep 05 2001 schwab@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- Add prototypes for C++.
|
2008-04-10 15:34:12 +02:00
|
|
|
* Thu Mar 22 2001 ro@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- added split-aliases as provides
|
2008-04-10 15:34:12 +02:00
|
|
|
* Tue Feb 27 2001 cihlar@suse.cz
|
2006-12-19 00:17:59 +01:00
|
|
|
- fixed %%files
|
|
|
|
- clean up spec file
|
|
|
|
- bzipped sources
|
2008-04-10 15:34:12 +02:00
|
|
|
* Tue Apr 11 2000 kukuk@suse.de
|
2006-12-19 00:17:59 +01:00
|
|
|
- Split from nkitb
|