Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/openvpn/
Date: Sat, 31 Jul 2021 22:17:29
Message-Id: 1627769617.d3f64760c2dbf2283babe27722192dbca8612c89.sam@gentoo
1 commit: d3f64760c2dbf2283babe27722192dbca8612c89
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 31 03:07:34 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 31 22:13:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f64760
7
8 net-vpn/openvpn: [QA] call tmpfiles_process in pkg_postinst
9
10 This is needed to actually apply the tmpfiles configuration
11 we've installed in the ebuild. See tmpfiles.eclass documentation.
12
13 Revbump because the new tmpfiles inherit adds a new dependency
14 (virtual/tmpfiles).
15
16 Signed-off-by: Sam James <sam <AT> gentoo.org>
17
18 net-vpn/openvpn/{openvpn-2.5.2-r1.ebuild => openvpn-2.5.2-r2.ebuild} | 4 +++-
19 net-vpn/openvpn/openvpn-9999.ebuild | 4 +++-
20 2 files changed, 6 insertions(+), 2 deletions(-)
21
22 diff --git a/net-vpn/openvpn/openvpn-2.5.2-r1.ebuild b/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
23 similarity index 98%
24 rename from net-vpn/openvpn/openvpn-2.5.2-r1.ebuild
25 rename to net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
26 index b446547b08c..e09e6ac634d 100644
27 --- a/net-vpn/openvpn/openvpn-2.5.2-r1.ebuild
28 +++ b/net-vpn/openvpn/openvpn-2.5.2-r2.ebuild
29 @@ -3,7 +3,7 @@
30
31 EAPI=7
32
33 -inherit autotools flag-o-matic systemd linux-info
34 +inherit autotools flag-o-matic systemd linux-info tmpfiles
35
36 DESCRIPTION="Robust and highly flexible tunneling application compatible with many OSes"
37 HOMEPAGE="https://openvpn.net/"
38 @@ -140,6 +140,8 @@ src_install() {
39 }
40
41 pkg_postinst() {
42 + tmpfiles_process openvpn.conf
43 +
44 if use x64-macos; then
45 elog "You might want to install tuntaposx for TAP interface support:"
46 elog "http://tuntaposx.sourceforge.net"
47
48 diff --git a/net-vpn/openvpn/openvpn-9999.ebuild b/net-vpn/openvpn/openvpn-9999.ebuild
49 index ac64c3e3d3c..d5d643edb2f 100644
50 --- a/net-vpn/openvpn/openvpn-9999.ebuild
51 +++ b/net-vpn/openvpn/openvpn-9999.ebuild
52 @@ -3,7 +3,7 @@
53
54 EAPI=7
55
56 -inherit autotools flag-o-matic systemd linux-info
57 +inherit autotools flag-o-matic systemd linux-info tmpfiles
58
59 DESCRIPTION="Robust and highly flexible tunneling application compatible with many OSes"
60 HOMEPAGE="https://openvpn.net/"
61 @@ -139,6 +139,8 @@ src_install() {
62 }
63
64 pkg_postinst() {
65 + tmpfiles_process openvpn.conf
66 +
67 if use x64-macos ; then
68 elog "You might want to install tuntaposx for TAP interface support:"
69 elog "http://tuntaposx.sourceforge.net"