pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gnunet: Update to 0.11.0
Module Name: pkgsrc-wip
Committed By: ng0 <ng0%n0.is@localhost>
Pushed By: ng0
Date: Thu Feb 28 12:17:06 2019 +0000
Changeset: 438ee09e4ca351cfa747b00fa083728ee5d9bafb
Modified Files:
gnunet/Makefile
gnunet/PLIST
gnunet/distinfo
gnunet/options.mk
Added Files:
gnunet/README
gnunet/TODO
gnunet/files/gnunet.conf
gnunet/files/gnunet.in
Log Message:
gnunet: Update to 0.11.0
* pkgsrc changes:
initial work in progress rc.d script
major changes towards finishing the package
* upstream ChangeLog (website):
Noteworthy changes in 0.11.0
The Web site and manuals have undergone significant rework. You can find an archive of the old Web site at old.gnunet.org.
The code now builds again on macOS. GNUnet on macOS is experimental. While it builds and seems to run fine, some tests are known to fail.
Build process now works properly with libidn2
Except for gnunet-qr, all Python code was migrated to Python 3.7.
Fixed security issues in secret sharing cryptography logic
Services running out of file descriptors on accept() no longer busy wait
Fixed crash in gnunet-gns2dns proxy
GNS responses are now padded to minimize information disclosure from the size
Fixed API issues and (rare) crash bugs in CADET
The experimental SecuShare code is not included in the release, you can now find it in the gnunet-secushare Git repository.
The Ascension tool (separate download) now allows importing DNS zones into GNS via AXFR.
GNUnet now includes a decentralised identity attribute sharing service: reclaimID. A ready-to-use client can be found in an external repo.
The code now builds again on NetBSD. GNUnet on NetBSD is experimental. While it builds and seems to run fine, full support requires more changes in the core of GNUnet It will soon be available via pkgsrc.
Many things changed on the build system side. If you package GNUnet for an operating system or otherwise package manager, make sure that you read the README.
The above is just the short list, our bugtracker lists over 100 individual issues that were resolved since 0.11.0pre66.
Known Issues
There are known major design issues in the TRANSPORT, ATS and CORE subsystems which will need to be addressed in the future to achieve acceptable usability, performance and security.
There are known moderate implementation limitations in CADET that negatively impact performance. Also CADET may unexpectedly deliver messages out-of-order.
There are known moderate design issues in FS that also impact usability and performance.
There are minor implementation limitations in SET that create unnecessary attack surface for availability.
The RPS subsystem remains experimental.
Some high-level tests in the test-suite fail non-deterministically due to the low-level TRANSPORT issues.
In addition to this list, you may also want to consult our bug tracker at bugs.gnunet.org which lists about 150 more specific issues.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=438ee09e4ca351cfa747b00fa083728ee5d9bafb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gnunet/Makefile | 97 ++++++----
gnunet/PLIST | 471 +++++++++++++++++++++++++++++++++++++++++++++++
gnunet/README | 6 +
gnunet/TODO | 2 +
gnunet/distinfo | 8 +-
gnunet/files/gnunet.conf | 83 +++++++++
gnunet/files/gnunet.in | 58 ++++++
gnunet/options.mk | 37 ++--
8 files changed, 705 insertions(+), 57 deletions(-)
diffs:
diff --git a/gnunet/Makefile b/gnunet/Makefile
index 45cfe489e6..89c214e946 100644
--- a/gnunet/Makefile
+++ b/gnunet/Makefile
@@ -1,48 +1,83 @@
# $NetBSD$
-#
-# This is a pre-release, with 0.11 release coming soon. pre66 being best for
-# testing the package. This prerelease will fail to build.
-DISTNAME= gnunet-0.11.0pre66
-CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_GNU:=gnunet/}
+DISTNAME= gnunet-0.11.0
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GNU:=gnunet/}
-MAINTAINER= ng0%n0.is@localhost
-HOMEPAGE= https://gnunet.org/
-COMMENT= Framework for secure P2P networking
-LICENSE= gnu-agpl-v3
+MAINTAINER= ng0%n0.is@localhost
+HOMEPAGE= https://gnunet.org/
+COMMENT= Framework for secure P2P networking
+LICENSE= gnu-agpl-v3
-MAKE_JOBS_SAFE= no
-
-USE_TOOLS+= msgfmt
+USE_TOOLS+= msgfmt #autoconf automake
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
-PLIST_SRC= ${WRKDIR}/PLIST.src
USE_LIBTOOL= yes
+TEST_TARGET= check
PTHREAD_OPTS= require native
LDFLAGS+= -lpthread -lintl
+INFO_FILES= yes
+
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
-CONFIGURE_ARGS+= --with-extractor=${BUILDLINK_PREFIX.libextractor}
+CONFIGURE_ARGS+= --infodir=${PREFIX}/info
+CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
-CONFIGURE_ARGS+= --with-nss=${BUILDLINK_PREFIX.nss}/lib
-
-post-patch:
- cd ${WRKSRC} && for f in contrib/gnunet.* src/include/gnunet_util.h doc/man/*.?; do \
- ${ECHO} $$f && \
- ${SED} -e 's,/etc/gnunet\.conf,${PKG_SYSCONFDIR}/gnunet.conf,g' $$f >$$f.tmp && \
- ${MV} -f $$f.tmp $$f; \
- done
- ${RM} -f ${WRKSRC}/src/util/generate_*_conf.c
-
-post-build:
- ${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC}
-.for f in ${GNUNET_PLIST_ADD}
- ${ECHO} ${f:Q} >>${PLIST_SRC}
-.endfor
+CONFIGURE_ARGS+= --with-extractor=${BUILDLINK_PREFIX.libextractor}
+
+# All helpers have to be suid. fs helper must not be suid.
+# Not all of these files may be available.
+SPECIAL_PERMS+= lib/gnunet/libexec/gnunet-helper-testbed ${SETUID_ROOT_PERMS}
+SPECIAL_PERMS+= lib/gnunet/libexec/gnunet-helper-exit ${SETUID_ROOT_PERMS}
+SPECIAL_PERMS+= lib/gnunet/libexec/gnunet-helper-dns ${SETUID_ROOT_PERMS}
+SPECIAL_PERMS+= lib/gnunet/libexec/gnunet-helper-nat-client ${SETUID_ROOT_PERMS}
+SPECIAL_PERMS+= lib/gnunet/libexec/gnunet-helper-nat-server ${SETUID_ROOT_PERMS}
+# SPECIAL_PERMS+= lib/gnunet/libexec/gnunet-helper-transport-bluetooth ${SETUID_ROOT_PERMS}
+SPECIAL_PERMS+= lib/gnunet/libexec/gnunet-helper-transport-wlan ${SETUID_ROOT_PERMS}
+SPECIAL_PERMS+= lib/gnunet/libexec/gnunet-helper-vpn ${SETUID_ROOT_PERMS}
+
+GNUNET_USER= gnunet
+GNUNET_GROUP= gnunet
+GNUNETDNS_GROUP= gnunetdns
+PKG_GECOS.${GNUNET_USER}= Gnunet
+PKG_HOME.${GNUNET_USER}= ${VARBASE}/chroot/gnunet
+BUILD_DEFS+= VARBASE
+PKG_SYSCONFSUBDIR= gnunet
+
+PKG_GROUPS_VARS+= GNUNET_GROUP
+PKG_GROUPS_VARS+= GNUNETDNS_GROUP
+PKG_USERS_VARS= GNUNET_USER
+
+RCD_SCRIPTS= gnunet
+RCD_SCRIPT_SRC.gnunet= ${FILESDIR}/gnunet.in
+PKG_GROUPS= ${GNUNET_GROUP} ${GNUNETDNS_GROUP}
+PKG_USERS= ${GNUNET_USER}:${GNUNET_GROUP}
+USER_GROUP= ${GNUNET_USER} ${GNUNET_GROUP}
+
+OWN_DIRS_PERMS+= ${PKG_HOME.${GNUNET_USER}} ${USER_GROUP} 0700
+
+MAKE_DIRS+= ${PKG_SYSCONFDIR}
+AUTO_MKDIRS= YES # ?
+CONF_FILES+= ${FILESDIR}/gnunet.conf \
+ ${PKG_SYSCONFDIR}/gnunet.conf
+
+FILES_SUBST+= PKG_HOME=${PKG_HOME.${GNUNET_USER}}
+FILES_SUBST+= GNUNET_USER=${GNUNET_USER} GNUNET_GROUP=${GNUNET_GROUP}
+
+SUBST_CLASSES+= sysconfdir
+SUBST_STAGE.sysconfdir= post-build
+SUBST_MESSAGE.sysconfdir= Fixing sysconfdir in gnunet.conf
+SUBST_FILES.sysconfdir= ${FILESDIR}/gnunet.conf
+SUBST_SED.sysconfdir= -e 's,^DEFAULTCONFIG.*,DEFAULTCONFIG = ${PKG_SYSCONFDIR}/gnunet.conf,g'
+
+#post-patch:
+# cd ${WRKSRC} && ${SH} bootstrap
+
+post-install:
+ cd ${WRKSRC} && ${INSTALL_SCRIPT} ${WRKSRC}/src/util/gnunet-qr.py ${DESTDIR}${PREFIX}/bin
.include "../../audio/libopus/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
@@ -53,8 +88,6 @@ post-build:
.include "../../devel/libextractor/buildlink3.mk"
.include "../../devel/libgsf/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
-.include "../../lang/python27/buildlink3.mk"
-.include "../../math/glpk/buildlink3.mk"
.include "../../multimedia/gstreamer1/buildlink3.mk"
.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
diff --git a/gnunet/PLIST b/gnunet/PLIST
index e69de29bb2..6a79b0b585 100644
--- a/gnunet/PLIST
+++ b/gnunet/PLIST
@@ -0,0 +1,471 @@
+@comment $NetBSD$
+bin/gnunet-arm
+bin/gnunet-ats
+bin/gnunet-auto-share
+bin/gnunet-bugreport
+bin/gnunet-cadet
+bin/gnunet-config
+bin/gnunet-consensus-profiler
+bin/gnunet-core
+bin/gnunet-datastore
+bin/gnunet-dht-get
+bin/gnunet-dht-monitor
+bin/gnunet-dht-put
+bin/gnunet-directory
+bin/gnunet-download
+bin/gnunet-download-manager.scm
+bin/gnunet-ecc
+bin/gnunet-fs
+bin/gnunet-gns
+bin/gnunet-gns-proxy-setup-ca
+bin/gnunet-identity
+bin/gnunet-namecache
+bin/gnunet-namestore
+bin/gnunet-nat
+bin/gnunet-nat-auto
+bin/gnunet-nat-server
+bin/gnunet-nse
+bin/gnunet-peerinfo
+bin/gnunet-peerstore
+bin/gnunet-publish
+bin/gnunet-qr
+bin/gnunet-qr.py
+bin/gnunet-resolver
+bin/gnunet-revocation
+bin/gnunet-scalarproduct
+bin/gnunet-scrypt
+bin/gnunet-search
+bin/gnunet-secretsharing-profiler
+bin/gnunet-set-profiler
+bin/gnunet-statistics
+bin/gnunet-testbed-profiler
+bin/gnunet-testing
+bin/gnunet-transport
+bin/gnunet-transport-certificate-creation
+bin/gnunet-unindex
+bin/gnunet-uri
+bin/gnunet-vpn
+bin/gnunet-zoneimport
+include/gnunet/compat.h
+include/gnunet/gettext.h
+include/gnunet/gnunet_abe_lib.h
+include/gnunet/gnunet_applications.h
+include/gnunet/gnunet_arm_service.h
+include/gnunet/gnunet_ats_application_service.h
+include/gnunet/gnunet_ats_plugin.h
+include/gnunet/gnunet_ats_plugin_new.h
+include/gnunet/gnunet_ats_service.h
+include/gnunet/gnunet_ats_transport_service.h
+include/gnunet/gnunet_bandwidth_lib.h
+include/gnunet/gnunet_bio_lib.h
+include/gnunet/gnunet_block_group_lib.h
+include/gnunet/gnunet_block_lib.h
+include/gnunet/gnunet_block_plugin.h
+include/gnunet/gnunet_cadet_service.h
+include/gnunet/gnunet_client_lib.h
+include/gnunet/gnunet_common.h
+include/gnunet/gnunet_config.h
+include/gnunet/gnunet_configuration_lib.h
+include/gnunet/gnunet_consensus_service.h
+include/gnunet/gnunet_constants.h
+include/gnunet/gnunet_container_lib.h
+include/gnunet/gnunet_conversation_service.h
+include/gnunet/gnunet_core_service.h
+include/gnunet/gnunet_crypto_lib.h
+include/gnunet/gnunet_curl_lib.h
+include/gnunet/gnunet_datacache_lib.h
+include/gnunet/gnunet_datacache_plugin.h
+include/gnunet/gnunet_datastore_plugin.h
+include/gnunet/gnunet_datastore_service.h
+include/gnunet/gnunet_db_lib.h
+include/gnunet/gnunet_dht_service.h
+include/gnunet/gnunet_disk_lib.h
+include/gnunet/gnunet_dns_service.h
+include/gnunet/gnunet_dnsparser_lib.h
+include/gnunet/gnunet_dnsstub_lib.h
+include/gnunet/gnunet_fragmentation_lib.h
+include/gnunet/gnunet_friends_lib.h
+include/gnunet/gnunet_fs_service.h
+include/gnunet/gnunet_getopt_lib.h
+include/gnunet/gnunet_gns_service.h
+include/gnunet/gnunet_gnsrecord_lib.h
+include/gnunet/gnunet_gnsrecord_plugin.h
+include/gnunet/gnunet_hello_lib.h
+include/gnunet/gnunet_helper_lib.h
+include/gnunet/gnunet_identity_service.h
+include/gnunet/gnunet_json_lib.h
+include/gnunet/gnunet_load_lib.h
+include/gnunet/gnunet_microphone_lib.h
+include/gnunet/gnunet_mq_lib.h
+include/gnunet/gnunet_mst_lib.h
+include/gnunet/gnunet_my_lib.h
+include/gnunet/gnunet_mysql_lib.h
+include/gnunet/gnunet_namecache_plugin.h
+include/gnunet/gnunet_namecache_service.h
+include/gnunet/gnunet_namestore_plugin.h
+include/gnunet/gnunet_namestore_service.h
+include/gnunet/gnunet_nat_auto_service.h
+include/gnunet/gnunet_nat_service.h
+include/gnunet/gnunet_nc_lib.h
+include/gnunet/gnunet_network_lib.h
+include/gnunet/gnunet_nse_service.h
+include/gnunet/gnunet_nt_lib.h
+include/gnunet/gnunet_op_lib.h
+include/gnunet/gnunet_os_lib.h
+include/gnunet/gnunet_peer_lib.h
+include/gnunet/gnunet_peerinfo_service.h
+include/gnunet/gnunet_peerstore_plugin.h
+include/gnunet/gnunet_peerstore_service.h
+include/gnunet/gnunet_plugin_lib.h
+include/gnunet/gnunet_pq_lib.h
+include/gnunet/gnunet_program_lib.h
+include/gnunet/gnunet_protocols.h
+include/gnunet/gnunet_reclaim_attribute_lib.h
+include/gnunet/gnunet_reclaim_attribute_plugin.h
+include/gnunet/gnunet_reclaim_plugin.h
+include/gnunet/gnunet_reclaim_service.h
+include/gnunet/gnunet_regex_service.h
+include/gnunet/gnunet_resolver_service.h
+include/gnunet/gnunet_rest_lib.h
+include/gnunet/gnunet_rest_plugin.h
+include/gnunet/gnunet_revocation_service.h
+include/gnunet/gnunet_rps_service.h
+include/gnunet/gnunet_scalarproduct_service.h
+include/gnunet/gnunet_scheduler_lib.h
+include/gnunet/gnunet_secretsharing_service.h
+include/gnunet/gnunet_service_lib.h
+include/gnunet/gnunet_set_service.h
+include/gnunet/gnunet_signal_lib.h
+include/gnunet/gnunet_signatures.h
+include/gnunet/gnunet_socks.h
+include/gnunet/gnunet_speaker_lib.h
+include/gnunet/gnunet_sq_lib.h
+include/gnunet/gnunet_statistics_service.h
+include/gnunet/gnunet_strings_lib.h
+include/gnunet/gnunet_testbed_logger_service.h
+include/gnunet/gnunet_testbed_service.h
+include/gnunet/gnunet_testing_lib.h
+include/gnunet/gnunet_time_lib.h
+include/gnunet/gnunet_transport_address_service.h
+include/gnunet/gnunet_transport_communication_service.h
+include/gnunet/gnunet_transport_core_service.h
+include/gnunet/gnunet_transport_hello_service.h
+include/gnunet/gnunet_transport_manipulation_service.h
+include/gnunet/gnunet_transport_monitor_service.h
+include/gnunet/gnunet_transport_plugin.h
+include/gnunet/gnunet_transport_service.h
+include/gnunet/gnunet_tun_lib.h
+include/gnunet/gnunet_util_lib.h
+include/gnunet/gnunet_vpn_service.h
+include/gnunet/platform.h
+include/gnunet/plibc.h
+lib/gnunet/libexec/gnunet-daemon-exit
+lib/gnunet/libexec/gnunet-daemon-hostlist
+lib/gnunet/libexec/gnunet-daemon-latency-logger
+lib/gnunet/libexec/gnunet-daemon-pt
+lib/gnunet/libexec/gnunet-daemon-regexprofiler
+lib/gnunet/libexec/gnunet-daemon-testbed-blacklist
+lib/gnunet/libexec/gnunet-daemon-testbed-underlay
+lib/gnunet/libexec/gnunet-daemon-topology
+lib/gnunet/libexec/gnunet-dns2gns
+lib/gnunet/libexec/gnunet-gns-proxy
+lib/gnunet/libexec/gnunet-helper-fs-publish
+lib/gnunet/libexec/gnunet-helper-testbed
+lib/gnunet/libexec/gnunet-namestore-fcfsd
+lib/gnunet/libexec/gnunet-rest-server
+lib/gnunet/libexec/gnunet-service-arm
+lib/gnunet/libexec/gnunet-service-ats
+lib/gnunet/libexec/gnunet-service-ats-new
+lib/gnunet/libexec/gnunet-service-cadet
+lib/gnunet/libexec/gnunet-service-consensus
+lib/gnunet/libexec/gnunet-service-core
+lib/gnunet/libexec/gnunet-service-datastore
+lib/gnunet/libexec/gnunet-service-dht
+lib/gnunet/libexec/gnunet-service-dns
+lib/gnunet/libexec/gnunet-service-evil-consensus
+lib/gnunet/libexec/gnunet-service-fs
+lib/gnunet/libexec/gnunet-service-gns
+lib/gnunet/libexec/gnunet-service-identity
+lib/gnunet/libexec/gnunet-service-namecache
+lib/gnunet/libexec/gnunet-service-namestore
+lib/gnunet/libexec/gnunet-service-nat
+lib/gnunet/libexec/gnunet-service-nat-auto
+lib/gnunet/libexec/gnunet-service-nse
+lib/gnunet/libexec/gnunet-service-peerinfo
+lib/gnunet/libexec/gnunet-service-peerstore
+lib/gnunet/libexec/gnunet-service-regex
+lib/gnunet/libexec/gnunet-service-resolver
+lib/gnunet/libexec/gnunet-service-revocation
+lib/gnunet/libexec/gnunet-service-scalarproduct-alice
+lib/gnunet/libexec/gnunet-service-scalarproduct-bob
+lib/gnunet/libexec/gnunet-service-scalarproduct-ecc-alice
+lib/gnunet/libexec/gnunet-service-scalarproduct-ecc-bob
+lib/gnunet/libexec/gnunet-service-secretsharing
+lib/gnunet/libexec/gnunet-service-set
+lib/gnunet/libexec/gnunet-service-statistics
+lib/gnunet/libexec/gnunet-service-testbed
+lib/gnunet/libexec/gnunet-service-testbed-logger
+lib/gnunet/libexec/gnunet-service-transport
+lib/gnunet/libexec/gnunet-service-vpn
+lib/gnunet/libexec/gnunet-service-zonemaster
+lib/gnunet/libexec/gnunet-service-zonemaster-monitor
+lib/gnunet/libexec/gnunet-timeout
+lib/gnunet/libgnunet_plugin_ats2_simple.la
+lib/gnunet/libgnunet_plugin_ats_proportional.la
+lib/gnunet/libgnunet_plugin_block_consensus.la
+lib/gnunet/libgnunet_plugin_block_dht.la
+lib/gnunet/libgnunet_plugin_block_dns.la
+lib/gnunet/libgnunet_plugin_block_fs.la
+lib/gnunet/libgnunet_plugin_block_gns.la
+lib/gnunet/libgnunet_plugin_block_regex.la
+lib/gnunet/libgnunet_plugin_block_revocation.la
+lib/gnunet/libgnunet_plugin_block_set_test.la
+lib/gnunet/libgnunet_plugin_block_test.la
+lib/gnunet/libgnunet_plugin_datacache_heap.la
+lib/gnunet/libgnunet_plugin_datacache_sqlite.la
+lib/gnunet/libgnunet_plugin_datastore_heap.la
+lib/gnunet/libgnunet_plugin_datastore_sqlite.la
+lib/gnunet/libgnunet_plugin_gnsrecord_dns.la
+lib/gnunet/libgnunet_plugin_gnsrecord_gns.la
+lib/gnunet/libgnunet_plugin_namecache_sqlite.la
+lib/gnunet/libgnunet_plugin_namestore_heap.la
+lib/gnunet/libgnunet_plugin_namestore_sqlite.la
+lib/gnunet/libgnunet_plugin_peerstore_sqlite.la
+lib/gnunet/libgnunet_plugin_rest_copying.la
+lib/gnunet/libgnunet_plugin_rest_gns.la
+lib/gnunet/libgnunet_plugin_rest_identity.la
+lib/gnunet/libgnunet_plugin_rest_namestore.la
+lib/gnunet/libgnunet_plugin_rest_peerinfo.la
+lib/gnunet/libgnunet_plugin_test.la
+lib/gnunet/libgnunet_plugin_transport_http_client.la
+lib/gnunet/libgnunet_plugin_transport_http_server.la
+lib/gnunet/libgnunet_plugin_transport_https_client.la
+lib/gnunet/libgnunet_plugin_transport_https_server.la
+lib/gnunet/libgnunet_plugin_transport_tcp.la
+lib/gnunet/libgnunet_plugin_transport_udp.la
+lib/gnunet/libgnunet_plugin_transport_unix.la
+lib/libgnunetarm.la
+lib/libgnunetats.la
+lib/libgnunetatsapplication.la
+lib/libgnunetatstesting.la
+lib/libgnunetatstransport.la
+lib/libgnunetblock.la
+lib/libgnunetblockgroup.la
+lib/libgnunetcadet.la
+lib/libgnunetconsensus.la
+lib/libgnunetcore.la
+lib/libgnunetcurl.la
+lib/libgnunetdatacache.la
+lib/libgnunetdatastore.la
+lib/libgnunetdht.la
+lib/libgnunetdns.la
+lib/libgnunetfragmentation.la
+lib/libgnunetfriends.la
+lib/libgnunetfs.la
+lib/libgnunetgns.la
+lib/libgnunetgnsrecord.la
+lib/libgnunethello.la
+lib/libgnunetidentity.la
+lib/libgnunetjson.la
+lib/libgnunetnamecache.la
+lib/libgnunetnamestore.la
+lib/libgnunetnatauto.la
+lib/libgnunetnatnew.la
+lib/libgnunetnse.la
+lib/libgnunetnt.la
+lib/libgnunetpeerinfo.la
+lib/libgnunetpeerstore.la
+lib/libgnunetregex.la
+lib/libgnunetregexblock.la
+lib/libgnunetrest.la
+lib/libgnunetrevocation.la
+lib/libgnunetscalarproduct.la
+lib/libgnunetsecretsharing.la
+lib/libgnunetset.la
+lib/libgnunetsq.la
+lib/libgnunetstatistics.la
+lib/libgnunettestbed.la
+lib/libgnunettestbedlogger.la
+lib/libgnunettesting.la
+lib/libgnunettransport.la
+lib/libgnunettransportaddress.la
+lib/libgnunettransportcommunicator.la
+lib/libgnunettransportcore.la
+lib/libgnunettransportmonitor.la
+lib/libgnunettransporttesting.la
+lib/libgnunetutil.la
+lib/libgnunetvpn.la
+lib/pkgconfig/gnunetarm.pc
+lib/pkgconfig/gnunetats.pc
+lib/pkgconfig/gnunetblock.pc
+lib/pkgconfig/gnunetcadet.pc
+lib/pkgconfig/gnunetconsensus.pc
+lib/pkgconfig/gnunetconversation.pc
+lib/pkgconfig/gnunetcore.pc
+lib/pkgconfig/gnunetdatacache.pc
+lib/pkgconfig/gnunetdatastore.pc
+lib/pkgconfig/gnunetdht.pc
+lib/pkgconfig/gnunetdns.pc
+lib/pkgconfig/gnunetenv.pc
+lib/pkgconfig/gnunetfragmentation.pc
+lib/pkgconfig/gnunetfs.pc
+lib/pkgconfig/gnunetgns.pc
+lib/pkgconfig/gnunethello.pc
+lib/pkgconfig/gnunetidentity.pc
+lib/pkgconfig/gnunetmicrophone.pc
+lib/pkgconfig/gnunetmysql.pc
+lib/pkgconfig/gnunetnamestore.pc
+lib/pkgconfig/gnunetnat.pc
+lib/pkgconfig/gnunetnse.pc
+lib/pkgconfig/gnunetpeerinfo.pc
+lib/pkgconfig/gnunetregex.pc
+lib/pkgconfig/gnunetrevocation.pc
+lib/pkgconfig/gnunetrps.pc
+lib/pkgconfig/gnunetscalarproduct.pc
+lib/pkgconfig/gnunetset.pc
+lib/pkgconfig/gnunetspeaker.pc
+lib/pkgconfig/gnunetstatistics.pc
+lib/pkgconfig/gnunettestbed.pc
+lib/pkgconfig/gnunettesting.pc
+lib/pkgconfig/gnunettransport.pc
+lib/pkgconfig/gnunetutil.pc
+lib/pkgconfig/gnunetvpn.pc
+share/doc/gnunet/COPYING
+share/doc/gnunet/README
+share/gnunet/config.d/arm.conf
+share/gnunet/config.d/ats.conf
+share/gnunet/config.d/cadet.conf
+share/gnunet/config.d/communicator-unix.conf
+share/gnunet/config.d/consensus.conf
+share/gnunet/config.d/core.conf
+share/gnunet/config.d/datacache.conf
+share/gnunet/config.d/datastore.conf
+share/gnunet/config.d/dht.conf
+share/gnunet/config.d/dns.conf
+share/gnunet/config.d/exit.conf
+share/gnunet/config.d/fs.conf
+share/gnunet/config.d/gns.conf
+share/gnunet/config.d/hostlist.conf
+share/gnunet/config.d/identity.conf
+share/gnunet/config.d/namecache.conf
+share/gnunet/config.d/namestore.conf
+share/gnunet/config.d/nat-auto.conf
+share/gnunet/config.d/nat.conf
+share/gnunet/config.d/nse.conf
+share/gnunet/config.d/peerinfo.conf
+share/gnunet/config.d/peerstore.conf
+share/gnunet/config.d/pt.conf
+share/gnunet/config.d/regex.conf
+share/gnunet/config.d/resolver.conf
+share/gnunet/config.d/rest.conf
+share/gnunet/config.d/revocation.conf
+share/gnunet/config.d/scalarproduct.conf
+share/gnunet/config.d/secretsharing.conf
+share/gnunet/config.d/set.conf
+share/gnunet/config.d/statistics.conf
+share/gnunet/config.d/template.conf
+share/gnunet/config.d/testbed-logger.conf
+share/gnunet/config.d/testbed.conf
+share/gnunet/config.d/testing.conf
+share/gnunet/config.d/topology.conf
+share/gnunet/config.d/transport.conf
+share/gnunet/config.d/util.conf
+share/gnunet/config.d/vpn.conf
+share/gnunet/config.d/zonemaster.conf
+share/gnunet/def.tex
+share/gnunet/gns-bcd.html
+share/gnunet/gns-bcd.tex
+share/gnunet/gns-form-fields.xml
+share/gnunet/gns-form.xslt
+share/gnunet/gnunet-logo-color.png
+share/gnunet/gnunet-logo.pdf
+share/gnunet/hellos/DSTJBRRKZ8TBW3FGK6B0M5QXWT9WYNZ45H5MCV4HY7ST64Q8T9F0
+share/gnunet/openssl.cnf
+share/gnunet/testing_hostkeys.ecc
+share/locale/de/LC_MESSAGES/gnunet.mo
+share/locale/es/LC_MESSAGES/gnunet.mo
+share/locale/fr/LC_MESSAGES/gnunet.mo
+share/locale/it/LC_MESSAGES/gnunet.mo
+share/locale/sv/LC_MESSAGES/gnunet.mo
+share/locale/vi/LC_MESSAGES/gnunet.mo
+share/locale/zh_CN/LC_MESSAGES/gnunet.mo
+${PLIST.doc}info/gnunet-tutorial.info
+${PLIST.doc}info/gnunet.info
+${PLIST.doc}info/images/daemon_lego_block.png
+${PLIST.doc}info/images/daemon_lego_block.svg
+${PLIST.doc}info/images/gns.dot
+${PLIST.doc}info/images/gns.jpg
+${PLIST.doc}info/images/gnunet-0-10-peerinfo.png
+${PLIST.doc}info/images/gnunet-fs-gtk-0-10-star-tab.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-download-area.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-fs-menu.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-fs-publish-editing.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-fs-publish-select.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-fs-publish-with-file.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-fs-publish-with-file_0.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-fs-publish.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-fs-published.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-fs-search.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-fs.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-gns-a-done.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-gns-a.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-gns.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-identity.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-search-selected.png
+${PLIST.doc}info/images/gnunet-gtk-0-10-traffic.png
+${PLIST.doc}info/images/gnunet-namestore-gtk-phone.png
+${PLIST.doc}info/images/gnunet-namestore-gtk-vpn.png
+${PLIST.doc}info/images/gnunet-setup-exit.png
+${PLIST.doc}info/images/gnunet-tutorial-service.png
+${PLIST.doc}info/images/gnunet-tutorial-system.png
+${PLIST.doc}info/images/iceweasel-preferences.png
+${PLIST.doc}info/images/iceweasel-proxy.png
+${PLIST.doc}info/images/lego_stack.svg
+${PLIST.doc}info/images/service_lego_block.png
+${PLIST.doc}info/images/service_lego_block.svg
+${PLIST.doc}info/images/service_stack.png
+${PLIST.doc}info/images/structure.dot
+${PLIST.doc}man/man1/gnunet-arm.1
+${PLIST.doc}man/man1/gnunet-ats.1
+${PLIST.doc}man/man1/gnunet-auto-share.1
+${PLIST.doc}man/man1/gnunet-bcd.1
+${PLIST.doc}man/man1/gnunet-cadet.1
+${PLIST.doc}man/man1/gnunet-config.1
+${PLIST.doc}man/man1/gnunet-conversation-test.1
+${PLIST.doc}man/man1/gnunet-conversation.1
+${PLIST.doc}man/man1/gnunet-core.1
+${PLIST.doc}man/man1/gnunet-datastore.1
+${PLIST.doc}man/man1/gnunet-directory.1
+${PLIST.doc}man/man1/gnunet-dns2gns.1
+${PLIST.doc}man/man1/gnunet-download-manager.1
+${PLIST.doc}man/man1/gnunet-download.1
+${PLIST.doc}man/man1/gnunet-ecc.1
+${PLIST.doc}man/man1/gnunet-fs.1
+${PLIST.doc}man/man1/gnunet-gns-proxy.1
+${PLIST.doc}man/man1/gnunet-gns.1
+${PLIST.doc}man/man1/gnunet-identity.1
+${PLIST.doc}man/man1/gnunet-namecache.1
+${PLIST.doc}man/man1/gnunet-namestore-fcfsd.1
+${PLIST.doc}man/man1/gnunet-namestore.1
+${PLIST.doc}man/man1/gnunet-nat-auto.1
+${PLIST.doc}man/man1/gnunet-nat-server.1
+${PLIST.doc}man/man1/gnunet-nat.1
+${PLIST.doc}man/man1/gnunet-peerinfo.1
+${PLIST.doc}man/man1/gnunet-publish.1
+${PLIST.doc}man/man1/gnunet-qr.1
+${PLIST.doc}man/man1/gnunet-resolver.1
+${PLIST.doc}man/man1/gnunet-revocation.1
+${PLIST.doc}man/man1/gnunet-scalarproduct.1
+${PLIST.doc}man/man1/gnunet-scrypt.1
+${PLIST.doc}man/man1/gnunet-search.1
+${PLIST.doc}man/man1/gnunet-statistics.1
+${PLIST.doc}man/man1/gnunet-testbed-profiler.1
+${PLIST.doc}man/man1/gnunet-testing-run-service.1
+${PLIST.doc}man/man1/gnunet-timeout.1
+${PLIST.doc}man/man1/gnunet-transport-certificate-creation.1
+${PLIST.doc}man/man1/gnunet-transport.1
+${PLIST.doc}man/man1/gnunet-unindex.1
+${PLIST.doc}man/man1/gnunet-uri.1
+${PLIST.doc}man/man1/gnunet-vpn.1
+${PLIST.doc}man/man1/gnunet-zoneimport.1
+${PLIST.doc}man/man5/gnunet.conf.5
diff --git a/gnunet/README b/gnunet/README
new file mode 100644
index 0000000000..5931d1de90
--- /dev/null
+++ b/gnunet/README
@@ -0,0 +1,6 @@
+* documentation is only on or off in 0.11.0 release:
+ https://bugs.gnunet.org/view.php?id=5616
+ This also means that the mdoc rule does not work,
+ but we keep it in because I can cherry-pick from
+ upstream once I have written the patch for upstream
+ work.
diff --git a/gnunet/TODO b/gnunet/TODO
new file mode 100644
index 0000000000..290fba2fc7
--- /dev/null
+++ b/gnunet/TODO
@@ -0,0 +1,2 @@
+* package gnutls built against libunbound, use this for
+ gnunet and some of its dependencies.
diff --git a/gnunet/distinfo b/gnunet/distinfo
index 0024b4f8b6..aac72cd68e 100644
--- a/gnunet/distinfo
+++ b/gnunet/distinfo
@@ -1,6 +1,6 @@
$NetBSD$
-SHA1 (gnunet-0.11.0pre66.tar.gz) = 356724f9e38162984bff602fea30ce524f502201
-RMD160 (gnunet-0.11.0pre66.tar.gz) = 50250a2a8a6fca16c0f72bf0b0b2bb7cd66b75d1
-SHA512 (gnunet-0.11.0pre66.tar.gz) = 914533659419ff3a64772e0933617be455390c8d0b22718dd8d6fe5b892ea9969f2fe55f3c128094f349597a19b32255e47d0c29952864557e1fc19af9465e2d
-Size (gnunet-0.11.0pre66.tar.gz) = 7487985 bytes
+SHA1 (gnunet-0.11.0.tar.gz) = 70db5d0dfe274c18d974e69e3efd6b3378718b8f
+RMD160 (gnunet-0.11.0.tar.gz) = 678e2f3d6493cdfe833e52ea7f9b6fffc2f6c546
+SHA512 (gnunet-0.11.0.tar.gz) = f60141b897b665889c9aa0f7242152e8af898f994d9a0d503847b5946f1ae07b22bb454aabdcddc350cf5c9405b204b71661ff23a54118039976d38479e524a6
+Size (gnunet-0.11.0.tar.gz) = 7519465 bytes
diff --git a/gnunet/files/gnunet.conf b/gnunet/files/gnunet.conf
new file mode 100644
index 0000000000..651f2024b2
--- /dev/null
+++ b/gnunet/files/gnunet.conf
@@ -0,0 +1,83 @@
+[PATHS]
+DEFAULTCONFIG = /usr/pkg/etc/gnunet/gnunet.conf
+
+# choose your database backend
+#[datastore]
+#DATABASE = mysql
+
+[arm]
+# new names since 2018-07
+START_SYSTEM_SERVICES = YES
+START_USER_SERVICES = NO
+# old names, remove after 2018
+SYSTEM_ONLY = YES
+USER_ONLY = NO
+
+[nat]
+# configuration for home systems
+BEHIND_NAT = YES
+ENABLE_UPNP = NO
+USE_LOCALADDR = NO
+# see nat.conf for stun servers being used
+USE_STUN = YES
+DISABLEV6 = YES
+# configuration for servers in the backbone
+#BEHIND_NAT = NO
+#ENABLE_UPNP = NO
+#USE_LOCALADDR = NO
+#USE_STUN = NO
+#DISABLEV6 = NO
+
+[hostlist]
+OPTIONS = -b -e
+
+[transport]
+# let's not use udp, https, http, bluetooth, wlan
+# until we know they are stable
+PLUGINS = tcp
+
+[transport-tcp]
+PORT = 2086
+ADVERTISED_PORT = 2086
+
+[transport-udp]
+PORT = 2086
+ADVERTISED_PORT = 2086
+
+[transport-http_client]
+# Hostname or IP of proxy server
+#PROXY = 127.0.0.1
+# Valid values: HTTP, SOCKS4, SOCKS5, SOCKS4A, SOCKS5_HOSTNAME
+#PROXY_TYPE = SOCKS5
+# Enable tunneling proxy request instead of having proxy server evaluate it
+#PROXY_HTTP_TUNNELING = NO
+
+[transport-https_client]
+#PROXY = 127.0.0.1
+#PROXY_TYPE = SOCKS5
+
+# how to do exits and hidden services
+[exit]
+#IMMEDIATE_START = YES
+#DNS_RESOLVER = 10.0.1.1
+#EXIT_DNS = YES
+#EXIT_IPV4 = YES
+EXIT_RANGE_IPV4_POLICY = 169.254.0.0/16;
+
+#[http.gnunet.]
+# example for a "public" service with no shared secret
+# instead of "http" i could have put "www" or "whatever"
+#TCP_REDIRECTS = 80:169.254.86.1:80
+
+[ohaithisisoursharedsecret.gnunet.]
+# multiport configuration as would be used with 'psyced'
+#TCP_REDIRECTS = 23:169.254.86.1:2323;4404:169.254.86.1:4404;6667:169.254.86.1:6667
+
+# client side, server needs to offer exit instead
+#[vpn]
+#IMMEDIATE_START = NO
+
+# network size estimation:
+# do not calculate proof-of-work on test installations
+#[nse]
+#WORKBITS = 0
diff --git a/gnunet/files/gnunet.in b/gnunet/files/gnunet.in
new file mode 100755
index 0000000000..ec9717476a
--- /dev/null
+++ b/gnunet/files/gnunet.in
@@ -0,0 +1,58 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# PROVIDE: gnunet
+# REQUIRE: DAEMON NETWORKING
+# KEYWORD: shutdown
+#
+# You will need to set some variables in /etc/rc.conf to start gnunet:
+#
+# gnunet=YES
+
+if [ -f /etc/rc.subr ]
+then
+ . /etc/rc.subr
+fi
+
+name="gnunet"
+rcvar=$name
+command="@PREFIX@/bin/gnunet-arm"
+required_files="@PKG_SYSCONFDIR@/gnunet.conf"
+start_cmd="gnunet_start"
+stop_cmd="gnunet_stop"
+pidfile="@PKG_HOME@/${name}.pid"
+restart_cmd="gnunet_stop ; gnunet_start"
+extra_commands="reload"
+
+checkconfig()
+{
+ if [ -n "$(find @PKG_HOME@/.local/share/gnunet -maxdepth 1 -name gnunet.conf -perm +0044)" ]; then
+ echo "@PKG_HOME@/.local/share/gnunet/gnunet.conf"
+ echo "must not be world or group readable, use"
+ echo "chmod 600"
+ echo "and chown gnunet:gnunet"
+ fi
+ mkdir -p @PKG_HOME@/.cache/gnunet
+}
+
+gnunet_start ()
+{
+ checkconfig || return 1
+ ${command} -s -c @PKG_SYSCONFDIR@/gnunet.conf
+}
+
+gnunet_stop()
+{
+ ${command} -e -c @PKG_SYSCONFDIR@/gnunet.conf
+ kill `cat ${pidfile}` 2>/dev/null
+ sleep 1
+ rm -rf /tmp/gnunet-gnunet-runtime 2>/dev/null 2>&1
+ rm -rf /tmp/gnunet-system-runtime 2>/dev/null 2>&1
+}
+
+if [ -f /etc/rc.subr -a -f /etc/rc.conf -a -d /etc/rc.d -a -f /etc/rc.d/DAEMON ]
+then
+ load_rc_config $name
+ run_rc_command "$1"
+else
+ eval ${start_cmd}
+fi
diff --git a/gnunet/options.mk b/gnunet/options.mk
index c516714f3d..cc52f0750e 100644
--- a/gnunet/options.mk
+++ b/gnunet/options.mk
@@ -1,10 +1,9 @@
# $NetBSD$
-#
PKG_OPTIONS_VAR= PKG_OPTIONS.gnunet
-PKG_SUPPORTED_OPTIONS= doc mdoc ssl libgcrypt idn mysql pgsql tests
-PKG_SUGGESTED_OPTIONS= doc ssl libgcrypt
-
+PKG_SUPPORTED_OPTIONS= doc mdoc idn mysql pgsql tests
+PKG_SUGGESTED_OPTIONS= doc
+PLIST_VARS+= doc
# openssl is currently required by:
# src/transport/gnunet-transport-certificate-creation
# src/gns/gnunet-gns-proxy-setup-ca
@@ -13,28 +12,22 @@ PKG_SUGGESTED_OPTIONS= doc ssl libgcrypt
# Parts of the testsuite require python3.7
.if !empty(PKG_OPTIONS:Mtests)
-.include "../../lang/python37/buildlink3.mk"
-.endif
-
-# libgcrypt is used in preference to openssl, per gnunet configure.ac
-.if !empty(PKG_OPTIONS:Mlibgcrypt)
-.include "../../security/libgcrypt/buildlink3.mk"
-CONFIGURE_ARGS+= --with-libgcrypt-prefix=${BUILDLINK_PREFIX.libgcrypt}
-CONFIGURE_ARGS+= --without-crypto
-.endif
-
-.if !empty(PKG_OPTIONS:Mssl)
-.include "../../security/openssl/buildlink3.mk"
-CONFIGURE_ARGS+= --with-crypto=${BUILDLINK_PREFIX.libgcrypt}
+.include "../../lang/python/tool.mk"
+PYTHON_VERSIONS_ACCEPTED= 37
+PYTHON_FOR_BUILD_ONLY= yes
+BUILD_DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
.endif
+# build the doc output. XXX: See README.
.if !empty(PKG_OPTIONS:Mdoc)
+USE_TOOLS+= makeinfo
CONFIGURE_ARGS+= --enable-documentation
+PLIST.doc= yes
.else
CONFIGURE_ARGS+= --disable-documentation
.endif
-# build the mdoc output.
+# build the mdoc output. XXX: See README.
.if !empty(PKG_OPTIONS:Mmdoc)
BUILD_DEPENDS+= texi2mdoc-[0-9]*:../../textproc/texi2mdoc
CONFIGURE_ARGS+= --enable-texi2mdoc-generation
@@ -42,6 +35,8 @@ CONFIGURE_ARGS+= --enable-texi2mdoc-generation
CONFIGURE_ARGS+= --disable-texi2mdoc-generation
.endif
+# idn is mandatory but idn or idn2 can be used with a preference
+# for idn2.
.if !empty(PKG_OPTIONS:Midn)
.include "../../devel/libidn2/buildlink3.mk"
CONFIGURE_ARGS+= --with-libidn2=${BUILDLINK_PREFIX.libidn2}
@@ -50,12 +45,12 @@ CONFIGURE_ARGS+= --with-libidn2=${BUILDLINK_PREFIX.libidn2}
CONFIGURE_ARGS+= --with-libidn=${BUILDLINK_PREFIX.libidn}
.endif
-### database support
-###
+# database support - they don't exclude other databases,
+# you can have mysql, pgsql, and the default all built in.
.if !empty(PKG_OPTIONS:Mmysql)
.include "../../mk/mysql.buildlink3.mk"
.endif
+
.if !empty(PKG_OPTIONS:Mpgsql)
.include "../../mk/pgsql.buildlink3.mk"
.endif
-
Home |
Main Index |
Thread Index |
Old Index