commit: d3f64760c2dbf2283babe27722192dbca8612c89
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 31 03:07:34 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 31 22:13:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f64760
net-vpn/openvpn: [QA] call tmpfiles_process in pkg_postinst
This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.
Revbump because the new tmpfiles inherit adds a new dependency
(virtual/tmpfiles).
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-vpn/openvpn/{openvpn-2.5.2-r1.ebuild => openvpn-2.5.2-r2.ebuild} | 4 +++-
net-vpn/openvpn/openvpn-9999.ebuild | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/net-vpn/openvpn/openvpn-2.5.2-r1.ebuild
b/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
similarity index 98%
rename from net-vpn/openvpn/openvpn-2.5.2-r1.ebuild
rename to net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
index b446547b08c..e09e6ac634d 100644
--- a/net-vpn/openvpn/openvpn-2.5.2-r1.ebuild
+++ b/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools flag-o-matic systemd linux-info
+inherit autotools flag-o-matic systemd linux-info tmpfiles
DESCRIPTION="Robust and highly flexible tunneling application compatible with
many OSes"
HOMEPAGE="https://openvpn.net/"
@@ -140,6 +140,8 @@ src_install() {
}
pkg_postinst() {
+ tmpfiles_process openvpn.conf
+
if use x64-macos; then
elog "You might want to install tuntaposx for TAP interface
support:"
elog "http://tuntaposx.sourceforge.net"
diff --git a/net-vpn/openvpn/openvpn-9999.ebuild
b/net-vpn/openvpn/openvpn-9999.ebuild
index ac64c3e3d3c..d5d643edb2f 100644
--- a/net-vpn/openvpn/openvpn-9999.ebuild
+++ b/net-vpn/openvpn/openvpn-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools flag-o-matic systemd linux-info
+inherit autotools flag-o-matic systemd linux-info tmpfiles
DESCRIPTION="Robust and highly flexible tunneling application compatible with
many OSes"
HOMEPAGE="https://openvpn.net/"
@@ -139,6 +139,8 @@ src_install() {
}
pkg_postinst() {
+ tmpfiles_process openvpn.conf
+
if use x64-macos ; then
elog "You might want to install tuntaposx for TAP interface
support:"
elog "http://tuntaposx.sourceforge.net"