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/libreswan/
Date: Sat, 31 Jul 2021 22:17:29
Message-Id: 1627769616.739734a4794a5f183b60a79dcdb2fa35ad090ff2.sam@gentoo
1 commit: 739734a4794a5f183b60a79dcdb2fa35ad090ff2
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 31 03:02:34 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 31 22:13:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=739734a4
7
8 net-vpn/libreswan: [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 .../libreswan/{libreswan-3.32-r2.ebuild => libreswan-3.32-r4.ebuild} | 4 +++-
19 .../libreswan/{libreswan-3.32-r3.ebuild => libreswan-3.32-r5.ebuild} | 4 +++-
20 .../libreswan/{libreswan-4.2-r1.ebuild => libreswan-4.2-r2.ebuild} | 4 +++-
21 .../libreswan/{libreswan-4.3-r1.ebuild => libreswan-4.3-r2.ebuild} | 4 +++-
22 .../libreswan/{libreswan-4.4-r2.ebuild => libreswan-4.4-r4.ebuild} | 4 +++-
23 .../libreswan/{libreswan-4.4-r3.ebuild => libreswan-4.4-r5.ebuild} | 4 +++-
24 6 files changed, 18 insertions(+), 6 deletions(-)
25
26 diff --git a/net-vpn/libreswan/libreswan-3.32-r2.ebuild b/net-vpn/libreswan/libreswan-3.32-r4.ebuild
27 similarity index 97%
28 rename from net-vpn/libreswan/libreswan-3.32-r2.ebuild
29 rename to net-vpn/libreswan/libreswan-3.32-r4.ebuild
30 index a2dd7437d92..6d019790c6e 100644
31 --- a/net-vpn/libreswan/libreswan-3.32-r2.ebuild
32 +++ b/net-vpn/libreswan/libreswan-3.32-r4.ebuild
33 @@ -3,7 +3,7 @@
34
35 EAPI=7
36
37 -inherit systemd toolchain-funcs
38 +inherit systemd toolchain-funcs tmpfiles
39
40 DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
41 HOMEPAGE="https://libreswan.org/"
42 @@ -107,6 +107,8 @@ src_install() {
43 }
44
45 pkg_postinst() {
46 + tmpfiles_process libreswan.conf
47 +
48 local IPSEC_CONFDIR=${ROOT}/etc/ipsec.d
49 if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db ]] ; then
50 ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty password"
51
52 diff --git a/net-vpn/libreswan/libreswan-3.32-r3.ebuild b/net-vpn/libreswan/libreswan-3.32-r5.ebuild
53 similarity index 97%
54 rename from net-vpn/libreswan/libreswan-3.32-r3.ebuild
55 rename to net-vpn/libreswan/libreswan-3.32-r5.ebuild
56 index 0cae2c0bd2c..fbf53aa5227 100644
57 --- a/net-vpn/libreswan/libreswan-3.32-r3.ebuild
58 +++ b/net-vpn/libreswan/libreswan-3.32-r5.ebuild
59 @@ -3,7 +3,7 @@
60
61 EAPI=7
62
63 -inherit systemd toolchain-funcs
64 +inherit systemd toolchain-funcs tmpfiles
65
66 DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
67 HOMEPAGE="https://libreswan.org/"
68 @@ -107,6 +107,8 @@ src_install() {
69 }
70
71 pkg_postinst() {
72 + tmpfiles_process libreswan.conf
73 +
74 local IPSEC_CONFDIR=${ROOT}/etc/ipsec.d
75 if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db ]] ; then
76 ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty password"
77
78 diff --git a/net-vpn/libreswan/libreswan-4.2-r1.ebuild b/net-vpn/libreswan/libreswan-4.2-r2.ebuild
79 similarity index 97%
80 rename from net-vpn/libreswan/libreswan-4.2-r1.ebuild
81 rename to net-vpn/libreswan/libreswan-4.2-r2.ebuild
82 index d22b2acaad2..ef6abcc5965 100644
83 --- a/net-vpn/libreswan/libreswan-4.2-r1.ebuild
84 +++ b/net-vpn/libreswan/libreswan-4.2-r2.ebuild
85 @@ -3,7 +3,7 @@
86
87 EAPI=7
88
89 -inherit systemd toolchain-funcs
90 +inherit systemd toolchain-funcs tmpfiles
91
92 DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
93 HOMEPAGE="https://libreswan.org/"
94 @@ -110,6 +110,8 @@ src_install() {
95 }
96
97 pkg_postinst() {
98 + tmpfiles_process libreswan.conf
99 +
100 local IPSEC_CONFDIR=${ROOT}/var/lib/ipsec/nss
101 if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db ]] ; then
102 ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty password"
103
104 diff --git a/net-vpn/libreswan/libreswan-4.3-r1.ebuild b/net-vpn/libreswan/libreswan-4.3-r2.ebuild
105 similarity index 97%
106 rename from net-vpn/libreswan/libreswan-4.3-r1.ebuild
107 rename to net-vpn/libreswan/libreswan-4.3-r2.ebuild
108 index 8e5ba4775e4..b796e7383a4 100644
109 --- a/net-vpn/libreswan/libreswan-4.3-r1.ebuild
110 +++ b/net-vpn/libreswan/libreswan-4.3-r2.ebuild
111 @@ -3,7 +3,7 @@
112
113 EAPI=7
114
115 -inherit systemd toolchain-funcs
116 +inherit systemd toolchain-funcs tmpfiles
117
118 DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
119 HOMEPAGE="https://libreswan.org/"
120 @@ -110,6 +110,8 @@ src_install() {
121 }
122
123 pkg_postinst() {
124 + tmpfiles_process libreswan.conf
125 +
126 local IPSEC_CONFDIR=${ROOT}/var/lib/ipsec/nss
127 if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db ]] ; then
128 ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty password"
129
130 diff --git a/net-vpn/libreswan/libreswan-4.4-r2.ebuild b/net-vpn/libreswan/libreswan-4.4-r4.ebuild
131 similarity index 97%
132 rename from net-vpn/libreswan/libreswan-4.4-r2.ebuild
133 rename to net-vpn/libreswan/libreswan-4.4-r4.ebuild
134 index 5ab87e049ce..cf531fec329 100644
135 --- a/net-vpn/libreswan/libreswan-4.4-r2.ebuild
136 +++ b/net-vpn/libreswan/libreswan-4.4-r4.ebuild
137 @@ -3,7 +3,7 @@
138
139 EAPI=7
140
141 -inherit systemd toolchain-funcs
142 +inherit systemd toolchain-funcs tmpfiles
143
144 DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
145 HOMEPAGE="https://libreswan.org/"
146 @@ -110,6 +110,8 @@ src_install() {
147 }
148
149 pkg_postinst() {
150 + tmpfiles_process libreswan.conf
151 +
152 local IPSEC_CONFDIR=${ROOT}/var/lib/ipsec/nss
153 if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db ]] ; then
154 ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty password"
155
156 diff --git a/net-vpn/libreswan/libreswan-4.4-r3.ebuild b/net-vpn/libreswan/libreswan-4.4-r5.ebuild
157 similarity index 97%
158 rename from net-vpn/libreswan/libreswan-4.4-r3.ebuild
159 rename to net-vpn/libreswan/libreswan-4.4-r5.ebuild
160 index 36d74c43e4f..06f4baa533a 100644
161 --- a/net-vpn/libreswan/libreswan-4.4-r3.ebuild
162 +++ b/net-vpn/libreswan/libreswan-4.4-r5.ebuild
163 @@ -3,7 +3,7 @@
164
165 EAPI=7
166
167 -inherit systemd toolchain-funcs
168 +inherit systemd toolchain-funcs tmpfiles
169
170 DESCRIPTION="IPsec implementation for Linux, fork of Openswan"
171 HOMEPAGE="https://libreswan.org/"
172 @@ -110,6 +110,8 @@ src_install() {
173 }
174
175 pkg_postinst() {
176 + tmpfiles_process libreswan.conf
177 +
178 local IPSEC_CONFDIR=${ROOT}/var/lib/ipsec/nss
179 if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db ]] ; then
180 ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty password"