Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] openvpn: Added a service for running as a client
@ 2019-12-30 22:52 voidlinux-github
  2019-12-31 14:33 ` [PR PATCH] [Closed]: " voidlinux-github
  2019-12-31 14:33 ` voidlinux-github
  0 siblings, 2 replies; 3+ messages in thread
From: voidlinux-github @ 2019-12-30 22:52 UTC (permalink / raw)
  To: ml

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

There is a new pull request by AN3223 against master on the void-packages repository

https://github.com/AN3223/void-packages openvpn_service
https://github.com/void-linux/void-packages/pull/17906

openvpn: Added a service for running as a client
Systemd service for reference: https://github.com/OpenVPN/openvpn/blob/master/distro/systemd/openvpn-client%40.service.in

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

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

From ad2c218f496522a00bb98bfdc58e12bcc0823f7e Mon Sep 17 00:00:00 2001
From: AN3223 <ethanr2048@gmail.com>
Date: Mon, 30 Dec 2019 16:17:49 -0600
Subject: [PATCH] openvpn: Added a service for running as a client

---
 srcpkgs/openvpn/files/openvpn-client/log/run | 4 ++++
 srcpkgs/openvpn/files/openvpn-client/run     | 5 +++++
 srcpkgs/openvpn/template                     | 4 +++-
 3 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100755 srcpkgs/openvpn/files/openvpn-client/log/run
 create mode 100755 srcpkgs/openvpn/files/openvpn-client/run

diff --git a/srcpkgs/openvpn/files/openvpn-client/log/run b/srcpkgs/openvpn/files/openvpn-client/log/run
new file mode 100755
index 00000000000..34c7fb185d4
--- /dev/null
+++ b/srcpkgs/openvpn/files/openvpn-client/log/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec logger -t openvpn -p daemon.notice
+
diff --git a/srcpkgs/openvpn/files/openvpn-client/run b/srcpkgs/openvpn/files/openvpn-client/run
new file mode 100755
index 00000000000..94ca10f10b3
--- /dev/null
+++ b/srcpkgs/openvpn/files/openvpn-client/run
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+[ -r ./conf ] && . ./conf
+exec openvpn ${OPTS:---nobind --suppress-timestamps --config /etc/openvpn/client/client.conf} 2>&1
+
diff --git a/srcpkgs/openvpn/template b/srcpkgs/openvpn/template
index 042c8cf2886..c85f3b769e5 100644
--- a/srcpkgs/openvpn/template
+++ b/srcpkgs/openvpn/template
@@ -1,7 +1,7 @@
 # Template file for 'openvpn'
 pkgname=openvpn
 version=2.4.8
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="--enable-pkcs11 --enable-iproute2 --disable-systemd"
 hostmakedepends="iproute2 pkg-config"
@@ -20,4 +20,6 @@ post_install() {
 	cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
 
 	rm -rf ${DESTDIR}/usr/include
+
+	vsv openvpn-client
 }

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: openvpn: Added a service for running as a client
  2019-12-30 22:52 [PR PATCH] openvpn: Added a service for running as a client voidlinux-github
  2019-12-31 14:33 ` [PR PATCH] [Closed]: " voidlinux-github
@ 2019-12-31 14:33 ` voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-12-31 14:33 UTC (permalink / raw)
  To: ml

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

New comment by Hoshpak on void-packages repository

https://github.com/void-linux/void-packages/pull/17906#issuecomment-569937899

Comment:
we decided against shipping a default service or configuration file for openvpn. Please install the service locally if you need it.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Closed]: openvpn: Added a service for running as a client
  2019-12-30 22:52 [PR PATCH] openvpn: Added a service for running as a client voidlinux-github
@ 2019-12-31 14:33 ` voidlinux-github
  2019-12-31 14:33 ` voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-12-31 14:33 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

openvpn: Added a service for running as a client
https://github.com/void-linux/void-packages/pull/17906

Description:
Systemd service for reference: https://github.com/OpenVPN/openvpn/blob/master/distro/systemd/openvpn-client%40.service.in

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-31 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-30 22:52 [PR PATCH] openvpn: Added a service for running as a client voidlinux-github
2019-12-31 14:33 ` [PR PATCH] [Closed]: " voidlinux-github
2019-12-31 14:33 ` voidlinux-github

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).