Compare commits

..

5 Commits

Author SHA1 Message Date
Jan Engelhardt
98f943cb6c Xtables-addons 1.5.2
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
2008-03-04 05:17:00 +01:00
Jan Engelhardt
cedbb110e1 Makefile: add "tarball" target
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
2008-03-04 05:16:35 +01:00
Jan Engelhardt
c703be229a Remove XTABLES_VERSION define, it is now provided by xtables.h
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
2008-03-04 05:13:34 +01:00
Jan Engelhardt
c338e8f827 Move defines in compat_xtables.h down to avoid redeclaration errors
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
2008-03-04 05:12:06 +01:00
Jan Engelhardt
7c09f5db2f Use system's readlink program to make things work with GNU make < 3.81
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
2008-02-29 13:49:04 +01:00
4 changed files with 21 additions and 6 deletions

View File

@@ -2,3 +2,11 @@
AUTOMAKE_OPTIONS = foreign subdir-objects AUTOMAKE_OPTIONS = foreign subdir-objects
SUBDIRS = extensions SUBDIRS = extensions
.PHONY: tarball
tarball:
rm -Rf /tmp/xtables-addons-${PACKAGE_VERSION};
pushd ${top_srcdir} && git-archive --prefix=xtables-addons-${PACKAGE_VERSION}/ HEAD | tar -C /tmp -x && popd;
pushd /tmp/xtables-addons-${PACKAGE_VERSION} && ./autogen.sh && popd;
tar -C /tmp -cjf xtables-addons-${PACKAGE_VERSION}.tar.bz2 xtables-addons-${PACKAGE_VERSION}/;
rm -Rf /tmp/xtables-addons-${PACKAGE_VERSION};

View File

@@ -1,5 +1,5 @@
AC_INIT([xtables-addons], [1.5.1]) AC_INIT([xtables-addons], [1.5.2])
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([config.h])
AC_PROG_INSTALL AC_PROG_INSTALL
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE
@@ -50,8 +50,7 @@ fi;
regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \ regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \
-D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \ -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \
-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \ -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
-Winline -pipe -DXTABLES_VERSION=\\\"$PACKAGE_VERSION\\\" \ -Winline -pipe -DXTABLES_LIBDIR=\\\"\${xtlibdir}\\\"";
-DXTABLES_LIBDIR=\\\"\${xtlibdir}\\\"";
kinclude_CFLAGS=""; kinclude_CFLAGS="";
if [[ -n "$kbuilddir" ]]; then if [[ -n "$kbuilddir" ]]; then
kinclude_CFLAGS="$kinclude_CFLAGS -I $kbuilddir/include"; kinclude_CFLAGS="$kinclude_CFLAGS -I $kbuilddir/include";

View File

@@ -2,8 +2,16 @@
top_srcdir := @top_srcdir@ top_srcdir := @top_srcdir@
srcdir := @srcdir@ srcdir := @srcdir@
abstop_srcdir := $(realpath ${top_srcdir}) abstop_srcdir := $(shell readlink -e ${top_srcdir})
abssrcdir := $(realpath ${srcdir}) abssrcdir := $(shell readlink -e ${srcdir})
ifeq (${abstop_srcdir},)
$(error Path resolution of ${top_srcdir} failed)
endif
ifeq (${abssrcdir},)
$(error Path resolution of ${srcdir} failed)
endif
prefix := @prefix@ prefix := @prefix@
exec_prefix := @exec_prefix@ exec_prefix := @exec_prefix@
libdir := @libdir@ libdir := @libdir@

View File

@@ -2,6 +2,7 @@
#define _XTABLES_COMPAT_H 1 #define _XTABLES_COMPAT_H 1
#include <linux/version.h> #include <linux/version.h>
#include "compat_xtnu.h"
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22) #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
# warning Kernels below 2.6.22 not supported anymore # warning Kernels below 2.6.22 not supported anymore
@@ -43,6 +44,5 @@
#endif #endif
#define xt_request_find_match xtnu_request_find_match #define xt_request_find_match xtnu_request_find_match
#include "compat_xtnu.h"
#endif /* _XTABLES_COMPAT_H */ #endif /* _XTABLES_COMPAT_H */