summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-13 08:42:31 +0000
committerSam James <sam@gentoo.org>2023-02-13 22:44:49 +0000
commit20bff3caf26436646577e2fddaac7d1d31b586e6 (patch)
tree7dcac16ed528ed0c83fcad2e5213ea4948c2d1e0 /net-mail/cyrus-imapd
parentdev-libs/apr: respect CC (diff)
downloadgentoo-20bff3caf26436646577e2fddaac7d1d31b586e6.tar.gz
gentoo-20bff3caf26436646577e2fddaac7d1d31b586e6.tar.bz2
gentoo-20bff3caf26436646577e2fddaac7d1d31b586e6.zip
net-mail/cyrus-imapd: drop .la files, fix trivial bashism in init script
Closes: https://bugs.gentoo.org/843692 Closes: https://bugs.gentoo.org/843695 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-mail/cyrus-imapd')
-rw-r--r--net-mail/cyrus-imapd/cyrus-imapd-3.0.18-r1.ebuild (renamed from net-mail/cyrus-imapd/cyrus-imapd-3.0.18.ebuild)2
-rw-r--r--net-mail/cyrus-imapd/cyrus-imapd-3.4.5-r1.ebuild (renamed from net-mail/cyrus-imapd/cyrus-imapd-3.4.5.ebuild)2
-rw-r--r--net-mail/cyrus-imapd/files/cyrus.rc811
3 files changed, 9 insertions, 6 deletions
diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.0.18.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-3.0.18-r1.ebuild
index e7037f973119..a9eb170fa2a1 100644
--- a/net-mail/cyrus-imapd/cyrus-imapd-3.0.18.ebuild
+++ b/net-mail/cyrus-imapd/cyrus-imapd-3.0.18-r1.ebuild
@@ -204,6 +204,8 @@ src_install() {
fperms 0750 "/var/${subdir}/${i}"
done
done
+
+ find "${ED}" -type f -name '*.la' -delete || die
}
pkg_preinst() {
diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.4.5.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-3.4.5-r1.ebuild
index ff38d8a5b3ab..53019d534474 100644
--- a/net-mail/cyrus-imapd/cyrus-imapd-3.4.5.ebuild
+++ b/net-mail/cyrus-imapd/cyrus-imapd-3.4.5-r1.ebuild
@@ -219,6 +219,8 @@ src_install() {
fperms 0750 "/var/${subdir}/${i}"
done
done
+
+ find "${ED}" -type f -name '*.la' -delete || die
}
pkg_preinst() {
diff --git a/net-mail/cyrus-imapd/files/cyrus.rc8 b/net-mail/cyrus-imapd/files/cyrus.rc8
index 9d9e9452f565..e3be47fadf63 100644
--- a/net-mail/cyrus-imapd/files/cyrus.rc8
+++ b/net-mail/cyrus-imapd/files/cyrus.rc8
@@ -9,12 +9,11 @@ depend() {
}
checkdirs() {
- for dir in /run/cyrus/{,proc,lock,socket,sync}
- do
- checkpath -q -d -o cyrus:mail -m 0750 "${dir}" || {
- eerror "Failed to create directory at $dir"
- return 1
- }
+ for dir in /run/cyrus /run/cyrus/proc /run/cyrus/lock /run/cyrus/socket /run/cyrus/sync; do
+ checkpath -q -d -o cyrus:mail -m 0750 "${dir}" || {
+ eerror "Failed to create directory at $dir"
+ return 1
+ }
done
}