summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2019-08-17 17:56:06 +0800
committerJason Zaman <perfinion@gentoo.org>2019-08-17 18:03:34 +0800
commit7a5e09138cac63d8269fc114664d7a832b0f9cd4 (patch)
treebe4d8dde2e8cab8c46d3fe4c971db069f2d24bc1 /sys-process/audit
parentapp-admin/setools: bump 4.2.2 (diff)
downloadgentoo-7a5e09138cac63d8269fc114664d7a832b0f9cd4.tar.gz
gentoo-7a5e09138cac63d8269fc114664d7a832b0f9cd4.tar.bz2
gentoo-7a5e09138cac63d8269fc114664d7a832b0f9cd4.zip
sys-process/audit: fix DoublePrefixInPath
DoublePrefixInPath fperms 644 "$(systemd_get_systemunitdir): concatenates two variables containing EPREFIX on line 192 The perms on the unit file were fixed in 2.7.4, so remove from all later ones. For the earlier ones use chmod directly instead. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'sys-process/audit')
-rw-r--r--sys-process/audit/audit-2.6.4.ebuild2
-rw-r--r--sys-process/audit/audit-2.7.1.ebuild2
-rw-r--r--sys-process/audit/audit-2.8.2.ebuild2
-rw-r--r--sys-process/audit/audit-2.8.3.ebuild2
-rw-r--r--sys-process/audit/audit-2.8.4.ebuild2
5 files changed, 2 insertions, 8 deletions
diff --git a/sys-process/audit/audit-2.6.4.ebuild b/sys-process/audit/audit-2.6.4.ebuild
index d65d30a4ba46..c50a44ddd92f 100644
--- a/sys-process/audit/audit-2.6.4.ebuild
+++ b/sys-process/audit/audit-2.6.4.ebuild
@@ -189,7 +189,7 @@ multilib_src_install_all() {
newinitd "${FILESDIR}"/auditd-init.d-2.4.3 auditd
newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd
- fperms 644 "$(systemd_get_systemunitdir)"/auditd.service # 556436
+ chmod 644 "${D}$(systemd_get_systemunitdir)"/auditd.service || die # 556436
[ -f "${ED}"/sbin/audisp-remote ] && \
dodir /usr/sbin && \
diff --git a/sys-process/audit/audit-2.7.1.ebuild b/sys-process/audit/audit-2.7.1.ebuild
index 7959c4aeed17..ffaa96aec521 100644
--- a/sys-process/audit/audit-2.7.1.ebuild
+++ b/sys-process/audit/audit-2.7.1.ebuild
@@ -189,7 +189,7 @@ multilib_src_install_all() {
newinitd "${FILESDIR}"/auditd-init.d-2.4.3 auditd
newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd
- fperms 644 "$(systemd_get_systemunitdir)"/auditd.service # 556436
+ chmod 644 "${D}$(systemd_get_systemunitdir)"/auditd.service || die # 556436
[ -f "${ED}"/sbin/audisp-remote ] && \
dodir /usr/sbin && \
diff --git a/sys-process/audit/audit-2.8.2.ebuild b/sys-process/audit/audit-2.8.2.ebuild
index 2980cdececb1..4aa75229e58c 100644
--- a/sys-process/audit/audit-2.8.2.ebuild
+++ b/sys-process/audit/audit-2.8.2.ebuild
@@ -189,8 +189,6 @@ multilib_src_install_all() {
newinitd "${FILESDIR}"/auditd-init.d-2.4.3 auditd
newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd
- fperms 644 "$(systemd_get_systemunitdir)"/auditd.service # 556436
-
[ -f "${ED}"/sbin/audisp-remote ] && \
dodir /usr/sbin && \
mv "${ED}"/{sbin,usr/sbin}/audisp-remote || die
diff --git a/sys-process/audit/audit-2.8.3.ebuild b/sys-process/audit/audit-2.8.3.ebuild
index 18175053305c..737db834349c 100644
--- a/sys-process/audit/audit-2.8.3.ebuild
+++ b/sys-process/audit/audit-2.8.3.ebuild
@@ -189,8 +189,6 @@ multilib_src_install_all() {
newinitd "${FILESDIR}"/auditd-init.d-2.4.3 auditd
newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd
- fperms 644 "$(systemd_get_systemunitdir)"/auditd.service # 556436
-
[ -f "${ED}"/sbin/audisp-remote ] && \
dodir /usr/sbin && \
mv "${ED}"/{sbin,usr/sbin}/audisp-remote || die
diff --git a/sys-process/audit/audit-2.8.4.ebuild b/sys-process/audit/audit-2.8.4.ebuild
index 13be78df8a0d..22ff19e94b57 100644
--- a/sys-process/audit/audit-2.8.4.ebuild
+++ b/sys-process/audit/audit-2.8.4.ebuild
@@ -189,8 +189,6 @@ multilib_src_install_all() {
newinitd "${FILESDIR}"/auditd-init.d-2.4.3 auditd
newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd
- fperms 644 "$(systemd_get_systemunitdir)"/auditd.service # 556436
-
[ -f "${ED}"/sbin/audisp-remote ] && \
dodir /usr/sbin && \
mv "${ED}"/{sbin,usr/sbin}/audisp-remote || die