Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: gnunet-0.11.5
Date: Sat, 20 Jul 2019 13:21:16 +0200	[thread overview]
Message-ID: <20190720112116.LNpSBCJL2srdFtTLMmFuyqZT5vr-H8hQFnjTxAWlqJY@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: 362 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.

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: 2857 bytes --]

From 7d1dde5f8d49caa9d8c0e1cc11706c41f1738ee9 Mon Sep 17 00:00:00 2001
From: Anachron <gith@cron.world>
Date: Sat, 20 Jul 2019 13:20:59 +0200
Subject: [PATCH] New package: gnunet-0.11.5

---
 srcpkgs/gnunet-devel             |  1 +
 srcpkgs/gnunet/files/gnunet.conf | 24 +++++++++++++++++++++
 srcpkgs/gnunet/files/gnunet/run  |  2 ++
 srcpkgs/gnunet/template          | 36 ++++++++++++++++++++++++++++++++
 4 files changed, 63 insertions(+)
 create mode 120000 srcpkgs/gnunet-devel
 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/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"
+	}
+}

  parent reply	other threads:[~2019-07-20 11:21 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
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 ` voidlinux-github [this message]
2019-07-20 11:21 ` [PR PATCH] [Updated] " 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=20190720112116.LNpSBCJL2srdFtTLMmFuyqZT5vr-H8hQFnjTxAWlqJY@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).