diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /net-mail/courier-imap | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'net-mail/courier-imap')
-rw-r--r-- | net-mail/courier-imap/Manifest | 8 | ||||
-rw-r--r-- | net-mail/courier-imap/courier-imap-4.18.2.ebuild | 4 | ||||
-rw-r--r-- | net-mail/courier-imap/courier-imap-5.0.7.ebuild | 4 | ||||
-rw-r--r-- | net-mail/courier-imap/courier-imap-5.0.8.ebuild (renamed from net-mail/courier-imap/courier-imap-4.17.3.ebuild) | 104 |
4 files changed, 71 insertions, 49 deletions
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest index 277acadccaa1..641a4994e1f0 100644 --- a/net-mail/courier-imap/Manifest +++ b/net-mail/courier-imap/Manifest @@ -19,10 +19,10 @@ AUX courier-imapd-r1.service 299 BLAKE2B 7b1fb3acc3b75cac873967f1eca099e9f65951f AUX courier-imapd-ssl-r1.service 310 BLAKE2B 3894d582ace57379929712aabdfb243b28c528f8f67271fb690deb6905e2638a7fb22ea7c2c3133edc510185684e9297c53aabc8c7ec628ec51d920857e9e11b SHA512 431a1113cbc10aa4042c621fda43eabaed79b4e0fabbc4692073c92368448324f958d3ad922b99b4290efad8a8164aff3698ac69e4e3c1f457d1616f769c11e5 AUX mkimapdcert 996 BLAKE2B 76a8bbe16f182a32fc47acc5410c20e545c117cda1af40b94d71f53b4ac668044dc3b5ba415fe3e0f8842a03757d9caf206846dc1c6f6dd589a3adafd0af226e SHA512 502eec64d1db7106ca83a38c18bb48ea9fa9d9a2526076fe45fbf54f7313866d9a4cf3bda7b0a8984af88fb8e8f35a24447071d3bc6882c8f158395d55548bf4 AUX mkpop3dcert 996 BLAKE2B 1016d041092c51afabce0bb6993fbfefd233e5aac7e8079d191168c58336206099e0eb3aafd3e50238d83391478bdede627156718bd613741efc34b1dc978984 SHA512 eab113a442dd6b22b5d4eaa6beb755849e2af61dbb3f0bc3eb93c6e9240058c46e5220971504a18587eb2af8f5c8d8c7c44ce24ad898603319a78c1b11dec078 -DIST courier-imap-4.17.3.tar.bz2 3202534 BLAKE2B c42eb369bdcb65e7f904b3bd7b018e2785e48fddcc1690374ba254ce17a76b3191c301a81626f0fe44587f4f4b9e4f34edc06e8e8098c509b2c76e3830db2563 SHA512 3166cc703cdc09a71d33257671a662d95cfdb8977bc3b19e0218a4d25eb99a1a108d2868a6eb593106e6538aadf684f11ff0426cd58d522e3ca4b2988f0a88f1 DIST courier-imap-4.18.2.tar.bz2 3205230 BLAKE2B dd52c55698ac4307a52ef76ed6ca54d4289e00aacff487609cfe01bce351e180561b4bec4904e2701a0c05916bbac2e301409530ccbdcd08474b50be4c1365e3 SHA512 821f0151012f1a357faf705d938d8498a939cc994957398c0d5e2b7a619eabe202549f174e625161545ba6a94b753072458e9f0edc30cbb2443b15405740347e DIST courier-imap-5.0.7.tar.bz2 3296879 BLAKE2B 022522387cc667223c44354f4f3da822ac8abab19222bfc69a9dde4b7460665c97ca565b21705519f3bc0dfbe1d69bbd2ef288329bfa7b8d99e3251a4f9d3e98 SHA512 a0be5cb3e6bc42f4bf45b14132e7d4ad7e822c26aa3b3dd4bfefa7783a047b9c928ad503b462c8e832fddefb356af58b4adfa5ee91481bd024149992157a1aad -EBUILD courier-imap-4.17.3.ebuild 6794 BLAKE2B 5192299cd016549438abe0ffb2b7d92d50a8e596e9a1d9d4d9a3485550973d8a76aa3f9fa3c5752811ebb93e8ea50cd81e8bd50f9b8833c6fc74880babaa418e SHA512 103e22a47b18ea7a22a832505e9f540d28af0e9e5dc92205ff58a443689f96449c6597a62dc8ec35e48f4823bc522ce46a53b6f257df2533e2e777cba0ef46c4 -EBUILD courier-imap-4.18.2.ebuild 6855 BLAKE2B 7785146899c2e074ef31c28ab09800191b51d0c1178042893d60ac3b676134c8dfbf657244b91f4b498b6903ab3c620e64424c530f7a031db6c83e66de0d35f4 SHA512 2fbf7417926e900b7b5419eaf7962900056156c8cddd4449d43311840e76c117093806a1524826db41ef12cd60a37fa86600e5cfc71c5a2c682aa4122be61eee -EBUILD courier-imap-5.0.7.ebuild 7192 BLAKE2B 87ee558602bc209bec59e5159fac9b0f2c319e8dbfe3bf2171824449c0218a189259d83a9d06cc00ee4492ecca6926381d54eaa987db25fc5f44b2977a9d5668 SHA512 71d22c0b8816546db53dafe211dac3a01103714279175de762ad9003399c9fa33a228db1a8d2f1a78b254e9d5239937ff184bc2e33aa02d3c9808a6eff78e299 +DIST courier-imap-5.0.8.tar.bz2 3296810 BLAKE2B 43b9cf61253145c4f877ed350140159014d812c197f82cb2621db4484c66ae57e0c1a237ba0f13e0edb35439f562662557ca98d3193ba8b6e35e392dac00cd03 SHA512 bc60f4540da8db02758d593694ca4b7336a7d65fd3c48ea5c373e18abfc9973db836c505f77caf844529947ad0c4ef0dc276898e437ca60f0facb2ec6650702c +EBUILD courier-imap-4.18.2.ebuild 6860 BLAKE2B 6cba1bd5acdef4d3e34434016dacb0db42875dbc4313eef5ac37edd7aaa9e005162f9f628de9f187afd47421562390546f7f3835921361b4161892fe02bd7840 SHA512 3933a4b72818bd67b09ed6e6160066236f6673a57cf26f4fd8693f2274702e2123fe50905956f232fe3009f4f738f83457f0d53951fa9a8d5d9ed0924e58b9c0 +EBUILD courier-imap-5.0.7.ebuild 7191 BLAKE2B bc85463316bde1b8633211a66a9c217bfa7957043279d16b314744caaa0af15ef9d8cb3f56cb0874370f6092ecd52851248c7458e5450666e57a509b6fa7c01c SHA512 2d4df7f3f46dd9a4921fdcdbbec87f771b9a382b0b1d20da2224e6139ea2b0c155163cafece4f755254d982a04bd337779eb10627532b5b76b36b1d1b0e433cc +EBUILD courier-imap-5.0.8.ebuild 7201 BLAKE2B 46c82223b33b151946b01ede4b2e2fbc0ec46b312127f7c5c639937d3b72c5e6cf8b4d5a07b5212acc51d1d1a1fbb75ee2417de5d59a6ca21a58b6b137696cf0 SHA512 20e3f77b3c7c961c4210dc53f4ce586e97361ca233fa5592ddff36b411179cb0c6ce2c8182bdc3ff505ea7963675ab731f115809b3af1a515f345292e19333c9 MISC metadata.xml 462 BLAKE2B c03535d9f421fd089459b7c628f093b9ba1edf1317e0943b5dff3eca2f6645b6ed6947ae777dcf63752566602a30abe5143494d863ae6331a023abc0c73df446 SHA512 c26c6bd707b0cea4dd97389ef294420ad1d8a35ed588d041acc35580867e3ca64569e07b993db94bedeb92142cde77135e9bdba295cc8bf3152dd1371937e6a0 diff --git a/net-mail/courier-imap/courier-imap-4.18.2.ebuild b/net-mail/courier-imap/courier-imap-4.18.2.ebuild index 3d62c9734bf0..ca930cb88c3e 100644 --- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild +++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -187,7 +187,7 @@ src_install() { dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" - dosym /usr/sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger" + dosym ../../usr/sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger" for initd in courier-{imapd,pop3d}{,-ssl} ; do sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \ diff --git a/net-mail/courier-imap/courier-imap-5.0.7.ebuild b/net-mail/courier-imap/courier-imap-5.0.7.ebuild index c7e330f658ff..f7ff0fdf79d6 100644 --- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild +++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86" IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota" REQUIRED_USE="|| ( berkdb gdbm )" diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-5.0.8.ebuild index ffbb08e8e095..f12cb6999da6 100644 --- a/net-mail/courier-imap/courier-imap-4.17.3.ebuild +++ b/net-mail/courier-imap/courier-imap-5.0.8.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 - -inherit autotools libtool systemd +EAPI=7 +inherit autotools libtool readme.gentoo-r1 systemd DESCRIPTION="An IMAP daemon designed specifically for maildirs" HOMEPAGE="https://www.courier-mta.org/imap/" @@ -11,42 +10,61 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86" -IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota" REQUIRED_USE="|| ( berkdb gdbm )" CDEPEND=" - gnutls? ( net-libs/gnutls ) + gnutls? ( net-libs/gnutls[tools] ) !gnutls? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) - >=net-libs/courier-authlib-0.61 - <=net-libs/courier-unicode-2 - >=net-libs/courier-unicode-1.3 + >=net-libs/courier-authlib-0.66.4 + >=net-libs/courier-unicode-2 >=net-mail/mailbase-0.00-r8 + net-dns/libidn:= berkdb? ( sys-libs/db:= ) fam? ( virtual/fam ) - gdbm? ( >=sys-libs/gdbm-1.8.0 )" + gdbm? ( >=sys-libs/gdbm-1.8.0 ) +" DEPEND="${CDEPEND} dev-lang/perl !mail-mta/courier - userland_GNU? ( sys-process/procps )" + userland_GNU? ( sys-process/procps ) +" RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-courier )" + selinux? ( sec-policy/selinux-courier ) +" # get rid of old style virtual - bug 350792 -# all blockers really needed? RDEPEND="${RDEPEND} !mail-mta/courier !net-mail/bincimap !net-mail/cyrus-imapd - !net-mail/uw-imap" + !net-mail/uw-imap +" RC_VER="4.0.6-r1" INITD_VER="4.0.6-r1" +# make check is not supported by this package due to the +# --enable-workarounds-for-imap-client-bugs option. +RESTRICT="test" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +Please read http://www.courier-mta.org/imap/INSTALL.html#upgrading +and remove TLS_DHPARAMS from configuration files or run mkdhparams + +For a quick-start howto please refer to +${PN}-gentoo.readme in /usr/share/doc/${PF} + +Please convert maildir to utf8 +and rerun mkdhparams if needed. Location has changed +" + PATCHES=( "${FILESDIR}/${PN}-4.17-disable-fam-configure.ac.patch" "${FILESDIR}/${PN}-4.17-aclocal-fix.patch" @@ -85,6 +103,7 @@ src_configure() { use debug && myconf="${myconf} debug=true" econf \ + --with-notice=unicode \ --disable-root-check \ --bindir=/usr/sbin \ --sysconfdir="/etc/${PN}" \ @@ -94,28 +113,22 @@ src_configure() { --enable-workarounds-for-imap-client-bugs \ --with-mailuser=mail \ --with-mailgroup=mail \ + --with-certsdir="/etc/courier-imap" \ $(use_with fam) \ $(use_with ipv6) \ $(use_with gnutls) \ ${myconf} - - # Change the pem file location. - sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/imapd.pem:" \ - libs/imap/imapd-ssl.dist || \ - die "sed failed" - - sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/pop3d.pem:" \ - libs/imap/pop3d-ssl.dist || \ - die "sed failed" } -src_compile() { - # spurious failures with parallel compiles - emake -j1 -} +#src_compile() { + # spurious failures with parallel compiles, bug #???? +# emake -j1 +#} src_install() { dodir "/var/lib/${PN}" /etc/pam.d + keepdir /var/lib/courier-imap + default rm -r "${D}/etc/pam.d" || die @@ -171,7 +184,7 @@ src_install() { dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" - dosym /usr/sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger" + dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger" for initd in courier-{imapd,pop3d}{,-ssl} ; do sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \ @@ -181,11 +194,18 @@ src_install() { doinitd "${T}/${initd}" done - systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service \ + cp "${FILESDIR}"/courier-*-r1.service . + + sed -i \ + -e "s:/usr/lib/:/usr/$(get_libdir)/:" \ + courier-*-r1.service \ + || die + + systemd_newunit courier-authdaemond-r1.service \ courier-authdaemond.service - systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service \ + systemd_newunit courier-imapd-ssl-r1.service \ courier-imapd-ssl.service - systemd_newunit "${FILESDIR}"/courier-imapd-r1.service \ + systemd_newunit courier-imapd-r1.service \ courier-imapd.service exeinto "/usr/$(get_libdir)/${PN}" @@ -204,6 +224,7 @@ src_install() { || die "failed to rename maildirmake.1 to courier-maildirmake.1" dodoc AUTHORS INSTALL NEWS README ChangeLog + readme.gentoo_create_doc dodoc "${FILESDIR}/${PN}-gentoo.readme" docinto imap dodoc libs/imap/ChangeLog libs/imap/BUGS* libs/imap/README* @@ -213,20 +234,21 @@ src_install() { dodoc libs/rfc2045/*.html docinto tcpd dodoc libs/tcpd/README* libs/tcpd/*.html + exeinto /etc/cron.monthly + newexe "${FILESDIR}"/${PN}.cron ${PN} } pkg_postinst() { - elog "Please read http://www.courier-mta.org/imap/INSTALL.html#upgrading" - elog "and remove TLS_DHPARAMS from configuration files or run mkdhparams" - - elog "For a quick-start howto please refer to" - elog "${PN}-gentoo.readme in /usr/share/doc/${PF}" # Some users have been reporting that permissions on this directory were # getting scrambled, so let's ensure that they are sane. fperms 0755 "${ROOT}/usr/$(get_libdir)/${PN}" -} -src_test() { - ewarn "make check is not supported by this package due to the" - ewarn "--enable-workarounds-for-imap-client-bugs option." + readme.gentoo_print_elog + + elog "" + elog "Courier Imap now run as user mail:mail." + elog "" + elog "This require you to enable read/write access to the caches:" + elog "/var/lib/courier-imap/courierssl*cache (chown mail:mail)" + elog "and read access to the certificates (e.g. /etc/courier-imap/pop3d.pem )" } |