@ -1,7 +1,7 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := ubox
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE_PROTO := git
PKG_SOURCE_URL = $( PROJECT_GIT) /project/ubox.git
@ -27,18 +27,28 @@ define Package/ubox
TITLE:= OpenWrt system helper toolbox
e n d e f
d e f i n e P a c k a g e / g e t r a n d o m
SECTION:= base
CATEGORY:= Base system
TITLE:= OpenWrt getrandom system helper
e n d e f
d e f i n e P a c k a g e / l o g d
SECTION := base
SECTION: = base
CATEGORY:= Base system
DEPENDS:= +libubox +libubus +libblobmsg-json +USE_GLIBC:librt
TITLE:= OpenWrt system log implementation
e n d e f
d e f i n e P a c k a g e / g e t r a n d o m / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/getrandom $( 1) /usr/bin/
e n d e f
d e f i n e P a c k a g e / u b o x / i n s t a l l
$( INSTALL_DIR) $( 1) /sbin $( 1) /usr/sbin $( 1) /lib $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/sbin/{ kmodloader,validate_data} $( 1) /sbin/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/getrandom $( 1) /usr/bin/
$( INSTALL_DATA) $( PKG_INSTALL_DIR) /usr/lib/libvalidate.so $( 1) /lib
$( LN) kmodloader $( 1) /sbin/rmmod
@ -56,4 +66,5 @@ define Package/logd/install
e n d e f
$( eval $ ( call BuildPackage ,ubox ) )
$( eval $ ( call BuildPackage ,getrandom ) )
$( eval $ ( call BuildPackage ,logd ) )