1
0
forked from jengelh/iptables

Accepting request 33133 from Base:System

Copy from Base:System/iptables based on submit request 33133 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/33133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iptables?expand=0&rev=19
This commit is contained in:
OBS User autobuild 2010-02-23 00:18:57 +00:00 committed by Git OBS Bridge
parent 81ba7a66f1
commit 703b9ea46c
4 changed files with 19 additions and 10 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5fe2361b111d5a8a3b98510a1b913d0dc49b07e4ef6f1a724df136e3e91e88d3
size 216442

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e732798cad62163d6e033aa52e22b771246556a230c0f66cd33fe69e96d72a4
size 463758

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Feb 22 13:09:03 UTC 2010 - jengelh@medozas.de
- only run configure when needed
- use %_smp_mflags
- use newer git snapshot to fix compile error due to missing
ipt_DSCP.h in newer linux-glibc-devel (>= 2.6.32)
-------------------------------------------------------------------
Wed Dec 30 13:01:52 UTC 2009 - puzel@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package iptables (Version 1.4.6)
# spec file for package iptables (Version 1.4.6+git9)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -21,8 +21,8 @@
Name: iptables
License: GPLv2+
Group: Productivity/Networking/Security
Version: 1.4.6
Release: 2
Version: 1.4.6+git9
Release: 1
Summary: IP Packet Filter Administration
Source0: %{name}-%{version}.tar.bz2
Patch0: %{name}-batch.patch
@ -62,20 +62,22 @@ Authors:
%patch0
%build
autoreconf -f -i
if [ ! -e configure ]; then
./autogen.sh;
fi
# bnc#561793 - do not include unclean module in iptables manpage
rm -rf extensions/libipt_unclean.man
%configure \
--enable-libipq \
--libexecdir=%{_libdir}
make %{?jobs:-j%jobs}
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
# iptables-apply is not installed by upstream Makefile
install -m0755 iptables-apply $RPM_BUILD_ROOT%{_sbindir}/
install -m0644 iptables-apply.8 $RPM_BUILD_ROOT%{_mandir}/man8/
find "$RPM_BUILD_ROOT" -iname "*.la" -print0 | xargs -0 rm -f;
find "$RPM_BUILD_ROOT" -iname "*.la" -delete
%clean
rm -rf $RPM_BUILD_ROOT
@ -99,7 +101,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%doc %{_mandir}/man3/*
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/xtables.pc
%{_libdir}/pkgconfig/libiptc.pc