mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-21 12:04:56 +02:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
98f943cb6c | ||
![]() |
cedbb110e1 | ||
![]() |
c703be229a | ||
![]() |
c338e8f827 | ||
![]() |
7c09f5db2f |
@@ -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};
|
||||||
|
@@ -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";
|
||||||
|
@@ -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@
|
||||||
|
@@ -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 */
|
||||||
|
Reference in New Issue
Block a user