@ -14,11 +14,11 @@ PKG_MAINTAINER:=Harald Geyer <harald@ccbib.org>
PKG_NAME := elektra
PKG_LICENSE := BSD-3-Clause
PKG_LICENSE_FILES := LICENSE.md
PKG_VERSION := 0.8.21
PKG_RELEASE := 5
PKG_VERSION := 0.9.2
PKG_RELEASE := 1
# Use this for official releasees
PKG_HASH := 51892570f18d1667d0da4d0908a091e41b41c20db9835765677109a3d150cd26
PKG_HASH := 6f2fcf8aaed8863e1cc323265ca2617751ca50dac974b43a0811bcfd4a511f2e
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := http://ftp.libelektra.org/ftp/elektra/releases
@ -29,11 +29,9 @@ PKG_SOURCE_URL:=http://ftp.libelektra.org/ftp/elektra/releases
#PKG_SOURCE_VERSION:=e97efb29a94f3a49cb952d06552fcf53708ea8c7
#PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
HOST_BUILD_DEPENDS := swig/host
PKG_BUILD_DEPENDS := elektra/host lua
PKG_BUILD_DEPENDS := lua
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 ) / h o s t - b u i l d . m k
i n c l u d e $( INCLUDE_DIR ) / c m a k e . m k
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
@ -99,11 +97,10 @@ define Package/libelektra-plugins
e n d e f
d e f i n e C O N T E N T _ E L E K T R A _ P L U G I N S _ T E X T
b a s e 6 4 b o o l e a n c a c h e f i l t e r c a m e l c c o d e c o n d i t i o n a l s c s v s t o r a g e
d a t e d i r e c t o r y v a l u e e n u m f i l e f i l e c h e c k g l o b h e x c o d e h i d d e n
h o s t s i c o n v i p a d d r k e y t o m e t a l i n e l i n e e n d i n g s l i s t m a t h c h e c k
m i n i n e t w o r k n u l l p a t h p r o f i l e r a n g e s h e l l s y s l o g u n a m e
v a l i d a t i o n
b a s e 6 4 c o n d i t i o n a l s c s v s t o r a g e d a t e f i l e f i l e c h e c k g l o b h e x c o d e
h e x n u m b e r h i d d e n h o s t s i c o n v i p a d d r k e y t o m e t a l i n e l i n e e n d i n g s l i s t
m a t h c h e c k m a c a d d r m i n i n e t w o r k n u l l p a t h p r o f i l e q u i c k d u m p
r a n g e r e f e r e n c e r g b c o l o r s h e l l s y s l o g t y p e u n a m e u n i t v a l i d a t i o n
e n d e f
CONTENT_ELEKTRA_PLUGINS = $( strip $( CONTENT_ELEKTRA_PLUGINS_TEXT) )
@ -123,7 +120,7 @@ define Package/libelektra-cpp
DEPENDS:= +libelektra-core +libstdcpp
e n d e f
CONTENT_ELEKTRA_CPP = dump regexstore struct type
CONTENT_ELEKTRA_CPP = ccode directoryvalue dump
d e f i n e P a c k a g e / l i b e l e k t r a - c p p / d e s c r i p t i o n
$( call Package /libelektra /Default -description )
@ -149,7 +146,7 @@ endef
d e f i n e P a c k a g e / l i b e l e k t r a - c r y p t o
$( call Package/libelektra/Default)
TITLE:= Elektra crypto plugin
DEPENDS:= +libelektra-core +libopenssl
DEPENDS:= +libelektra-core +libgcrypt
e n d e f
d e f i n e P a c k a g e / l i b e l e k t r a - c r y p t o / d e s c r i p t i o n
@ -234,6 +231,12 @@ $(call Package/libelektra/Default-description)
T h i s p a c k a g e c o n t a i n s s u p p o r t f o r s t o r i n g t h e k e y d a t a b a s e a s y a m l f i l e s .
e n d e f
d e f i n e P a c k a g e / l i b e l e k t r a - z m q
$( call Package/libelektra/Default)
TITLE:= Elektra ZeroMQ transport plugins
DEPENDS:= +libelektra-core +libzmq
e n d e f
d e f i n e P a c k a g e / l i b e l e k t r a - p y t h o n 3
$( call Package/libelektra/Default)
TITLE:= Elektra python3 plugin
@ -265,9 +268,9 @@ define Package/libelektra-extra
e n d e f
d e f i n e C O N T E N T _ E X T R A _ P L U G I N S _ T E X T
b l o c k r e s o l v e r c c o n s t a n t s c o u n t e r d e s k t o p d i n i d p k g e r r o r
f c r y p t f s t a b l o g c h a n g e m o z p r e f s p a s s w d r e n a m e r e q u i r e d
s i m p l e s p e c l a n g t i m e o f d a y t r a c e r
b l o c k r e s o l v e r c c o n s t a n t s c o u n t e r d e s k t o p d p k g e r r o r f c r y p t
f s t a b l o g c h a n g e m o z p r e f s p a s s w d p r o c e s s r e n a m e
t i m e o f d a y t r a c e r y a m l s m i t h
e n d e f
CONTENT_ELEKTRA_EXTRA := $( strip $( CONTENT_EXTRA_PLUGINS_TEXT) )
@ -281,6 +284,8 @@ are included in this package. Currently this includes:
$( CONTENT_EXTRA_PLUGINS_TEXT )
e n d e f
CMAKE_BINARY_SUBDIR = build
CMAKE_OPTIONS = \
-DTARGET_PLUGIN_FOLDER= "" \
-DBUILD_FULL= OFF \
@ -291,38 +296,35 @@ CMAKE_OPTIONS = \
-DKDB_DEFAULT_RESOLVER= resolver_fm_pb_b \
-DKDB_DEFAULT_STORAGE= ini \
-DENABLE_OPTIMIZATIONS= OFF \
-DPLUGINS= "ALL;-multifile;-python2" \
-DICONV_FIND_REQUIRED= ON \
-DICONV_INCLUDE_DIR= " $( ICONV_PREFIX) /include " \
-DICONV_LIBRARY= " $( ICONV_PREFIX) /lib "
CMAKE_HOST_OPTIONS = \
-DCMAKE_SKIP_RPATH= FALSE \
-DCMAKE_INSTALL_RPATH= $( STAGING_DIR_HOST) /lib/ \
-DINSTALL_BUILD_TOOLS= ON \
-DBUILD_STATIC= OFF \
-DBUILD_DOCUMENTATION= OFF \
-DINSTALL_SYSTEM_FILES= OFF \
-DFORCE_IN_SOURCE_BUILD= ON \
-DBUILD_TESTING= OFF \
-DPLUGINS= "ALL;-python2;-python;-ruby" \
-DTOOLS= "gen;kdb"
-DPLUGINS= "ALL;-multifile;-simpleini;-internalnotification" \
-DIconv_INCLUDE_DIR= " $( ICONV_PREFIX) /include " \
-DIconv_LIBRARY= " $( ICONV_PREFIX) /lib/libiconv. $( if $( CONFIG_BUILD_NLS) ,so,a) " \
-DBINDINGS= "MAINTAINED;-intercept_env;-intercept_fs;-io_uv;-io_ev;-io_glib"
d e f i n e P a c k a g e / l i b e l e k t r a - c o r e / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/kdb/
$( INSTALL_DIR) $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-core.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-ease.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-globbing.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-highlevel.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-invoke.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-io.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-kdb.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-merge.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-meta.so* $( 1) /usr/lib/
#The next is excluded because of an upstream bug
#$(CP) $(PKG_INSTALL_DIR)/usr/lib/libelektra-notification.so* $(1)/usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-opts.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-plugin.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-pluginprocess.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-proposal.so* $( 1) /usr/lib/
#The next is only supported with glibc, so skip it.
#$(CP) $(PKG_INSTALL_DIR)/usr/lib/libelektraintercept-* $(1)/usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-resolver_fm_pb_b.so $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-utility.so* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-cache.so $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-mmapstorage.so $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-ni.so $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-ini.so $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-sync.so $( 1) /usr/lib/
@ -363,7 +365,7 @@ endef
d e f i n e P a c k a g e / l i b e l e k t r a - c r y p t o / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-crypto_openssl .so $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-crypto.so $( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / l i b e l e k t r a - c u r l g e t / i n s t a l l
@ -374,6 +376,7 @@ endef
d e f i n e P a c k a g e / l i b e l e k t r a - d b u s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-dbus.so $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-dbusrecv.so $( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / l i b e l e k t r a - x e r c e s / i n s t a l l
@ -396,6 +399,12 @@ define Package/libelektra-yamlcpp/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-yamlcpp.so $( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / l i b e l e k t r a - z m q / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-zeromqsend.so $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-zeromqrecv.so $( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / l i b e l e k t r a - p y t h o n 3 / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libelektra-python.so $( 1) /usr/lib/
@ -435,4 +444,5 @@ $(eval $(call BuildPackage,libelektra-xml))
$( eval $ ( call BuildPackage ,libelektra -yajl ) )
$( eval $ ( call BuildPackage ,libelektra -python 3) )
$( eval $ ( call BuildPackage ,libelektra -lua ) )
$( eval $ ( call BuildPackage ,libelektra -zmq ) )
$( eval $ ( call BuildPackage ,libelektra -extra ) )