mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
gnunet: GNUnet v0.11.0 release
Backport and squash the following commits from master:4dcd1d4d0gnunet: update to 0.12 pre-release snapshotacc59d3a0gnunet: fix uclibc build issuef546ac9b8gnunet: remove iconv hackb5b271a39gnunet: update to gnunet 0.11 release candidate source as of 201809291459c3513gnunet: update source0b548cb73gnunet: adapt uci-defaults to renamed namestore-flat -> -heapeffc8b5bfgnunet: update to source to 201901287b2bf511cgnunet: Specify libmicrohttpd-ssl dependency1d5af8f9egnunet: fix PKG_MIRROR_HASH77191eddbgnunet: GNUnet v0.11 release1c658e5f3gnunet-secushare: auto-configure database backend Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
+60
-52
@@ -1,18 +1,14 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gnunet
|
||||
PKG_SOURCE_VERSION:=b673e9c3ed4a211b974bc602b893a427533566d7
|
||||
PKG_MIRROR_HASH:=89bc8cb5813bd38e0006d91fcd091b0eef533d6ff8462c800bf37d2e19966beb
|
||||
|
||||
PKG_VERSION:=0.10.2-git-20180205-$(PKG_SOURCE_VERSION)
|
||||
PKG_VERSION:=0.11.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@GNU/gnunet
|
||||
PKG_HASH:=b7477a3c3b0d5e8a013685dc208cfb4ccee4145f8668faa8eb5b382af36c7e9a
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=https://gnunet.org/git/gnunet.git
|
||||
PKG_SOURCE_PROTO:=git
|
||||
|
||||
PKG_LICENSE:=GPL-3.0
|
||||
PKG_LICENSE:=AGPL-3.0
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
||||
|
||||
@@ -32,6 +28,7 @@ CONFIGURE_ARGS+= \
|
||||
$(if $(CONFIG_PACKAGE_libsqlite3),--with-sqlite="$(STAGING_DIR)/usr",--without-sqlite) \
|
||||
--enable-testing \
|
||||
--disable-testruns \
|
||||
--disable-documentation \
|
||||
--enable-experimental \
|
||||
--with-extractor=$(STAGING_DIR)/usr \
|
||||
--with-gnutls=$(STAGING_DIR)/usr \
|
||||
@@ -52,8 +49,8 @@ endef
|
||||
define Package/gnunet
|
||||
$(call Package/gnunet/Default)
|
||||
TITLE+= - a peer-to-peer framework focusing on security
|
||||
DEPENDS:=+libgcrypt +libgpg-error +libidn +libltdl +libunistring +librt +zlib \
|
||||
$(ICONV_DEPENDS) $(INTL_DEPENDS)
|
||||
DEPENDS:=+libatomic +libgcrypt +libgpg-error +libidn2 +libltdl +libunistring \
|
||||
+librt +zlib $(ICONV_DEPENDS) $(INTL_DEPENDS)
|
||||
USERID:=gnunet=958:gnunet=958
|
||||
MENU:=1
|
||||
endef
|
||||
@@ -133,20 +130,20 @@ define Package/gnunet/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/gnunet/libexec
|
||||
$(INSTALL_DIR) $(1)/usr/share/gnunet/config.d $(1)/usr/share/gnunet/hellos
|
||||
|
||||
( for bin in arm ats cadet core config ecc identity nat nat-auto nat-server nse \
|
||||
peerinfo revocation scalarproduct statistics transport uri; do \
|
||||
( for bin in arm ats ats-new cadet core config ecc identity nat nat-auto nat-server nse \
|
||||
peerinfo revocation scalarproduct scrypt statistics transport uri; do \
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gnunet-$$$$bin $(1)/usr/bin/ ; \
|
||||
done )
|
||||
|
||||
( for lib in arm ats block blockgroup cadet core datacache dht \
|
||||
dns dnsparser fragmentation friends hello identity natauto natnew nse \
|
||||
peerinfo regexblock regex revocation scalarproduct set \
|
||||
statistics transport util; do \
|
||||
( for lib in arm ats atsapplication atstransport block blockgroup cadet \
|
||||
core datacache dht dns dnsparser fragmentation friends hello \
|
||||
identity natauto natnew nse nt peerinfo regexblock regex revocation \
|
||||
scalarproduct set statistics transport transportaddress \
|
||||
transportcommunicator transportcore transportmonitor util; do \
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnunet$$$$lib.so* $(1)/usr/lib/ ; \
|
||||
done )
|
||||
|
||||
( for plug in ats_proportional block_dht block_regex block_revocation \
|
||||
transport_tcp transport_udp transport_unix; do \
|
||||
( for plug in ats_proportional block_dht block_regex block_revocation transport_unix; do \
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/gnunet/libgnunet_plugin_$$$$plug*.so $(1)/usr/lib/gnunet ; \
|
||||
done )
|
||||
|
||||
@@ -157,7 +154,7 @@ define Package/gnunet/install
|
||||
service-revocation service-scalarproduct-alice \
|
||||
service-scalarproduct-bob service-scalarproduct-ecc-alice \
|
||||
service-scalarproduct-ecc-bob service-set service-statistics \
|
||||
service-transport; do \
|
||||
service-transport timeout; do \
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/gnunet/libexec/gnunet-$$$$lex $(1)/usr/lib/gnunet/libexec ; \
|
||||
done )
|
||||
|
||||
@@ -195,19 +192,34 @@ CONF_conversation:=conversation
|
||||
BIN_dht-cli:=dht-get dht-put dht-monitor
|
||||
PLUGIN_dht-cli:=block_test
|
||||
|
||||
DEPENDS_hostlist:=+libmicrohttpd +libgnurl +ca-certificates
|
||||
DEPENDS_curl:=+libgnurl +jansson
|
||||
LIB_curl:=curl
|
||||
|
||||
DEPENDS_hostlist:=+libmicrohttpd-ssl +gnunet-curl +ca-certificates
|
||||
LIBEXEC_hostlist:=daemon-hostlist
|
||||
CONF_hostlist:=hostlist
|
||||
|
||||
DEPENDS_transport-http_client:=+libgnurl +ca-certificates
|
||||
DEPENDS_transport-bluetooth:=+bluez-libs
|
||||
PLUGIN_transport-bluetooth:=transport_bluetooth
|
||||
LIBEXEC_transport-bluetooth:=helper-transport-bluetooth
|
||||
|
||||
DEPENDS_transport-http_client:=+gnunet-curl +ca-certificates
|
||||
PLUGIN_transport-http_client:=transport_http_client transport_https_client
|
||||
|
||||
DEPENDS_transport-http_server:=+libmicrohttpd
|
||||
DEPENDS_transport-http_server:=+libmicrohttpd-ssl
|
||||
PLUGIN_transport-http_server:=transport_http_server transport_https_server
|
||||
|
||||
PLUGIN_transport-tcp:=transport_tcp
|
||||
|
||||
PLUGIN_transport-udp:=transport_udp
|
||||
|
||||
PLUGIN_transport-wlan:=transport_wlan
|
||||
LIBEXEC_transport-wlan:=helper-transport-wlan
|
||||
|
||||
PLUGIN_transport-xt:=transport_xt
|
||||
|
||||
PLUGIN_transport-xu:=transport_xu
|
||||
|
||||
DEPENDS_experiments:=+libglpk
|
||||
PLUGIN_experiments:=ats_mlp ats_ril
|
||||
|
||||
@@ -226,16 +238,16 @@ CONF_fs:=fs
|
||||
|
||||
DEPENDS_gns:=+gnunet-vpn +iptables-mod-extra
|
||||
USERID_gns:=gnunet=958:gnunetdns=452
|
||||
BIN_gns:=gns gns-import.sh namecache namestore resolver
|
||||
BIN_gns:=gns gns-import.sh namecache namestore resolver zoneimport
|
||||
LIB_gns:=gns gnsrecord namecache namestore
|
||||
PLUGIN_gns:=block_dns block_gns gnsrecord_conversation gnsrecord_dns gnsrecord_gns
|
||||
LIBEXEC_gns:=dns2gns helper-dns service-dns service-gns service-namecache service-namestore service-resolver service-zonemaster
|
||||
CONF_gns:=dns gns namecache namestore resolver zonemaster
|
||||
|
||||
DEPENDS_namestore-fcfsd:=+gnunet-gns +libmicrohttpd
|
||||
DEPENDS_namestore-fcfsd:=+gnunet-gns +libmicrohttpd-ssl
|
||||
LIBEXEC_namestore-fcfsd:=namestore-fcfsd
|
||||
|
||||
DEPENDS_gns-proxy:=+gnunet-gns +libgnurl +libmicrohttpd
|
||||
DEPENDS_gns-proxy:=+gnunet-gns +gnunet-curl +libmicrohttpd-ssl
|
||||
LIBEXEC_gns-proxy:=gns-proxy
|
||||
|
||||
DEPENDS_datastore:=+gnunet-gns
|
||||
@@ -249,9 +261,21 @@ LIB_peerstore:=peerstore
|
||||
LIBEXEC_peerstore:=service-peerstore
|
||||
CONF_peerstore:=peerstore
|
||||
|
||||
DEPENDS_rest:=+gnunet-gns +gnunet-social +libmicrohttpd +jansson
|
||||
LIB_rest:=rest json jsonapi jsonapiutils
|
||||
PLUGIN_rest:=rest_gns rest_identity rest_identity_provider rest_namestore
|
||||
DEPENDS_auction:=+gnunet-reclaim
|
||||
BIN_auction:=auction-create auction-info auction-join
|
||||
LIBEXEC_auction:=service-auction
|
||||
CONF_auction:=auction
|
||||
|
||||
DEPENDS_reclaim:=+gnunet-gns +gnunet-sqlite +libpbc +libgabe
|
||||
BIN_reclaim:=credential reclaim
|
||||
LIB_reclaim:=consensus credential abe reclaim reclaimattribute secretsharing
|
||||
LIBEXEC_reclaim:=service-consensus service-credential service-reclaim service-secretsharing
|
||||
CONF_reclaim:=consensus reclaim secretsharing
|
||||
PLUGIN_reclaim:=block_consensus gnsrecord_credential gnsrecord_reclaim reclaim_attribute_gnuid reclaim_sqlite
|
||||
|
||||
DEPENDS_rest:=+gnunet-gns +gnunet-reclaim +libmicrohttpd-ssl +jansson
|
||||
LIB_rest:=rest json
|
||||
PLUGIN_rest:=rest_copying rest_gns rest_identity rest_namestore rest_peerinfo rest_openid_connect rest_reclaim
|
||||
LIBEXEC_rest:=rest-server
|
||||
CONF_rest:=rest
|
||||
|
||||
@@ -260,18 +284,11 @@ LIB_rps:=rps
|
||||
LIBEXEC_rps:=service-rps
|
||||
CONF_rps:=rps
|
||||
|
||||
DEPENDS_social:=+gnunet-gns +libmicrohttpd +jansson
|
||||
BIN_social:=identity-token multicast 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
|
||||
CONF_social:=consensus multicast psyc psycstore secretsharing social
|
||||
PLUGINS_social:=block_consensus
|
||||
|
||||
PLUGIN_dhtcache-heap:=datacache_heap
|
||||
CONFLICTS_dhtcache-heap:=gnunet-dhtcache-pgsql gnunet-dhtcache-sqlite
|
||||
|
||||
DEPENDS_gns-flat:=+gnunet-gns
|
||||
PLUGIN_gns-flat:=namecache_flat namestore_flat
|
||||
PLUGIN_gns-flat:=namecache_flat namestore_heap
|
||||
|
||||
DEPENDS_peerstore-flat:=+gnunet-peerstore
|
||||
PLUGIN_peerstore-flat:=peerstore_flat
|
||||
@@ -283,9 +300,6 @@ CONFLICTS_fs-heap:=gnunet-fs-mysql gnunet-fs-pgsql gnunet-fs-sqlite
|
||||
DEPENDS_mysql:=+libmysqlclient
|
||||
LIB_mysql:=mysql my
|
||||
|
||||
DEPENDS_social-mysql:=+gnunet-mysql +gnunet-social
|
||||
PLUGIN_social-mysql:=psycstore_mysql
|
||||
CONFLICTS_social-mysql:=gnunet-social-sqlite
|
||||
|
||||
DEPENDS_fs-mysql:=+gnunet-mysql +gnunet-datastore
|
||||
PLUGIN_fs-mysql:=datastore_mysql
|
||||
@@ -306,9 +320,6 @@ DEPENDS_gns-pgsql:=+gnunet-pgsql +gnunet-gns
|
||||
PLUGIN_gns-pgsql:=namecache_postgres namestore_postgres
|
||||
CONFLICTS_gns-pgsql:=gnunet-gns-sqlite gnunet-gns-flat
|
||||
|
||||
DEPENDS_social-pgsql:=+gnunet-pgsql +gnunet-social
|
||||
PLUGIN_social-pgsql:=psycstore_postgres
|
||||
CONFLICTS_social-pgsql:=gnunet-social-sqlite gnunet-social-mysql
|
||||
|
||||
DEPENDS_sqlite:=+libsqlite3
|
||||
LIB_sqlite:=sq
|
||||
@@ -327,12 +338,7 @@ PLUGIN_dhtcache-sqlite:=datacache_sqlite
|
||||
DEPENDS_fs-sqlite:=+gnunet-datastore +gnunet-sqlite
|
||||
PLUGIN_fs-sqlite:=datastore_sqlite
|
||||
|
||||
DEPENDS_social-sqlite:=+gnunet-social +gnunet-sqlite
|
||||
PLUGIN_social-sqlite:=psycstore_sqlite
|
||||
|
||||
DEPENDS_transport-bluetooth:=+bluez-libs
|
||||
PLUGIN_transport-bluetooth:=transport_bluetooth
|
||||
LIBEXEC_transport-bluetooth:=helper-transport-bluetooth
|
||||
|
||||
DEPENDS_utils:=+certtool +openssl-util
|
||||
BIN_utils:=gns-proxy-setup-ca transport-certificate-creation
|
||||
@@ -390,6 +396,7 @@ $(eval $(call PostInstFixSUIDPerms,gnunet-vpn))
|
||||
|
||||
$(eval $(call BuildPackage,gnunet))
|
||||
$(eval $(call BuildComponent,conversation,conversation component,))
|
||||
$(eval $(call BuildComponent,curl,cURL wrapper component,))
|
||||
$(eval $(call BuildComponent,datastore,data storage components,))
|
||||
$(eval $(call BuildComponent,dht-cli,DHT command line clients,))
|
||||
# $(eval $(call BuildComponent,dv,distance-vector routing component,y))
|
||||
@@ -399,9 +406,9 @@ $(eval $(call BuildComponent,gns,name resolution components,y))
|
||||
$(eval $(call BuildComponent,gns-proxy,gns-proxy component,))
|
||||
$(eval $(call BuildComponent,hostlist,HTTP bootstrap hostlist client and server,y))
|
||||
$(eval $(call BuildComponent,peerstore,peerstore local persistency component,))
|
||||
$(eval $(call BuildComponent,reclaim,reclaim identity-provider subsystem,))
|
||||
$(eval $(call BuildComponent,rest,REST interface,))
|
||||
$(eval $(call BuildComponent,rps,RPS routing component,y))
|
||||
$(eval $(call BuildComponent,social,social components,))
|
||||
$(eval $(call BuildComponent,namestore-fcfsd,first-come-first-serve registration server,))
|
||||
$(eval $(call BuildComponent,dhtcache-heap,heap-based dhtcache plugin,y))
|
||||
$(eval $(call BuildComponent,fs-heap,heap-based filesharing plugin,))
|
||||
@@ -409,21 +416,22 @@ $(eval $(call BuildComponent,gns-flat,flat storage GNS plugins,y))
|
||||
$(eval $(call BuildComponent,peerstore-flat,flat storage peerstore plugin,))
|
||||
$(eval $(call BuildComponent,mysql,mySQL backend,))
|
||||
$(eval $(call BuildComponent,fs-mysql,mySQL filesharing plugins,))
|
||||
$(eval $(call BuildComponent,social-mysql,mySQL social plugins,))
|
||||
$(eval $(call BuildComponent,pgsql,PostgreSQL backend,))
|
||||
$(eval $(call BuildComponent,dhtcache-pgsql,PostgreSQL dhtcache plugin,))
|
||||
$(eval $(call BuildComponent,fs-pgsql,PostgreSQL filesharing plugin,))
|
||||
$(eval $(call BuildComponent,gns-pgsql,PostgreSQL GNS plugins,))
|
||||
$(eval $(call BuildComponent,social-pgsql,PostgreSQL social plugin,))
|
||||
$(eval $(call BuildComponent,sqlite,libsqlite3 backend,))
|
||||
$(eval $(call BuildComponent,dhtcache-sqlite,libsqlite3 dhtcache plugin,))
|
||||
$(eval $(call BuildComponent,fs-sqlite,libsqlite3 filesharing plugin,))
|
||||
$(eval $(call BuildComponent,gns-sqlite,libsqlite3 gns plugins,))
|
||||
$(eval $(call BuildComponent,peerstore-sqlite,libsqlite3 peerstore plugin,))
|
||||
$(eval $(call BuildComponent,social-sqlite,libsqlite3 social plugins,))
|
||||
$(eval $(call BuildComponent,transport-bluetooth,bluetooth transport,))
|
||||
$(eval $(call BuildComponent,transport-http_client,HTTP/HTTPS client transport,y))
|
||||
$(eval $(call BuildComponent,transport-http_server,HTTP/HTTPS server transport,))
|
||||
$(eval $(call BuildComponent,transport-tcp,TCP transport,y))
|
||||
$(eval $(call BuildComponent,transport-udp,UDP transport,y))
|
||||
$(eval $(call BuildComponent,transport-wlan,WLAN transport,y))
|
||||
$(eval $(call BuildComponent,transport-xt,xt transport,))
|
||||
$(eval $(call BuildComponent,transport-xu,xu transport,))
|
||||
$(eval $(call BuildComponent,utils,administration utililties,))
|
||||
$(eval $(call BuildComponent,vpn,vpn components,y))
|
||||
|
||||
Reference in New Issue
Block a user