rpms/conntrack-tools/devel conntrack-tools-rollup.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 conntrack-tools.spec, 1.3, 1.4 sources, 1.2, 1.3 conntrack-tools-0.9.5-open.patch, 1.1, NONE conntrack-tools-pathmax.patch, 1.1, NONE
Paul P Komkoff Jr (stingray)
fedora-extras-commits at redhat.com
Sat Feb 23 04:15:22 UTC 2008
- Previous message (by thread): rpms/alexandria/devel .cvsignore, 1.5, 1.6 alexandria.spec, 1.11, 1.12 sources, 1.5, 1.6 alexandria-0.6.2-rh427070.patch, 1.1, NONE
- Next message (by thread): rpms/kernel/F-8 config-powerpc-generic, 1.11, 1.12 kernel.spec, 1.356, 1.357
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: stingray
Update of /cvs/extras/rpms/conntrack-tools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27607
Modified Files:
.cvsignore conntrack-tools.spec sources
Added Files:
conntrack-tools-rollup.patch
Removed Files:
conntrack-tools-0.9.5-open.patch conntrack-tools-pathmax.patch
Log Message:
conntrack-tools-0.9.6-0.1.svn7382
conntrack-tools-rollup.patch:
--- NEW FILE conntrack-tools-rollup.patch ---
diff --git a/Make_global.am b/Make_global.am
index 3ff531f..2eeb886 100644
--- a/Make_global.am
+++ b/Make_global.am
@@ -1,6 +1,5 @@
INCLUDES=$(all_includes) -I$(top_srcdir)/include
AM_CFLAGS = -std=gnu99 -W -Wall \
- -Werror \
-Wmissing-prototypes -Wwrite-strings -Wcast-qual -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wstrict-prototypes -Wundef \
-Wno-unused-parameter
diff --git a/src/Makefile.am b/src/Makefile.am
index 494da4f..2d8c6b6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,8 +1,6 @@
include $(top_srcdir)/Make_global.am
-YACC=@YACC@ -d
-
-CLEANFILES = read_config_yy.c read_config_lex.c
+AM_YFLAGS = -d
sbin_PROGRAMS = conntrack conntrackd
@@ -22,9 +20,6 @@ conntrackd_SOURCES = alarm.c main.c run.c hash.c queue.c rbtree.c \
build.c parse.c \
read_config_yy.y read_config_lex.l
-# yacc and lex generate dirty code
-read_config_yy.o read_config_lex.o: AM_CFLAGS += -Wno-missing-prototypes -Wno-missing-declarations -Wno-implicit-function-declaration -Wno-nested-externs -Wno-undef -Wno-redundant-decls
conntrackd_LDFLAGS = $(all_libraries) @LIBNETFILTER_CONNTRACK_LIBS@
-EXTRA_DIST = read_config_yy.h
diff --git a/src/conntrack.c b/src/conntrack.c
index 82ff544..23050a4 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -299,7 +299,7 @@ err2str(int err, enum action command)
{ CT_CREATE, ETIME, "conntrack has expired" },
{ EXP_CREATE, ENOENT, "master conntrack not found" },
{ EXP_CREATE, EINVAL, "invalid parameters" },
- { ~0UL, EPERM, "sorry, you must be root or get "
+ { (enum action) ~0UL, EPERM, "sorry, you must be root or get "
"CAP_NET_ADMIN capability to do this"}
};
diff --git a/src/ignore_pool.c b/src/ignore_pool.c
index 027d628..2f951e8 100644
--- a/src/ignore_pool.c
+++ b/src/ignore_pool.c
@@ -25,6 +25,7 @@
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#include <stdlib.h>
#include <string.h>
+#include <limits.h>
/* XXX: These should be configurable, better use a rb-tree */
#define IGNORE_POOL_SIZE 128
diff --git a/src/main.c b/src/main.c
index 2e1ccd8..084643c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -26,6 +26,7 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
+#include <limits.h>
struct ct_general_state st;
union ct_state state;
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/conntrack-tools/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 29 Oct 2007 23:05:53 -0000 1.2
+++ .cvsignore 23 Feb 2008 04:14:49 -0000 1.3
@@ -1 +1,2 @@
conntrack-tools-0.9.5.tar.bz2
+conntrack-tools-0.9.6-svn7382.patch.bz2
Index: conntrack-tools.spec
===================================================================
RCS file: /cvs/extras/rpms/conntrack-tools/devel/conntrack-tools.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- conntrack-tools.spec 22 Feb 2008 22:58:59 -0000 1.3
+++ conntrack-tools.spec 23 Feb 2008 04:14:49 -0000 1.4
@@ -1,13 +1,16 @@
+%define rev 7382
+%define basever 0.9.5
+
Name: conntrack-tools
-Version: 0.9.5
-Release: 5%{?dist}
+Version: 0.9.6
+Release: 0.1.svn%{rev}%{?dist}
Summary: Tools to manipulate netfilter connection tracking table
Group: System Environment/Base
License: GPLv2
URL: http://netfilter.org
-Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
-Patch0: conntrack-tools-0.9.5-open.patch
-Patch1: conntrack-tools-pathmax.patch
+Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{basever}.tar.bz2
+Patch0: conntrack-tools-%{version}-svn%{rev}.patch.bz2
+Patch1: conntrack-tools-rollup.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libnfnetlink-devel libnetfilter_conntrack-devel pkgconfig bison flex
BuildRequires: autoconf automake libtool
@@ -31,7 +34,7 @@
show an event message (one line) per newly established connection.
%prep
-%setup -q
+%setup -q -n %{name}-%{basever}
%patch0 -p1
%patch1 -p1
autoreconf -i --force
@@ -39,7 +42,6 @@
%build
%configure --disable-static
%{__make} %{?_smp_mflags}
-find examples -type f | xargs chmod a-x
%install
rm -rf $RPM_BUILD_ROOT
@@ -50,12 +52,15 @@
%files
%defattr(-,root,root,-)
-%doc ChangeLog COPYING AUTHORS INSTALL TODO examples
+%doc ChangeLog COPYING AUTHORS INSTALL TODO
%{_sbindir}/conntrack
%{_sbindir}/conntrackd
%{_mandir}/man8/*
%changelog
+* Sat Feb 23 2008 Paul P. Komkoff Jr <i at stingr.net> - 0.9.6-0.1.svn7382
+- new version from svn
+
* Fri Feb 22 2008 Paul P. Komkoff Jr <i at stingr.net> - 0.9.5-5
- fix the PATH_MAX-related compilation problem
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/conntrack-tools/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 29 Oct 2007 23:05:53 -0000 1.2
+++ sources 23 Feb 2008 04:14:49 -0000 1.3
@@ -1 +1,2 @@
c639e17ba6cbfce52b288a5105724f2d conntrack-tools-0.9.5.tar.bz2
+3655624ced8ef291c90edfdfb9760434 conntrack-tools-0.9.6-svn7382.patch.bz2
--- conntrack-tools-0.9.5-open.patch DELETED ---
--- conntrack-tools-pathmax.patch DELETED ---
- Previous message (by thread): rpms/alexandria/devel .cvsignore, 1.5, 1.6 alexandria.spec, 1.11, 1.12 sources, 1.5, 1.6 alexandria-0.6.2-rh427070.patch, 1.1, NONE
- Next message (by thread): rpms/kernel/F-8 config-powerpc-generic, 1.11, 1.12 kernel.spec, 1.356, 1.357
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list