summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorrusty <rusty>2001-02-28 11:21:53 +0000
committerrusty <rusty>2001-02-28 11:21:53 +0000
commitbf95365c89d536434981b7873fafc9d13ba0bfb9 (patch)
tree62f2ec32c62882b3f48bc67dae64ba9a730b5784 /extensions
parentc72c8454e736fc194336ba9dc05b5623706eaff7 (diff)
Move some include files to be present always, so build always includes them even if patches not applied (eg. for distributions).
Diffstat (limited to 'extensions')
-rwxr-xr-xextensions/.FTOS-test2
-rwxr-xr-xextensions/.TCPMSS-test3
-rwxr-xr-xextensions/.TTL-test2
-rwxr-xr-xextensions/.ULOG-test2
-rwxr-xr-xextensions/.ah-esp-test3
-rwxr-xr-xextensions/.iplimit-test2
-rwxr-xr-xextensions/.ttl-test2
-rw-r--r--extensions/Makefile3
8 files changed, 3 insertions, 16 deletions
diff --git a/extensions/.FTOS-test b/extensions/.FTOS-test
deleted file mode 100755
index d07fce7..0000000
--- a/extensions/.FTOS-test
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/sh
-[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_FTOS.h ] && echo FTOS
diff --git a/extensions/.TCPMSS-test b/extensions/.TCPMSS-test
deleted file mode 100755
index d6ea82f..0000000
--- a/extensions/.TCPMSS-test
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_TCPMSS.h ] && echo TCPMSS
-[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_tcpmss.h ] && echo tcpmss
diff --git a/extensions/.TTL-test b/extensions/.TTL-test
deleted file mode 100755
index cdeda6f..0000000
--- a/extensions/.TTL-test
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/sh
-[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_TTL.h ] && echo TTL
diff --git a/extensions/.ULOG-test b/extensions/.ULOG-test
deleted file mode 100755
index 7ca8523..0000000
--- a/extensions/.ULOG-test
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/sh
-[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_ULOG.h ] && echo ULOG
diff --git a/extensions/.ah-esp-test b/extensions/.ah-esp-test
deleted file mode 100755
index f8b779c..0000000
--- a/extensions/.ah-esp-test
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-# True if ah is applied.
-[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_ah.h ] && echo ah esp
diff --git a/extensions/.iplimit-test b/extensions/.iplimit-test
deleted file mode 100755
index dee32d9..0000000
--- a/extensions/.iplimit-test
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/sh
-[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_iplimit.h ] && echo iplimit
diff --git a/extensions/.ttl-test b/extensions/.ttl-test
deleted file mode 100755
index 28a3cdc..0000000
--- a/extensions/.ttl-test
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/sh
-[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_ttl.h ] && echo ttl
diff --git a/extensions/Makefile b/extensions/Makefile
index 5f7c603..be607e9 100644
--- a/extensions/Makefile
+++ b/extensions/Makefile
@@ -3,6 +3,9 @@
PF_EXT_SLIB:=tcp udp icmp mac limit standard REJECT LOG unclean state multiport tos TOS mark MARK owner SNAT DNAT MASQUERADE REDIRECT MIRROR
PF6_EXT_SLIB:=tcp udp icmp standard MARK mark
+# The following may not be present, but compile them anyway.
+PF_EXT_SLIB+=FTOS TCPMSS TTL ULOG ah esp iplimit tcpmss ttl
+
# Optionals
PF_EXT_SLIB_OPTS:=$(foreach T,$(wildcard extensions/.*-test),$(shell KERNEL_DIR=$(KERNEL_DIR) $(T)))
PF6_EXT_SLIB_OPTS:=$(foreach T,$(wildcard extensions/.*-test6),$(shell KERNEL_DIR=$(KERNEL_DIR) $(T)))