Browse Source

gnunet: update source

also package missing block plugins

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 8 years ago
parent
commit
a7d0759021
2 changed files with 8 additions and 4 deletions
  1. +6
    -4
      net/gnunet/Makefile
  2. +2
    -0
      net/gnunet/files/gnunet.init

+ 6
- 4
net/gnunet/Makefile View File

@ -1,10 +1,10 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=gnunet PKG_NAME:=gnunet
PKG_SOURCE_VERSION:=e29410cee115f099f093605692ec94614fbbe6d9
PKG_MIRROR_HASH:=b397c73c6cb8da852d2198469d04a8e0f6e61dcd0adead24634e7c57e2c952af
PKG_SOURCE_VERSION:=556ccd6d483b3678867c3829e6979c307df04450
PKG_MIRROR_HASH:=5ecf15575eccc30135b2dc9871d88de0b32b593dc79cf5b0632a4fe2ffd711df
PKG_VERSION:=0.10.2-git-20170624-$(PKG_SOURCE_VERSION)
PKG_VERSION:=0.10.2-git-20170626-$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
@ -145,7 +145,7 @@ define Package/gnunet/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnunet$$$$lib.so* $(1)/usr/lib/ ; \ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnunet$$$$lib.so* $(1)/usr/lib/ ; \
done ) done )
( for plug in ats_proportional block_dht block_regex \
( for plug in ats_proportional block_dht block_regex block_revocation \
transport_tcp transport_udp transport_unix; do \ transport_tcp transport_udp transport_unix; do \
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/gnunet/libgnunet_plugin_$$$$plug*.so $(1)/usr/lib/gnunet ; \ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/gnunet/libgnunet_plugin_$$$$plug*.so $(1)/usr/lib/gnunet ; \
done ) done )
@ -193,6 +193,7 @@ LIBEXEC_conversation:=helper-audio-playback helper-audio-record service-conversa
CONF_conversation:=conversation CONF_conversation:=conversation
BIN_dht-cli:=dht-get dht-put dht-monitor BIN_dht-cli:=dht-get dht-put dht-monitor
PLUGIN_dht-cli:=block_test
DEPENDS_hostlist:=+libmicrohttpd +libgnurl +ca-certificates DEPENDS_hostlist:=+libmicrohttpd +libgnurl +ca-certificates
LIBEXEC_hostlist:=daemon-hostlist LIBEXEC_hostlist:=daemon-hostlist
@ -264,6 +265,7 @@ BIN_social:=identity-token multicast social
LIB_social:=consensus identityprovider multicast psyc psycstore psycutil secretsharing social LIB_social:=consensus identityprovider multicast psyc psycstore psycutil secretsharing social
LIBEXEC_social:=service-consensus service-evil-consensus service-identity-provider service-multicast service-psyc service-psycstore service-secretsharing service-social LIBEXEC_social:=service-consensus service-evil-consensus service-identity-provider service-multicast service-psyc service-psycstore service-secretsharing service-social
CONF_social:=consensus multicast psyc psycstore secretsharing social CONF_social:=consensus multicast psyc psycstore secretsharing social
PLUGINS_social:=block_consensus
PLUGIN_dhtcache-heap:=datacache_heap PLUGIN_dhtcache-heap:=datacache_heap
CONFLICTS_dhtcache-heap:=gnunet-dhtcache-pgsql gnunet-dhtcache-sqlite CONFLICTS_dhtcache-heap:=gnunet-dhtcache-pgsql gnunet-dhtcache-sqlite


+ 2
- 0
net/gnunet/files/gnunet.init View File

@ -114,6 +114,8 @@ start_service() {
procd_open_instance procd_open_instance
procd_set_param user gnunet procd_set_param user gnunet
# procd_set_param env GNUNET_LOG="dht;;;;info"
procd_set_param stderr 1
procd_set_param command $PROG -c $CONFIGFILE procd_set_param command $PROG -c $CONFIGFILE
[ "$LOGFILE" ] && procd_append_param command -l $LOGFILE [ "$LOGFILE" ] && procd_append_param command -l $LOGFILE
procd_set_param respawn procd_set_param respawn


Loading…
Cancel
Save