diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-29 19:45:19 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-29 19:45:19 +0100 |
commit | b3a54c520195f3cab1109cb90de8179e4dff433f (patch) | |
tree | 6728c4cdb14fd18a6b7c040c7d395a2d5603fc74 /package/ebtables/patches | |
parent | 81b38e16646cc758202b51b5174da63e2e09646a (diff) |
add bridging firewall stuff
- tested with a transparent squid proxy
- fix some minor other stuff
- not completely ready
Diffstat (limited to 'package/ebtables/patches')
-rw-r--r-- | package/ebtables/patches/patch-Makefile | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/package/ebtables/patches/patch-Makefile b/package/ebtables/patches/patch-Makefile index 455893dcc..62528ec30 100644 --- a/package/ebtables/patches/patch-Makefile +++ b/package/ebtables/patches/patch-Makefile @@ -1,6 +1,6 @@ --- ebtables-v2.0.9-1.orig/Makefile 2009-06-21 15:13:25.000000000 +0200 -+++ ebtables-v2.0.9-1/Makefile 2009-11-29 12:54:31.000000000 +0100 -@@ -8,10 +8,10 @@ PROGDATE:=June\ 2009 ++++ ebtables-v2.0.9-1/Makefile 2009-11-29 15:39:30.000000000 +0100 +@@ -8,17 +8,16 @@ PROGDATE:=June\ 2009 # default paths LIBDIR:=/usr/lib @@ -14,7 +14,25 @@ SYSCONFIGDIR:=/etc/sysconfig DESTDIR:= -@@ -154,28 +154,29 @@ tmp3:=$(shell printf $(PIPE) | sed 's/\/ +-CFLAGS:=-Wall -Wunused ++CFLAGS?=-Wall -Wunused + CFLAGS_SH_LIB:=-fPIC +-CC:=gcc +-LD:=ld ++CC?=gcc + + ifeq ($(shell uname -m),sparc64) + CFLAGS+=-DEBT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32 +@@ -85,7 +84,7 @@ ebtables-standalone.o: ebtables-standalo + + .PHONY: libebtc + libebtc: $(OBJECTS2) +- $(LD) -shared -soname libebtc.so -o libebtc.so -lc $(OBJECTS2) ++ $(CC) -shared -o libebtc.so -lc $(OBJECTS2) + + ebtables: $(OBJECTS) ebtables-standalone.o libebtc + $(CC) $(CFLAGS) $(CFLAGS_SH_LIB) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ +@@ -154,28 +153,29 @@ tmp3:=$(shell printf $(PIPE) | sed 's/\/ .PHONY: scripts scripts: ebtables-save ebtables.sysv ebtables-config cat ebtables-save | sed 's/__EXEC_PATH__/$(tmp1)/g' > ebtables-save_ @@ -51,7 +69,7 @@ .PHONY: install install: $(MANDIR)/man8/ebtables.8 $(ETHERTYPESFILE) exec scripts -@@ -199,18 +200,18 @@ release: +@@ -199,18 +199,18 @@ release: rm -f extensions/ebt_inat.c rm -rf $(CVSDIRS) mkdir -p include/linux/netfilter_bridge |