Github messages for voidlinux
 help / color / mirror / Atom feed
From: kernle32dll <kernle32dll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] WIP: New package: nordvpn-bin-3.7.2
Date: Tue, 03 Nov 2020 09:38:35 +0100	[thread overview]
Message-ID: <20201103083835.EGZ8e8R6QJKaS7H9JNTd1wAoTh3sBw1IwCVtAkgJSa8@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: 430 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

WIP: New package: nordvpn-bin-3.7.2
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: 2960 bytes --]

From c8e7c700113a46cc42a455c1079a19de14ac1c08 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.8.5

---
 srcpkgs/nordvpn-bin/files/nordvpnd/run |  2 +
 srcpkgs/nordvpn-bin/template           | 59 ++++++++++++++++++++++++++
 2 files changed, 61 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..7501bca3529
--- /dev/null
+++ b/srcpkgs/nordvpn-bin/template
@@ -0,0 +1,59 @@
+# Template file for 'nordvpn-bin'
+pkgname=nordvpn-bin
+version=3.8.5
+revision=1
+archs="i686 x86_64 aarch64 armv7l armv6l"
+build_style=fetch
+hostmakedepends="tar xz"
+depends="ipset iproute2"
+short_desc="NordVPN CLI tool for Linux"
+maintainer="Björn Gerdau <bjoerngerdau@gmx.de>"
+license="custom"
+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=a3f9a0017a3e42e4dbc21372f79bff4eb30615bdd66998415f032e592e6eba4e
+		;;
+	i686)
+		_deb="nordvpn_${version}_i386.deb"
+		distfiles="https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${version}_i386.deb"
+		checksum=3c79624fb5b673530a1bf03b18d37a89d1688a5362cd1cf60a7f76e4e2fc8bcb
+		;;
+	aarch64)
+		_deb="nordvpn_${version}_arm64.deb"
+		distfiles="https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${version}_arm64.deb"
+		checksum=ae80d7819f15d972445e59282ada00114971d7c0723b02708826536ea3fa3eb3
+		;;
+	armv7l)
+		_deb="nordvpn_${version}_armhf.deb"
+		distfiles="https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${version}_armhf.deb"
+		checksum=195ceac769638559771684d6bd1edbb3773b81fb397bf1d5c815e1c90de990b5
+		;;
+	armv6l)
+		_deb="nordvpn_${version}_armel.deb"
+		distfiles="https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_${version}_armel.deb"
+		checksum=3b3ad1f8310abe745299c78c05ba8d0052b0e7b850fb804992d1663c54e9a4a5
+		;;
+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
+}

  parent reply	other threads:[~2020-11-03  8:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-17 22:08 [PR PATCH] New package: nordvpn-bin-3.7.1 kernle32dll
2020-04-17 22:12 ` [PR PATCH] [Updated] " kernle32dll
2020-04-17 22:22 ` kernle32dll
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 [this message]
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=20201103083835.EGZ8e8R6QJKaS7H9JNTd1wAoTh3sBw1IwCVtAkgJSa8@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).