* [PR PATCH] openvpn: update to 2.6.0.
@ 2023-02-05 6:02 kruceter
2023-02-05 6:10 ` [PR PATCH] [Updated] " kruceter
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: kruceter @ 2023-02-05 6:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]
There is a new pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages openvpn
https://github.com/void-linux/void-packages/pull/42086
openvpn: update to 2.6.0.
#### Testing the changes
- I tested the changes in this PR: **briefly** (I will set it to yes once I deploy the package to the server side properly).
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/42086.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openvpn-42086.patch --]
[-- Type: text/x-diff, Size: 2787 bytes --]
From 2778c9edec0a1cb6fd37c7958957033ff3e9c53e Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Sun, 5 Feb 2023 07:52:23 +0300
Subject: [PATCH] openvpn: update to 2.6.0.
* lz4 now is a build dependency because upstream dropped compat-lz4
(OpenVPN@openvpn/24596b258aa3a9c0bd79e7e7bd4753c48a435408).
* systemd integration is not enabled by default.
---
srcpkgs/openvpn/files/openvpn/run | 4 ++++
srcpkgs/openvpn/template | 21 ++++++++++++---------
2 files changed, 16 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/openvpn/files/openvpn/run
diff --git a/srcpkgs/openvpn/files/openvpn/run b/srcpkgs/openvpn/files/openvpn/run
new file mode 100644
index 000000000000..405c89b41c34
--- /dev/null
+++ b/srcpkgs/openvpn/files/openvpn/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+[ -r conf ] && . ./conf
+exec openvpn --user _openvpn --group _openvpn ${OPTS:- --config /etc/openvpn/server.conf} 2>&1
diff --git a/srcpkgs/openvpn/template b/srcpkgs/openvpn/template
index 44e51a3da094..d64e07183c72 100644
--- a/srcpkgs/openvpn/template
+++ b/srcpkgs/openvpn/template
@@ -1,32 +1,35 @@
# Template file for 'openvpn'
pkgname=openvpn
-version=2.5.7
+version=2.6.0
revision=1
build_style=gnu-configure
-configure_args="$(vopt_enable pkcs11) --disable-systemd
+configure_args="$(vopt_enable pkcs11)
$(vopt_if mbedtls --with-crypto-library=mbedtls)"
+make_check_args="V=1"
hostmakedepends="pkg-config"
makedepends="$(vopt_if mbedtls mbedtls-devel openssl-devel) lzo-devel pam-devel
- $(vopt_if pkcs11 pkcs11-helper-devel) cmocka-devel"
+ $(vopt_if pkcs11 pkcs11-helper-devel) cmocka-devel libcap-ng-devel lz4-devel"
short_desc="Easy-to-use, robust, and highly configurable VPN"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.openvpn.net"
changelog="https://raw.githubusercontent.com/OpenVPN/openvpn/release/${version%.*}/Changes.rst"
-distfiles="http://build.openvpn.net/downloads/releases/${pkgname}-${version}.tar.xz"
-checksum=313bca7e996a4f59ef9940dd87c6c4b9168064db9be6cabebd37cd65f13759ed
-
+distfiles="https://build.openvpn.net/downloads/releases/openvpn-${version}.tar.gz"
+checksum=ebec933263c9850ef6f7ce125e2f22214be60b1cbb8ccff18892643fe083ae8f
+system_accounts="_openvpn"
+system_groups="_openvpn"
build_options="mbedtls pkcs11"
build_options_default="pkcs11"
desc_option_mbedtls="Build with mbedtls support"
desc_option_pkcs11="Enable support for PKCS#11"
vopt_conflict mbedtls pkcs11
-
-make_check=ci-skip
+# I wonder why CI checks are skipped, huh.
+#make_check=ci-skip
post_install() {
+ vsv openvpn
vmkdir usr/share/examples/${pkgname}
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
- rm -rf ${DESTDIR}/usr/include
+ rm -r ${DESTDIR}/usr/include
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] openvpn: update to 2.6.0.
2023-02-05 6:02 [PR PATCH] openvpn: update to 2.6.0 kruceter
@ 2023-02-05 6:10 ` kruceter
2023-02-05 6:19 ` kruceter
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: kruceter @ 2023-02-05 6:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]
There is an updated pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages openvpn
https://github.com/void-linux/void-packages/pull/42086
openvpn: update to 2.6.0.
#### Testing the changes
- I tested the changes in this PR: **briefly** (I will set it to yes once I deploy the package to the server side properly).
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/42086.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openvpn-42086.patch --]
[-- Type: text/x-diff, Size: 2844 bytes --]
From 210fbd2e0beebdc7af0b112087646db018276a15 Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Sun, 5 Feb 2023 07:52:23 +0300
Subject: [PATCH] openvpn: update to 2.6.0.
* lz4 now is a build dependency because upstream dropped compat-lz4
(OpenVPN@openvpn/24596b258aa3a9c0bd79e7e7bd4753c48a435408).
* systemd integration is not enabled by default.
---
srcpkgs/openvpn/files/openvpn/run | 4 ++++
srcpkgs/openvpn/template | 23 ++++++++++++++---------
2 files changed, 18 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/openvpn/files/openvpn/run
diff --git a/srcpkgs/openvpn/files/openvpn/run b/srcpkgs/openvpn/files/openvpn/run
new file mode 100644
index 000000000000..405c89b41c34
--- /dev/null
+++ b/srcpkgs/openvpn/files/openvpn/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+[ -r conf ] && . ./conf
+exec openvpn --user _openvpn --group _openvpn ${OPTS:- --config /etc/openvpn/server.conf} 2>&1
diff --git a/srcpkgs/openvpn/template b/srcpkgs/openvpn/template
index 44e51a3da094..4d62ba2a8d06 100644
--- a/srcpkgs/openvpn/template
+++ b/srcpkgs/openvpn/template
@@ -1,32 +1,37 @@
# Template file for 'openvpn'
pkgname=openvpn
-version=2.5.7
+version=2.6.0
revision=1
build_style=gnu-configure
-configure_args="$(vopt_enable pkcs11) --disable-systemd
+configure_args="$(vopt_enable pkcs11)
$(vopt_if mbedtls --with-crypto-library=mbedtls)"
+make_check_args="V=1"
hostmakedepends="pkg-config"
makedepends="$(vopt_if mbedtls mbedtls-devel openssl-devel) lzo-devel pam-devel
- $(vopt_if pkcs11 pkcs11-helper-devel) cmocka-devel"
+ $(vopt_if pkcs11 pkcs11-helper-devel) cmocka-devel libcap-ng-devel
+ liblz4-devel"
+checkdepends="iproute2"
short_desc="Easy-to-use, robust, and highly configurable VPN"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.openvpn.net"
changelog="https://raw.githubusercontent.com/OpenVPN/openvpn/release/${version%.*}/Changes.rst"
-distfiles="http://build.openvpn.net/downloads/releases/${pkgname}-${version}.tar.xz"
-checksum=313bca7e996a4f59ef9940dd87c6c4b9168064db9be6cabebd37cd65f13759ed
-
+distfiles="https://build.openvpn.net/downloads/releases/openvpn-${version}.tar.gz"
+checksum=ebec933263c9850ef6f7ce125e2f22214be60b1cbb8ccff18892643fe083ae8f
+system_accounts="_openvpn"
+system_groups="_openvpn"
build_options="mbedtls pkcs11"
build_options_default="pkcs11"
desc_option_mbedtls="Build with mbedtls support"
desc_option_pkcs11="Enable support for PKCS#11"
vopt_conflict mbedtls pkcs11
-
-make_check=ci-skip
+# CI does not allow to create dummy network interfaces for testing?
+#make_check=ci-skip
post_install() {
+ vsv openvpn
vmkdir usr/share/examples/${pkgname}
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
- rm -rf ${DESTDIR}/usr/include
+ rm -r ${DESTDIR}/usr/include
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] openvpn: update to 2.6.0.
2023-02-05 6:02 [PR PATCH] openvpn: update to 2.6.0 kruceter
2023-02-05 6:10 ` [PR PATCH] [Updated] " kruceter
@ 2023-02-05 6:19 ` kruceter
2023-02-05 7:19 ` kruceter
2023-02-08 23:53 ` [PR PATCH] [Closed]: " kruceter
3 siblings, 0 replies; 5+ messages in thread
From: kruceter @ 2023-02-05 6:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]
There is an updated pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages openvpn
https://github.com/void-linux/void-packages/pull/42086
openvpn: update to 2.6.0.
#### Testing the changes
- I tested the changes in this PR: **briefly** (I will set it to yes once I deploy the package to the server side properly).
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/42086.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openvpn-42086.patch --]
[-- Type: text/x-diff, Size: 2782 bytes --]
From ec46f84dff3b5373a50f2868ba80882345f1dd6e Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Sun, 5 Feb 2023 07:52:23 +0300
Subject: [PATCH] openvpn: update to 2.6.0.
* lz4 now is a build dependency because upstream dropped compat-lz4
(OpenVPN@openvpn/24596b258aa3a9c0bd79e7e7bd4753c48a435408).
* systemd integration is not enabled by default.
---
srcpkgs/openvpn/files/openvpn/run | 4 ++++
srcpkgs/openvpn/template | 20 ++++++++++++--------
2 files changed, 16 insertions(+), 8 deletions(-)
create mode 100644 srcpkgs/openvpn/files/openvpn/run
diff --git a/srcpkgs/openvpn/files/openvpn/run b/srcpkgs/openvpn/files/openvpn/run
new file mode 100644
index 000000000000..405c89b41c34
--- /dev/null
+++ b/srcpkgs/openvpn/files/openvpn/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+[ -r conf ] && . ./conf
+exec openvpn --user _openvpn --group _openvpn ${OPTS:- --config /etc/openvpn/server.conf} 2>&1
diff --git a/srcpkgs/openvpn/template b/srcpkgs/openvpn/template
index 44e51a3da094..f3282f330fa6 100644
--- a/srcpkgs/openvpn/template
+++ b/srcpkgs/openvpn/template
@@ -1,32 +1,36 @@
# Template file for 'openvpn'
pkgname=openvpn
-version=2.5.7
+version=2.6.0
revision=1
build_style=gnu-configure
-configure_args="$(vopt_enable pkcs11) --disable-systemd
+configure_args="$(vopt_enable pkcs11)
$(vopt_if mbedtls --with-crypto-library=mbedtls)"
+make_check_args="V=1"
hostmakedepends="pkg-config"
makedepends="$(vopt_if mbedtls mbedtls-devel openssl-devel) lzo-devel pam-devel
- $(vopt_if pkcs11 pkcs11-helper-devel) cmocka-devel"
+ $(vopt_if pkcs11 pkcs11-helper-devel) cmocka-devel libcap-ng-devel
+ liblz4-devel"
short_desc="Easy-to-use, robust, and highly configurable VPN"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.openvpn.net"
changelog="https://raw.githubusercontent.com/OpenVPN/openvpn/release/${version%.*}/Changes.rst"
-distfiles="http://build.openvpn.net/downloads/releases/${pkgname}-${version}.tar.xz"
-checksum=313bca7e996a4f59ef9940dd87c6c4b9168064db9be6cabebd37cd65f13759ed
-
+distfiles="https://build.openvpn.net/downloads/releases/openvpn-${version}.tar.gz"
+checksum=ebec933263c9850ef6f7ce125e2f22214be60b1cbb8ccff18892643fe083ae8f
+system_accounts="_openvpn"
+system_groups="_openvpn"
build_options="mbedtls pkcs11"
build_options_default="pkcs11"
desc_option_mbedtls="Build with mbedtls support"
desc_option_pkcs11="Enable support for PKCS#11"
vopt_conflict mbedtls pkcs11
-
+# CI does not allow to create dummy network interfaces
make_check=ci-skip
post_install() {
+ vsv openvpn
vmkdir usr/share/examples/${pkgname}
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
- rm -rf ${DESTDIR}/usr/include
+ rm -r ${DESTDIR}/usr/include
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] openvpn: update to 2.6.0.
2023-02-05 6:02 [PR PATCH] openvpn: update to 2.6.0 kruceter
2023-02-05 6:10 ` [PR PATCH] [Updated] " kruceter
2023-02-05 6:19 ` kruceter
@ 2023-02-05 7:19 ` kruceter
2023-02-08 23:53 ` [PR PATCH] [Closed]: " kruceter
3 siblings, 0 replies; 5+ messages in thread
From: kruceter @ 2023-02-05 7:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1125 bytes --]
There is an updated pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages openvpn
https://github.com/void-linux/void-packages/pull/42086
openvpn: update to 2.6.0.
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
#### Notes
I am aware of another pull request (#40713), but its submitter does not appear to be active.
A patch file from https://github.com/void-linux/void-packages/pull/42086.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openvpn-42086.patch --]
[-- Type: text/x-diff, Size: 2755 bytes --]
From 6060c72e851fdf745fb09941824125c3341b1ba2 Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Sun, 5 Feb 2023 07:52:23 +0300
Subject: [PATCH] openvpn: update to 2.6.0.
* lz4 now is a build dependency because upstream dropped compat-lz4
(OpenVPN@openvpn/24596b258aa3a9c0bd79e7e7bd4753c48a435408).
* systemd integration is not enabled by default.
---
srcpkgs/openvpn/files/openvpn/run | 4 ++++
srcpkgs/openvpn/template | 19 +++++++++++--------
2 files changed, 15 insertions(+), 8 deletions(-)
create mode 100644 srcpkgs/openvpn/files/openvpn/run
diff --git a/srcpkgs/openvpn/files/openvpn/run b/srcpkgs/openvpn/files/openvpn/run
new file mode 100644
index 000000000000..405c89b41c34
--- /dev/null
+++ b/srcpkgs/openvpn/files/openvpn/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+[ -r conf ] && . ./conf
+exec openvpn --user _openvpn --group _openvpn ${OPTS:- --config /etc/openvpn/server.conf} 2>&1
diff --git a/srcpkgs/openvpn/template b/srcpkgs/openvpn/template
index 44e51a3da094..f0ed0a3d773c 100644
--- a/srcpkgs/openvpn/template
+++ b/srcpkgs/openvpn/template
@@ -1,32 +1,35 @@
# Template file for 'openvpn'
pkgname=openvpn
-version=2.5.7
+version=2.6.0
revision=1
build_style=gnu-configure
-configure_args="$(vopt_enable pkcs11) --disable-systemd
+configure_args="$(vopt_enable pkcs11)
$(vopt_if mbedtls --with-crypto-library=mbedtls)"
+make_check_args="V=1"
hostmakedepends="pkg-config"
makedepends="$(vopt_if mbedtls mbedtls-devel openssl-devel) lzo-devel pam-devel
- $(vopt_if pkcs11 pkcs11-helper-devel) cmocka-devel"
+ $(vopt_if pkcs11 pkcs11-helper-devel) cmocka-devel libcap-ng-devel
+ liblz4-devel"
short_desc="Easy-to-use, robust, and highly configurable VPN"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.openvpn.net"
changelog="https://raw.githubusercontent.com/OpenVPN/openvpn/release/${version%.*}/Changes.rst"
-distfiles="http://build.openvpn.net/downloads/releases/${pkgname}-${version}.tar.xz"
-checksum=313bca7e996a4f59ef9940dd87c6c4b9168064db9be6cabebd37cd65f13759ed
-
+distfiles="https://build.openvpn.net/downloads/releases/openvpn-${version}.tar.gz"
+checksum=ebec933263c9850ef6f7ce125e2f22214be60b1cbb8ccff18892643fe083ae8f
+system_accounts="_openvpn"
build_options="mbedtls pkcs11"
build_options_default="pkcs11"
desc_option_mbedtls="Build with mbedtls support"
desc_option_pkcs11="Enable support for PKCS#11"
vopt_conflict mbedtls pkcs11
-
+# CI does not allow to create dummy network interfaces
make_check=ci-skip
post_install() {
+ vsv openvpn
vmkdir usr/share/examples/${pkgname}
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
- rm -rf ${DESTDIR}/usr/include
+ rm -r ${DESTDIR}/usr/include
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Closed]: openvpn: update to 2.6.0.
2023-02-05 6:02 [PR PATCH] openvpn: update to 2.6.0 kruceter
` (2 preceding siblings ...)
2023-02-05 7:19 ` kruceter
@ 2023-02-08 23:53 ` kruceter
3 siblings, 0 replies; 5+ messages in thread
From: kruceter @ 2023-02-08 23:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 967 bytes --]
There's a closed pull request on the void-packages repository
openvpn: update to 2.6.0.
https://github.com/void-linux/void-packages/pull/42086
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
#### Notes
I am aware of another pull request (#40713), but its submitter does not appear to be active.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-02-08 23:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-05 6:02 [PR PATCH] openvpn: update to 2.6.0 kruceter
2023-02-05 6:10 ` [PR PATCH] [Updated] " kruceter
2023-02-05 6:19 ` kruceter
2023-02-05 7:19 ` kruceter
2023-02-08 23:53 ` [PR PATCH] [Closed]: " kruceter
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).