diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
commit | b6af1e02efe594039707cd882517663d5370f375 (patch) | |
tree | ff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/ipt-netflow/kernel-vs-userspace.patch | |
parent | a71346b7acebc600960a98c84fb32cfd72fe864b (diff) | |
download | aports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2 aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz |
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:
* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/ipt-netflow/kernel-vs-userspace.patch')
-rw-r--r-- | unmaintained/ipt-netflow/kernel-vs-userspace.patch | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/unmaintained/ipt-netflow/kernel-vs-userspace.patch b/unmaintained/ipt-netflow/kernel-vs-userspace.patch new file mode 100644 index 0000000000..ce551e5bd3 --- /dev/null +++ b/unmaintained/ipt-netflow/kernel-vs-userspace.patch @@ -0,0 +1,69 @@ +--- ipt-netflow-2.0.orig/configure ++++ ipt-netflow-2.0/configure +@@ -258,9 +258,13 @@ + echo " --enable-vlan enables VLAN Ids for v9/IPFIX" + echo " --enable-direction enables flowDirection(61) Element" + echo " --disable-aggregation disables aggregation rules" ++ echo " --disable-kernel disable kernel module" ++ echo " --disable-ipt disable ipt" + exit 0 + } + ++BUILD_MODULE=true ++BUILD_IPT=true + CARGS="$@" + for ac_option + do +@@ -284,7 +288,8 @@ + --enable-mac*) KOPTS="$KOPTS -DENABLE_MAC" ;; + --enable-vlan*) KOPTS="$KOPTS -DENABLE_VLAN" ;; + --enable-direc*) KOPTS="$KOPTS -DENABLE_DIRECTION" ;; +- --disable-aggr*) KOPTS="$KOPTS -DDISABLE_AGGR" ;; ++ --disable-kernel) BUILD_MODULE=false ;; ++ --disable-ipt) BUILD_IPT=false ;; + --make) echo called from make ;; + -Werror) KOPTS="$KOPTS -Werror" ;; + --help|-h) show_help ;; +@@ -407,23 +412,27 @@ + kernel_check_include include/linux/llist.h -DHAVE_LLIST + } + +-kernel_find_version #KVERSION +-test "$KLIBMOD" || KLIBMOD=$KVERSION +-echo "Kernel version: $KVERSION ($KHOW)" +-kernel_find_source #KDIR +-echo "Kernel sources: $KDIR ($KSHOW)" +-kernel_check_consistency +-kernel_check_config +-kernel_check_features ++if $BUILD_MODULE; then ++ kernel_find_version #KVERSION ++ test "$KLIBMOD" || KLIBMOD=$KVERSION ++ echo "Kernel version: $KVERSION ($KHOW)" ++ kernel_find_source #KDIR ++ echo "Kernel sources: $KDIR ($KSHOW)" ++ kernel_check_consistency ++ kernel_check_config ++ kernel_check_features ++fi + +-test "$IPTBIN" || IPTBIN=`which iptables` ++if $BUILD_IPT; then ++ test "$IPTBIN" || IPTBIN=`which iptables` + +-iptables_find_version #IPTVER +-iptables_try_pkgconfig #try to configure from pkg-config +-iptables_find_src #IPTSRC +-iptables_src_version #check that IPTSRC match to IPTVER +-iptables_inc #IPTINC +-iptables_modules #IPTLIB ++ iptables_find_version #IPTVER ++ iptables_try_pkgconfig #try to configure from pkg-config ++ iptables_find_src #IPTSRC ++ iptables_src_version #check that IPTSRC match to IPTVER ++ iptables_inc #IPTINC ++ iptables_modules #IPTLIB ++fi + + REPLACE="\ + s!@CARGS@!$CARGS!;\ |