Github messages for voidlinux
 help / color / mirror / Atom feed
From: dkosovic <dkosovic@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: NetworkManager-l2tp-1.8.2
Date: Wed, 22 Jul 2020 14:13:07 +0200	[thread overview]
Message-ID: <20200722121307._3ukdIklVWhe5BdsyXWD6y8JdLU2d0Q18FDuPp18n1M@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23646@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]

There is an updated pull request by dkosovic against master on the void-packages repository

https://github.com/dkosovic/void-packages master
https://github.com/void-linux/void-packages/pull/23646

New package: NetworkManager-l2tp-1.8.2
Package request as discussed in https://github.com/void-linux/void-packages/issues/22610

A patch file from https://github.com/void-linux/void-packages/pull/23646.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-23646.patch --]
[-- Type: text/x-diff, Size: 3453 bytes --]

From 29ddbdf7e2beb10fd409b780ccac1fb3c2f0d9f1 Mon Sep 17 00:00:00 2001
From: Douglas Kosovic <doug@uq.edu.au>
Date: Sun, 19 Jul 2020 19:02:03 +1000
Subject: [PATCH 1/2] New package: NetworkManager-l2tp-1.8.2

---
 srcpkgs/NetworkManager-l2tp/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/NetworkManager-l2tp/template

diff --git a/srcpkgs/NetworkManager-l2tp/template b/srcpkgs/NetworkManager-l2tp/template
new file mode 100644
index 00000000000..218597c2411
--- /dev/null
+++ b/srcpkgs/NetworkManager-l2tp/template
@@ -0,0 +1,26 @@
+# Template file for 'NetworkManager-l2tp'
+pkgname=NetworkManager-l2tp
+version=1.8.2
+revision=1
+build_style=gnu-configure
+configure_args="--runstatedir=/run"
+hostmakedepends="pkg-config intltool glib-devel"
+makedepends="gtk+3-devel libglib-devel libsecret-devel network-manager-applet-devel
+libressl-devel nss-devel ppp-devel"
+depends="strongswan xl2tpd ppp"
+short_desc="NetworkManager VPN plugin for L2TP/IPsec"
+maintainer="Douglas Kosovic <doug@uq.edu.au>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/nm-l2tp/NetworkManager-l2tp"
+distfiles="https://github.com/nm-l2tp/NetworkManager-l2tp/releases/download/${version}/${pkgname}-${version}.tar.xz"
+checksum=1d80986dc88951e298446833d314bab7af0a933e736960d6b3b025e6b7faca94
+
+do_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		PPP_VERSION=$(sed -n 's/^\#define\s*VERSION\s*"\([^\s]*\)"$/\1/p' /usr/${XBPS_CROSS_TRIPLET}/usr/include/pppd/patchlevel.h)
+	else
+		PPP_VERSION=$(sed -n 's/^\#define\s*VERSION\s*"\([^\s]*\)"$/\1/p' /usr/include/pppd/patchlevel.h)
+	fi
+
+	./configure ${configure_args} --with-pppd-plugin-dir=/usr/lib/pppd/${PPP_VERSION}
+}

From 84a330e322d457cd7cac6fe9ad571242005349cd Mon Sep 17 00:00:00 2001
From: Douglas Kosovic <doug@uq.edu.au>
Date: Wed, 22 Jul 2020 22:12:18 +1000
Subject: [PATCH 2/2] Changes based on PR comments

---
 srcpkgs/NetworkManager-l2tp/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/NetworkManager-l2tp/template b/srcpkgs/NetworkManager-l2tp/template
index 218597c2411..16bd590a97e 100644
--- a/srcpkgs/NetworkManager-l2tp/template
+++ b/srcpkgs/NetworkManager-l2tp/template
@@ -5,16 +5,18 @@ revision=1
 build_style=gnu-configure
 configure_args="--runstatedir=/run"
 hostmakedepends="pkg-config intltool glib-devel"
-makedepends="gtk+3-devel libglib-devel libsecret-devel network-manager-applet-devel
-libressl-devel nss-devel ppp-devel"
+makedepends="gtk+3-devel glib-devel libglib-devel libsecret-devel
+ network-manager-applet-devel libressl-devel nss-devel ppp-devel"
 depends="strongswan xl2tpd ppp"
 short_desc="NetworkManager VPN plugin for L2TP/IPsec"
 maintainer="Douglas Kosovic <doug@uq.edu.au>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/nm-l2tp/NetworkManager-l2tp"
-distfiles="https://github.com/nm-l2tp/NetworkManager-l2tp/releases/download/${version}/${pkgname}-${version}.tar.xz"
+distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.xz"
 checksum=1d80986dc88951e298446833d314bab7af0a933e736960d6b3b025e6b7faca94
 
+# Automatically determine the pppd plugin dir location, but will need to
+# revbump this package whenever version of ppp package is updated.
 do_configure() {
 	if [ "$CROSS_BUILD" ]; then
 		PPP_VERSION=$(sed -n 's/^\#define\s*VERSION\s*"\([^\s]*\)"$/\1/p' /usr/${XBPS_CROSS_TRIPLET}/usr/include/pppd/patchlevel.h)

  parent reply	other threads:[~2020-07-22 12:13 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-19  6:59 [PR PATCH] " dkosovic
2020-07-19  8:19 ` [PR PATCH] [Updated] " dkosovic
2020-07-19  9:03 ` dkosovic
2020-07-22  6:22 ` [PR REVIEW] " fosslinux
2020-07-22  6:22 ` fosslinux
2020-07-22  6:22 ` fosslinux
2020-07-22  6:22 ` fosslinux
2020-07-22  6:22 ` fosslinux
2020-07-22  6:33 ` ericonr
2020-07-22  7:01 ` dkosovic
2020-07-22  7:04 ` dkosovic
2020-07-22  7:15 ` fosslinux
2020-07-22  7:21 ` dkosovic
2020-07-22  7:43 ` dkosovic
2020-07-22  7:51 ` fosslinux
2020-07-22 12:13 ` dkosovic [this message]
2020-07-22 12:27 ` sgn
2020-07-22 12:28 ` sgn
2020-07-22 22:35 ` dkosovic
2020-07-23  1:45 ` sgn
2020-07-23  2:10 ` dkosovic
2020-07-23  2:17 ` sgn
2020-07-23  2:18 ` sgn
2020-07-23  2:42 ` dkosovic
2020-07-23 11:16 ` sgn
2020-07-23 13:32 ` [PR PATCH] [Closed]: " sgn

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=20200722121307._3ukdIklVWhe5BdsyXWD6y8JdLU2d0Q18FDuPp18n1M@z \
    --to=dkosovic@users.noreply.github.com \
    --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).