@ -8,12 +8,18 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := foolsm
PKG_NAME := foolsm
PKG_VERSION := 1.0.10
PKG_VERSION := 1.0.13
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := http://lsm.foobar.fi/download
PKG_SOURCE_URL := http://lsm.foobar.fi/download
PKG_HASH := 33210209ca38b3bfef1a9180f765266a134fc811dea8bc06450a3bd48d1d083e
PKG_HASH := 4eeda0e666e8ee93aab9b9c6709e9695e042dc391fb0999280874c8a73bce476
PKG_MAINTAINER :=
PKG_LICENSE := GPL-2.0-only
PKG_INSTALL := 1
PKG_BUILD_PARALLEL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -26,17 +32,23 @@ define Package/foolsm
e n d e f
e n d e f
d e f i n e P a c k a g e / f o o l s m / d e s c r i p t i o n
d e f i n e P a c k a g e / f o o l s m / d e s c r i p t i o n
foolsm is a link state monitor for carrying out actions when a link
transistions from the up to down state or vice versa.
foolsm is a link state monitor for carrying out actions when a link
transistions from the up to down state or vice versa.
e n d e f
e n d e f
d e f i n e P a c k a g e / f o o l s m / c o n f f i l e s
d e f i n e P a c k a g e / f o o l s m / c o n f f i l e s
/ e t c / f o o l s m / f o o l s m . c o n f
/ e t c / f o o l s m / f o o l s m . c o n f
e n d e f
e n d e f
MAKE_FLAGS += \
PREFIX = " $( CONFIGURE_PREFIX) "
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
d e f i n e P a c k a g e / f o o l s m / i n s t a l l
d e f i n e P a c k a g e / f o o l s m / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/sbin
$( INSTALL_DIR) $( 1) /usr/sbin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /foolsm $( 1) /usr/sbin/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/sbin /foolsm $( 1) /usr/sbin/
$( INSTALL_DIR) $( 1) /etc/foolsm/script.d
$( INSTALL_DIR) $( 1) /etc/foolsm/script.d
$( INSTALL_DIR) $( 1) /etc/init.d
$( INSTALL_DIR) $( 1) /etc/init.d
$( INSTALL_DATA) ./files/connections.conf $( 1) /etc/foolsm/connections.conf
$( INSTALL_DATA) ./files/connections.conf $( 1) /etc/foolsm/connections.conf