From: b-l-a-i-n-e <b-l-a-i-n-e@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New Package: ivpn-3.4.5
Date: Mon, 13 Dec 2021 05:07:25 +0100 [thread overview]
Message-ID: <20211213040725.063OsYXXK79oVGFkQkea1QjKt6yrq36bqkBVmpxvWJw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34435@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 735 bytes --]
There is an updated pull request by b-l-a-i-n-e against master on the void-packages repository
https://github.com/b-l-a-i-n-e/void-packages ivpn
https://github.com/void-linux/void-packages/pull/34435
New Package: ivpn-3.4.5
#### Testing the changes
- I tested the changes in this PR: YES
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): YES
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)
Based off of aur
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ivpn
A patch file from https://github.com/void-linux/void-packages/pull/34435.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ivpn-34435.patch --]
[-- Type: text/x-diff, Size: 3265 bytes --]
From f1006af37fdf989f7090a31d1887a14a1a22cdb0 Mon Sep 17 00:00:00 2001
From: b-l-a-i-n-e <blaine.gilbreth@gmail.com>
Date: Wed, 8 Dec 2021 21:43:37 -0800
Subject: [PATCH] New Package: ivpn-3.4.5
---
srcpkgs/ivpn/INSTALL.msg | 11 +++++++
srcpkgs/ivpn/files/ivpn-service/run | 3 ++
srcpkgs/ivpn/template | 51 +++++++++++++++++++++++++++++
3 files changed, 65 insertions(+)
create mode 100644 srcpkgs/ivpn/INSTALL.msg
create mode 100644 srcpkgs/ivpn/files/ivpn-service/run
create mode 100644 srcpkgs/ivpn/template
diff --git a/srcpkgs/ivpn/INSTALL.msg b/srcpkgs/ivpn/INSTALL.msg
new file mode 100644
index 000000000000..b2863a853e44
--- /dev/null
+++ b/srcpkgs/ivpn/INSTALL.msg
@@ -0,0 +1,11 @@
+Before using the ivpn command, the ivpn-service daemon needs
+to be running.
+
+Start the ivpn-service daemon with runit:
+
+ $ sudo ln -s /etc/sv/ivpn-service /var/service/
+
+Then check the ivpn command (non root):
+
+ $ ivpn status
+
diff --git a/srcpkgs/ivpn/files/ivpn-service/run b/srcpkgs/ivpn/files/ivpn-service/run
new file mode 100644
index 000000000000..82ec06923576
--- /dev/null
+++ b/srcpkgs/ivpn/files/ivpn-service/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+exec ivpn-service $OPTS
diff --git a/srcpkgs/ivpn/template b/srcpkgs/ivpn/template
new file mode 100644
index 000000000000..04a13e3b6152
--- /dev/null
+++ b/srcpkgs/ivpn/template
@@ -0,0 +1,51 @@
+# Template file for 'ivpn'
+pkgname=ivpn
+version=3.4.5
+revision=1
+_ivpndir="desktop-app-${version}"
+archs="x86_64"
+create_wrksrc=yes
+hostmakedepends="curl libcurl git go wireless_tools-devel"
+depends="openvpn wireless_tools glibc lsof"
+short_desc="IVPN Command Line Interface"
+maintainer="b-l-a-i-n-e <blaine.gilbreth@gmail.com>"
+license="GPL3-only"
+homepage="https://www.ivpn.net"
+distfiles="https://github.com/ivpn/desktop-app/archive/v${version}.tar.gz"
+checksum=e6837cb653dc9089afa50281bc11df5da99da0b6edd597220f50646db0c8cccd
+nopie=yes
+
+do_build() {
+ (cd "${_ivpndir}/daemon" && \
+ ./References/Linux/scripts/build-all.sh -v "${pkgver}" -c "${pkgver}_stamped")
+
+ (cd "${_ivpndir}/cli" && \
+ ./References/Linux/compile-cli.sh -v "${pkgver}" -c "${pkgver}_stamped")
+}
+
+do_install() {
+ local daemonlinuxdir="${_ivpndir}/daemon/References/Linux"
+ local clilinuxdir="${_ivpndir}/cli/References/Linux"
+
+ vmkdir usr/bin
+ vinstall "${daemonlinuxdir}/scripts/_out_bin/ivpn-service" 755 usr/bin
+ vinstall "${clilinuxdir}/_out_bin/ivpn" 755 usr/bin
+
+ vmkdir opt/ivpn
+ vmkdir opt/ivpn/etc
+ vinstall "${daemonlinuxdir}/etc/client.down" 700 opt/ivpn/etc
+ vinstall "${daemonlinuxdir}/etc/client.up" 700 opt/ivpn/etc
+ vinstall "${daemonlinuxdir}/etc/firewall.sh" 700 opt/ivpn/etc
+ vinstall "${daemonlinuxdir}/etc/servers.json" 600 opt/ivpn/etc
+ vinstall "${daemonlinuxdir}/etc/ca.crt" 400 opt/ivpn/etc
+ vinstall "${daemonlinuxdir}/etc/ta.key" 400 opt/ivpn/etc
+
+ vmkdir opt/ivpn/wireguard-tools
+ vinstall "${daemonlinuxdir}/_deps/wireguard-tools_inst/wg-quick" 755 opt/ivpn/wireguard-tools
+ vinstall "${daemonlinuxdir}/_deps/wireguard-tools_inst/wg" 755 opt/ivpn/wireguard-tools
+
+ vmkdir opt/ivpn/obfsproxy
+ vinstall "${daemonlinuxdir}/_deps/obfs4proxy_inst/obfs4proxy" 755 opt/ivpn/obfsproxy
+
+ vsv ivpn-service
+}
next prev parent reply other threads:[~2021-12-13 4:07 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-09 6:00 [PR PATCH] " b-l-a-i-n-e
2021-12-12 17:53 ` [PR REVIEW] " NeelChotai
2021-12-12 17:58 ` NeelChotai
2021-12-13 3:44 ` b-l-a-i-n-e
2021-12-13 3:55 ` b-l-a-i-n-e
2021-12-13 4:07 ` b-l-a-i-n-e [this message]
2021-12-13 4:08 ` b-l-a-i-n-e
2021-12-14 2:50 ` NeelChotai
2021-12-14 2:50 ` NeelChotai
2021-12-14 2:50 ` NeelChotai
2022-02-01 16:58 ` b-l-a-i-n-e
2022-02-01 16:58 ` [PR PATCH] [Closed]: " b-l-a-i-n-e
2023-02-24 14:01 ` niels0n
2023-02-24 16:33 ` b-l-a-i-n-e
2023-02-24 16:48 ` niels0n
2023-02-24 17:10 ` b-l-a-i-n-e
2023-02-24 17:35 ` b-l-a-i-n-e
2023-02-24 18:42 ` niels0n
2023-02-24 18:47 ` niels0n
2023-02-26 8:59 ` niels0n
2023-02-26 8:59 ` niels0n
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=20211213040725.063OsYXXK79oVGFkQkea1QjKt6yrq36bqkBVmpxvWJw@z \
--to=b-l-a-i-n-e@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).