From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: gnunet-0.11.5
Date: Fri, 19 Jul 2019 09:03:24 +0200 [thread overview]
Message-ID: <20190719070324.okEllolf64IywD_ZUPKsW8Mw_lsVj7T0eba7m8CFSzM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13167@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 611 bytes --]
There is an updated pull request by Anachron against master on the void-packages repository
https://github.com/Anachron/void-packages gnunet
https://github.com/void-linux/void-packages/pull/13167
New package: gnunet-0.11.5
Preparing the `gnunet` package for inclusion.
I know the workaround in https://github.com/void-linux/void-packages/pull/13167/files#diff-d563501cb146c13f7c87ffeb0fff80a1 is ugly but `gnunet-arm` has no way not to detach/fork: https://gist.github.com/Anachron/be3ff6d0d22d317ed36e3871ea871b17
A patch file from https://github.com/void-linux/void-packages/pull/13167.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gnunet-13167.patch --]
[-- Type: application/text/x-diff, Size: 3189 bytes --]
From 12ffde36261f57d5192469a79cd1e0f8d9401f84 Mon Sep 17 00:00:00 2001
From: Anachron <gith@cron.world>
Date: Fri, 19 Jul 2019 09:03:01 +0200
Subject: [PATCH] New package: gnunet-0.11.5
---
srcpkgs/gnunet-devel | 1 +
srcpkgs/gnunet/INSTALL.msg | 1 +
srcpkgs/gnunet/files/gnunet.conf | 24 +++++++++++++++++++++
srcpkgs/gnunet/files/gnunet/run | 2 ++
srcpkgs/gnunet/template | 36 ++++++++++++++++++++++++++++++++
5 files changed, 64 insertions(+)
create mode 120000 srcpkgs/gnunet-devel
create mode 100644 srcpkgs/gnunet/INSTALL.msg
create mode 100644 srcpkgs/gnunet/files/gnunet.conf
create mode 100644 srcpkgs/gnunet/files/gnunet/run
create mode 100644 srcpkgs/gnunet/template
diff --git a/srcpkgs/gnunet-devel b/srcpkgs/gnunet-devel
new file mode 120000
index 00000000000..3d739abe774
--- /dev/null
+++ b/srcpkgs/gnunet-devel
@@ -0,0 +1 @@
+gnunet
\ No newline at end of file
diff --git a/srcpkgs/gnunet/INSTALL.msg b/srcpkgs/gnunet/INSTALL.msg
new file mode 100644
index 00000000000..3e20257a4fe
--- /dev/null
+++ b/srcpkgs/gnunet/INSTALL.msg
@@ -0,0 +1 @@
+Please modify your /etc/gnunet/gnunet.conf and start gnunet.
diff --git a/srcpkgs/gnunet/files/gnunet.conf b/srcpkgs/gnunet/files/gnunet.conf
new file mode 100644
index 00000000000..2664bc2a6e4
--- /dev/null
+++ b/srcpkgs/gnunet/files/gnunet.conf
@@ -0,0 +1,24 @@
+[PATHS]
+SERVICEHOME = /var/lib/gnunet
+DEFAULTCONFIG = /etc/gnunet/gnunet.conf
+
+[arm]
+SYSTEM_ONLY = YES
+USER_ONLY = NO
+
+[transport-tcp]
+PORT = 2086
+ADVERTISED_PORT = 2086
+
+[transport-udp]
+PORT = 2086
+ADVERTISED_PORT = 2086
+
+[nat]
+BEHIND_NAT = YES
+ENABLE_UPNP = NO
+USE_LOCALADDR = NO
+DISABLEV6 = YES
+
+[hostlist]
+OPTIONS = -b -e
diff --git a/srcpkgs/gnunet/files/gnunet/run b/srcpkgs/gnunet/files/gnunet/run
new file mode 100644
index 00000000000..4adb83a4d02
--- /dev/null
+++ b/srcpkgs/gnunet/files/gnunet/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/lib/gnunet/libexec/gnunet-service-arm -c /etc/gnunet/gnunet.conf
diff --git a/srcpkgs/gnunet/template b/srcpkgs/gnunet/template
new file mode 100644
index 00000000000..fb3ef1340b7
--- /dev/null
+++ b/srcpkgs/gnunet/template
@@ -0,0 +1,36 @@
+# Template file for 'gnunet'
+pkgname=gnunet
+version=0.11.5
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=gnu-configure
+conf_files="/etc/gnunet/gnunet.conf"
+hostmakedepends="autoconf automake gettext-devel libtool"
+makedepends="libgcrypt-devel libidn-devel
+ libltdl-devel libunistring-devel sqlite-devel zlib-devel"
+short_desc="Framework for secure peer-to-peer networking"
+maintainer="Anachron <gith@cron.world>"
+license="GPL-3.0-or-later"
+homepage="https://gnunet.org"
+distfiles="https://git.gnunet.org/gnunet.git/snapshot/${pkgname}-v${version}.tar.gz"
+checksum=ac99e7e5a167aa42e7734ad5c94a31be1f9fe98842a923c382c8a30b5320561a
+
+pre_configure() {
+ ./bootstrap
+}
+
+post_install() {
+ vmkdir etc/gnunet
+ vcopy "${FILESDIR}/gnunet.conf" etc/gnunet/gnunet.conf
+ vsv gnunet
+}
+
+gnunet-devel_package() {
+ depends="${pkgname}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
next prev parent reply other threads:[~2019-07-19 7:03 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-17 9:59 [PR PATCH] [DONOTMERGE] " voidlinux-github
2019-07-17 11:34 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-17 11:34 ` voidlinux-github
2019-07-17 11:37 ` voidlinux-github
2019-07-17 11:37 ` voidlinux-github
2019-07-17 11:43 ` voidlinux-github
2019-07-17 11:43 ` voidlinux-github
2019-07-17 11:58 ` voidlinux-github
2019-07-17 11:58 ` voidlinux-github
2019-07-17 12:01 ` voidlinux-github
2019-07-17 12:01 ` voidlinux-github
2019-07-17 12:18 ` voidlinux-github
2019-07-17 12:18 ` voidlinux-github
2019-07-17 12:24 ` voidlinux-github
2019-07-17 12:26 ` voidlinux-github
2019-07-17 12:48 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-17 12:48 ` voidlinux-github
2019-07-17 12:52 ` voidlinux-github
2019-07-19 7:03 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-19 7:03 ` voidlinux-github [this message]
2019-07-19 7:04 ` voidlinux-github
2019-07-19 7:04 ` voidlinux-github
2019-07-19 8:55 ` voidlinux-github
2019-07-20 11:21 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-20 11:21 ` voidlinux-github
2019-07-20 11:38 ` voidlinux-github
2019-07-20 11:38 ` voidlinux-github
2019-07-23 17:30 ` [PR PATCH] [Merged]: " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190719070324.okEllolf64IywD_ZUPKsW8Mw_lsVj7T0eba7m8CFSzM@z \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).