summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-10-24 16:03:48 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-10-24 16:03:48 +0900
commit4dba8b4530546c273318faa5927e5d853b0e8516 (patch)
tree1364b1ef7861942c038a3c2586e7d1d8b50e2ebe
parent427e21006a01f98c92434008442bba504c9d2e6c (diff)
downloadiptables-accepted/tizen_2.4_mobile.tar.gz
iptables-accepted/tizen_2.4_mobile.tar.bz2
iptables-accepted/tizen_2.4_mobile.zip
-rw-r--r--.gitignore4
-rw-r--r--extensions/libxt_hashlimit.c2
-rw-r--r--extensions/libxt_limit.c2
-rw-r--r--m4/.gitignore2
-rw-r--r--packaging/iptables.spec6
5 files changed, 5 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore
index 21873cd..e3f7df6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,16 +10,12 @@
.dirstamp
.libs/
Makefile
-Makefile.in
/include/xtables-version.h
/include/iptables/internal.h
/aclocal.m4
/autom4te.cache/
-/build-aux/
-/config.*
-/configure
/libtool
/stamp-h1
diff --git a/extensions/libxt_hashlimit.c b/extensions/libxt_hashlimit.c
index c5b8d77..8fb9bb4 100644
--- a/extensions/libxt_hashlimit.c
+++ b/extensions/libxt_hashlimit.c
@@ -10,7 +10,7 @@
*
* Error corections by nmalykh@bilim.com (22.01.2005)
*/
-#define _BSD_SOURCE 1
+#define _DEFAULT_SOURCE 1
#define _ISOC99_SOURCE 1
#include <math.h>
#include <stdbool.h>
diff --git a/extensions/libxt_limit.c b/extensions/libxt_limit.c
index f75ef2f..0a49b08 100644
--- a/extensions/libxt_limit.c
+++ b/extensions/libxt_limit.c
@@ -3,7 +3,7 @@
* Jérôme de Vivie <devivie@info.enserb.u-bordeaux.fr>
* Hervé Eychenne <rv@wallfire.org>
*/
-#define _BSD_SOURCE 1
+#define _DEFAULT_SOURCE 1
#define _ISOC99_SOURCE 1
#include <math.h>
#include <stdio.h>
diff --git a/m4/.gitignore b/m4/.gitignore
deleted file mode 100644
index 64d9bbc..0000000
--- a/m4/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/libtool.m4
-/lt*.m4
diff --git a/packaging/iptables.spec b/packaging/iptables.spec
index 4acafa2..6ae5ff5 100644
--- a/packaging/iptables.spec
+++ b/packaging/iptables.spec
@@ -1,6 +1,6 @@
Name: iptables
Summary: Tools for managing Linux kernel packet filtering capabilities
-Version: 1.4.22
+Version: 1.4.21.1
Release: 1
Group: System/Network
Source: %{name}-%{version}.tar.gz
@@ -16,7 +16,7 @@ you should install this package.
%package devel
Summary: Development package for iptables
Group: System/Network
-License: GPL-2.0+
+License: GPL-2.0+
Requires: %{name} = %{version}
Requires: pkgconfig
@@ -31,7 +31,7 @@ stable and may change with every new version. It is therefore unsupported.
%build
-export CFLAGS+=" $RPM_OPT_FLAGS -Wall -Werror -O2 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing"
+export CFLAGS+=" $RPM_OPT_FLAGS -Wall -Werror -O2 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -Wno-unused-value"
export LDFLAGS+=" -Wl,--as-needed"
%configure --enable-devel --with-kernel=/usr --with-kbuild=/usr --with-ksource=/usr