|
@@ -7,7 +7,7 @@ Summary: A security tool which acts as a wrapper for TCP daemons.
|
|
|
Summary(ja): TCP デーモンのラッパとして働くセキュリティツール
|
|
|
Name: tcp_wrappers
|
|
|
Version: 7.6
|
|
|
-Release: 38%{?_dist_release}
|
|
|
+Release: 39%{?_dist_release}
|
|
|
License: BSD
|
|
|
Group: System Environment/Daemons
|
|
|
Source: ftp://ftp.porcupine.org/pub/security/tcp_wrappers_7.6.tar.gz
|
|
@@ -34,6 +34,8 @@ Patch19: tcp_wrappers-7.6-siglongjmp.patch
|
|
|
Patch20: tcp_wrappers-7.6-sigchld.patch
|
|
|
Patch21: tcp_wrappers-7.6-196326.patch
|
|
|
Patch22: tcp_wrappers_7.6-249430.patch
|
|
|
+Patch23: tcp_wrappers-7.6-aclexec.patch
|
|
|
+Patch24: tcp_wrappers-7.6-fix-multidef.patch
|
|
|
|
|
|
# required by sin_scope_id in ipv6 patch
|
|
|
BuildRequires: glibc-devel >= 2.2
|
|
@@ -99,12 +101,14 @@ filtering incoming network services requests.
|
|
|
%patch20 -p1 -b .sigchld
|
|
|
%patch21 -p1 -b .196326
|
|
|
%patch22 -p1 -b .249430
|
|
|
+%patch23 -p1 -b .aclexec
|
|
|
+%patch24 -p1 -b .multidef
|
|
|
|
|
|
# Disable static library creation by default.
|
|
|
%define with_static 0
|
|
|
|
|
|
%build
|
|
|
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -D_REENTRANT -DHAVE_STRERROR" \
|
|
|
+make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -DPIC -D_REENTRANT -DHAVE_STRERROR -DACLEXEC" \
|
|
|
LDFLAGS="-pie" MAJOR=%{LIB_MAJOR} MINOR=%{LIB_MINOR} REL=%{LIB_REL} linux
|
|
|
|
|
|
%install
|
|
@@ -172,6 +176,10 @@ install -m755 tcpdmatch $RPM_BUILD_ROOT%{_sbindir}
|
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Aug 07 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.6-39
|
|
|
+- added Patch23 from debian (aclexec support).
|
|
|
+- added Patch24 (fix multiple definition).
|
|
|
+
|
|
|
* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 7.6-38
|
|
|
- rebuilt with rpm-4.8.1-3
|
|
|
|