1 |
commit: b740f33032923e18de20051c88669c583af7d6fb |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 13 20:35:06 2017 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 13 20:44:57 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b740f330 |
7 |
|
8 |
app-backup/amanda: fix systemd perms. |
9 |
|
10 |
Fixes: https://bugs.gentoo.org/530150 |
11 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
12 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
13 |
|
14 |
app-backup/amanda/{amanda-3.5.ebuild => amanda-3.5-r1.ebuild} | 8 ++++---- |
15 |
1 file changed, 4 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/app-backup/amanda/amanda-3.5.ebuild b/app-backup/amanda/amanda-3.5-r1.ebuild |
18 |
similarity index 100% |
19 |
rename from app-backup/amanda/amanda-3.5.ebuild |
20 |
rename to app-backup/amanda/amanda-3.5-r1.ebuild |
21 |
index f59aebd6c04..7b97c5c5d9f 100644 |
22 |
--- a/app-backup/amanda/amanda-3.5.ebuild |
23 |
+++ b/app-backup/amanda/amanda-3.5-r1.ebuild |
24 |
@@ -326,6 +326,10 @@ src_install() { |
25 |
einfo "Installing environment config file" |
26 |
doenvd "${MYFILESDIR}/${ENVDFILE}" |
27 |
|
28 |
+ einfo "Installing systemd service and socket files for Amanda" |
29 |
+ systemd_dounit "${FILESDIR}"/amanda.socket |
30 |
+ systemd_newunit "${FILESDIR}"/amanda.service 'amanda@.service' |
31 |
+ |
32 |
# Lock down next section (up until docs). |
33 |
insopts -m0640 |
34 |
# Installing Amanda Xinetd Services Definition |
35 |
@@ -343,10 +347,6 @@ src_install() { |
36 |
newins "${MYFILESDIR}/amanda-cron" amanda |
37 |
fi |
38 |
|
39 |
- einfo "Installing systemd service and socket files for Amanda" |
40 |
- systemd_dounit "${FILESDIR}"/amanda.socket |
41 |
- systemd_newunit "${FILESDIR}"/amanda.service 'amanda@.service' |
42 |
- |
43 |
insinto /etc/amanda |
44 |
einfo "Installing .amandahosts File for ${AMANDA_USER_NAME} user" |
45 |
doins "${T}/amandahosts" |