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: Sun, 19 Jul 2020 10:19:16 +0200 [thread overview]
Message-ID: <20200719081916.BI0rdJ7XDGyxMG2PilhpncOBhSxr4R_BMMBrrVrdYpE@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: 2704 bytes --]
From b5bfbe44a03ca599e243c23969b822fa74450b4c Mon Sep 17 00:00:00 2001
From: Douglas Kosovic <doug@uq.edu.au>
Date: Sun, 19 Jul 2020 16:54:55 +1000
Subject: [PATCH 1/2] New package: NetworkManager-l2tp-1.8.2
---
srcpkgs/NetworkManager-l2tp/template | 22 ++++++++++++++++++++++
1 file changed, 22 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..031f05ad1a7
--- /dev/null
+++ b/srcpkgs/NetworkManager-l2tp/template
@@ -0,0 +1,22 @@
+# 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() {
+ PPP_VERSION=$(sed -n 's/^\#define\s*VERSION\s*"\([^\s]*\)"$/\1/p' /usr/include/pppd/patchlevel.h)
+
+ ./configure ${configure_args} --with-pppd-plugin-dir=/usr/lib/pppd/${PPP_VERSION}
+}
From 40bd0dc6864996dfbe27c2e1ef83c024c1a08826 Mon Sep 17 00:00:00 2001
From: Douglas Kosovic <doug@uq.edu.au>
Date: Sun, 19 Jul 2020 18:18:40 +1000
Subject: [PATCH 2/2] Cross compiler fix
---
srcpkgs/NetworkManager-l2tp/template | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/NetworkManager-l2tp/template b/srcpkgs/NetworkManager-l2tp/template
index 031f05ad1a7..218597c2411 100644
--- a/srcpkgs/NetworkManager-l2tp/template
+++ b/srcpkgs/NetworkManager-l2tp/template
@@ -16,7 +16,11 @@ distfiles="https://github.com/nm-l2tp/NetworkManager-l2tp/releases/download/${ve
checksum=1d80986dc88951e298446833d314bab7af0a933e736960d6b3b025e6b7faca94
do_configure() {
- PPP_VERSION=$(sed -n 's/^\#define\s*VERSION\s*"\([^\s]*\)"$/\1/p' /usr/include/pppd/patchlevel.h)
+ 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}
}
next prev parent reply other threads:[~2020-07-19 8:19 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 ` dkosovic [this message]
2020-07-19 9:03 ` [PR PATCH] [Updated] " 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 ` [PR PATCH] [Updated] " dkosovic
2020-07-22 12:27 ` [PR REVIEW] " 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=20200719081916.BI0rdJ7XDGyxMG2PilhpncOBhSxr4R_BMMBrrVrdYpE@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).