1 |
commit: 32ecc44a3eafa00f99c83cabb547f1a45b30cc36 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 31 03:19:45 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 31 22:13:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ecc44a |
7 |
|
8 |
sys-fs/cryptsetup: [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 |
.../{cryptsetup-2.3.4-r1.ebuild => cryptsetup-2.3.4-r2.ebuild} | 6 +++++- |
19 |
.../{cryptsetup-2.3.6.ebuild => cryptsetup-2.3.6-r1.ebuild} | 6 +++++- |
20 |
.../{cryptsetup-2.4.0_rc1.ebuild => cryptsetup-2.4.0_rc1-r1.ebuild} | 6 +++++- |
21 |
3 files changed, 15 insertions(+), 3 deletions(-) |
22 |
|
23 |
diff --git a/sys-fs/cryptsetup/cryptsetup-2.3.4-r1.ebuild b/sys-fs/cryptsetup/cryptsetup-2.3.4-r2.ebuild |
24 |
similarity index 97% |
25 |
rename from sys-fs/cryptsetup/cryptsetup-2.3.4-r1.ebuild |
26 |
rename to sys-fs/cryptsetup/cryptsetup-2.3.4-r2.ebuild |
27 |
index e96df12d24b..3c4bf01a993 100644 |
28 |
--- a/sys-fs/cryptsetup/cryptsetup-2.3.4-r1.ebuild |
29 |
+++ b/sys-fs/cryptsetup/cryptsetup-2.3.4-r2.ebuild |
30 |
@@ -3,7 +3,7 @@ |
31 |
|
32 |
EAPI=7 |
33 |
|
34 |
-inherit autotools linux-info |
35 |
+inherit autotools linux-info tmpfiles |
36 |
|
37 |
DESCRIPTION="Tool to setup encrypted devices with dm-crypt" |
38 |
HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md" |
39 |
@@ -121,3 +121,7 @@ src_install() { |
40 |
newconfd "${FILESDIR}"/1.6.7-dmcrypt.confd dmcrypt |
41 |
newinitd "${FILESDIR}"/1.6.7-dmcrypt.rc dmcrypt |
42 |
} |
43 |
+ |
44 |
+pkg_postinst() { |
45 |
+ tmpfiles_process cryptsetup.conf |
46 |
+} |
47 |
|
48 |
diff --git a/sys-fs/cryptsetup/cryptsetup-2.3.6.ebuild b/sys-fs/cryptsetup/cryptsetup-2.3.6-r1.ebuild |
49 |
similarity index 97% |
50 |
rename from sys-fs/cryptsetup/cryptsetup-2.3.6.ebuild |
51 |
rename to sys-fs/cryptsetup/cryptsetup-2.3.6-r1.ebuild |
52 |
index e96df12d24b..3c4bf01a993 100644 |
53 |
--- a/sys-fs/cryptsetup/cryptsetup-2.3.6.ebuild |
54 |
+++ b/sys-fs/cryptsetup/cryptsetup-2.3.6-r1.ebuild |
55 |
@@ -3,7 +3,7 @@ |
56 |
|
57 |
EAPI=7 |
58 |
|
59 |
-inherit autotools linux-info |
60 |
+inherit autotools linux-info tmpfiles |
61 |
|
62 |
DESCRIPTION="Tool to setup encrypted devices with dm-crypt" |
63 |
HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md" |
64 |
@@ -121,3 +121,7 @@ src_install() { |
65 |
newconfd "${FILESDIR}"/1.6.7-dmcrypt.confd dmcrypt |
66 |
newinitd "${FILESDIR}"/1.6.7-dmcrypt.rc dmcrypt |
67 |
} |
68 |
+ |
69 |
+pkg_postinst() { |
70 |
+ tmpfiles_process cryptsetup.conf |
71 |
+} |
72 |
|
73 |
diff --git a/sys-fs/cryptsetup/cryptsetup-2.4.0_rc1.ebuild b/sys-fs/cryptsetup/cryptsetup-2.4.0_rc1-r1.ebuild |
74 |
similarity index 97% |
75 |
rename from sys-fs/cryptsetup/cryptsetup-2.4.0_rc1.ebuild |
76 |
rename to sys-fs/cryptsetup/cryptsetup-2.4.0_rc1-r1.ebuild |
77 |
index bf7a491c4a5..3e204ddad19 100644 |
78 |
--- a/sys-fs/cryptsetup/cryptsetup-2.4.0_rc1.ebuild |
79 |
+++ b/sys-fs/cryptsetup/cryptsetup-2.4.0_rc1-r1.ebuild |
80 |
@@ -3,7 +3,7 @@ |
81 |
|
82 |
EAPI=7 |
83 |
|
84 |
-inherit autotools linux-info |
85 |
+inherit autotools linux-info tmpfiles |
86 |
|
87 |
DESCRIPTION="Tool to setup encrypted devices with dm-crypt" |
88 |
HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md" |
89 |
@@ -127,3 +127,7 @@ src_install() { |
90 |
newconfd "${FILESDIR}"/1.6.7-dmcrypt.confd dmcrypt |
91 |
newinitd "${FILESDIR}"/1.6.7-dmcrypt.rc dmcrypt |
92 |
} |
93 |
+ |
94 |
+pkg_postinst() { |
95 |
+ tmpfiles_process cryptsetup.conf |
96 |
+} |