@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME := bridge-utils
PKG_VERSION := 1.6
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := @KERNEL/linux/utils/net/$( PKG_NAME)
@ -28,6 +28,7 @@ define Package/bridge
CATEGORY:= Base system
TITLE:= Ethernet bridging configuration utility
URL:= http://www.linuxfromscratch.org/blfs/view/svn/basicnet/bridge-utils.html
ALTERNATIVES:= 300:/usr/sbin/brctl:/usr/libexec/bridge-utils-brctl
e n d e f
d e f i n e P a c k a g e / b r i d g e / d e s c r i p t i o n
@ -41,15 +42,8 @@ CONFIGURE_ARGS += \
--with-linux-headers= " $( LINUX_DIR) " \
d e f i n e P a c k a g e / b r i d g e / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/sbin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /brctl/brctl $( 1) /usr/sbin
e n d e f
d e f i n e P a c k a g e / b r i d g e / p r e r m
#!/bin/sh
$$ { I P K G _ I N S T R O O T } / b i n / b u s y b o x b r c t l - h 2 > & 1 | g r e p - q B u s y B o x & & \
l n - s f . . / . . / b i n / b u s y b o x $$ { I P K G _ I N S T R O O T } / u s r / s b i n / b r c t l
e x i t 0
$( INSTALL_DIR) $( 1) /usr/libexec
$( INSTALL_BIN) $( PKG_BUILD_DIR) /brctl/brctl $( 1) /usr/libexec/bridge-utils-brctl
e n d e f
$( eval $ ( call BuildPackage ,bridge ) )