From: kernle32dll <kernle32dll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: nordvpn-bin-3.7.1
Date: Sat, 18 Apr 2020 00:22:08 +0200 [thread overview]
Message-ID: <20200417222208.fRDNFeZl3t5iBsPpDE9roLcOMOpj8ALPx4StAo-e9Yo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21099@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 425 bytes --]
There is an updated pull request by kernle32dll against master on the void-packages repository
https://github.com/kernle32dll/void-packages add-nordvpn
https://github.com/void-linux/void-packages/pull/21099
New package: nordvpn-bin-3.7.1
My first go at a new package.
See https://github.com/void-linux/void-packages/issues/11356
A patch file from https://github.com/void-linux/void-packages/pull/21099.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-add-nordvpn-21099.patch --]
[-- Type: text/x-diff, Size: 2934 bytes --]
From 86ed1455467375f0d6610ed175701ca2eb179e1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gerdau?= <bjoerngerdau@gmx.de>
Date: Sat, 18 Apr 2020 00:07:35 +0200
Subject: [PATCH] New package: nordvpn-bin-3.7.1
---
srcpkgs/nordvpn-bin/files/nordvpnd/run | 2 +
srcpkgs/nordvpn-bin/template | 58 ++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
create mode 100644 srcpkgs/nordvpn-bin/files/nordvpnd/run
create mode 100644 srcpkgs/nordvpn-bin/template
diff --git a/srcpkgs/nordvpn-bin/files/nordvpnd/run b/srcpkgs/nordvpn-bin/files/nordvpnd/run
new file mode 100644
index 00000000000..ab17e30c5d3
--- /dev/null
+++ b/srcpkgs/nordvpn-bin/files/nordvpnd/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec nordvpnd 2>&1
diff --git a/srcpkgs/nordvpn-bin/template b/srcpkgs/nordvpn-bin/template
new file mode 100644
index 00000000000..9992806a811
--- /dev/null
+++ b/srcpkgs/nordvpn-bin/template
@@ -0,0 +1,58 @@
+# Template file for 'nordvpn-bin'
+pkgname=nordvpn-bin
+version=3.7.1
+revision=1
+archs="i686 x86_64 aarch64 armv7l armv6l"
+build_style=fetch
+short_desc="NordVPN CLI tool for Linux"
+maintainer="Björn Gerdau <bjoerngerdau@gmx.de>"
+license="custom"
+hostmakedepends="tar xz"
+homepage="https://nordvpn.com"
+nopie=true
+
+case "$XBPS_TARGET_MACHINE" in
+ x86_64)
+ _deb="nordvpn_${version}_amd64.deb"
+ distfiles="https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${version}_amd64.deb"
+ checksum=2385b1361be082ae18a9d018787cd5e54943e26b9285fca115093aa16897f766
+ ;;
+ i686)
+ _deb="nordvpn_${version}_i386.deb"
+ distfiles="https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${version}_i386.deb"
+ checksum=baf90c370c42bb89fe3dee4c40d0f95adc2e3d393bccea541e9cf9d9a2dd0197
+ ;;
+ aarch64)
+ _deb="nordvpn_${version}_arm64.deb"
+ distfiles="https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${version}_arm64.deb"
+ checksum=f366e0fe973a1d41354d9908547b0a1b3f96298bb068b4ab3797439b35ae8d72
+ ;;
+ armv7l)
+ _deb="nordvpn_${version}_armhf.deb"
+ distfiles="https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${version}_armhf.deb"
+ checksum=9f7cd08edbb1d50660838b1f035aa01b5943447ad2bebe0a45e604ab8df2912a
+ ;;
+ armv6l)
+ _deb="nordvpn_${version}_armel.deb"
+ distfiles="https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${version}_armel.deb"
+ checksum=ca5fa929000b46a3ece0a36d72bb832bcf42e0886db6b09e47f3b6bfb98ab7d7
+ ;;
+esac
+
+do_install() {
+ ar p "${_deb}" data.tar.xz > data.tar.xz
+ tar -xJf data.tar.xz
+
+ # daemon and cli tool
+ vbin usr/sbin/nordvpnd
+ vbin usr/bin/nordvpn
+
+ # docs
+ vdoc usr/share/doc/nordvpn/changelog.gz
+ vman usr/share/man/man1/nordvpn.1.gz
+ vinstall usr/share/bash-completion/completions/nordvpn 644 usr/share/bash-completion/completions
+ vinstall "usr/share/zsh/functions/Completion/Unix/_nordvpn_auto_complete" 644 usr/share/zsh/site-functions
+
+ # runit service
+ vsv nordvpnd
+}
next prev parent reply other threads:[~2020-04-17 22:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-17 22:08 [PR PATCH] " kernle32dll
2020-04-17 22:12 ` [PR PATCH] [Updated] " kernle32dll
2020-04-17 22:22 ` kernle32dll [this message]
2020-04-17 22:23 ` kernle32dll
2020-04-18 9:27 ` kernle32dll
2020-04-18 9:34 ` kernle32dll
2020-04-18 9:40 ` WIP: " kernle32dll
2020-04-18 11:02 ` kernle32dll
2020-09-27 18:10 ` [PR PATCH] [Updated] WIP: New package: nordvpn-bin-3.7.2 kernle32dll
2020-11-03 8:38 ` kernle32dll
2020-12-30 7:23 ` the-maldridge
2020-12-30 7:23 ` [PR PATCH] [Closed]: " the-maldridge
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=20200417222208.fRDNFeZl3t5iBsPpDE9roLcOMOpj8ALPx4StAo-e9Yo@z \
--to=kernle32dll@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).