rename bridge package to bridge-utils (to match source name)
authorNicolas Thill <nico@openwrt.org>
Mon, 3 Sep 2007 08:12:27 +0000 (08:12 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 3 Sep 2007 08:12:27 +0000 (08:12 +0000)
SVN-Revision: 8586

package/bridge-utils/Makefile [new file with mode: 0644]
package/bridge-utils/patches/001-patch-libbridge_makefile_in [new file with mode: 0644]
package/bridge/Makefile [deleted file]
package/bridge/patches/001-patch-libbridge_makefile_in [deleted file]

diff --git a/package/bridge-utils/Makefile b/package/bridge-utils/Makefile
new file mode 100644 (file)
index 0000000..6b249ac
--- /dev/null
@@ -0,0 +1,39 @@
+# 
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+# $Id$
+
+include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
+
+PKG_NAME:=bridge-utils
+PKG_VERSION:=1.0.6
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/bridge
+PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/bridge
+  SECTION:=net
+  CATEGORY:=Base system
+  TITLE:=Ethernet bridging configuration utility
+  DESCRIPTION:=\
+       Manage ethernet bridging: a way to connect networks together to \\\
+       form a larger network.
+  URL:=http://bridge.sourceforge.net/
+endef
+
+CONFIGURE_ARGS += --with-linux-headers="$(LINUX_DIR)"
+
+define Package/bridge/install
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
+endef
+
+$(eval $(call BuildPackage,bridge))
diff --git a/package/bridge-utils/patches/001-patch-libbridge_makefile_in b/package/bridge-utils/patches/001-patch-libbridge_makefile_in
new file mode 100644 (file)
index 0000000..5d21128
--- /dev/null
@@ -0,0 +1,13 @@
+Index: bridge-utils-1.0.6/libbridge/Makefile.in
+===================================================================
+--- bridge-utils-1.0.6.orig/libbridge/Makefile.in      2007-06-04 13:21:26.951879360 +0200
++++ bridge-utils-1.0.6/libbridge/Makefile.in   2007-06-04 13:21:27.019869024 +0200
+@@ -5,7 +5,7 @@
+ RANLIB=@RANLIB@
+ CC=@CC@
+-CFLAGS = -Wall -g $(KERNEL_HEADERS)
++CFLAGS = -Wall -g @CFLAGS@ $(KERNEL_HEADERS)
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
diff --git a/package/bridge/Makefile b/package/bridge/Makefile
deleted file mode 100644 (file)
index 3ea9211..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-# 
-# Copyright (C) 2006 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# $Id$
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=bridge
-PKG_VERSION:=1.0.6
-PKG_RELEASE:=1
-
-PKG_SOURCE:=bridge-utils-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=@SF/bridge
-PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/bridge-utils-$(PKG_VERSION)
-
-include $(INCLUDE_DIR)/kernel.mk
-include $(INCLUDE_DIR)/package.mk
-
-define Package/bridge
-  SECTION:=net
-  CATEGORY:=Base system
-  TITLE:=Ethernet bridging configuration utility
-  DESCRIPTION:=\
-       Manage ethernet bridging: a way to connect networks together to \\\
-       form a larger network.
-  URL:=http://bridge.sourceforge.net/
-endef
-
-CONFIGURE_ARGS += --with-linux-headers="$(LINUX_DIR)"
-
-define Package/bridge/install
-       $(INSTALL_DIR) $(1)/usr/sbin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
-endef
-
-$(eval $(call BuildPackage,bridge))
diff --git a/package/bridge/patches/001-patch-libbridge_makefile_in b/package/bridge/patches/001-patch-libbridge_makefile_in
deleted file mode 100644 (file)
index 5d21128..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: bridge-utils-1.0.6/libbridge/Makefile.in
-===================================================================
---- bridge-utils-1.0.6.orig/libbridge/Makefile.in      2007-06-04 13:21:26.951879360 +0200
-+++ bridge-utils-1.0.6/libbridge/Makefile.in   2007-06-04 13:21:27.019869024 +0200
-@@ -5,7 +5,7 @@
- RANLIB=@RANLIB@
- CC=@CC@
--CFLAGS = -Wall -g $(KERNEL_HEADERS)
-+CFLAGS = -Wall -g @CFLAGS@ $(KERNEL_HEADERS)
- prefix=@prefix@
- exec_prefix=@exec_prefix@