All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] PATCH  [1/1]  New package  ebtables
@ 2010-06-14  8:16 Sagaert Johan
  0 siblings, 0 replies; only message in thread
From: Sagaert Johan @ 2010-06-14  8:16 UTC (permalink / raw)
  To: buildroot

Hi
 
Added ebtables to the buildroot system
ebtables is the bridge filetering tool.
 
 
 
--- buildroot-2010.05/package/Config.in 2010-05-30 22:24:10.000000000 +0200
+++ buildroot/package/Config.in 2010-06-13 19:06:17.000000000 +0200
@@ -354,6 +354,7 @@ source "package/dhcp/Config.in"
 endif
 source "package/dnsmasq/Config.in"
 source "package/dropbear/Config.in"
+source "package/ebtables/Config.in"
 source "package/ethtool/Config.in"
 source "package/hostapd/Config.in"
 source "package/ifplugd/Config.in"
diff -rupN buildroot-2010.05/package/ebtables/Config.in
buildroot/package/ebtables/Config.in
--- buildroot-2010.05/package/ebtables/Config.in 1970-01-01
01:00:00.000000000 +0100
+++ buildroot/package/ebtables/Config.in 2010-06-13 19:10:16.000000000 +0200
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_EBTABLES
+ bool "ebtables"
+ help
+   Linux kernel bridge filtering tools.
+   http://sourceforge.net/projects/ebtables/
diff -rupN buildroot-2010.05/package/ebtables/ebtables.mk
buildroot/package/ebtables/ebtables.mk
--- buildroot-2010.05/package/ebtables/ebtables.mk 1970-01-01
01:00:00.000000000 +0100
+++ buildroot/package/ebtables/ebtables.mk 2010-06-13 19:10:16.000000000
+0200
@@ -0,0 +1,28 @@
+#############################################################
+#
+# ebtables
+#
+#############################################################
+EBTABLES_VERSION = v2.0.9-2
+EBTABLES_SOURCE = ebtables-$(EBTABLES_VERSION).tar.gz
+EBTABLES_SITE =
http://downloads.sourceforge.net/project/ebtables/ebtables/ebtables-2-0-9-2
+
+define EBTABLES_BUILD_CMDS
+ $(MAKE) CC=$(TARGET_CC) LD=$(TARGET_LD) -C $(@D) all
+endef
+
+define EBTABLES_INSTALL_TARGET_CMDS
+ mkdir -p $(TARGET_DIR)/usr/lib
+ cp -dpf $(@D)/ebtables $(TARGET_DIR)/usr/bin
+ cp -dpf $(@D)/ebtables-restore $(TARGET_DIR)/usr/bin
+ cp -dpf $(@D)/*.so $(TARGET_DIR)/usr/lib
+ cp -dpf $(@D)/extensions/*.so $(TARGET_DIR)/usr/lib
+endef
+
+define EBTABLES_INSTALL_STAGING_CMDS
+ cp -dpf $(@D)/include/*.h $(STAGING_DIR)/usr/include
+ cp -dpf $(@D)/*.so $(STAGING_DIR)/usr/lib/
+ cp -dpf $(@D)/extensions/*.so $(STAGING_DIR)/usr/lib/
+endef
+
+$(eval $(call GENTARGETS,package,ebtables))

 
 
 
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100614/be50dabd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ebtables.patch
Type: application/octet-stream
Size: 2054 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100614/be50dabd/attachment.obj>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-14  8:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-14  8:16 [Buildroot] PATCH [1/1] New package ebtables Sagaert Johan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.