* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-03-17 10:29 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2019-03-17 10:29 UTC (permalink / raw
To: gentoo-commits
commit: 8e5d3f002fbe6f455db88cc6978e2cdab17ca28f
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 17 10:21:26 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 10:21:26 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5d3f00
net-mail/courier-imap: stable 4.18.2 for hppa, bug #676732
Package-Manager: Portage-2.3.62, Repoman-2.3.12
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 79d8f1ab946..8bb39825b42 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-07-21 14:56 Hanno Böck
0 siblings, 0 replies; 114+ messages in thread
From: Hanno Böck @ 2024-07-21 14:56 UTC (permalink / raw
To: gentoo-commits
commit: 3746b4efcb244187fe8d143fb5a9031d50fdb1c8
Author: Hanno Böck <hanno <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 21 14:56:27 2024 +0000
Commit: Hanno Böck <hanno <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 14:56:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3746b4ef
net-mail/courier-imap: de-stabilize on hppa
Bug: https://bugs.gentoo.org/924942
Signed-off-by: Hanno Böck <hanno <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild | 2 +-
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
index 373ca6e67e4e..af558baa1556 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://downloads.sourceforge.net/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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index 5d65cf8a3dba..08833b509d8e 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://downloads.sourceforge.net/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~s390 sparc x86"
IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-05-23 19:35 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2024-05-23 19:35 UTC (permalink / raw
To: gentoo-commits
commit: 04d875988456bfd1e00214802705a176c9e069a2
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu May 23 19:34:04 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu May 23 19:34:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04d87598
net-mail/courier-imap: run eautoreconf
Closes: https://bugs.gentoo.org/932356
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index 24f19b37e8d4..5d65cf8a3dba 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit readme.gentoo-r1 systemd
+inherit autotools readme.gentoo-r1 systemd
DESCRIPTION="An IMAP daemon designed specifically for maildirs"
HOMEPAGE="https://www.courier-mta.org/imap/"
@@ -66,6 +66,11 @@ PATCHES=(
"${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
)
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
local myconf=""
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-05-21 6:32 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2024-05-21 6:32 UTC (permalink / raw
To: gentoo-commits
commit: 3dd8f6d3273f503c1f3c3e19eb58217ea04114b2
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue May 21 06:30:43 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue May 21 06:31:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dd8f6d3
net-mail/courier-imap: use chmod instead of fperms
Closes: https://bugs.gentoo.org/928635
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild | 2 +-
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
index ec8445a8c47b..373ca6e67e4e 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
@@ -238,7 +238,7 @@ src_install() {
pkg_postinst() {
# 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}"
+ chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}"
readme.gentoo_print_elog
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index 535d625dda14..24f19b37e8d4 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -224,7 +224,7 @@ src_install() {
pkg_postinst() {
# 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}"
+ chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}"
readme.gentoo_print_elog
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-04-12 6:26 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2024-04-12 6:26 UTC (permalink / raw
To: gentoo-commits
commit: 8bc3c469f17edf8b706b2bf8d05755917e91bc82
Author: Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Thu Apr 11 21:13:44 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 12 06:25:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bc3c469
net-mail/courier-imap: Stabilize 5.2.6-r1 hppa, #925883
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index 59bac442fc3f..f6d1408fd0eb 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~s390 sparc x86"
IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-03-22 20:32 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2024-03-22 20:32 UTC (permalink / raw
To: gentoo-commits
commit: 3459b92134dc9f2cb4aed452b825c720e97df7a8
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 22 20:31:03 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar 22 20:31:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3459b921
net-mail/courier-imap: drop 5.1.4, 5.1.8
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 2 -
net-mail/courier-imap/courier-imap-5.1.4.ebuild | 251 ------------------------
net-mail/courier-imap/courier-imap-5.1.8.ebuild | 251 ------------------------
3 files changed, 504 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 7ebff6bea881..3a1fab37f530 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,4 +1,2 @@
DIST courier-imap-5.1.2.tar.bz2 3361084 BLAKE2B 0b42ec3a765c1adf425408f72b34beb7626bb9707df5adbc86b61cf60a12c3cbcad808a3173441666925f3ac4e44c137b611d4c8213566e2dc2e8fb8122d37c8 SHA512 697b7c91ea603ae67a3c167238841dcad266c6262965e7753bb2d2efee3a434c405ea55d35393330f7a55c2efc2cefbcca339c8b8f4867513e5157acc42c498d
-DIST courier-imap-5.1.4.tar.bz2 3363196 BLAKE2B 272548fcbc560ebf39e63170702de30970bee1e0026c31e0c8f0a6dcf86271565cda1e83e9fe50174aa2db2f9172cfc78132746ca8eb2e6749f16c7e994d0db9 SHA512 33e54e3b369335f5bc234c638c9bf4f68bc39dc9cb6cc5e3e3ba200f72a7b2fcdca6a4f7e35f32f494406f8757749ccf5204be93ecd2edbfabab4b6316d5957c
-DIST courier-imap-5.1.8.tar.bz2 3395074 BLAKE2B 1d563d49d61f3ab89297afdc9dd2947280ea5d2d21e0b1e91ec4fa1f54b9385ee41d32b7488236f3492fa41349d7f35c1dc84ee30e07a1752db424391f871db0 SHA512 c939c82e81f8ae98dc52279ee8fffabfee78db7792fdd3bd14ad0e60f7c5bd2c581cffcc3b7f6e2271f250556e9e80713cfcd1834653d59698d51d91435d28f3
DIST courier-imap-5.2.6.tar.bz2 3411210 BLAKE2B 6176fdc29456d245e819bd7662fc63aabc7271fcd2de3af21f2cf380eb7b62486442aa70274155197660a9ab19aa629725b99c107c77693182d41e7a363c1b14 SHA512 ee48ea5a5e043c3ce13027af2815ca07a1cba7d0ca328f8120ccc7f6134d18c610db202b2820c1dd589a427c1a3d096283c2f3fe9f9bd4815c9586dbe779d904
diff --git a/net-mail/courier-imap/courier-imap-5.1.4.ebuild b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
deleted file mode 100644
index 4132409817c9..000000000000
--- a/net-mail/courier-imap/courier-imap-5.1.4.ebuild
+++ /dev/null
@@ -1,251 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-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 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls:=[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=net-libs/courier-authlib-0.71
- >=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:= )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- sys-process/procps
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/cyrus-imapd
-"
-
-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-aclocal-fix.patch"
- "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --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}
-}
-
-#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
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
diff --git a/net-mail/courier-imap/courier-imap-5.1.8.ebuild b/net-mail/courier-imap/courier-imap-5.1.8.ebuild
deleted file mode 100644
index 68d302128e0d..000000000000
--- a/net-mail/courier-imap/courier-imap-5.1.8.ebuild
+++ /dev/null
@@ -1,251 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls:=[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=net-libs/courier-authlib-0.71
- >=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:= )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- sys-process/procps
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/cyrus-imapd
-"
-
-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}-5.1.8-aclocal-fix.patch"
- "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --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}
-}
-
-#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
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-03-13 21:42 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2024-03-13 21:42 UTC (permalink / raw
To: gentoo-commits
commit: 54deba19815743aafb17f90f8b6e1020f7034b45
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 13 21:42:14 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 21:42:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54deba19
net-mail/courier-imap: Stabilize 5.2.6-r1 ppc64, #925883
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index 03af601998f6..59bac442fc3f 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~s390 sparc x86"
IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-03-13 20:58 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2024-03-13 20:58 UTC (permalink / raw
To: gentoo-commits
commit: 749133e7effd099a39afbb6d2b848c8cceed5182
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 13 20:57:46 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 20:57:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749133e7
net-mail/courier-imap: Stabilize 5.2.6-r1 x86, #925883
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index 96b7084e7843..03af601998f6 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 sparc x86"
IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-03-03 4:05 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2024-03-03 4:05 UTC (permalink / raw
To: gentoo-commits
commit: 9cd40df9b6be57f785adc53077ef36a33239d5e2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 3 04:04:23 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 3 04:04:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd40df9
net-mail/courier-imap: Stabilize 5.2.6-r1 arm64, #925883
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index 5b91dcbcf3ef..96b7084e7843 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 sparc ~x86"
IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-03-02 16:25 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2024-03-02 16:25 UTC (permalink / raw
To: gentoo-commits
commit: 8e80ef442b787d3b6442774884a636162feb6cb5
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 2 16:24:57 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 2 16:24:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e80ef44
net-mail/courier-imap: Stabilize 5.2.6-r1 sparc, #925883
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index 2a5c3104f7b3..5b91dcbcf3ef 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 sparc ~x86"
IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-03-01 19:11 Jakov Smolić
0 siblings, 0 replies; 114+ messages in thread
From: Jakov Smolić @ 2024-03-01 19:11 UTC (permalink / raw
To: gentoo-commits
commit: ef9922f2b35af10879e96b061b7d9505eb37fa24
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 1 19:11:19 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri Mar 1 19:11:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef9922f2
net-mail/courier-imap: Stabilize 5.2.6-r1 amd64, #925883
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index 91217b727d1a..2a5c3104f7b3 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-02-29 23:17 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2024-02-29 23:17 UTC (permalink / raw
To: gentoo-commits
commit: cce81dae54142f042f8393317627312351975b9b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 29 23:17:24 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 23:17:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cce81dae
net-mail/courier-imap: Stabilize 5.2.6-r1 arm, #925883
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index bc2613e5d609..91217b727d1a 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-01-17 21:53 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2024-01-17 21:53 UTC (permalink / raw
To: gentoo-commits
commit: 82babf6be0f73dff3549571d67d83cddc008f398
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 17 21:52:10 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Jan 17 21:53:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82babf6b
net-mail/courier-imap: package install in sbin
Closes: https://bugs.gentoo.org/922161
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index 48709bd5773b..bc2613e5d609 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -114,8 +114,8 @@ src_install() {
# Moved to courier-common
rm "${D}"/usr/sbin/deliverquota || die
- rm "${D}"/usr/bin/maildirkw || die
- rm "${D}"/usr/bin/makedat || die
+ rm "${D}"/usr/sbin/maildirkw || die
+ rm "${D}"/usr/sbin/makedat || die
rm "${D}"/usr/share/man/man1/maildirkw.1 || die
rm "${D}"/usr/share/man/man8/deliverquota.8 || die
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-01-14 21:36 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2024-01-14 21:36 UTC (permalink / raw
To: gentoo-commits
commit: 44f25b0f5c2b4a41af6c2ecd724bdab67e7e1dca
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 21:35:37 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 21:36:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f25b0f
net-mail/courier-imap: fix rm of deliverquota
Closes: https://bugs.gentoo.org/922133
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index bc7be0f52217..48709bd5773b 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -113,7 +113,7 @@ src_install() {
done
# Moved to courier-common
- rm "${D}"/usr/bin/deliverquota || die
+ rm "${D}"/usr/sbin/deliverquota || die
rm "${D}"/usr/bin/maildirkw || die
rm "${D}"/usr/bin/makedat || die
rm "${D}"/usr/share/man/man1/maildirkw.1 || die
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-01-14 16:03 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2024-01-14 16:03 UTC (permalink / raw
To: gentoo-commits
commit: 4134306316457ab16a35f6c6d4529f50e717ce42
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 16:02:20 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 16:02:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41343063
net-mail/courier-imap: fix courier-common conflicts
Closes: https://bugs.gentoo.org/922100
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index 093e230c2f6d..bc7be0f52217 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -113,6 +113,9 @@ src_install() {
done
# Moved to courier-common
+ rm "${D}"/usr/bin/deliverquota || die
+ rm "${D}"/usr/bin/maildirkw || die
+ rm "${D}"/usr/bin/makedat || die
rm "${D}"/usr/share/man/man1/maildirkw.1 || die
rm "${D}"/usr/share/man/man8/deliverquota.8 || die
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-01-13 19:25 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2024-01-13 19:25 UTC (permalink / raw
To: gentoo-commits
commit: 6904cc0dea2b31d89401d5be7913e832571f30c9
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 13 19:24:15 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jan 13 19:24:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6904cc0d
net-mail/courier-imap: fix conflict with maildrop
Bug: https://bugs.gentoo.org/921401
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../{courier-imap-5.2.6.ebuild => courier-imap-5.2.6-r1.ebuild} | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-5.2.6.ebuild b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
similarity index 97%
rename from net-mail/courier-imap/courier-imap-5.2.6.ebuild
rename to net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
index e166a72b840a..093e230c2f6d 100644
--- a/net-mail/courier-imap/courier-imap-5.2.6.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -31,6 +31,7 @@ CDEPEND="
DEPEND="${CDEPEND}
dev-lang/perl
sys-process/procps
+ net-mail/courier-common
"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-courier )
@@ -38,7 +39,6 @@ RDEPEND="${CDEPEND}
RDEPEND="${RDEPEND}
!net-mail/cyrus-imapd
- !net-mail/courier-common
!net-mail/courier-makedat
"
@@ -112,6 +112,10 @@ src_install() {
|| die "failed to rename ${name} to courier-${name}"
done
+ # Moved to courier-common
+ rm "${D}"/usr/share/man/man1/maildirkw.1 || die
+ rm "${D}"/usr/share/man/man8/deliverquota.8 || die
+
# Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
# 'Maildir', and to use /usr/sbin/courier-foo names.
for service in {imapd,pop3d}{,-ssl} ; do
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2024-01-01 8:58 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2024-01-01 8:58 UTC (permalink / raw
To: gentoo-commits
commit: aeb137346b0a952f75818de27c5323809eab18be
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 1 08:58:32 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jan 1 08:58:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeb13734
net-mail/courier-imap: drop 5.1.7, 5.2.1, 5.2.5-r1
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 3 -
net-mail/courier-imap/courier-imap-5.1.7.ebuild | 251 ---------------------
net-mail/courier-imap/courier-imap-5.2.1.ebuild | 251 ---------------------
net-mail/courier-imap/courier-imap-5.2.5-r1.ebuild | 230 -------------------
4 files changed, 735 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 74c595fd4b4a..7ebff6bea881 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,7 +1,4 @@
DIST courier-imap-5.1.2.tar.bz2 3361084 BLAKE2B 0b42ec3a765c1adf425408f72b34beb7626bb9707df5adbc86b61cf60a12c3cbcad808a3173441666925f3ac4e44c137b611d4c8213566e2dc2e8fb8122d37c8 SHA512 697b7c91ea603ae67a3c167238841dcad266c6262965e7753bb2d2efee3a434c405ea55d35393330f7a55c2efc2cefbcca339c8b8f4867513e5157acc42c498d
DIST courier-imap-5.1.4.tar.bz2 3363196 BLAKE2B 272548fcbc560ebf39e63170702de30970bee1e0026c31e0c8f0a6dcf86271565cda1e83e9fe50174aa2db2f9172cfc78132746ca8eb2e6749f16c7e994d0db9 SHA512 33e54e3b369335f5bc234c638c9bf4f68bc39dc9cb6cc5e3e3ba200f72a7b2fcdca6a4f7e35f32f494406f8757749ccf5204be93ecd2edbfabab4b6316d5957c
-DIST courier-imap-5.1.7.tar.bz2 3364221 BLAKE2B 8a34595879b6ab249db8d90d0a7845b63503c7e9f1ff449e90311fdc086b6a1486fa9ed748d4eba7541265b958ea58514bafd6c90c88cc21f579705e33e5fe55 SHA512 15f64ea78f34d4a3af9f82a8247907324b26a8c550f5e97930548449fc2e9b649d2b5511de063cf3e449843516e681232a3197f2afb40e18be0f36fd8e05e66d
DIST courier-imap-5.1.8.tar.bz2 3395074 BLAKE2B 1d563d49d61f3ab89297afdc9dd2947280ea5d2d21e0b1e91ec4fa1f54b9385ee41d32b7488236f3492fa41349d7f35c1dc84ee30e07a1752db424391f871db0 SHA512 c939c82e81f8ae98dc52279ee8fffabfee78db7792fdd3bd14ad0e60f7c5bd2c581cffcc3b7f6e2271f250556e9e80713cfcd1834653d59698d51d91435d28f3
-DIST courier-imap-5.2.1.tar.bz2 3411197 BLAKE2B 7b34b523f7c8df3127af6cc7d10ca0bc78638e60d0bc52871d762a4dc28e192b8b64dc1e1a0ee572f11afb4ebd889bfbe426e7520e43caef16d40bdf0224a4bf SHA512 88ce60b666bc1db10059ffd34f76d8275f399ac1833ee820308db25df49ab4914a03547e6d58075d5fecb34204b5fb958877db06b3bb4529eb8cb9e547bbcf63
-DIST courier-imap-5.2.5.tar.bz2 3411629 BLAKE2B 764ac51815777df53b3ce429a4f50ca70f4f2d8b1920f1332691f4ed951939099fa46c0a11301ee0cbcc2471f2f73b7c4dfd8fe5de9389e883552658cd73eea4 SHA512 f7864bc7c23ee08ab8c90b3d83e577c62c468f96b2481e909dc0eb5aab6c6ef141e164742458776dd1106e50d8752e6e8102971a4e3d75d6a108dd72fcae0de4
DIST courier-imap-5.2.6.tar.bz2 3411210 BLAKE2B 6176fdc29456d245e819bd7662fc63aabc7271fcd2de3af21f2cf380eb7b62486442aa70274155197660a9ab19aa629725b99c107c77693182d41e7a363c1b14 SHA512 ee48ea5a5e043c3ce13027af2815ca07a1cba7d0ca328f8120ccc7f6134d18c610db202b2820c1dd589a427c1a3d096283c2f3fe9f9bd4815c9586dbe779d904
diff --git a/net-mail/courier-imap/courier-imap-5.1.7.ebuild b/net-mail/courier-imap/courier-imap-5.1.7.ebuild
deleted file mode 100644
index d551f9d82941..000000000000
--- a/net-mail/courier-imap/courier-imap-5.1.7.ebuild
+++ /dev/null
@@ -1,251 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-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 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls:=[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=net-libs/courier-authlib-0.71
- >=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:= )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- sys-process/procps
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/cyrus-imapd
-"
-
-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-aclocal-fix.patch"
- "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --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}
-}
-
-#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
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
diff --git a/net-mail/courier-imap/courier-imap-5.2.1.ebuild b/net-mail/courier-imap/courier-imap-5.2.1.ebuild
deleted file mode 100644
index 68d302128e0d..000000000000
--- a/net-mail/courier-imap/courier-imap-5.2.1.ebuild
+++ /dev/null
@@ -1,251 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls:=[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=net-libs/courier-authlib-0.71
- >=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:= )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- sys-process/procps
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/cyrus-imapd
-"
-
-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}-5.1.8-aclocal-fix.patch"
- "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --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}
-}
-
-#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
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
diff --git a/net-mail/courier-imap/courier-imap-5.2.5-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.5-r1.ebuild
deleted file mode 100644
index e166a72b840a..000000000000
--- a/net-mail/courier-imap/courier-imap-5.2.5-r1.ebuild
+++ /dev/null
@@ -1,230 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls:=[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- net-libs/courier-authlib
- net-libs/courier-unicode
- net-mail/mailbase
- net-dns/libidn:=
- berkdb? ( sys-libs/db:= )
- gdbm? ( sys-libs/gdbm:= )
- !mail-mta/courier
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- sys-process/procps
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-RDEPEND="${RDEPEND}
- !net-mail/cyrus-imapd
- !net-mail/courier-common
- !net-mail/courier-makedat
-"
-
-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}-5.1.8-aclocal-fix.patch"
- "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
-)
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- --with-certsdir="/etc/courier-imap" \
- $(use_with ipv6) \
- $(use_with gnutls) \
- ${myconf}
-}
-
-src_install() {
- dodir "/var/lib/${PN}" /etc/pam.d
- keepdir /var/lib/courier-imap
-
- default
- rm -r "${D}/etc/pam.d" || die
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || die "failed to rename maildirmake.1 to courier-maildirmake.1"
-
- rm -rf "${D}"/usr/sbin/doc
-
- 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2023-12-26 19:24 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2023-12-26 19:24 UTC (permalink / raw
To: gentoo-commits
commit: 31990113401af424bd59134ceebe3e37392668f9
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 26 19:24:04 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Dec 26 19:24:04 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31990113
net-mail/courier-imap: drop 5.1.3-r1, 5.2.1-r2, 5.2.3, 5.2.4
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 3 -
net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild | 251 ---------------------
net-mail/courier-imap/courier-imap-5.2.1-r2.ebuild | 246 --------------------
net-mail/courier-imap/courier-imap-5.2.3.ebuild | 246 --------------------
net-mail/courier-imap/courier-imap-5.2.4.ebuild | 248 --------------------
5 files changed, 994 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 6c376c102f77..74c595fd4b4a 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,10 +1,7 @@
DIST courier-imap-5.1.2.tar.bz2 3361084 BLAKE2B 0b42ec3a765c1adf425408f72b34beb7626bb9707df5adbc86b61cf60a12c3cbcad808a3173441666925f3ac4e44c137b611d4c8213566e2dc2e8fb8122d37c8 SHA512 697b7c91ea603ae67a3c167238841dcad266c6262965e7753bb2d2efee3a434c405ea55d35393330f7a55c2efc2cefbcca339c8b8f4867513e5157acc42c498d
-DIST courier-imap-5.1.3.tar.bz2 3361334 BLAKE2B 750a0fdca6882b26a7f9eef062b516a2d9271e6f73b8cd999653fc37947ffcfcbe7bb88c246be0e662f235b04c5a6f7d5dc7e06010075353670ecb1a2ca413ff SHA512 6685fe596eefcdc976f23aa115b3bc3d13e14421b1d430eb59a4bbee419ba86cb190e536871b42cbebba96160a3894cdef86571ae10bd7ee052cb7e7f8552dca
DIST courier-imap-5.1.4.tar.bz2 3363196 BLAKE2B 272548fcbc560ebf39e63170702de30970bee1e0026c31e0c8f0a6dcf86271565cda1e83e9fe50174aa2db2f9172cfc78132746ca8eb2e6749f16c7e994d0db9 SHA512 33e54e3b369335f5bc234c638c9bf4f68bc39dc9cb6cc5e3e3ba200f72a7b2fcdca6a4f7e35f32f494406f8757749ccf5204be93ecd2edbfabab4b6316d5957c
DIST courier-imap-5.1.7.tar.bz2 3364221 BLAKE2B 8a34595879b6ab249db8d90d0a7845b63503c7e9f1ff449e90311fdc086b6a1486fa9ed748d4eba7541265b958ea58514bafd6c90c88cc21f579705e33e5fe55 SHA512 15f64ea78f34d4a3af9f82a8247907324b26a8c550f5e97930548449fc2e9b649d2b5511de063cf3e449843516e681232a3197f2afb40e18be0f36fd8e05e66d
DIST courier-imap-5.1.8.tar.bz2 3395074 BLAKE2B 1d563d49d61f3ab89297afdc9dd2947280ea5d2d21e0b1e91ec4fa1f54b9385ee41d32b7488236f3492fa41349d7f35c1dc84ee30e07a1752db424391f871db0 SHA512 c939c82e81f8ae98dc52279ee8fffabfee78db7792fdd3bd14ad0e60f7c5bd2c581cffcc3b7f6e2271f250556e9e80713cfcd1834653d59698d51d91435d28f3
DIST courier-imap-5.2.1.tar.bz2 3411197 BLAKE2B 7b34b523f7c8df3127af6cc7d10ca0bc78638e60d0bc52871d762a4dc28e192b8b64dc1e1a0ee572f11afb4ebd889bfbe426e7520e43caef16d40bdf0224a4bf SHA512 88ce60b666bc1db10059ffd34f76d8275f399ac1833ee820308db25df49ab4914a03547e6d58075d5fecb34204b5fb958877db06b3bb4529eb8cb9e547bbcf63
-DIST courier-imap-5.2.3.tar.bz2 3410307 BLAKE2B d6f9aa02c2367bca898a7322f55a6f178984b0828e16fd4755d221b02384068a54b99c336e3aa4ed247eb04663be041af81803cb27fe6bae6b2f57dfe445f919 SHA512 6df3c12aea6004875c3f1e8dce46b0f199b7e3c881acf79fe6df507022b5e9dcd0cc4ddef6a94bf8763746f4db58f47066731b1f969afcf5f51bed451116af4f
-DIST courier-imap-5.2.4.tar.bz2 3411159 BLAKE2B a26b8b3a6893cfb83ba4d6fa24eb3ac391b200c9642618c48db09d37f40ba8e0409165a8c7b448ab22fe3dd32b613a1a7b5de96860f0e8854a5b037979ea4441 SHA512 db5a53f82b66b2ed99a66f13c97b041e6e275b3ea662b85ce19b0aa13dfeb4e60ec091d608992f52691e3514c3d3429f9249ce5322c5e247fc0058dfef92716b
DIST courier-imap-5.2.5.tar.bz2 3411629 BLAKE2B 764ac51815777df53b3ce429a4f50ca70f4f2d8b1920f1332691f4ed951939099fa46c0a11301ee0cbcc2471f2f73b7c4dfd8fe5de9389e883552658cd73eea4 SHA512 f7864bc7c23ee08ab8c90b3d83e577c62c468f96b2481e909dc0eb5aab6c6ef141e164742458776dd1106e50d8752e6e8102971a4e3d75d6a108dd72fcae0de4
DIST courier-imap-5.2.6.tar.bz2 3411210 BLAKE2B 6176fdc29456d245e819bd7662fc63aabc7271fcd2de3af21f2cf380eb7b62486442aa70274155197660a9ab19aa629725b99c107c77693182d41e7a363c1b14 SHA512 ee48ea5a5e043c3ce13027af2815ca07a1cba7d0ca328f8120ccc7f6134d18c610db202b2820c1dd589a427c1a3d096283c2f3fe9f9bd4815c9586dbe779d904
diff --git a/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild b/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild
deleted file mode 100644
index d551f9d82941..000000000000
--- a/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild
+++ /dev/null
@@ -1,251 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-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 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls:=[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=net-libs/courier-authlib-0.71
- >=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:= )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- sys-process/procps
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/cyrus-imapd
-"
-
-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-aclocal-fix.patch"
- "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --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}
-}
-
-#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
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
diff --git a/net-mail/courier-imap/courier-imap-5.2.1-r2.ebuild b/net-mail/courier-imap/courier-imap-5.2.1-r2.ebuild
deleted file mode 100644
index 403ebd030787..000000000000
--- a/net-mail/courier-imap/courier-imap-5.2.1-r2.ebuild
+++ /dev/null
@@ -1,246 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls:=[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=net-libs/courier-authlib-0.71
- >=net-libs/courier-unicode-2:=
- >=net-mail/mailbase-0.00-r8
- net-dns/libidn:=
- net-mail/courier-makedat[berkdb?,gdbm?]
- berkdb? ( sys-libs/db:= )
- gdbm? ( >=sys-libs/gdbm-1.8.0:= )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- sys-process/procps
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/cyrus-imapd
-"
-
-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}-5.1.8-aclocal-fix.patch"
- "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
- "${FILESDIR}/${P}-makedat.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- --with-certsdir="/etc/courier-imap" \
- $(use_with ipv6) \
- $(use_with gnutls) \
- ${myconf}
-}
-
-src_install() {
- dodir "/var/lib/${PN}" /etc/pam.d
- keepdir /var/lib/courier-imap
-
- default
- rm -r "${D}/etc/pam.d" || die
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
diff --git a/net-mail/courier-imap/courier-imap-5.2.3.ebuild b/net-mail/courier-imap/courier-imap-5.2.3.ebuild
deleted file mode 100644
index e39ba1873b3e..000000000000
--- a/net-mail/courier-imap/courier-imap-5.2.3.ebuild
+++ /dev/null
@@ -1,246 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit autotools readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls:=[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=net-libs/courier-authlib-0.71
- >=net-libs/courier-unicode-2:=
- >=net-mail/mailbase-0.00-r8
- net-dns/libidn:=
- net-mail/courier-makedat[berkdb?,gdbm?]
- berkdb? ( sys-libs/db:= )
- gdbm? ( >=sys-libs/gdbm-1.8.0:= )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- sys-process/procps
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/cyrus-imapd
-"
-
-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}-5.1.8-aclocal-fix.patch"
- "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
- "${FILESDIR}/${PN}-5.2.1-makedat.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- --with-certsdir="/etc/courier-imap" \
- $(use_with ipv6) \
- $(use_with gnutls) \
- ${myconf}
-}
-
-src_install() {
- dodir "/var/lib/${PN}" /etc/pam.d
- keepdir /var/lib/courier-imap
-
- default
- rm -r "${D}/etc/pam.d" || die
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
diff --git a/net-mail/courier-imap/courier-imap-5.2.4.ebuild b/net-mail/courier-imap/courier-imap-5.2.4.ebuild
deleted file mode 100644
index a8cd065732f6..000000000000
--- a/net-mail/courier-imap/courier-imap-5.2.4.ebuild
+++ /dev/null
@@ -1,248 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit autotools readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-
-IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls:=[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=net-libs/courier-authlib-0.71
- >=net-libs/courier-unicode-2:=
- >=net-mail/mailbase-0.00-r8
- net-dns/libidn:=
- net-mail/courier-common[berkdb?,gdbm?]
- berkdb? ( sys-libs/db:= )
- gdbm? ( >=sys-libs/gdbm-1.8.0:= )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- sys-process/procps
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/cyrus-imapd
-"
-
-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}-5.1.8-aclocal-fix.patch"
- "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
- "${FILESDIR}/${P}-common.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- --with-certsdir="/etc/courier-imap" \
- $(use_with ipv6) \
- $(use_with gnutls) \
- ${myconf}
-}
-
-src_install() {
- dodir "/var/lib/${PN}" /etc/pam.d
- keepdir /var/lib/courier-imap
-
- default
- rm -r "${D}/etc/pam.d" || die
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || die "failed to rename maildirmake.1 to courier-maildirmake.1"
-
- rm -rf "${D}"/usr/sbin/doc
-
- 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2023-12-26 19:21 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2023-12-26 19:21 UTC (permalink / raw
To: gentoo-commits
commit: d179c2ae0eb0f88ec81672c159ff1b57f499afe5
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 26 19:21:23 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Dec 26 19:21:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d179c2ae
net-mail/courier-imap: add 5.2.6
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-5.2.6.ebuild | 230 ++++++++++++++++++++++++
2 files changed, 231 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 3cdd3d75fb5b..6c376c102f77 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -7,3 +7,4 @@ DIST courier-imap-5.2.1.tar.bz2 3411197 BLAKE2B 7b34b523f7c8df3127af6cc7d10ca0bc
DIST courier-imap-5.2.3.tar.bz2 3410307 BLAKE2B d6f9aa02c2367bca898a7322f55a6f178984b0828e16fd4755d221b02384068a54b99c336e3aa4ed247eb04663be041af81803cb27fe6bae6b2f57dfe445f919 SHA512 6df3c12aea6004875c3f1e8dce46b0f199b7e3c881acf79fe6df507022b5e9dcd0cc4ddef6a94bf8763746f4db58f47066731b1f969afcf5f51bed451116af4f
DIST courier-imap-5.2.4.tar.bz2 3411159 BLAKE2B a26b8b3a6893cfb83ba4d6fa24eb3ac391b200c9642618c48db09d37f40ba8e0409165a8c7b448ab22fe3dd32b613a1a7b5de96860f0e8854a5b037979ea4441 SHA512 db5a53f82b66b2ed99a66f13c97b041e6e275b3ea662b85ce19b0aa13dfeb4e60ec091d608992f52691e3514c3d3429f9249ce5322c5e247fc0058dfef92716b
DIST courier-imap-5.2.5.tar.bz2 3411629 BLAKE2B 764ac51815777df53b3ce429a4f50ca70f4f2d8b1920f1332691f4ed951939099fa46c0a11301ee0cbcc2471f2f73b7c4dfd8fe5de9389e883552658cd73eea4 SHA512 f7864bc7c23ee08ab8c90b3d83e577c62c468f96b2481e909dc0eb5aab6c6ef141e164742458776dd1106e50d8752e6e8102971a4e3d75d6a108dd72fcae0de4
+DIST courier-imap-5.2.6.tar.bz2 3411210 BLAKE2B 6176fdc29456d245e819bd7662fc63aabc7271fcd2de3af21f2cf380eb7b62486442aa70274155197660a9ab19aa629725b99c107c77693182d41e7a363c1b14 SHA512 ee48ea5a5e043c3ce13027af2815ca07a1cba7d0ca328f8120ccc7f6134d18c610db202b2820c1dd589a427c1a3d096283c2f3fe9f9bd4815c9586dbe779d904
diff --git a/net-mail/courier-imap/courier-imap-5.2.6.ebuild b/net-mail/courier-imap/courier-imap-5.2.6.ebuild
new file mode 100644
index 000000000000..e166a72b840a
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-5.2.6.ebuild
@@ -0,0 +1,230 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls:=[tools] )
+ !gnutls? (
+ dev-libs/openssl:0=
+ )
+ net-libs/courier-authlib
+ net-libs/courier-unicode
+ net-mail/mailbase
+ net-dns/libidn:=
+ berkdb? ( sys-libs/db:= )
+ gdbm? ( sys-libs/gdbm:= )
+ !mail-mta/courier
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ sys-process/procps
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+RDEPEND="${RDEPEND}
+ !net-mail/cyrus-imapd
+ !net-mail/courier-common
+ !net-mail/courier-makedat
+"
+
+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}-5.1.8-aclocal-fix.patch"
+ "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
+)
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ econf \
+ --with-notice=unicode \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --enable-workarounds-for-imap-client-bugs \
+ --with-mailuser=mail \
+ --with-mailgroup=mail \
+ --with-certsdir="/etc/courier-imap" \
+ $(use_with ipv6) \
+ $(use_with gnutls) \
+ ${myconf}
+}
+
+src_install() {
+ dodir "/var/lib/${PN}" /etc/pam.d
+ keepdir /var/lib/courier-imap
+
+ default
+ rm -r "${D}/etc/pam.d" || die
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
+
+ for initd in courier-{imapd,pop3d}{,-ssl} ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ 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 courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || die "failed to rename maildirmake.1 to courier-maildirmake.1"
+
+ rm -rf "${D}"/usr/sbin/doc
+
+ 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/${PN}.cron ${PN}
+}
+
+pkg_postinst() {
+ # 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}"
+
+ 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 )"
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2023-12-21 20:01 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2023-12-21 20:01 UTC (permalink / raw
To: gentoo-commits
commit: 46efbf2d083dda6ce035e6e664b2015bb4f7a1db
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 21 20:00:45 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Dec 21 20:01:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46efbf2d
net-mail/courier-imap: block courier-makedat
Closes: https://bugs.gentoo.org/920458
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../{courier-imap-5.2.5.ebuild => courier-imap-5.2.5-r1.ebuild} | 1 +
1 file changed, 1 insertion(+)
diff --git a/net-mail/courier-imap/courier-imap-5.2.5.ebuild b/net-mail/courier-imap/courier-imap-5.2.5-r1.ebuild
similarity index 99%
rename from net-mail/courier-imap/courier-imap-5.2.5.ebuild
rename to net-mail/courier-imap/courier-imap-5.2.5-r1.ebuild
index 4a3263fa21b3..e166a72b840a 100644
--- a/net-mail/courier-imap/courier-imap-5.2.5.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.5-r1.ebuild
@@ -39,6 +39,7 @@ RDEPEND="${CDEPEND}
RDEPEND="${RDEPEND}
!net-mail/cyrus-imapd
!net-mail/courier-common
+ !net-mail/courier-makedat
"
RC_VER="4.0.6-r1"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2023-10-18 21:12 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2023-10-18 21:12 UTC (permalink / raw
To: gentoo-commits
commit: 5dedd510e646e090a195a7151243b9095c413d9d
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 21:10:31 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 21:11:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dedd510
net-mail/courier-imap: add 5.2.5
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-5.2.5.ebuild | 229 ++++++++++++++++++++++++
2 files changed, 230 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 2dd66ee197e8..3cdd3d75fb5b 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -6,3 +6,4 @@ DIST courier-imap-5.1.8.tar.bz2 3395074 BLAKE2B 1d563d49d61f3ab89297afdc9dd29472
DIST courier-imap-5.2.1.tar.bz2 3411197 BLAKE2B 7b34b523f7c8df3127af6cc7d10ca0bc78638e60d0bc52871d762a4dc28e192b8b64dc1e1a0ee572f11afb4ebd889bfbe426e7520e43caef16d40bdf0224a4bf SHA512 88ce60b666bc1db10059ffd34f76d8275f399ac1833ee820308db25df49ab4914a03547e6d58075d5fecb34204b5fb958877db06b3bb4529eb8cb9e547bbcf63
DIST courier-imap-5.2.3.tar.bz2 3410307 BLAKE2B d6f9aa02c2367bca898a7322f55a6f178984b0828e16fd4755d221b02384068a54b99c336e3aa4ed247eb04663be041af81803cb27fe6bae6b2f57dfe445f919 SHA512 6df3c12aea6004875c3f1e8dce46b0f199b7e3c881acf79fe6df507022b5e9dcd0cc4ddef6a94bf8763746f4db58f47066731b1f969afcf5f51bed451116af4f
DIST courier-imap-5.2.4.tar.bz2 3411159 BLAKE2B a26b8b3a6893cfb83ba4d6fa24eb3ac391b200c9642618c48db09d37f40ba8e0409165a8c7b448ab22fe3dd32b613a1a7b5de96860f0e8854a5b037979ea4441 SHA512 db5a53f82b66b2ed99a66f13c97b041e6e275b3ea662b85ce19b0aa13dfeb4e60ec091d608992f52691e3514c3d3429f9249ce5322c5e247fc0058dfef92716b
+DIST courier-imap-5.2.5.tar.bz2 3411629 BLAKE2B 764ac51815777df53b3ce429a4f50ca70f4f2d8b1920f1332691f4ed951939099fa46c0a11301ee0cbcc2471f2f73b7c4dfd8fe5de9389e883552658cd73eea4 SHA512 f7864bc7c23ee08ab8c90b3d83e577c62c468f96b2481e909dc0eb5aab6c6ef141e164742458776dd1106e50d8752e6e8102971a4e3d75d6a108dd72fcae0de4
diff --git a/net-mail/courier-imap/courier-imap-5.2.5.ebuild b/net-mail/courier-imap/courier-imap-5.2.5.ebuild
new file mode 100644
index 000000000000..4a3263fa21b3
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-5.2.5.ebuild
@@ -0,0 +1,229 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls:=[tools] )
+ !gnutls? (
+ dev-libs/openssl:0=
+ )
+ net-libs/courier-authlib
+ net-libs/courier-unicode
+ net-mail/mailbase
+ net-dns/libidn:=
+ berkdb? ( sys-libs/db:= )
+ gdbm? ( sys-libs/gdbm:= )
+ !mail-mta/courier
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ sys-process/procps
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+RDEPEND="${RDEPEND}
+ !net-mail/cyrus-imapd
+ !net-mail/courier-common
+"
+
+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}-5.1.8-aclocal-fix.patch"
+ "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
+)
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ econf \
+ --with-notice=unicode \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --enable-workarounds-for-imap-client-bugs \
+ --with-mailuser=mail \
+ --with-mailgroup=mail \
+ --with-certsdir="/etc/courier-imap" \
+ $(use_with ipv6) \
+ $(use_with gnutls) \
+ ${myconf}
+}
+
+src_install() {
+ dodir "/var/lib/${PN}" /etc/pam.d
+ keepdir /var/lib/courier-imap
+
+ default
+ rm -r "${D}/etc/pam.d" || die
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
+
+ for initd in courier-{imapd,pop3d}{,-ssl} ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ 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 courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || die "failed to rename maildirmake.1 to courier-maildirmake.1"
+
+ rm -rf "${D}"/usr/sbin/doc
+
+ 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/${PN}.cron ${PN}
+}
+
+pkg_postinst() {
+ # 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}"
+
+ 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 )"
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2023-04-05 20:01 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2023-04-05 20:01 UTC (permalink / raw
To: gentoo-commits
commit: b8e8b9d4b63c8b22d64364c543dcb945fa938df1
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 5 20:00:34 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Apr 5 20:01:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8e8b9d4
net-mail/courier-imap: add 5.2.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-5.2.3.ebuild | 246 ++++++++++++++++++++++++
2 files changed, 247 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 772b60037c4c..debc33053473 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -4,3 +4,4 @@ DIST courier-imap-5.1.4.tar.bz2 3363196 BLAKE2B 272548fcbc560ebf39e63170702de309
DIST courier-imap-5.1.7.tar.bz2 3364221 BLAKE2B 8a34595879b6ab249db8d90d0a7845b63503c7e9f1ff449e90311fdc086b6a1486fa9ed748d4eba7541265b958ea58514bafd6c90c88cc21f579705e33e5fe55 SHA512 15f64ea78f34d4a3af9f82a8247907324b26a8c550f5e97930548449fc2e9b649d2b5511de063cf3e449843516e681232a3197f2afb40e18be0f36fd8e05e66d
DIST courier-imap-5.1.8.tar.bz2 3395074 BLAKE2B 1d563d49d61f3ab89297afdc9dd2947280ea5d2d21e0b1e91ec4fa1f54b9385ee41d32b7488236f3492fa41349d7f35c1dc84ee30e07a1752db424391f871db0 SHA512 c939c82e81f8ae98dc52279ee8fffabfee78db7792fdd3bd14ad0e60f7c5bd2c581cffcc3b7f6e2271f250556e9e80713cfcd1834653d59698d51d91435d28f3
DIST courier-imap-5.2.1.tar.bz2 3411197 BLAKE2B 7b34b523f7c8df3127af6cc7d10ca0bc78638e60d0bc52871d762a4dc28e192b8b64dc1e1a0ee572f11afb4ebd889bfbe426e7520e43caef16d40bdf0224a4bf SHA512 88ce60b666bc1db10059ffd34f76d8275f399ac1833ee820308db25df49ab4914a03547e6d58075d5fecb34204b5fb958877db06b3bb4529eb8cb9e547bbcf63
+DIST courier-imap-5.2.3.tar.bz2 3410307 BLAKE2B d6f9aa02c2367bca898a7322f55a6f178984b0828e16fd4755d221b02384068a54b99c336e3aa4ed247eb04663be041af81803cb27fe6bae6b2f57dfe445f919 SHA512 6df3c12aea6004875c3f1e8dce46b0f199b7e3c881acf79fe6df507022b5e9dcd0cc4ddef6a94bf8763746f4db58f47066731b1f969afcf5f51bed451116af4f
diff --git a/net-mail/courier-imap/courier-imap-5.2.3.ebuild b/net-mail/courier-imap/courier-imap-5.2.3.ebuild
new file mode 100644
index 000000000000..e39ba1873b3e
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-5.2.3.ebuild
@@ -0,0 +1,246 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit autotools readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls:=[tools] )
+ !gnutls? (
+ dev-libs/openssl:0=
+ )
+ >=net-libs/courier-authlib-0.71
+ >=net-libs/courier-unicode-2:=
+ >=net-mail/mailbase-0.00-r8
+ net-dns/libidn:=
+ net-mail/courier-makedat[berkdb?,gdbm?]
+ berkdb? ( sys-libs/db:= )
+ gdbm? ( >=sys-libs/gdbm-1.8.0:= )
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ sys-process/procps
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+# get rid of old style virtual - bug 350792
+RDEPEND="${RDEPEND}
+ !mail-mta/courier
+ !net-mail/cyrus-imapd
+"
+
+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}-5.1.8-aclocal-fix.patch"
+ "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
+ "${FILESDIR}/${PN}-5.2.1-makedat.patch"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --with-notice=unicode \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --enable-workarounds-for-imap-client-bugs \
+ --with-mailuser=mail \
+ --with-mailgroup=mail \
+ --with-certsdir="/etc/courier-imap" \
+ $(use_with ipv6) \
+ $(use_with gnutls) \
+ ${myconf}
+}
+
+src_install() {
+ dodir "/var/lib/${PN}" /etc/pam.d
+ keepdir /var/lib/courier-imap
+
+ default
+ rm -r "${D}/etc/pam.d" || die
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
+
+ for initd in courier-{imapd,pop3d}{,-ssl} ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ 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 courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/${PN}.cron ${PN}
+}
+
+pkg_postinst() {
+ # 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}"
+
+ 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 )"
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2023-01-24 7:29 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2023-01-24 7:29 UTC (permalink / raw
To: gentoo-commits
commit: a2ed9190072d2e7b1f677b5ea75fb2c9da2d315f
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 07:21:38 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 07:22:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2ed9190
net-mail/courier-imap: simplify deps, remove fam
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
...-5.2.1-r1.ebuild => courier-imap-5.2.1-r2.ebuild} | 20 ++++----------------
1 file changed, 4 insertions(+), 16 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-5.2.1-r1.ebuild b/net-mail/courier-imap/courier-imap-5.2.1-r2.ebuild
similarity index 95%
rename from net-mail/courier-imap/courier-imap-5.2.1-r1.ebuild
rename to net-mail/courier-imap/courier-imap-5.2.1-r2.ebuild
index e49fb6eb3694..403ebd030787 100644
--- a/net-mail/courier-imap/courier-imap-5.2.1-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.2.1-r2.ebuild
@@ -12,7 +12,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
+IUSE="berkdb debug +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
CDEPEND="
@@ -24,15 +24,9 @@ CDEPEND="
>=net-libs/courier-unicode-2:=
>=net-mail/mailbase-0.00-r8
net-dns/libidn:=
- berkdb? (
- sys-libs/db:=
- net-mail/courier-makedat[berkdb?,gdbm?]
- )
- fam? ( virtual/fam )
- gdbm? (
- >=sys-libs/gdbm-1.8.0:=
- net-mail/courier-makedat[berkdb?,gdbm?]
- )
+ net-mail/courier-makedat[berkdb?,gdbm?]
+ berkdb? ( sys-libs/db:= )
+ gdbm? ( >=sys-libs/gdbm-1.8.0:= )
"
DEPEND="${CDEPEND}
dev-lang/perl
@@ -118,17 +112,11 @@ src_configure() {
--with-mailuser=mail \
--with-mailgroup=mail \
--with-certsdir="/etc/courier-imap" \
- $(use_with fam) \
$(use_with ipv6) \
$(use_with gnutls) \
${myconf}
}
-#src_compile() {
- # spurious failures with parallel compiles, bug #????
-# emake -j1
-#}
-
src_install() {
dodir "/var/lib/${PN}" /etc/pam.d
keepdir /var/lib/courier-imap
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2022-12-18 8:56 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2022-12-18 8:56 UTC (permalink / raw
To: gentoo-commits
commit: 5a822992ecf80bffe926bc935639c40b4ac21645
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 08:55:57 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 08:56:31 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a822992
net-mail/courier-imap: add 5.2.1
Closes: https://bugs.gentoo.org/886519
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-5.2.1.ebuild | 251 ++++++++++++++++++++++++
2 files changed, 252 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index fed636f29f98..772b60037c4c 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -3,3 +3,4 @@ DIST courier-imap-5.1.3.tar.bz2 3361334 BLAKE2B 750a0fdca6882b26a7f9eef062b516a2
DIST courier-imap-5.1.4.tar.bz2 3363196 BLAKE2B 272548fcbc560ebf39e63170702de30970bee1e0026c31e0c8f0a6dcf86271565cda1e83e9fe50174aa2db2f9172cfc78132746ca8eb2e6749f16c7e994d0db9 SHA512 33e54e3b369335f5bc234c638c9bf4f68bc39dc9cb6cc5e3e3ba200f72a7b2fcdca6a4f7e35f32f494406f8757749ccf5204be93ecd2edbfabab4b6316d5957c
DIST courier-imap-5.1.7.tar.bz2 3364221 BLAKE2B 8a34595879b6ab249db8d90d0a7845b63503c7e9f1ff449e90311fdc086b6a1486fa9ed748d4eba7541265b958ea58514bafd6c90c88cc21f579705e33e5fe55 SHA512 15f64ea78f34d4a3af9f82a8247907324b26a8c550f5e97930548449fc2e9b649d2b5511de063cf3e449843516e681232a3197f2afb40e18be0f36fd8e05e66d
DIST courier-imap-5.1.8.tar.bz2 3395074 BLAKE2B 1d563d49d61f3ab89297afdc9dd2947280ea5d2d21e0b1e91ec4fa1f54b9385ee41d32b7488236f3492fa41349d7f35c1dc84ee30e07a1752db424391f871db0 SHA512 c939c82e81f8ae98dc52279ee8fffabfee78db7792fdd3bd14ad0e60f7c5bd2c581cffcc3b7f6e2271f250556e9e80713cfcd1834653d59698d51d91435d28f3
+DIST courier-imap-5.2.1.tar.bz2 3411197 BLAKE2B 7b34b523f7c8df3127af6cc7d10ca0bc78638e60d0bc52871d762a4dc28e192b8b64dc1e1a0ee572f11afb4ebd889bfbe426e7520e43caef16d40bdf0224a4bf SHA512 88ce60b666bc1db10059ffd34f76d8275f399ac1833ee820308db25df49ab4914a03547e6d58075d5fecb34204b5fb958877db06b3bb4529eb8cb9e547bbcf63
diff --git a/net-mail/courier-imap/courier-imap-5.2.1.ebuild b/net-mail/courier-imap/courier-imap-5.2.1.ebuild
new file mode 100644
index 000000000000..68d302128e0d
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-5.2.1.ebuild
@@ -0,0 +1,251 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls:=[tools] )
+ !gnutls? (
+ dev-libs/openssl:0=
+ )
+ >=net-libs/courier-authlib-0.71
+ >=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:= )
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ sys-process/procps
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+# get rid of old style virtual - bug 350792
+RDEPEND="${RDEPEND}
+ !mail-mta/courier
+ !net-mail/cyrus-imapd
+"
+
+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}-5.1.8-aclocal-fix.patch"
+ "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --with-notice=unicode \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --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}
+}
+
+#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
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
+
+ for initd in courier-{imapd,pop3d}{,-ssl} ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ 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 courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/${PN}.cron ${PN}
+}
+
+pkg_postinst() {
+ # 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}"
+
+ 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 )"
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2022-12-03 4:47 WANG Xuerui
0 siblings, 0 replies; 114+ messages in thread
From: WANG Xuerui @ 2022-12-03 4:47 UTC (permalink / raw
To: gentoo-commits
commit: 6c0d380f049b64c8d371b6fa73c13e6e23a256e0
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 2 17:44:31 2022 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sat Dec 3 04:46:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c0d380f
net-mail/courier-imap: keyword 5.1.8 for ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.8.ebuild b/net-mail/courier-imap/courier-imap-5.1.8.ebuild
index 46c3b04b3b1a..68d302128e0d 100644
--- a/net-mail/courier-imap/courier-imap-5.1.8.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.8.ebuild
@@ -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 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2022-03-03 21:22 David Seifert
0 siblings, 0 replies; 114+ messages in thread
From: David Seifert @ 2022-03-03 21:22 UTC (permalink / raw
To: gentoo-commits
commit: 5578c84bd1ddc52d0ae876231f959374578f5018
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 3 21:21:42 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Mar 3 21:21:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5578c84b
net-mail/courier-imap: destabilise for ppc
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild | 2 +-
net-mail/courier-imap/courier-imap-5.1.4.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
index b80f70ec18a3..98096cb65fdf 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
diff --git a/net-mail/courier-imap/courier-imap-5.1.4.ebuild b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
index 390d83e938d7..4132409817c9 100644
--- a/net-mail/courier-imap/courier-imap-5.1.4.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2022-02-02 8:01 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2022-02-02 8:01 UTC (permalink / raw
To: gentoo-commits
commit: adf45966fde52366a769131b887159507df8d666
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 2 08:01:42 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Feb 2 08:01:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adf45966
net-mail/courier-imap: 5.1.7 bump
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-5.1.7.ebuild | 251 ++++++++++++++++++++++++
2 files changed, 252 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 83538be26ee3..a95f15f53850 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,3 +1,4 @@
DIST courier-imap-5.1.2.tar.bz2 3361084 BLAKE2B 0b42ec3a765c1adf425408f72b34beb7626bb9707df5adbc86b61cf60a12c3cbcad808a3173441666925f3ac4e44c137b611d4c8213566e2dc2e8fb8122d37c8 SHA512 697b7c91ea603ae67a3c167238841dcad266c6262965e7753bb2d2efee3a434c405ea55d35393330f7a55c2efc2cefbcca339c8b8f4867513e5157acc42c498d
DIST courier-imap-5.1.3.tar.bz2 3361334 BLAKE2B 750a0fdca6882b26a7f9eef062b516a2d9271e6f73b8cd999653fc37947ffcfcbe7bb88c246be0e662f235b04c5a6f7d5dc7e06010075353670ecb1a2ca413ff SHA512 6685fe596eefcdc976f23aa115b3bc3d13e14421b1d430eb59a4bbee419ba86cb190e536871b42cbebba96160a3894cdef86571ae10bd7ee052cb7e7f8552dca
DIST courier-imap-5.1.4.tar.bz2 3363196 BLAKE2B 272548fcbc560ebf39e63170702de30970bee1e0026c31e0c8f0a6dcf86271565cda1e83e9fe50174aa2db2f9172cfc78132746ca8eb2e6749f16c7e994d0db9 SHA512 33e54e3b369335f5bc234c638c9bf4f68bc39dc9cb6cc5e3e3ba200f72a7b2fcdca6a4f7e35f32f494406f8757749ccf5204be93ecd2edbfabab4b6316d5957c
+DIST courier-imap-5.1.7.tar.bz2 3364221 BLAKE2B 8a34595879b6ab249db8d90d0a7845b63503c7e9f1ff449e90311fdc086b6a1486fa9ed748d4eba7541265b958ea58514bafd6c90c88cc21f579705e33e5fe55 SHA512 15f64ea78f34d4a3af9f82a8247907324b26a8c550f5e97930548449fc2e9b649d2b5511de063cf3e449843516e681232a3197f2afb40e18be0f36fd8e05e66d
diff --git a/net-mail/courier-imap/courier-imap-5.1.7.ebuild b/net-mail/courier-imap/courier-imap-5.1.7.ebuild
new file mode 100644
index 000000000000..d551f9d82941
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-5.1.7.ebuild
@@ -0,0 +1,251 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+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 selinux trashquota"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls:=[tools] )
+ !gnutls? (
+ dev-libs/openssl:0=
+ )
+ >=net-libs/courier-authlib-0.71
+ >=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:= )
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ sys-process/procps
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+# get rid of old style virtual - bug 350792
+RDEPEND="${RDEPEND}
+ !mail-mta/courier
+ !net-mail/cyrus-imapd
+"
+
+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-aclocal-fix.patch"
+ "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --with-notice=unicode \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --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}
+}
+
+#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
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
+
+ for initd in courier-{imapd,pop3d}{,-ssl} ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ 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 courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/${PN}.cron ${PN}
+}
+
+pkg_postinst() {
+ # 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}"
+
+ 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 )"
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2022-01-06 9:07 David Seifert
0 siblings, 0 replies; 114+ messages in thread
From: David Seifert @ 2022-01-06 9:07 UTC (permalink / raw
To: gentoo-commits
commit: 3b202656cbe9f76d423f906fdb7bb8b9f372985e
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 6 09:07:04 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Jan 6 09:07:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b202656
net-mail/courier-imap: remove userland_GNU
Signed-off-by: David Seifert <soap <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild | 4 ++--
net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild | 4 ++--
net-mail/courier-imap/courier-imap-5.1.4.ebuild | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
index 5a9f94b5ebf4..b80f70ec18a3 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -31,7 +31,7 @@ CDEPEND="
DEPEND="${CDEPEND}
dev-lang/perl
!mail-mta/courier
- userland_GNU? ( sys-process/procps )
+ sys-process/procps
"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-courier )
diff --git a/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild b/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild
index 9e22cae7ef82..d551f9d82941 100644
--- a/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -31,7 +31,7 @@ CDEPEND="
DEPEND="${CDEPEND}
dev-lang/perl
!mail-mta/courier
- userland_GNU? ( sys-process/procps )
+ sys-process/procps
"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-courier )
diff --git a/net-mail/courier-imap/courier-imap-5.1.4.ebuild b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
index c734ba4b2ad7..390d83e938d7 100644
--- a/net-mail/courier-imap/courier-imap-5.1.4.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -31,7 +31,7 @@ CDEPEND="
DEPEND="${CDEPEND}
dev-lang/perl
!mail-mta/courier
- userland_GNU? ( sys-process/procps )
+ sys-process/procps
"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-courier )
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-11-10 4:15 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-11-10 4:15 UTC (permalink / raw
To: gentoo-commits
commit: 8bb401fb64cf2cf8ff974daa0887a1ed650d5d7a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 10 04:14:55 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 10 04:14:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bb401fb
net-mail/courier-imap: Stabilize 5.1.4 ppc, #822729
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.4.ebuild b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
index c19b14661e9..c734ba4b2ad 100644
--- a/net-mail/courier-imap/courier-imap-5.1.4.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-11-09 22:29 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-11-09 22:29 UTC (permalink / raw
To: gentoo-commits
commit: c5e7ebbe306029d6d12660ae38ede824daeb9653
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 9 22:28:54 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 9 22:28:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e7ebbe
net-mail/courier-imap: Stabilize 5.1.4 arm64, #822729
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.4.ebuild b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
index 855428080a8..c19b14661e9 100644
--- a/net-mail/courier-imap/courier-imap-5.1.4.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-11-09 22:28 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-11-09 22:28 UTC (permalink / raw
To: gentoo-commits
commit: ebadcc476b02424307277184094856ebcd2bcd25
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 9 22:28:20 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 9 22:28:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebadcc47
net-mail/courier-imap: Stabilize 5.1.4 arm, #822729
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.4.ebuild b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
index 215f30a4994..855428080a8 100644
--- a/net-mail/courier-imap/courier-imap-5.1.4.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-11-09 21:53 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2021-11-09 21:53 UTC (permalink / raw
To: gentoo-commits
commit: 4980740cd894653cfbaa30c2a45a9dd86108b0d5
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 9 21:52:41 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 9 21:53:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4980740c
net-mail/courier-imap: Stabilize 5.1.4 sparc, #822729
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.4.ebuild b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
index 9fb7349a964..215f30a4994 100644
--- a/net-mail/courier-imap/courier-imap-5.1.4.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-11-09 21:35 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-11-09 21:35 UTC (permalink / raw
To: gentoo-commits
commit: 2d280f85812bcaa9d8c0ebdc01221f48cb1daf50
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 9 21:34:45 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 9 21:34:45 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d280f85
net-mail/courier-imap: Stabilize 5.1.4 ppc64, #822729
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.4.ebuild b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
index 0fa14e99b71..9fb7349a964 100644
--- a/net-mail/courier-imap/courier-imap-5.1.4.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-11-09 21:34 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-11-09 21:34 UTC (permalink / raw
To: gentoo-commits
commit: 60425340037dbf5b0b54c9b30ac14e94ace89ebf
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 9 21:34:01 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 9 21:34:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60425340
net-mail/courier-imap: Stabilize 5.1.4 x86, #822729
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.4.ebuild b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
index bbb4686d110..0fa14e99b71 100644
--- a/net-mail/courier-imap/courier-imap-5.1.4.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-11-09 21:24 Jakov Smolić
0 siblings, 0 replies; 114+ messages in thread
From: Jakov Smolić @ 2021-11-09 21:24 UTC (permalink / raw
To: gentoo-commits
commit: 3a1d8d270d10e1ee6a238989cc162b450649733e
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 9 21:23:46 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Nov 9 21:23:46 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a1d8d27
net-mail/courier-imap: Stabilize 5.1.4 amd64, #822729
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.4.ebuild b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
index 9e22cae7ef8..bbb4686d110 100644
--- a/net-mail/courier-imap/courier-imap-5.1.4.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-09-18 16:51 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2021-09-18 16:51 UTC (permalink / raw
To: gentoo-commits
commit: 025b7ad08e9bea7988b93cf15de085bbd83f7425
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 18 16:47:43 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Sep 18 16:51:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=025b7ad0
net-mail/courier-imap: UnusedInherits
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild | 2 +-
net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild | 2 +-
net-mail/courier-imap/courier-imap-5.1.4.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
index 6b812e29ffb..5a9f94b5ebf 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools libtool readme.gentoo-r1 systemd
+inherit autotools readme.gentoo-r1 systemd
DESCRIPTION="An IMAP daemon designed specifically for maildirs"
HOMEPAGE="https://www.courier-mta.org/imap/"
diff --git a/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild b/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild
index 2c96931fa93..9e22cae7ef8 100644
--- a/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools libtool readme.gentoo-r1 systemd
+inherit autotools readme.gentoo-r1 systemd
DESCRIPTION="An IMAP daemon designed specifically for maildirs"
HOMEPAGE="https://www.courier-mta.org/imap/"
diff --git a/net-mail/courier-imap/courier-imap-5.1.4.ebuild b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
index 2c96931fa93..9e22cae7ef8 100644
--- a/net-mail/courier-imap/courier-imap-5.1.4.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools libtool readme.gentoo-r1 systemd
+inherit autotools readme.gentoo-r1 systemd
DESCRIPTION="An IMAP daemon designed specifically for maildirs"
HOMEPAGE="https://www.courier-mta.org/imap/"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-09-10 8:59 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2021-09-10 8:59 UTC (permalink / raw
To: gentoo-commits
commit: 6ef1d53c37cb7b1df428aa91428263d207469151
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 10 08:58:46 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Sep 10 08:58:46 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ef1d53c
net-mail/courier-imap: bump 5.1.4
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-5.1.4.ebuild | 251 ++++++++++++++++++++++++
2 files changed, 252 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index ae5df5d8f41..83538be26ee 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,2 +1,3 @@
DIST courier-imap-5.1.2.tar.bz2 3361084 BLAKE2B 0b42ec3a765c1adf425408f72b34beb7626bb9707df5adbc86b61cf60a12c3cbcad808a3173441666925f3ac4e44c137b611d4c8213566e2dc2e8fb8122d37c8 SHA512 697b7c91ea603ae67a3c167238841dcad266c6262965e7753bb2d2efee3a434c405ea55d35393330f7a55c2efc2cefbcca339c8b8f4867513e5157acc42c498d
DIST courier-imap-5.1.3.tar.bz2 3361334 BLAKE2B 750a0fdca6882b26a7f9eef062b516a2d9271e6f73b8cd999653fc37947ffcfcbe7bb88c246be0e662f235b04c5a6f7d5dc7e06010075353670ecb1a2ca413ff SHA512 6685fe596eefcdc976f23aa115b3bc3d13e14421b1d430eb59a4bbee419ba86cb190e536871b42cbebba96160a3894cdef86571ae10bd7ee052cb7e7f8552dca
+DIST courier-imap-5.1.4.tar.bz2 3363196 BLAKE2B 272548fcbc560ebf39e63170702de30970bee1e0026c31e0c8f0a6dcf86271565cda1e83e9fe50174aa2db2f9172cfc78132746ca8eb2e6749f16c7e994d0db9 SHA512 33e54e3b369335f5bc234c638c9bf4f68bc39dc9cb6cc5e3e3ba200f72a7b2fcdca6a4f7e35f32f494406f8757749ccf5204be93ecd2edbfabab4b6316d5957c
diff --git a/net-mail/courier-imap/courier-imap-5.1.4.ebuild b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
new file mode 100644
index 00000000000..2c96931fa93
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-5.1.4.ebuild
@@ -0,0 +1,251 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools libtool readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+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 selinux trashquota"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls:=[tools] )
+ !gnutls? (
+ dev-libs/openssl:0=
+ )
+ >=net-libs/courier-authlib-0.71
+ >=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:= )
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ userland_GNU? ( sys-process/procps )
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+# get rid of old style virtual - bug 350792
+RDEPEND="${RDEPEND}
+ !mail-mta/courier
+ !net-mail/cyrus-imapd
+"
+
+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-aclocal-fix.patch"
+ "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --with-notice=unicode \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --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}
+}
+
+#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
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
+
+ for initd in courier-{imapd,pop3d}{,-ssl} ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ 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 courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/${PN}.cron ${PN}
+}
+
+pkg_postinst() {
+ # 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}"
+
+ 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 )"
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-08-16 2:24 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-08-16 2:24 UTC (permalink / raw
To: gentoo-commits
commit: a6b4101a6edb95c607a9390e5ed67b61f65c0497
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 16 02:21:02 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 16 02:24:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b4101a
net-mail/courier-imap: subscribe to courier-unicode subslot
Bug: https://bugs.gentoo.org/806595
Bug: https://bugs.gentoo.org/807292
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{courier-imap-5.1.2.ebuild => courier-imap-5.1.2-r1.ebuild} | 6 +++---
.../{courier-imap-5.1.3.ebuild => courier-imap-5.1.3-r1.ebuild} | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
similarity index 98%
rename from net-mail/courier-imap/courier-imap-5.1.2.ebuild
rename to net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
index c908d5ac608..6b812e29ffb 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2-r1.ebuild
@@ -16,17 +16,17 @@ IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
CDEPEND="
- gnutls? ( net-libs/gnutls[tools] )
+ gnutls? ( net-libs/gnutls:=[tools] )
!gnutls? (
dev-libs/openssl:0=
)
>=net-libs/courier-authlib-0.71
- >=net-libs/courier-unicode-2
+ >=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
diff --git a/net-mail/courier-imap/courier-imap-5.1.3.ebuild b/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild
similarity index 98%
rename from net-mail/courier-imap/courier-imap-5.1.3.ebuild
rename to net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild
index df153dc82fd..2c96931fa93 100644
--- a/net-mail/courier-imap/courier-imap-5.1.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.3-r1.ebuild
@@ -16,17 +16,17 @@ IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
CDEPEND="
- gnutls? ( net-libs/gnutls[tools] )
+ gnutls? ( net-libs/gnutls:=[tools] )
!gnutls? (
dev-libs/openssl:0=
)
>=net-libs/courier-authlib-0.71
- >=net-libs/courier-unicode-2
+ >=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
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-07-04 10:39 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2021-07-04 10:39 UTC (permalink / raw
To: gentoo-commits
commit: 6fecf28086de01bae46e761a964c9ead6158899f
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 4 10:39:21 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jul 4 10:39:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fecf280
net-mail/courier-imap: remove old masked version
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 -
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 238 -----------------------
2 files changed, 239 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 319d514ce8b..ae5df5d8f41 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,3 +1,2 @@
-DIST courier-imap-4.18.2.tar.bz2 3205230 BLAKE2B dd52c55698ac4307a52ef76ed6ca54d4289e00aacff487609cfe01bce351e180561b4bec4904e2701a0c05916bbac2e301409530ccbdcd08474b50be4c1365e3 SHA512 821f0151012f1a357faf705d938d8498a939cc994957398c0d5e2b7a619eabe202549f174e625161545ba6a94b753072458e9f0edc30cbb2443b15405740347e
DIST courier-imap-5.1.2.tar.bz2 3361084 BLAKE2B 0b42ec3a765c1adf425408f72b34beb7626bb9707df5adbc86b61cf60a12c3cbcad808a3173441666925f3ac4e44c137b611d4c8213566e2dc2e8fb8122d37c8 SHA512 697b7c91ea603ae67a3c167238841dcad266c6262965e7753bb2d2efee3a434c405ea55d35393330f7a55c2efc2cefbcca339c8b8f4867513e5157acc42c498d
DIST courier-imap-5.1.3.tar.bz2 3361334 BLAKE2B 750a0fdca6882b26a7f9eef062b516a2d9271e6f73b8cd999653fc37947ffcfcbe7bb88c246be0e662f235b04c5a6f7d5dc7e06010075353670ecb1a2ca413ff SHA512 6685fe596eefcdc976f23aa115b3bc3d13e14421b1d430eb59a4bbee419ba86cb190e536871b42cbebba96160a3894cdef86571ae10bd7ee052cb7e7f8552dca
diff --git a/net-mail/courier-imap/courier-imap-4.18.2.ebuild b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
deleted file mode 100644
index 8b034286d89..00000000000
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ /dev/null
@@ -1,238 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools libtool readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-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 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=net-libs/courier-authlib-0.66.4
- >=net-libs/courier-unicode-2
- >=net-mail/mailbase-0.00-r8
- berkdb? ( sys-libs/db:= )
- fam? ( virtual/fam )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/cyrus-imapd
-"
-
-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}
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-4.17-disable-fam-configure.ac.patch"
- "${FILESDIR}/${PN}-4.17-aclocal-fix.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- $(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, 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
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service \
- courier-authdaemond.service
- systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit "${FILESDIR}"/courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
-}
-
-pkg_postinst() {
- # 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}"
-
- readme.gentoo_print_elog
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-05-28 6:33 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2021-05-28 6:33 UTC (permalink / raw
To: gentoo-commits
commit: 8e50883daa97c6bec1fa4ba8b57827251ee48a99
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri May 28 06:33:12 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri May 28 06:33:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e50883d
net-mail/courier-imap: OutdatedBlocker
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 2 -
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 1 -
net-mail/courier-imap/courier-imap-5.0.14.ebuild | 254 -----------------------
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 252 ----------------------
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 1 -
net-mail/courier-imap/courier-imap-5.1.3.ebuild | 1 -
6 files changed, 511 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 220b849659f..319d514ce8b 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,5 +1,3 @@
DIST courier-imap-4.18.2.tar.bz2 3205230 BLAKE2B dd52c55698ac4307a52ef76ed6ca54d4289e00aacff487609cfe01bce351e180561b4bec4904e2701a0c05916bbac2e301409530ccbdcd08474b50be4c1365e3 SHA512 821f0151012f1a357faf705d938d8498a939cc994957398c0d5e2b7a619eabe202549f174e625161545ba6a94b753072458e9f0edc30cbb2443b15405740347e
-DIST courier-imap-5.0.14.tar.bz2 3359363 BLAKE2B 23a734494ee3591b33361f209a465a54f893dd5ed30295fbda4d11707664f9750d5dd422449ff4a159a1fa8130d201bb50cde3fd56051293c45fe53d62c8ed41 SHA512 fa6feb9c6dc04a53e569cb0fdbf34cf4bbccd890cb827a4a0948bd221eb41834033cc7cb7b4c03e8b21c5a59545d73b845865a4da464c1b1b546f70805b18c31
-DIST courier-imap-5.0.7.tar.bz2 3296879 BLAKE2B 022522387cc667223c44354f4f3da822ac8abab19222bfc69a9dde4b7460665c97ca565b21705519f3bc0dfbe1d69bbd2ef288329bfa7b8d99e3251a4f9d3e98 SHA512 a0be5cb3e6bc42f4bf45b14132e7d4ad7e822c26aa3b3dd4bfefa7783a047b9c928ad503b462c8e832fddefb356af58b4adfa5ee91481bd024149992157a1aad
DIST courier-imap-5.1.2.tar.bz2 3361084 BLAKE2B 0b42ec3a765c1adf425408f72b34beb7626bb9707df5adbc86b61cf60a12c3cbcad808a3173441666925f3ac4e44c137b611d4c8213566e2dc2e8fb8122d37c8 SHA512 697b7c91ea603ae67a3c167238841dcad266c6262965e7753bb2d2efee3a434c405ea55d35393330f7a55c2efc2cefbcca339c8b8f4867513e5157acc42c498d
DIST courier-imap-5.1.3.tar.bz2 3361334 BLAKE2B 750a0fdca6882b26a7f9eef062b516a2d9271e6f73b8cd999653fc37947ffcfcbe7bb88c246be0e662f235b04c5a6f7d5dc7e06010075353670ecb1a2ca413ff SHA512 6685fe596eefcdc976f23aa115b3bc3d13e14421b1d430eb59a4bbee419ba86cb190e536871b42cbebba96160a3894cdef86571ae10bd7ee052cb7e7f8552dca
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 fca5172405d..8b034286d89 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -39,7 +39,6 @@ RDEPEND="${CDEPEND}
# get rid of old style virtual - bug 350792
RDEPEND="${RDEPEND}
!mail-mta/courier
- !net-mail/bincimap
!net-mail/cyrus-imapd
"
diff --git a/net-mail/courier-imap/courier-imap-5.0.14.ebuild b/net-mail/courier-imap/courier-imap-5.0.14.ebuild
deleted file mode 100644
index 060bb3b5a84..00000000000
--- a/net-mail/courier-imap/courier-imap-5.0.14.ebuild
+++ /dev/null
@@ -1,254 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools libtool readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-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 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=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 )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/bincimap
- !net-mail/cyrus-imapd
-"
-
-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"
- "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- cd libs/rootcerts & autoupdate
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --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}
-}
-
-#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
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
diff --git a/net-mail/courier-imap/courier-imap-5.0.7.ebuild b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
deleted file mode 100644
index 99e07788d57..00000000000
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ /dev/null
@@ -1,252 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools libtool readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-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 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=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 )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/bincimap
- !net-mail/cyrus-imapd
-"
-
-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"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --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}
-}
-
-#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
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
index 3f91d87cd83..c908d5ac608 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -40,7 +40,6 @@ RDEPEND="${CDEPEND}
# get rid of old style virtual - bug 350792
RDEPEND="${RDEPEND}
!mail-mta/courier
- !net-mail/bincimap
!net-mail/cyrus-imapd
"
diff --git a/net-mail/courier-imap/courier-imap-5.1.3.ebuild b/net-mail/courier-imap/courier-imap-5.1.3.ebuild
index 2418f2ded5e..df153dc82fd 100644
--- a/net-mail/courier-imap/courier-imap-5.1.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.3.ebuild
@@ -40,7 +40,6 @@ RDEPEND="${CDEPEND}
# get rid of old style virtual - bug 350792
RDEPEND="${RDEPEND}
!mail-mta/courier
- !net-mail/bincimap
!net-mail/cyrus-imapd
"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-05-16 12:50 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-05-16 12:50 UTC (permalink / raw
To: gentoo-commits
commit: f147d06df491e4957d0cfedf8fc4be3d9cfb60c9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 16 12:49:18 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 16 12:49:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f147d06d
net-mail/courier-imap: Stabilize 5.1.2 arm64, #788013
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
index 736de7b4ddc..3f91d87cd83 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-05-14 20:00 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2021-05-14 20:00 UTC (permalink / raw
To: gentoo-commits
commit: 1c6ae33fa3676579d757f55d90e26fa59c487977
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri May 14 19:59:51 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri May 14 19:59:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c6ae33f
net-mail/courier-imap: require courier-authlib-0.71
Closes: https://bugs.gentoo.org/790245
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 2 +-
net-mail/courier-imap/courier-imap-5.1.3.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
index b4536b53251..736de7b4ddc 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -20,7 +20,7 @@ CDEPEND="
!gnutls? (
dev-libs/openssl:0=
)
- >=net-libs/courier-authlib-0.66.4
+ >=net-libs/courier-authlib-0.71
>=net-libs/courier-unicode-2
>=net-mail/mailbase-0.00-r8
net-dns/libidn:=
diff --git a/net-mail/courier-imap/courier-imap-5.1.3.ebuild b/net-mail/courier-imap/courier-imap-5.1.3.ebuild
index 7b287e48358..2418f2ded5e 100644
--- a/net-mail/courier-imap/courier-imap-5.1.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.3.ebuild
@@ -20,7 +20,7 @@ CDEPEND="
!gnutls? (
dev-libs/openssl:0=
)
- >=net-libs/courier-authlib-0.66.4
+ >=net-libs/courier-authlib-0.71
>=net-libs/courier-unicode-2
>=net-mail/mailbase-0.00-r8
net-dns/libidn:=
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-05-09 9:48 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2021-05-09 9:48 UTC (permalink / raw
To: gentoo-commits
commit: 3a71617ae9edfe5ed962a94ae512b9c3992683e0
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Sun May 9 07:49:13 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun May 9 09:48:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a71617a
net-mail/courier-imap: stable 5.1.2 for hppa, bug #788013
Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
index 94907ab0e49..b4536b53251 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-05-08 21:18 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2021-05-08 21:18 UTC (permalink / raw
To: gentoo-commits
commit: 2a5bef78a3b9eec5d207524add23ee21133d3261
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat May 8 21:18:26 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat May 8 21:18:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a5bef78
net-mail/courier-imap: version bump.
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 4 +-
net-mail/courier-imap/courier-imap-5.0.11.ebuild | 254 ---------------------
net-mail/courier-imap/courier-imap-5.0.8.ebuild | 253 --------------------
...map-5.0.10.ebuild => courier-imap-5.1.3.ebuild} | 1 -
4 files changed, 1 insertion(+), 511 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index deebe3c4701..220b849659f 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,7 +1,5 @@
DIST courier-imap-4.18.2.tar.bz2 3205230 BLAKE2B dd52c55698ac4307a52ef76ed6ca54d4289e00aacff487609cfe01bce351e180561b4bec4904e2701a0c05916bbac2e301409530ccbdcd08474b50be4c1365e3 SHA512 821f0151012f1a357faf705d938d8498a939cc994957398c0d5e2b7a619eabe202549f174e625161545ba6a94b753072458e9f0edc30cbb2443b15405740347e
-DIST courier-imap-5.0.10.tar.bz2 3324560 BLAKE2B f59034184c6423ba4c8a238e1756e431bc240a5e80db5abc62af10eb776446f7c6afcba2935dfd49a7cf5dfec83087f3cdfe98785b13faa23287b0c6d24a9bd9 SHA512 7b1bd179fb7d9ed99ea4a92414e13d1313d10239bd1d7ddef76d17bb618e6dfd5d51f11d1fdb2fcd6a204a5000e3756ecb30aa2c791c6063ab3991dde65a3590
-DIST courier-imap-5.0.11.tar.bz2 3356907 BLAKE2B 6d4aa2d67ef92b318a87d8c71232d1801d908143c044f03891c9130cb8458958c4c0cbcd214d4f548a2e5e247a37120d1e824469c7b77b8e02d1f75fe2a77e5c SHA512 5fbadfe3a554596a1fdd74648b002964e18d933209f0b832c4782a242c5c76336274756dcd6cc086f55ab66ba4a7292d6d5b9bfe84c0d776f6b3b14d7531bedc
DIST courier-imap-5.0.14.tar.bz2 3359363 BLAKE2B 23a734494ee3591b33361f209a465a54f893dd5ed30295fbda4d11707664f9750d5dd422449ff4a159a1fa8130d201bb50cde3fd56051293c45fe53d62c8ed41 SHA512 fa6feb9c6dc04a53e569cb0fdbf34cf4bbccd890cb827a4a0948bd221eb41834033cc7cb7b4c03e8b21c5a59545d73b845865a4da464c1b1b546f70805b18c31
DIST courier-imap-5.0.7.tar.bz2 3296879 BLAKE2B 022522387cc667223c44354f4f3da822ac8abab19222bfc69a9dde4b7460665c97ca565b21705519f3bc0dfbe1d69bbd2ef288329bfa7b8d99e3251a4f9d3e98 SHA512 a0be5cb3e6bc42f4bf45b14132e7d4ad7e822c26aa3b3dd4bfefa7783a047b9c928ad503b462c8e832fddefb356af58b4adfa5ee91481bd024149992157a1aad
-DIST courier-imap-5.0.8.tar.bz2 3296810 BLAKE2B 43b9cf61253145c4f877ed350140159014d812c197f82cb2621db4484c66ae57e0c1a237ba0f13e0edb35439f562662557ca98d3193ba8b6e35e392dac00cd03 SHA512 bc60f4540da8db02758d593694ca4b7336a7d65fd3c48ea5c373e18abfc9973db836c505f77caf844529947ad0c4ef0dc276898e437ca60f0facb2ec6650702c
DIST courier-imap-5.1.2.tar.bz2 3361084 BLAKE2B 0b42ec3a765c1adf425408f72b34beb7626bb9707df5adbc86b61cf60a12c3cbcad808a3173441666925f3ac4e44c137b611d4c8213566e2dc2e8fb8122d37c8 SHA512 697b7c91ea603ae67a3c167238841dcad266c6262965e7753bb2d2efee3a434c405ea55d35393330f7a55c2efc2cefbcca339c8b8f4867513e5157acc42c498d
+DIST courier-imap-5.1.3.tar.bz2 3361334 BLAKE2B 750a0fdca6882b26a7f9eef062b516a2d9271e6f73b8cd999653fc37947ffcfcbe7bb88c246be0e662f235b04c5a6f7d5dc7e06010075353670ecb1a2ca413ff SHA512 6685fe596eefcdc976f23aa115b3bc3d13e14421b1d430eb59a4bbee419ba86cb190e536871b42cbebba96160a3894cdef86571ae10bd7ee052cb7e7f8552dca
diff --git a/net-mail/courier-imap/courier-imap-5.0.11.ebuild b/net-mail/courier-imap/courier-imap-5.0.11.ebuild
deleted file mode 100644
index 060bb3b5a84..00000000000
--- a/net-mail/courier-imap/courier-imap-5.0.11.ebuild
+++ /dev/null
@@ -1,254 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools libtool readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-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 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=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 )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/bincimap
- !net-mail/cyrus-imapd
-"
-
-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"
- "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- cd libs/rootcerts & autoupdate
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --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}
-}
-
-#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
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
diff --git a/net-mail/courier-imap/courier-imap-5.0.8.ebuild b/net-mail/courier-imap/courier-imap-5.0.8.ebuild
deleted file mode 100644
index 2fc791acd0b..00000000000
--- a/net-mail/courier-imap/courier-imap-5.0.8.ebuild
+++ /dev/null
@@ -1,253 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools libtool readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-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 selinux trashquota"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls[tools] )
- !gnutls? (
- dev-libs/openssl:0=
- )
- >=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 )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/bincimap
- !net-mail/cyrus-imapd
-"
-
-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"
- "${FILESDIR}/${P}-ar-fix.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --with-notice=unicode \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --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}
-}
-
-#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
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- 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 courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
- exeinto /etc/cron.monthly
- newexe "${FILESDIR}"/${PN}.cron ${PN}
-}
-
-pkg_postinst() {
- # 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}"
-
- 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 )"
-}
diff --git a/net-mail/courier-imap/courier-imap-5.0.10.ebuild b/net-mail/courier-imap/courier-imap-5.1.3.ebuild
similarity index 99%
rename from net-mail/courier-imap/courier-imap-5.0.10.ebuild
rename to net-mail/courier-imap/courier-imap-5.1.3.ebuild
index 18471a0b84f..7b287e48358 100644
--- a/net-mail/courier-imap/courier-imap-5.0.10.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.3.ebuild
@@ -64,7 +64,6 @@ 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"
"${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
)
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-05-08 18:55 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-05-08 18:55 UTC (permalink / raw
To: gentoo-commits
commit: 6923e2be650549dda0b9f8f6ede536970677dd9b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 8 18:53:02 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 8 18:53:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6923e2be
net-mail/courier-imap: Stabilize 5.1.2 ppc, #788013
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
index 0a63d592c97..94907ab0e49 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-05-07 13:33 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-05-07 13:33 UTC (permalink / raw
To: gentoo-commits
commit: 3e7ca72d6b1130f201bd4b0a8271259c0812df4d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 7 13:33:29 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 7 13:33:29 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e7ca72d
net-mail/courier-imap: Stabilize 5.1.2 sparc, #788013
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
index f26ecf67b46..0a63d592c97 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-05-07 13:32 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-05-07 13:32 UTC (permalink / raw
To: gentoo-commits
commit: 64b693479f3de2144694d5d576771dce831ceeee
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 7 13:32:22 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 7 13:32:22 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b69347
net-mail/courier-imap: Stabilize 5.1.2 ppc64, #788013
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
index 684a39f723d..f26ecf67b46 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-05-07 13:30 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-05-07 13:30 UTC (permalink / raw
To: gentoo-commits
commit: 97519d6a1e805b3f969b51ea969d8de434dcdebf
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 7 13:30:48 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 7 13:30:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97519d6a
net-mail/courier-imap: Stabilize 5.1.2 arm, #788013
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
index c692ba6be82..684a39f723d 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-05-07 13:29 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-05-07 13:29 UTC (permalink / raw
To: gentoo-commits
commit: 925cfa7ad2046f8cc81786d5342b660f13f54ffd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 7 13:29:36 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 7 13:29:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=925cfa7a
net-mail/courier-imap: Stabilize 5.1.2 x86, #788013
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
index 43806f68de2..c692ba6be82 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-05-07 13:28 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-05-07 13:28 UTC (permalink / raw
To: gentoo-commits
commit: 97f8339734b4dc73930c26cd5e3cea236b05c23c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 7 13:28:14 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 7 13:28:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97f83397
net-mail/courier-imap: Stabilize 5.1.2 amd64, #788013
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
index 7b287e48358..43806f68de2 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -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 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-05-02 12:51 Mikle Kolyada
0 siblings, 0 replies; 114+ messages in thread
From: Mikle Kolyada @ 2021-05-02 12:51 UTC (permalink / raw
To: gentoo-commits
commit: f346629f18298f963c49c11ffdbe9644c77c6a2a
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun May 2 12:49:36 2021 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun May 2 12:49:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f346629f
net-mail/courier-imap: remove libressl support
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 5 ++---
net-mail/courier-imap/courier-imap-5.0.10.ebuild | 5 ++---
net-mail/courier-imap/courier-imap-5.0.11.ebuild | 5 ++---
net-mail/courier-imap/courier-imap-5.0.14.ebuild | 5 ++---
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 5 ++---
net-mail/courier-imap/courier-imap-5.0.8.ebuild | 5 ++---
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 5 ++---
7 files changed, 14 insertions(+), 21 deletions(-)
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 7e69d290f0f..fca5172405d 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -12,14 +12,13 @@ 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"
+IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
CDEPEND="
gnutls? ( net-libs/gnutls )
!gnutls? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
+ dev-libs/openssl:0=
)
>=net-libs/courier-authlib-0.66.4
>=net-libs/courier-unicode-2
diff --git a/net-mail/courier-imap/courier-imap-5.0.10.ebuild b/net-mail/courier-imap/courier-imap-5.0.10.ebuild
index f2942b5e36f..18471a0b84f 100644
--- a/net-mail/courier-imap/courier-imap-5.0.10.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.10.ebuild
@@ -12,14 +12,13 @@ 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"
+IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
CDEPEND="
gnutls? ( net-libs/gnutls[tools] )
!gnutls? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
+ dev-libs/openssl:0=
)
>=net-libs/courier-authlib-0.66.4
>=net-libs/courier-unicode-2
diff --git a/net-mail/courier-imap/courier-imap-5.0.11.ebuild b/net-mail/courier-imap/courier-imap-5.0.11.ebuild
index e01978c17a4..060bb3b5a84 100644
--- a/net-mail/courier-imap/courier-imap-5.0.11.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.11.ebuild
@@ -12,14 +12,13 @@ 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"
+IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
CDEPEND="
gnutls? ( net-libs/gnutls[tools] )
!gnutls? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
+ dev-libs/openssl:0=
)
>=net-libs/courier-authlib-0.66.4
>=net-libs/courier-unicode-2
diff --git a/net-mail/courier-imap/courier-imap-5.0.14.ebuild b/net-mail/courier-imap/courier-imap-5.0.14.ebuild
index e01978c17a4..060bb3b5a84 100644
--- a/net-mail/courier-imap/courier-imap-5.0.14.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.14.ebuild
@@ -12,14 +12,13 @@ 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"
+IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
CDEPEND="
gnutls? ( net-libs/gnutls[tools] )
!gnutls? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
+ dev-libs/openssl:0=
)
>=net-libs/courier-authlib-0.66.4
>=net-libs/courier-unicode-2
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 b68c4fdd40d..99e07788d57 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -12,14 +12,13 @@ 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"
+IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
CDEPEND="
gnutls? ( net-libs/gnutls[tools] )
!gnutls? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
+ dev-libs/openssl:0=
)
>=net-libs/courier-authlib-0.66.4
>=net-libs/courier-unicode-2
diff --git a/net-mail/courier-imap/courier-imap-5.0.8.ebuild b/net-mail/courier-imap/courier-imap-5.0.8.ebuild
index b646db648b5..2fc791acd0b 100644
--- a/net-mail/courier-imap/courier-imap-5.0.8.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.8.ebuild
@@ -12,14 +12,13 @@ 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"
+IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
CDEPEND="
gnutls? ( net-libs/gnutls[tools] )
!gnutls? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
+ dev-libs/openssl:0=
)
>=net-libs/courier-authlib-0.66.4
>=net-libs/courier-unicode-2
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
index 89704f000e4..7b287e48358 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -12,14 +12,13 @@ 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"
+IUSE="berkdb debug fam +gdbm gnutls ipv6 selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
CDEPEND="
gnutls? ( net-libs/gnutls[tools] )
!gnutls? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
+ dev-libs/openssl:0=
)
>=net-libs/courier-authlib-0.66.4
>=net-libs/courier-unicode-2
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-04-23 19:45 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2021-04-23 19:45 UTC (permalink / raw
To: gentoo-commits
commit: b1104cb002f2d839fa2c1bdb6cbd9d744a985598
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 23 19:45:19 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Apr 23 19:45:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1104cb0
net-mail/courier-imap: fix qa warning OutdatedBlocker
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 3 +--
net-mail/courier-imap/courier-imap-5.0.10.ebuild | 3 +--
net-mail/courier-imap/courier-imap-5.0.11.ebuild | 1 -
net-mail/courier-imap/courier-imap-5.0.14.ebuild | 1 -
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 1 -
net-mail/courier-imap/courier-imap-5.0.8.ebuild | 3 +--
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 1 -
7 files changed, 3 insertions(+), 10 deletions(-)
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 2f21769da57..7e69d290f0f 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-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -42,7 +42,6 @@ RDEPEND="${RDEPEND}
!mail-mta/courier
!net-mail/bincimap
!net-mail/cyrus-imapd
- !net-mail/uw-imap
"
RC_VER="4.0.6-r1"
diff --git a/net-mail/courier-imap/courier-imap-5.0.10.ebuild b/net-mail/courier-imap/courier-imap-5.0.10.ebuild
index 3d9b947d0c6..f2942b5e36f 100644
--- a/net-mail/courier-imap/courier-imap-5.0.10.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -43,7 +43,6 @@ RDEPEND="${RDEPEND}
!mail-mta/courier
!net-mail/bincimap
!net-mail/cyrus-imapd
- !net-mail/uw-imap
"
RC_VER="4.0.6-r1"
diff --git a/net-mail/courier-imap/courier-imap-5.0.11.ebuild b/net-mail/courier-imap/courier-imap-5.0.11.ebuild
index 03ee783a1b3..e01978c17a4 100644
--- a/net-mail/courier-imap/courier-imap-5.0.11.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.11.ebuild
@@ -43,7 +43,6 @@ RDEPEND="${RDEPEND}
!mail-mta/courier
!net-mail/bincimap
!net-mail/cyrus-imapd
- !net-mail/uw-imap
"
RC_VER="4.0.6-r1"
diff --git a/net-mail/courier-imap/courier-imap-5.0.14.ebuild b/net-mail/courier-imap/courier-imap-5.0.14.ebuild
index 03ee783a1b3..e01978c17a4 100644
--- a/net-mail/courier-imap/courier-imap-5.0.14.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.14.ebuild
@@ -43,7 +43,6 @@ RDEPEND="${RDEPEND}
!mail-mta/courier
!net-mail/bincimap
!net-mail/cyrus-imapd
- !net-mail/uw-imap
"
RC_VER="4.0.6-r1"
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 2e22ac2f7fe..b68c4fdd40d 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -43,7 +43,6 @@ RDEPEND="${RDEPEND}
!mail-mta/courier
!net-mail/bincimap
!net-mail/cyrus-imapd
- !net-mail/uw-imap
"
RC_VER="4.0.6-r1"
diff --git a/net-mail/courier-imap/courier-imap-5.0.8.ebuild b/net-mail/courier-imap/courier-imap-5.0.8.ebuild
index 2241aa00f31..b646db648b5 100644
--- a/net-mail/courier-imap/courier-imap-5.0.8.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -43,7 +43,6 @@ RDEPEND="${RDEPEND}
!mail-mta/courier
!net-mail/bincimap
!net-mail/cyrus-imapd
- !net-mail/uw-imap
"
RC_VER="4.0.6-r1"
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
index 1c3a54e52b3..89704f000e4 100644
--- a/net-mail/courier-imap/courier-imap-5.1.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -43,7 +43,6 @@ RDEPEND="${RDEPEND}
!mail-mta/courier
!net-mail/bincimap
!net-mail/cyrus-imapd
- !net-mail/uw-imap
"
RC_VER="4.0.6-r1"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-04-10 16:16 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2021-04-10 16:16 UTC (permalink / raw
To: gentoo-commits
commit: a6e5d0aa81a113d53d0003bd8d13c13d1e72c61d
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 10 16:15:45 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Apr 10 16:15:45 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6e5d0aa
net-mail/courier-imap: fix automake
Closes: https://bugs.gentoo.org/779625
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.0.14.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/net-mail/courier-imap/courier-imap-5.0.14.ebuild b/net-mail/courier-imap/courier-imap-5.0.14.ebuild
index efa94a72c72..03ee783a1b3 100644
--- a/net-mail/courier-imap/courier-imap-5.0.14.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.14.ebuild
@@ -81,6 +81,7 @@ src_prepare() {
eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
fi
+ cd libs/rootcerts & autoupdate
eautoreconf
}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-04-04 15:29 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2021-04-04 15:29 UTC (permalink / raw
To: gentoo-commits
commit: 6a866bb45f52d2567914e99ca77cc855b4a10b4e
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 4 15:28:05 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Apr 4 15:28:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a866bb4
net-mail/courier-imap: version bump to 5.1.2
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-5.1.2.ebuild | 254 ++++++++++++++++++++++++
2 files changed, 255 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index b05c2ba46eb..deebe3c4701 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -4,3 +4,4 @@ DIST courier-imap-5.0.11.tar.bz2 3356907 BLAKE2B 6d4aa2d67ef92b318a87d8c71232d18
DIST courier-imap-5.0.14.tar.bz2 3359363 BLAKE2B 23a734494ee3591b33361f209a465a54f893dd5ed30295fbda4d11707664f9750d5dd422449ff4a159a1fa8130d201bb50cde3fd56051293c45fe53d62c8ed41 SHA512 fa6feb9c6dc04a53e569cb0fdbf34cf4bbccd890cb827a4a0948bd221eb41834033cc7cb7b4c03e8b21c5a59545d73b845865a4da464c1b1b546f70805b18c31
DIST courier-imap-5.0.7.tar.bz2 3296879 BLAKE2B 022522387cc667223c44354f4f3da822ac8abab19222bfc69a9dde4b7460665c97ca565b21705519f3bc0dfbe1d69bbd2ef288329bfa7b8d99e3251a4f9d3e98 SHA512 a0be5cb3e6bc42f4bf45b14132e7d4ad7e822c26aa3b3dd4bfefa7783a047b9c928ad503b462c8e832fddefb356af58b4adfa5ee91481bd024149992157a1aad
DIST courier-imap-5.0.8.tar.bz2 3296810 BLAKE2B 43b9cf61253145c4f877ed350140159014d812c197f82cb2621db4484c66ae57e0c1a237ba0f13e0edb35439f562662557ca98d3193ba8b6e35e392dac00cd03 SHA512 bc60f4540da8db02758d593694ca4b7336a7d65fd3c48ea5c373e18abfc9973db836c505f77caf844529947ad0c4ef0dc276898e437ca60f0facb2ec6650702c
+DIST courier-imap-5.1.2.tar.bz2 3361084 BLAKE2B 0b42ec3a765c1adf425408f72b34beb7626bb9707df5adbc86b61cf60a12c3cbcad808a3173441666925f3ac4e44c137b611d4c8213566e2dc2e8fb8122d37c8 SHA512 697b7c91ea603ae67a3c167238841dcad266c6262965e7753bb2d2efee3a434c405ea55d35393330f7a55c2efc2cefbcca339c8b8f4867513e5157acc42c498d
diff --git a/net-mail/courier-imap/courier-imap-5.1.2.ebuild b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
new file mode 100644
index 00000000000..1c3a54e52b3
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-5.1.2.ebuild
@@ -0,0 +1,254 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools libtool readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+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"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls[tools] )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ >=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 )
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ userland_GNU? ( sys-process/procps )
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+# get rid of old style virtual - bug 350792
+RDEPEND="${RDEPEND}
+ !mail-mta/courier
+ !net-mail/bincimap
+ !net-mail/cyrus-imapd
+ !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-aclocal-fix.patch"
+ "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --with-notice=unicode \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --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}
+}
+
+#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
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
+
+ for initd in courier-{imapd,pop3d}{,-ssl} ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ 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 courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/${PN}.cron ${PN}
+}
+
+pkg_postinst() {
+ # 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}"
+
+ 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 )"
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-03-20 13:39 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2021-03-20 13:39 UTC (permalink / raw
To: gentoo-commits
commit: 25cb1405bddec3b4344301da15d2cba1b3c12b6f
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 13:39:04 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 13:39:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25cb1405
net-mail/courier-imap: version bump to 5.0.14
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-5.0.14.ebuild | 255 +++++++++++++++++++++++
2 files changed, 256 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 1fa825dd9b1..b05c2ba46eb 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,5 +1,6 @@
DIST courier-imap-4.18.2.tar.bz2 3205230 BLAKE2B dd52c55698ac4307a52ef76ed6ca54d4289e00aacff487609cfe01bce351e180561b4bec4904e2701a0c05916bbac2e301409530ccbdcd08474b50be4c1365e3 SHA512 821f0151012f1a357faf705d938d8498a939cc994957398c0d5e2b7a619eabe202549f174e625161545ba6a94b753072458e9f0edc30cbb2443b15405740347e
DIST courier-imap-5.0.10.tar.bz2 3324560 BLAKE2B f59034184c6423ba4c8a238e1756e431bc240a5e80db5abc62af10eb776446f7c6afcba2935dfd49a7cf5dfec83087f3cdfe98785b13faa23287b0c6d24a9bd9 SHA512 7b1bd179fb7d9ed99ea4a92414e13d1313d10239bd1d7ddef76d17bb618e6dfd5d51f11d1fdb2fcd6a204a5000e3756ecb30aa2c791c6063ab3991dde65a3590
DIST courier-imap-5.0.11.tar.bz2 3356907 BLAKE2B 6d4aa2d67ef92b318a87d8c71232d1801d908143c044f03891c9130cb8458958c4c0cbcd214d4f548a2e5e247a37120d1e824469c7b77b8e02d1f75fe2a77e5c SHA512 5fbadfe3a554596a1fdd74648b002964e18d933209f0b832c4782a242c5c76336274756dcd6cc086f55ab66ba4a7292d6d5b9bfe84c0d776f6b3b14d7531bedc
+DIST courier-imap-5.0.14.tar.bz2 3359363 BLAKE2B 23a734494ee3591b33361f209a465a54f893dd5ed30295fbda4d11707664f9750d5dd422449ff4a159a1fa8130d201bb50cde3fd56051293c45fe53d62c8ed41 SHA512 fa6feb9c6dc04a53e569cb0fdbf34cf4bbccd890cb827a4a0948bd221eb41834033cc7cb7b4c03e8b21c5a59545d73b845865a4da464c1b1b546f70805b18c31
DIST courier-imap-5.0.7.tar.bz2 3296879 BLAKE2B 022522387cc667223c44354f4f3da822ac8abab19222bfc69a9dde4b7460665c97ca565b21705519f3bc0dfbe1d69bbd2ef288329bfa7b8d99e3251a4f9d3e98 SHA512 a0be5cb3e6bc42f4bf45b14132e7d4ad7e822c26aa3b3dd4bfefa7783a047b9c928ad503b462c8e832fddefb356af58b4adfa5ee91481bd024149992157a1aad
DIST courier-imap-5.0.8.tar.bz2 3296810 BLAKE2B 43b9cf61253145c4f877ed350140159014d812c197f82cb2621db4484c66ae57e0c1a237ba0f13e0edb35439f562662557ca98d3193ba8b6e35e392dac00cd03 SHA512 bc60f4540da8db02758d593694ca4b7336a7d65fd3c48ea5c373e18abfc9973db836c505f77caf844529947ad0c4ef0dc276898e437ca60f0facb2ec6650702c
diff --git a/net-mail/courier-imap/courier-imap-5.0.14.ebuild b/net-mail/courier-imap/courier-imap-5.0.14.ebuild
new file mode 100644
index 00000000000..efa94a72c72
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-5.0.14.ebuild
@@ -0,0 +1,255 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools libtool readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+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"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls[tools] )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ >=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 )
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ userland_GNU? ( sys-process/procps )
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+# get rid of old style virtual - bug 350792
+RDEPEND="${RDEPEND}
+ !mail-mta/courier
+ !net-mail/bincimap
+ !net-mail/cyrus-imapd
+ !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"
+ "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --with-notice=unicode \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --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}
+}
+
+#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
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
+
+ for initd in courier-{imapd,pop3d}{,-ssl} ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ 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 courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/${PN}.cron ${PN}
+}
+
+pkg_postinst() {
+ # 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}"
+
+ 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 )"
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-03-20 12:52 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2021-03-20 12:52 UTC (permalink / raw
To: gentoo-commits
commit: bfdd730d8a5a3d5e8a4a06039e607288abadaa4e
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 12:52:17 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 12:52:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfdd730d
net-mail/courier-imap: update autoconf files
Closes: https://bugs.gentoo.org/775932
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.0.11.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/net-mail/courier-imap/courier-imap-5.0.11.ebuild b/net-mail/courier-imap/courier-imap-5.0.11.ebuild
index efa94a72c72..03ee783a1b3 100644
--- a/net-mail/courier-imap/courier-imap-5.0.11.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.11.ebuild
@@ -81,6 +81,7 @@ src_prepare() {
eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
fi
+ cd libs/rootcerts & autoupdate
eautoreconf
}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2021-01-13 8:47 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2021-01-13 8:47 UTC (permalink / raw
To: gentoo-commits
commit: f0693e44ecf088612a03365ee20bc00a26f7f83f
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 13 08:46:49 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Jan 13 08:46:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0693e44
net-mail/courier-imap: version bump to 5.0.11
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-5.0.11.ebuild | 255 +++++++++++++++++++++++
2 files changed, 256 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 042c0a482f0..1fa825dd9b1 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,4 +1,5 @@
DIST courier-imap-4.18.2.tar.bz2 3205230 BLAKE2B dd52c55698ac4307a52ef76ed6ca54d4289e00aacff487609cfe01bce351e180561b4bec4904e2701a0c05916bbac2e301409530ccbdcd08474b50be4c1365e3 SHA512 821f0151012f1a357faf705d938d8498a939cc994957398c0d5e2b7a619eabe202549f174e625161545ba6a94b753072458e9f0edc30cbb2443b15405740347e
DIST courier-imap-5.0.10.tar.bz2 3324560 BLAKE2B f59034184c6423ba4c8a238e1756e431bc240a5e80db5abc62af10eb776446f7c6afcba2935dfd49a7cf5dfec83087f3cdfe98785b13faa23287b0c6d24a9bd9 SHA512 7b1bd179fb7d9ed99ea4a92414e13d1313d10239bd1d7ddef76d17bb618e6dfd5d51f11d1fdb2fcd6a204a5000e3756ecb30aa2c791c6063ab3991dde65a3590
+DIST courier-imap-5.0.11.tar.bz2 3356907 BLAKE2B 6d4aa2d67ef92b318a87d8c71232d1801d908143c044f03891c9130cb8458958c4c0cbcd214d4f548a2e5e247a37120d1e824469c7b77b8e02d1f75fe2a77e5c SHA512 5fbadfe3a554596a1fdd74648b002964e18d933209f0b832c4782a242c5c76336274756dcd6cc086f55ab66ba4a7292d6d5b9bfe84c0d776f6b3b14d7531bedc
DIST courier-imap-5.0.7.tar.bz2 3296879 BLAKE2B 022522387cc667223c44354f4f3da822ac8abab19222bfc69a9dde4b7460665c97ca565b21705519f3bc0dfbe1d69bbd2ef288329bfa7b8d99e3251a4f9d3e98 SHA512 a0be5cb3e6bc42f4bf45b14132e7d4ad7e822c26aa3b3dd4bfefa7783a047b9c928ad503b462c8e832fddefb356af58b4adfa5ee91481bd024149992157a1aad
DIST courier-imap-5.0.8.tar.bz2 3296810 BLAKE2B 43b9cf61253145c4f877ed350140159014d812c197f82cb2621db4484c66ae57e0c1a237ba0f13e0edb35439f562662557ca98d3193ba8b6e35e392dac00cd03 SHA512 bc60f4540da8db02758d593694ca4b7336a7d65fd3c48ea5c373e18abfc9973db836c505f77caf844529947ad0c4ef0dc276898e437ca60f0facb2ec6650702c
diff --git a/net-mail/courier-imap/courier-imap-5.0.11.ebuild b/net-mail/courier-imap/courier-imap-5.0.11.ebuild
new file mode 100644
index 00000000000..efa94a72c72
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-5.0.11.ebuild
@@ -0,0 +1,255 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools libtool readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+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"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls[tools] )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ >=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 )
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ userland_GNU? ( sys-process/procps )
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+# get rid of old style virtual - bug 350792
+RDEPEND="${RDEPEND}
+ !mail-mta/courier
+ !net-mail/bincimap
+ !net-mail/cyrus-imapd
+ !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"
+ "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --with-notice=unicode \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --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}
+}
+
+#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
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
+
+ for initd in courier-{imapd,pop3d}{,-ssl} ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ 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 courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/${PN}.cron ${PN}
+}
+
+pkg_postinst() {
+ # 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}"
+
+ 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 )"
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2020-06-19 21:16 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2020-06-19 21:16 UTC (permalink / raw
To: gentoo-commits
commit: 0e395ec796d5c2240f958f2eda6c87e88ef00451
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 19 21:15:57 2020 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 21:15:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e395ec7
net-mail/courier-imap: readd on request 4.18.2
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 241 +++++++++++++++++++++++
2 files changed, 242 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index eac648ddd14..042c0a482f0 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,3 +1,4 @@
+DIST courier-imap-4.18.2.tar.bz2 3205230 BLAKE2B dd52c55698ac4307a52ef76ed6ca54d4289e00aacff487609cfe01bce351e180561b4bec4904e2701a0c05916bbac2e301409530ccbdcd08474b50be4c1365e3 SHA512 821f0151012f1a357faf705d938d8498a939cc994957398c0d5e2b7a619eabe202549f174e625161545ba6a94b753072458e9f0edc30cbb2443b15405740347e
DIST courier-imap-5.0.10.tar.bz2 3324560 BLAKE2B f59034184c6423ba4c8a238e1756e431bc240a5e80db5abc62af10eb776446f7c6afcba2935dfd49a7cf5dfec83087f3cdfe98785b13faa23287b0c6d24a9bd9 SHA512 7b1bd179fb7d9ed99ea4a92414e13d1313d10239bd1d7ddef76d17bb618e6dfd5d51f11d1fdb2fcd6a204a5000e3756ecb30aa2c791c6063ab3991dde65a3590
DIST courier-imap-5.0.7.tar.bz2 3296879 BLAKE2B 022522387cc667223c44354f4f3da822ac8abab19222bfc69a9dde4b7460665c97ca565b21705519f3bc0dfbe1d69bbd2ef288329bfa7b8d99e3251a4f9d3e98 SHA512 a0be5cb3e6bc42f4bf45b14132e7d4ad7e822c26aa3b3dd4bfefa7783a047b9c928ad503b462c8e832fddefb356af58b4adfa5ee91481bd024149992157a1aad
DIST courier-imap-5.0.8.tar.bz2 3296810 BLAKE2B 43b9cf61253145c4f877ed350140159014d812c197f82cb2621db4484c66ae57e0c1a237ba0f13e0edb35439f562662557ca98d3193ba8b6e35e392dac00cd03 SHA512 bc60f4540da8db02758d593694ca4b7336a7d65fd3c48ea5c373e18abfc9973db836c505f77caf844529947ad0c4ef0dc276898e437ca60f0facb2ec6650702c
diff --git a/net-mail/courier-imap/courier-imap-4.18.2.ebuild b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
new file mode 100644
index 00000000000..2f21769da57
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -0,0 +1,241 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools libtool readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+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"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ >=net-libs/courier-authlib-0.66.4
+ >=net-libs/courier-unicode-2
+ >=net-mail/mailbase-0.00-r8
+ berkdb? ( sys-libs/db:= )
+ fam? ( virtual/fam )
+ gdbm? ( >=sys-libs/gdbm-1.8.0 )
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ userland_GNU? ( sys-process/procps )
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+# get rid of old style virtual - bug 350792
+RDEPEND="${RDEPEND}
+ !mail-mta/courier
+ !net-mail/bincimap
+ !net-mail/cyrus-imapd
+ !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}
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.17-disable-fam-configure.ac.patch"
+ "${FILESDIR}/${PN}-4.17-aclocal-fix.patch"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --enable-workarounds-for-imap-client-bugs \
+ --with-mailuser=mail \
+ --with-mailgroup=mail \
+ $(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, 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
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
+
+ for initd in courier-{imapd,pop3d}{,-ssl} ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service \
+ courier-authdaemond.service
+ systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit "${FILESDIR}"/courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+}
+
+pkg_postinst() {
+ # 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}"
+
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2020-05-24 9:30 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2020-05-24 9:30 UTC (permalink / raw
To: gentoo-commits
commit: b756fbc1ab6eb931c91ccdbff5d8e5194246ba22
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun May 24 09:29:36 2020 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun May 24 09:29:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b756fbc1
net-mail/courier-imap: version bump to 5.0.10
Closes: https://bugs.gentoo.org/724590
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-5.0.10.ebuild | 255 +++++++++++++++++++++++
2 files changed, 256 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index e1c826c1973..eac648ddd14 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,2 +1,3 @@
+DIST courier-imap-5.0.10.tar.bz2 3324560 BLAKE2B f59034184c6423ba4c8a238e1756e431bc240a5e80db5abc62af10eb776446f7c6afcba2935dfd49a7cf5dfec83087f3cdfe98785b13faa23287b0c6d24a9bd9 SHA512 7b1bd179fb7d9ed99ea4a92414e13d1313d10239bd1d7ddef76d17bb618e6dfd5d51f11d1fdb2fcd6a204a5000e3756ecb30aa2c791c6063ab3991dde65a3590
DIST courier-imap-5.0.7.tar.bz2 3296879 BLAKE2B 022522387cc667223c44354f4f3da822ac8abab19222bfc69a9dde4b7460665c97ca565b21705519f3bc0dfbe1d69bbd2ef288329bfa7b8d99e3251a4f9d3e98 SHA512 a0be5cb3e6bc42f4bf45b14132e7d4ad7e822c26aa3b3dd4bfefa7783a047b9c928ad503b462c8e832fddefb356af58b4adfa5ee91481bd024149992157a1aad
DIST courier-imap-5.0.8.tar.bz2 3296810 BLAKE2B 43b9cf61253145c4f877ed350140159014d812c197f82cb2621db4484c66ae57e0c1a237ba0f13e0edb35439f562662557ca98d3193ba8b6e35e392dac00cd03 SHA512 bc60f4540da8db02758d593694ca4b7336a7d65fd3c48ea5c373e18abfc9973db836c505f77caf844529947ad0c4ef0dc276898e437ca60f0facb2ec6650702c
diff --git a/net-mail/courier-imap/courier-imap-5.0.10.ebuild b/net-mail/courier-imap/courier-imap-5.0.10.ebuild
new file mode 100644
index 00000000000..3d9b947d0c6
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-5.0.10.ebuild
@@ -0,0 +1,255 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools libtool readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+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"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls[tools] )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ >=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 )
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ userland_GNU? ( sys-process/procps )
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+# get rid of old style virtual - bug 350792
+RDEPEND="${RDEPEND}
+ !mail-mta/courier
+ !net-mail/bincimap
+ !net-mail/cyrus-imapd
+ !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"
+ "${FILESDIR}/${PN}-5.0.8-ar-fix.patch"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --with-notice=unicode \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --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}
+}
+
+#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
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
+
+ for initd in courier-{imapd,pop3d}{,-ssl} ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ 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 courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/${PN}.cron ${PN}
+}
+
+pkg_postinst() {
+ # 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}"
+
+ 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 )"
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2020-01-26 21:08 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2020-01-26 21:08 UTC (permalink / raw
To: gentoo-commits
commit: 9fd2c6357eda52159e1df8daab1e3da41bf0863b
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 26 21:07:36 2020 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 21:07:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd2c635
net-mail/courier-imap: Removing old version
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 -
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 241 -----------------------
2 files changed, 242 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index c3e60df089a..e1c826c1973 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,3 +1,2 @@
-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
DIST courier-imap-5.0.8.tar.bz2 3296810 BLAKE2B 43b9cf61253145c4f877ed350140159014d812c197f82cb2621db4484c66ae57e0c1a237ba0f13e0edb35439f562662557ca98d3193ba8b6e35e392dac00cd03 SHA512 bc60f4540da8db02758d593694ca4b7336a7d65fd3c48ea5c373e18abfc9973db836c505f77caf844529947ad0c4ef0dc276898e437ca60f0facb2ec6650702c
diff --git a/net-mail/courier-imap/courier-imap-4.18.2.ebuild b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
deleted file mode 100644
index 9b1f0e577e4..00000000000
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ /dev/null
@@ -1,241 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools libtool readme.gentoo-r1 systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-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"
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls )
- !gnutls? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- )
- >=net-libs/courier-authlib-0.66.4
- >=net-libs/courier-unicode-2
- >=net-mail/mailbase-0.00-r8
- berkdb? ( sys-libs/db:= )
- fam? ( virtual/fam )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )
-"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )
-"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-courier )
-"
-
-# get rid of old style virtual - bug 350792
-RDEPEND="${RDEPEND}
- !mail-mta/courier
- !net-mail/bincimap
- !net-mail/cyrus-imapd
- !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}
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-4.17-disable-fam-configure.ac.patch"
- "${FILESDIR}/${PN}-4.17-aclocal-fix.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- $(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, 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
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service \
- courier-authdaemond.service
- systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit "${FILESDIR}"/courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || 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*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
-}
-
-pkg_postinst() {
- # 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}"
-
- readme.gentoo_print_elog
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2020-01-22 20:28 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2020-01-22 20:28 UTC (permalink / raw
To: gentoo-commits
commit: e9144ca105467c2c292d32e9e2feaeaa06da4698
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 22 20:28:11 2020 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Jan 22 20:28:11 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9144ca1
net-mail/courier-imap: Fix dangling symlink
Closes: https://bugs.gentoo.org/706092
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 ca930cb88c3..1850e72c378 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -187,7 +187,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" \
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2020-01-14 20:11 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2020-01-14 20:11 UTC (permalink / raw
To: gentoo-commits
commit: e1dea9721c09b6b60ccbe54071247c68cba13389
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 14 20:11:40 2020 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jan 14 20:11:40 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1dea972
net-mail/courier-imap: AbsoluteSymlink fix and rm and old version
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 -
net-mail/courier-imap/courier-imap-4.17.3.ebuild | 232 -----------------------
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 4 +-
3 files changed, 2 insertions(+), 235 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index d8de25f83d8..c3e60df089a 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,4 +1,3 @@
-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
DIST courier-imap-5.0.8.tar.bz2 3296810 BLAKE2B 43b9cf61253145c4f877ed350140159014d812c197f82cb2621db4484c66ae57e0c1a237ba0f13e0edb35439f562662557ca98d3193ba8b6e35e392dac00cd03 SHA512 bc60f4540da8db02758d593694ca4b7336a7d65fd3c48ea5c373e18abfc9973db836c505f77caf844529947ad0c4ef0dc276898e437ca60f0facb2ec6650702c
diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
deleted file mode 100644
index ffbb08e8e09..00000000000
--- a/net-mail/courier-imap/courier-imap-4.17.3.ebuild
+++ /dev/null
@@ -1,232 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools libtool systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="https://www.courier-mta.org/imap/"
-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"
-
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls )
- !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-mail/mailbase-0.00-r8
- berkdb? ( sys-libs/db:= )
- fam? ( virtual/fam )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )"
-RDEPEND="${CDEPEND}
- 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"
-
-RC_VER="4.0.6-r1"
-INITD_VER="4.0.6-r1"
-
-PATCHES=(
- "${FILESDIR}/${PN}-4.17-disable-fam-configure.ac.patch"
- "${FILESDIR}/${PN}-4.17-aclocal-fix.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- $(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_install() {
- dodir "/var/lib/${PN}" /etc/pam.d
- default
- rm -r "${D}/etc/pam.d" || die
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- 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" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service \
- courier-authdaemond.service
- systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit "${FILESDIR}"/courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || die "failed to rename maildirmake.1 to courier-maildirmake.1"
-
- dodoc AUTHORS INSTALL NEWS README ChangeLog
- dodoc "${FILESDIR}/${PN}-gentoo.readme"
- docinto imap
- dodoc libs/imap/ChangeLog libs/imap/BUGS* libs/imap/README*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
-}
-
-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."
-}
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 3d62c9734bf..ca930cb88c3 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" \
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2020-01-09 7:29 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2020-01-09 7:29 UTC (permalink / raw
To: gentoo-commits
commit: e021026ab6289c8baf1b804044361e39f018da97
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 9 07:29:10 2020 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Jan 9 07:29:10 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e021026a
net-mail/courier-imap: Version bump to 5.0.8
Closes: https://bugs.gentoo.org/704598
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-5.0.8.ebuild | 254 ++++++++++++++++++++++++
2 files changed, 255 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index ee46b370dee..d8de25f83d8 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,3 +1,4 @@
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
+DIST courier-imap-5.0.8.tar.bz2 3296810 BLAKE2B 43b9cf61253145c4f877ed350140159014d812c197f82cb2621db4484c66ae57e0c1a237ba0f13e0edb35439f562662557ca98d3193ba8b6e35e392dac00cd03 SHA512 bc60f4540da8db02758d593694ca4b7336a7d65fd3c48ea5c373e18abfc9973db836c505f77caf844529947ad0c4ef0dc276898e437ca60f0facb2ec6650702c
diff --git a/net-mail/courier-imap/courier-imap-5.0.8.ebuild b/net-mail/courier-imap/courier-imap-5.0.8.ebuild
new file mode 100644
index 00000000000..f12cb6999da
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-5.0.8.ebuild
@@ -0,0 +1,254 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools libtool readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+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"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls[tools] )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ >=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 )
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ userland_GNU? ( sys-process/procps )
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+# get rid of old style virtual - bug 350792
+RDEPEND="${RDEPEND}
+ !mail-mta/courier
+ !net-mail/bincimap
+ !net-mail/cyrus-imapd
+ !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"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --with-notice=unicode \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --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}
+}
+
+#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
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ dosym ../../sbin/courierlogger "/usr/$(get_libdir)/${PN}/courierlogger"
+
+ for initd in courier-{imapd,pop3d}{,-ssl} ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ 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 courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+ exeinto /etc/cron.monthly
+ newexe "${FILESDIR}"/${PN}.cron ${PN}
+}
+
+pkg_postinst() {
+ # 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}"
+
+ 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 )"
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2020-01-03 14:45 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2020-01-03 14:45 UTC (permalink / raw
To: gentoo-commits
commit: dfbe46d1c5f677a392e483c56087aee9b347bf04
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 3 14:45:43 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jan 3 14:45:43 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfbe46d1
net-mail/courier-imap: s390 stable wrt bug #698222
Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="s390"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 c7e330f658f..f7ff0fdf79d 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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-11-14 11:55 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2019-11-14 11:55 UTC (permalink / raw
To: gentoo-commits
commit: 46453a05bd8c515e81bf627c9a310cd93bf1473c
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 14 11:55:44 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Nov 14 11:55:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46453a05
net-mail/courier-imap: ia64 stable wrt bug #698222
Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 110269bcb60..c7e330f658f 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-11-12 18:07 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2019-11-12 18:07 UTC (permalink / raw
To: gentoo-commits
commit: 6fa6f0ae6c3a61994738bb339d268a05e0cfb379
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 12 18:07:13 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Nov 12 18:07:13 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa6f0ae
net-mail/courier-imap: ppc stable wrt bug #698222
Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 96d532786d8..110269bcb60 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-11-07 20:14 Aaron Bauman
0 siblings, 0 replies; 114+ messages in thread
From: Aaron Bauman @ 2019-11-07 20:14 UTC (permalink / raw
To: gentoo-commits
commit: 454f49b2f1ab2e760c469bf74dc2a94866bd1600
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 7 20:14:28 2019 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Nov 7 20:14:42 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=454f49b2
net-mail/courier-imap: arm64 stable (bug #698222)
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
Package-Manager: Portage-2.3.78, Repoman-2.3.17
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 47b394cfdfa..96d532786d8 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-11-06 19:27 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2019-11-06 19:27 UTC (permalink / raw
To: gentoo-commits
commit: 309fee1b3d402bbf7506610e1737d955d3fa9e89
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 6 19:27:24 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Nov 6 19:27:24 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309fee1b
net-mail/courier-imap: add tools to gnutls dependency
Closes: https://bugs.gentoo.org/699342
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 3e50fab8848..47b394cfdfa 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -16,7 +16,7 @@ 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= )
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-11-01 11:16 Mikle Kolyada
0 siblings, 0 replies; 114+ messages in thread
From: Mikle Kolyada @ 2019-11-01 11:16 UTC (permalink / raw
To: gentoo-commits
commit: f8dde42f1f285b7f6b62f84eeb532ab7b373f7fd
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 1 11:15:45 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Nov 1 11:15:45 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8dde42f
net-mail/courier-imap: arm stable wrt bug #698222
Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 c6499cdb38a..3e50fab8848 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-10-30 20:11 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2019-10-30 20:11 UTC (permalink / raw
To: gentoo-commits
commit: 5c95d15b9438f1d198b511f73cc23603998d2f5a
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 30 20:10:46 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Oct 30 20:10:46 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c95d15b
net-mail/courier-imap: adding info as courier-imap run now as user mail
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
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 d4cbd2694fc..c6499cdb38a 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -62,7 +62,7 @@ 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. Locatio has changed
+and rerun mkdhparams if needed. Location has changed
"
PATCHES=(
@@ -244,4 +244,11 @@ pkg_postinst() {
fperms 0755 "${ROOT}/usr/$(get_libdir)/${PN}"
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 )"
}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-10-28 7:43 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2019-10-28 7:43 UTC (permalink / raw
To: gentoo-commits
commit: a6fdbe18462a69156314e06115ba8256ad8fd6f7
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 28 07:43:17 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Oct 28 07:43:17 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6fdbe18
net-mail/courier-imap: ppc64 stable wrt bug #698222
Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 20ab5a2f967..d4cbd2694fc 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-10-26 19:49 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2019-10-26 19:49 UTC (permalink / raw
To: gentoo-commits
commit: 03d46d75338cfe2a2cdd4d426a4f50e08b2b17ef
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 26 19:49:29 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Oct 26 19:49:29 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03d46d75
net-mail/courier-imap: Fix dependency on libidn
Closes: https://bugs.gentoo.org/698576
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 1 +
1 file changed, 1 insertion(+)
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 bc25dc53ec1..20ab5a2f967 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -24,6 +24,7 @@ CDEPEND="
>=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 )
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-10-26 15:16 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2019-10-26 15:16 UTC (permalink / raw
To: gentoo-commits
commit: aea93c2e18df9cab69992e6a0ada1640b7aadf07
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 26 15:15:57 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Oct 26 15:15:57 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aea93c2e
net-mail/courier-imap: amd64 stable wrt bug #698222
Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 d1bd47b7d35..bc25dc53ec1 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-10-23 13:39 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2019-10-23 13:39 UTC (permalink / raw
To: gentoo-commits
commit: aa6ba54e2c408408eff9eec626ee123be91207f8
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 23 13:38:47 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 13:38:47 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa6ba54e
net-mail/courier-imap: x86 stable wrt bug #698222
Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 859c7b600a2..505b275d874 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-07-22 16:49 Aaron Bauman
0 siblings, 0 replies; 114+ messages in thread
From: Aaron Bauman @ 2019-07-22 16:49 UTC (permalink / raw
To: gentoo-commits
commit: 97fbda972efbd543d0a08f8dbb00b1a76db7fd0b
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 22 16:49:25 2019 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Jul 22 16:49:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97fbda97
net-mail/courier-imap: arm64 stable (bug #676732)
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="arm64"
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 e0b412a9d37..3d62c9734bf 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-07-04 17:00 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2019-07-04 17:00 UTC (permalink / raw
To: gentoo-commits
commit: 52a96cc0fe6858f286691984b6fcb3beec23aca9
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 4 16:59:48 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Jul 4 16:59:48 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52a96cc0
net-mail/courier-imap: Move dhparams.pem directory to /etc/courier-imap
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
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 ca3d3db1800..c109323e7fa 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -61,6 +61,7 @@ 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. Locatio has changed
"
PATCHES=(
@@ -111,19 +112,11 @@ 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() {
@@ -190,7 +183,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" \
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-07-02 7:27 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2019-07-02 7:27 UTC (permalink / raw
To: gentoo-commits
commit: 04434151ae097d3153723b8086dd345dc76ed5b3
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 2 07:27:09 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jul 2 07:27:09 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04434151
net-mail/courier-imap: Fix systemd files
Closes: https://bugs.gentoo.org/678762
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 13 ++++++++++---
net-mail/courier-imap/metadata.xml | 5 ++++-
2 files changed, 14 insertions(+), 4 deletions(-)
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 811fe4f3e02..ca3d3db1800 100644
--- a/net-mail/courier-imap/courier-imap-5.0.7.ebuild
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -200,11 +200,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}"
diff --git a/net-mail/courier-imap/metadata.xml b/net-mail/courier-imap/metadata.xml
index de3c5e7d18c..3234ad92f49 100644
--- a/net-mail/courier-imap/metadata.xml
+++ b/net-mail/courier-imap/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
<use>
<flag name="trashquota">include deleted messages, and the Trash folder, in the estimated quota usage for maildirs</flag>
</use>
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-07-01 20:19 Alfredo Tupone
0 siblings, 0 replies; 114+ messages in thread
From: Alfredo Tupone @ 2019-07-01 20:19 UTC (permalink / raw
To: gentoo-commits
commit: 953e9a3088794c27d0a50cd76a26e381a14c640c
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 1 20:19:18 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jul 1 20:19:18 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=953e9a30
net-mail/courier-imap: Bump to 5.0.7
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-5.0.7.ebuild | 244 ++++++++++++++++++++++++
2 files changed, 245 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 1cc48dd1ad2..ee46b370dee 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/net-mail/courier-imap/courier-imap-5.0.7.ebuild b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
new file mode 100644
index 00000000000..811fe4f3e02
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-5.0.7.ebuild
@@ -0,0 +1,244 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools libtool readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="https://www.courier-mta.org/imap/"
+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"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ >=net-libs/courier-authlib-0.66.4
+ >=net-libs/courier-unicode-2
+ >=net-mail/mailbase-0.00-r8
+ berkdb? ( sys-libs/db:= )
+ fam? ( virtual/fam )
+ gdbm? ( >=sys-libs/gdbm-1.8.0 )
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ userland_GNU? ( sys-process/procps )
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+# get rid of old style virtual - bug 350792
+RDEPEND="${RDEPEND}
+ !mail-mta/courier
+ !net-mail/bincimap
+ !net-mail/cyrus-imapd
+ !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
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.17-disable-fam-configure.ac.patch"
+ "${FILESDIR}/${PN}-4.17-aclocal-fix.patch"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --with-notice=unicode \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --enable-workarounds-for-imap-client-bugs \
+ --with-mailuser=mail \
+ --with-mailgroup=mail \
+ $(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, 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
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ 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" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service \
+ courier-authdaemond.service
+ systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit "${FILESDIR}"/courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+}
+
+pkg_postinst() {
+ # 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}"
+
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-06-05 7:28 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2019-06-05 7:28 UTC (permalink / raw
To: gentoo-commits
commit: 1fbc934b515df6799c67069a46f84acec9963659
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 5 07:27:44 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Jun 5 07:27:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fbc934b
net-mail/courier-imap: ia64 stable wrt bug #676732
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="ia64"
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 1b90c50f8b8..e0b412a9d37 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-05-08 14:38 Tobias Klausmann
0 siblings, 0 replies; 114+ messages in thread
From: Tobias Klausmann @ 2019-05-08 14:38 UTC (permalink / raw
To: gentoo-commits
commit: be6436df6249ef22a1000c6ccbd93918a139abd0
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Wed May 8 14:37:16 2019 +0000
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Wed May 8 14:37:42 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be6436df
net-mail/courier-imap-4.18.2-r0: alpha stable
Bug: http://bugs.gentoo.org/676732
Signed-off-by: Tobias Klausmann <klausman <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 8bb39825b42..1b90c50f8b8 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-03-15 23:14 Mikle Kolyada
0 siblings, 0 replies; 114+ messages in thread
From: Mikle Kolyada @ 2019-03-15 23:14 UTC (permalink / raw
To: gentoo-commits
commit: 49ed76abd3de5304b16e50518cadb824790f6b5f
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 23:14:11 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 23:14:11 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49ed76ab
net-mail/courier-imap: s390 stable wrt bug #676732
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="s390"
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 cc9e5b9d15f..79d8f1ab946 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-03-13 22:37 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2019-03-13 22:37 UTC (permalink / raw
To: gentoo-commits
commit: a7a1fb75cf97a7074e9197652f02f7a2a2f5d57e
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 13 22:37:25 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 22:37:25 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a1fb75
net-mail/courier-imap: stable 4.18.2 for ppc64, bug #676732
Tested-by: ernsteiswuerfel
Package-Manager: Portage-2.3.62, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 073b7a35b0e..cc9e5b9d15f 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-03-10 14:32 Mikle Kolyada
0 siblings, 0 replies; 114+ messages in thread
From: Mikle Kolyada @ 2019-03-10 14:32 UTC (permalink / raw
To: gentoo-commits
commit: e8ee318b9aa0c04f5aae269b51e9d42b78fe8837
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 14:31:43 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 14:31:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8ee318b
net-mail/courier-imap: arm stable wrt bug #676732
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="arm"
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 67527a22a9c..073b7a35b0e 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-03-03 5:45 Mikle Kolyada
0 siblings, 0 replies; 114+ messages in thread
From: Mikle Kolyada @ 2019-03-03 5:45 UTC (permalink / raw
To: gentoo-commits
commit: 7e694ceff630a1d0a8c85ff2815f3eca27c836e2
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 3 05:44:58 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Mar 3 05:44:58 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e694cef
net-mail/courier-imap: amd64 stable wrt bug #676732
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 3e89f9e7b3b..67527a22a9c 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-03-02 20:02 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2019-03-02 20:02 UTC (permalink / raw
To: gentoo-commits
commit: e88d36e7e44cd918514990774a3c2a93cbd2e829
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 2 19:59:49 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Mar 2 20:02:15 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88d36e7
net-mail/courier-imap: stable 4.18.2 for ppc, bug #676732
Package-Manager: Portage-2.3.62, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 93d28a4c4da..3e89f9e7b3b 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-03-01 21:21 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2019-03-01 21:21 UTC (permalink / raw
To: gentoo-commits
commit: 68556674854ea2ecc5b98f53c957212910f219bb
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Fri Mar 1 17:39:23 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Mar 1 21:21:09 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68556674
net-mail/courier-imap: stable 4.18.2 for sparc, bug #676732
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 789b7101bf8..93d28a4c4da 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-03-01 1:14 Thomas Deutschmann
0 siblings, 0 replies; 114+ messages in thread
From: Thomas Deutschmann @ 2019-03-01 1:14 UTC (permalink / raw
To: gentoo-commits
commit: 890cd6a8fcc5d50a0d0864b49bc53749b06ae17b
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 1 01:09:13 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Mar 1 01:13:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890cd6a8
net-mail/courier-imap: x86 stable (bug #676732)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 93d001e3301..789b7101bf8 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2019-01-05 17:19 Mikle Kolyada
0 siblings, 0 replies; 114+ messages in thread
From: Mikle Kolyada @ 2019-01-05 17:19 UTC (permalink / raw
To: gentoo-commits
commit: 9e283189a1b572757c90f3e8dae9d1f5d790898f
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 5 17:06:41 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Jan 5 17:19:26 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e283189
net-mail/courier-imap: mark s390 stable
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
net-mail/courier-imap/courier-imap-4.17.3.ebuild | 4 ++--
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
index f756c440819..ffbb08e8e09 100644
--- a/net-mail/courier-imap/courier-imap-4.17.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 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.18.2.ebuild b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
index 79b4f380c0c..93d001e3301 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-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -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 ~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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2018-12-25 19:34 Tim Harder
0 siblings, 0 replies; 114+ messages in thread
From: Tim Harder @ 2018-12-25 19:34 UTC (permalink / raw
To: gentoo-commits
commit: 7a595da57b729cd29a416c8b853eaeac0433485c
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 25 19:33:49 2018 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Tue Dec 25 19:33:49 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a595da5
net-mail/courier-imap: use https for HOMEPAGE
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.17.3.ebuild | 2 +-
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
index 6fe86248ddd..f756c440819 100644
--- a/net-mail/courier-imap/courier-imap-4.17.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
@@ -6,7 +6,7 @@ EAPI=6
inherit autotools libtool systemd
DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="http://www.courier-mta.org/"
+HOMEPAGE="https://www.courier-mta.org/imap/"
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
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 0c5927a7d1a..79b4f380c0c 100644
--- a/net-mail/courier-imap/courier-imap-4.18.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -5,7 +5,7 @@ EAPI=6
inherit autotools libtool readme.gentoo-r1 systemd
DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="http://www.courier-mta.org/"
+HOMEPAGE="https://www.courier-mta.org/imap/"
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2018-07-15 13:20 Mart Raudsepp
0 siblings, 0 replies; 114+ messages in thread
From: Mart Raudsepp @ 2018-07-15 13:20 UTC (permalink / raw
To: gentoo-commits
commit: 32645fcea2e32553016d07307117f82db500ba4a
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 13:17:00 2018 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 13:20:00 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32645fce
net-mail/courier-imap-4.17.3: arm64 stable
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-mail/courier-imap/courier-imap-4.17.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
index 400faa8125b..6fe86248ddd 100644
--- a/net-mail/courier-imap/courier-imap-4.17.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2018-06-20 18:32 Pacho Ramos
0 siblings, 0 replies; 114+ messages in thread
From: Pacho Ramos @ 2018-06-20 18:32 UTC (permalink / raw
To: gentoo-commits
commit: 3c546d3f63e4d4c543f06c28a6c64e5b4879b741
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 20 18:09:57 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Jun 20 18:31:53 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c546d3f
net-mail/courier-imap: Drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-mail/courier-imap/Manifest | 1 -
net-mail/courier-imap/courier-imap-4.18.0.ebuild | 231 -----------------------
2 files changed, 232 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index d31af1ee9ea..1cc48dd1ad2 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,3 +1,2 @@
DIST courier-imap-4.17.3.tar.bz2 3202534 BLAKE2B c42eb369bdcb65e7f904b3bd7b018e2785e48fddcc1690374ba254ce17a76b3191c301a81626f0fe44587f4f4b9e4f34edc06e8e8098c509b2c76e3830db2563 SHA512 3166cc703cdc09a71d33257671a662d95cfdb8977bc3b19e0218a4d25eb99a1a108d2868a6eb593106e6538aadf684f11ff0426cd58d522e3ca4b2988f0a88f1
-DIST courier-imap-4.18.0.tar.bz2 3202389 BLAKE2B 3889d8db1bca082b1a8a1f1c8f04996ddcdf30b46e2aa3d16b45c46987426f75721223fc63810884a8fa2d8f8daf60d85c2909321abf0ef27e77cfcd0dc3c531 SHA512 16dedefe8a43ef48f76388c65ee7f100aaf12c30d9610f4c85f9adbd1adab374f9a0978930e70c221b551a60ed3d804f6b5e87a979b549f5c8249c34af1a3a64
DIST courier-imap-4.18.2.tar.bz2 3205230 BLAKE2B dd52c55698ac4307a52ef76ed6ca54d4289e00aacff487609cfe01bce351e180561b4bec4904e2701a0c05916bbac2e301409530ccbdcd08474b50be4c1365e3 SHA512 821f0151012f1a357faf705d938d8498a939cc994957398c0d5e2b7a619eabe202549f174e625161545ba6a94b753072458e9f0edc30cbb2443b15405740347e
diff --git a/net-mail/courier-imap/courier-imap-4.18.0.ebuild b/net-mail/courier-imap/courier-imap-4.18.0.ebuild
deleted file mode 100644
index 8226e3abd98..00000000000
--- a/net-mail/courier-imap/courier-imap-4.18.0.ebuild
+++ /dev/null
@@ -1,231 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools libtool systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="http://www.courier-mta.org/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
-
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls )
- !gnutls? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- )
- >=net-libs/courier-authlib-0.61
- >=net-libs/courier-unicode-2
- >=net-mail/mailbase-0.00-r8
- berkdb? ( sys-libs/db:= )
- fam? ( virtual/fam )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )"
-RDEPEND="${CDEPEND}
- 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"
-
-RC_VER="4.0.6-r1"
-INITD_VER="4.0.6-r1"
-
-PATCHES=(
- "${FILESDIR}/${PN}-4.17-disable-fam-configure.ac.patch"
- "${FILESDIR}/${PN}-4.17-aclocal-fix.patch"
-)
-
-src_prepare() {
- default
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
- eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- econf \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir="/etc/${PN}" \
- --libexecdir="/usr/$(get_libdir)/${PN}" \
- --localstatedir="/var/lib/${PN}" \
- --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- $(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_install() {
- dodir "/var/lib/${PN}" /etc/pam.d
- default
- rm -r "${D}/etc/pam.d" || die
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- for name in imapd pop3d ; do
- mv "${D}/usr/sbin/"{,courier-}${name} \
- || die "failed to rename ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -e 's/Maildir/${MAILDIR}/' \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
- -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
- || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR}
- # to them.
- for service in {imapd,pop3d}{,-ssl} ; do
- mv "${D}/etc/${PN}/${service}"{.dist,} \
- || die "failed to rename ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' \
- >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
- echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
- done
-
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
- echo -e '# Put any program for ${LOGINRUN} here' \
- >> "${D}/etc/${PN}/${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' \
- >> "${D}/etc/${PN}/${service}"
- echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
- done
-
- for x in "${D}/usr/sbin"/* ; do
- if [[ -L "${x}" ]] ; then
- rm "${x}" || die "failed to remove ${x}"
- fi
- done
-
- mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
- mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
-
- rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- 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" \
- "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
- > "${T}/${initd}" \
- || die "initd libdir-sed failed"
- doinitd "${T}/${initd}"
- done
-
- systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service \
- courier-authdaemond.service
- systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service \
- courier-imapd-ssl.service
- systemd_newunit "${FILESDIR}"/courier-imapd-r1.service \
- courier-imapd.service
-
- exeinto "/usr/$(get_libdir)/${PN}"
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
- "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
- > "${T}/${exe}" \
- || die "exe libdir-sed failed"
- doexe "${T}/${exe}"
- done
-
- # Avoid a collision with mail-mta/netqmail, bug 482098.
- mv "${D}/usr/sbin/"{,courier-}maildirmake \
- || die "failed to rename maildirmake to courier-maildirmake"
- mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
- || die "failed to rename maildirmake.1 to courier-maildirmake.1"
-
- dodoc AUTHORS INSTALL NEWS README ChangeLog
- dodoc "${FILESDIR}/${PN}-gentoo.readme"
- docinto imap
- dodoc libs/imap/ChangeLog libs/imap/BUGS* libs/imap/README*
- docinto maildir
- dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
- docinto rfc2045
- dodoc libs/rfc2045/*.html
- docinto tcpd
- dodoc libs/tcpd/README* libs/tcpd/*.html
-}
-
-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."
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2018-06-20 18:32 Pacho Ramos
0 siblings, 0 replies; 114+ messages in thread
From: Pacho Ramos @ 2018-06-20 18:32 UTC (permalink / raw
To: gentoo-commits
commit: 3b7954f110e5b25f88079b2aff411346ca8f0e73
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 20 18:09:03 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Jun 20 18:31:51 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7954f1
net-mail/courier-imap: Version bump (#624004)
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-4.18.2.ebuild | 241 +++++++++++++++++++++++
2 files changed, 242 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 9284ad63939..d31af1ee9ea 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,2 +1,3 @@
DIST courier-imap-4.17.3.tar.bz2 3202534 BLAKE2B c42eb369bdcb65e7f904b3bd7b018e2785e48fddcc1690374ba254ce17a76b3191c301a81626f0fe44587f4f4b9e4f34edc06e8e8098c509b2c76e3830db2563 SHA512 3166cc703cdc09a71d33257671a662d95cfdb8977bc3b19e0218a4d25eb99a1a108d2868a6eb593106e6538aadf684f11ff0426cd58d522e3ca4b2988f0a88f1
DIST courier-imap-4.18.0.tar.bz2 3202389 BLAKE2B 3889d8db1bca082b1a8a1f1c8f04996ddcdf30b46e2aa3d16b45c46987426f75721223fc63810884a8fa2d8f8daf60d85c2909321abf0ef27e77cfcd0dc3c531 SHA512 16dedefe8a43ef48f76388c65ee7f100aaf12c30d9610f4c85f9adbd1adab374f9a0978930e70c221b551a60ed3d804f6b5e87a979b549f5c8249c34af1a3a64
+DIST courier-imap-4.18.2.tar.bz2 3205230 BLAKE2B dd52c55698ac4307a52ef76ed6ca54d4289e00aacff487609cfe01bce351e180561b4bec4904e2701a0c05916bbac2e301409530ccbdcd08474b50be4c1365e3 SHA512 821f0151012f1a357faf705d938d8498a939cc994957398c0d5e2b7a619eabe202549f174e625161545ba6a94b753072458e9f0edc30cbb2443b15405740347e
diff --git a/net-mail/courier-imap/courier-imap-4.18.2.ebuild b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
new file mode 100644
index 00000000000..0c5927a7d1a
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-4.18.2.ebuild
@@ -0,0 +1,241 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools libtool readme.gentoo-r1 systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="http://www.courier-mta.org/"
+SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ >=net-libs/courier-authlib-0.66.4
+ >=net-libs/courier-unicode-2
+ >=net-mail/mailbase-0.00-r8
+ berkdb? ( sys-libs/db:= )
+ fam? ( virtual/fam )
+ gdbm? ( >=sys-libs/gdbm-1.8.0 )
+"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ userland_GNU? ( sys-process/procps )
+"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-courier )
+"
+
+# get rid of old style virtual - bug 350792
+RDEPEND="${RDEPEND}
+ !mail-mta/courier
+ !net-mail/bincimap
+ !net-mail/cyrus-imapd
+ !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}
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.17-disable-fam-configure.ac.patch"
+ "${FILESDIR}/${PN}-4.17-aclocal-fix.patch"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --enable-workarounds-for-imap-client-bugs \
+ --with-mailuser=mail \
+ --with-mailgroup=mail \
+ $(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, 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
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ 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" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service \
+ courier-authdaemond.service
+ systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit "${FILESDIR}"/courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || 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*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+}
+
+pkg_postinst() {
+ # 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}"
+
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2018-04-17 4:51 Michael Orlitzky
0 siblings, 0 replies; 114+ messages in thread
From: Michael Orlitzky @ 2018-04-17 4:51 UTC (permalink / raw
To: gentoo-commits
commit: 9870ebfbf0e777e471b3fd452fec1428c8e8023a
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 17 04:49:50 2018 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Apr 17 04:50:17 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9870ebfb
net-mail/courier-imap: drop old courier-imap-4.15-r2.ebuild.
Bug: https://bugs.gentoo.org/616726
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-mail/courier-imap/Manifest | 1 -
net-mail/courier-imap/courier-imap-4.15-r2.ebuild | 229 ----------------------
2 files changed, 230 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 21c0d7f7c4b..9284ad63939 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,3 +1,2 @@
-DIST courier-imap-4.15.tar.bz2 3266353 BLAKE2B 08b44e9a58f13ead65174b913e9caca3305aff5155adf4fc495c79b31f51326fa4917a6c3335d9ab956b7895f98d66b6c65501faa3dcf1a13527cae8c7c137de SHA512 7829662282db5e6f414a1d34f06a94c2dd028e263510f01b49ebd3a1a4994055ecc08604568f5a44a30f6411e3a34e0d6c38807c29eaf255752191e885f82e1a
DIST courier-imap-4.17.3.tar.bz2 3202534 BLAKE2B c42eb369bdcb65e7f904b3bd7b018e2785e48fddcc1690374ba254ce17a76b3191c301a81626f0fe44587f4f4b9e4f34edc06e8e8098c509b2c76e3830db2563 SHA512 3166cc703cdc09a71d33257671a662d95cfdb8977bc3b19e0218a4d25eb99a1a108d2868a6eb593106e6538aadf684f11ff0426cd58d522e3ca4b2988f0a88f1
DIST courier-imap-4.18.0.tar.bz2 3202389 BLAKE2B 3889d8db1bca082b1a8a1f1c8f04996ddcdf30b46e2aa3d16b45c46987426f75721223fc63810884a8fa2d8f8daf60d85c2909321abf0ef27e77cfcd0dc3c531 SHA512 16dedefe8a43ef48f76388c65ee7f100aaf12c30d9610f4c85f9adbd1adab374f9a0978930e70c221b551a60ed3d804f6b5e87a979b549f5c8249c34af1a3a64
diff --git a/net-mail/courier-imap/courier-imap-4.15-r2.ebuild b/net-mail/courier-imap/courier-imap-4.15-r2.ebuild
deleted file mode 100644
index 1f85f454e15..00000000000
--- a/net-mail/courier-imap/courier-imap-4.15-r2.ebuild
+++ /dev/null
@@ -1,229 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils multilib libtool systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="http://www.courier-mta.org/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
-IUSE="berkdb debug fam +gdbm ipv6 selinux gnutls trashquota"
-
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls )
- !gnutls? ( >=dev-libs/openssl-0.9.6:0= )
- >=net-libs/courier-authlib-0.61
- >=net-mail/mailbase-0.00-r8
- berkdb? ( sys-libs/db:= )
- fam? ( virtual/fam )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )"
-RDEPEND="${CDEPEND}
- 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"
-
-RC_VER="4.0.6-r1"
-INITD_VER="4.0.6-r1"
-
-src_prepare() {
- # Bug #48838. Patch to enable/disable FAM support.
- # 20 Aug 2004 langthang@gentoo.org
- # This patch should fix bug #51540. fam USE flag is not needed for shared folder support.
- epatch "${FILESDIR}"/${P}-disable-fam-configure.ac.patch
-
- # Kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206).
- epatch "${FILESDIR}"/${P}-aclocal-fix.patch
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- epatch \
- "${FILESDIR}"/${P}-db4-bdbobj_configure.ac.patch \
- "${FILESDIR}"/${P}-db4-configure.ac.patch
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # 19 Aug 2004 langthang@gentoo.org
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- # Disabling unicode is no longer supported
- # By default all available character sets are included
- # Set ENABLE_UNICODE=iso-8859-1,utf-8,iso-8859-10
- # to include only specified translation tables.
- if [[ -z "${ENABLE_UNICODE}" ]] ; then
- einfo "ENABLE_UNICODE is not set, building with all available character sets"
- myconf="${myconf} --enable-unicode"
- else
- einfo "ENABLE_UNICODE is set, building with unicode=${ENABLE_UNICODE}"
- myconf="${myconf} --enable-unicode=${ENABLE_UNICODE}"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- # Do the actual build now
- econf \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir=/etc/${PN} \
- --libexecdir=/usr/$(get_libdir)/${PN} \
- --localstatedir=/var/lib/${PN} \
- --with-authdaemonvar=/var/lib/${PN}/authdaemon \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- $(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_install() {
- dodir /var/lib/${PN} /etc/pam.d
- default
- rm -Rf "${D}/etc/pam.d" || die
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- cd "${D}/usr/sbin" || die
- for name in imapd pop3d ; do
- mv -f "${name}" "courier-${name}" || die "Failed to mv ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- cd "${D}/usr/$(get_libdir)/${PN}" || die
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -i -e 's/Maildir/${MAILDIR}/' "${service}.rc" || die "sed failed"
- sed -i -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" "${service}.rc" || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR} to them.
- cd "${D}/etc/${PN}" || die
- for service in {imapd,pop3d}{,-ssl} ; do
- mv -f "${service}.dist" "${service}" || die "Failed to mv ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' >> "${service}"
- echo 'MAILDIR=.maildir' >> "${service}"
- echo 'MAILDIRPATH=.maildir' >> "${service}"
- done
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' >> "${service}"
- echo 'PRERUN=' >> "${service}"
- echo -e '# Put any program for ${LOGINRUN} here' >> "${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' >> "${service}"
- echo 'LOGINRUN=' >> "${service}"
- done
-
- cd "${D}/usr/sbin" || die
- for x in * ; do
- if [[ -L "${x}" ]] ; then
- rm -f "${x}" || die "Failed to rm ${x}"
- fi
- done
-
- cd ../share || die
- mv -f * ../sbin || die
- mv -f ../sbin/man . || die
- cd .. || die
-
- for x in mkimapdcert mkpop3dcert ; do
- mv -f "${D}/usr/sbin/${x}" "${D}/usr/sbin/${x}.orig" || die "Failed to mv /usr/sbin/${x} to /usr/sbin/${x}.orig"
- done
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym /usr/sbin/courierlogger /usr/$(get_libdir)/${PN}/courierlogger
-
- mkdir "${WORKDIR}/tmp" && cd "${WORKDIR}/tmp" || die
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" > "${initd}" || die "initd libdir-sed failed"
- doinitd "${initd}"
- done
-
- systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service courier-authdaemond.service
- systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service courier-imapd-ssl.service
- systemd_newunit "${FILESDIR}"/courier-imapd-r1.service courier-imapd.service
-
- exeinto /usr/$(get_libdir)/${PN}
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${RC_VER}-${exe}" > "${exe}" || die "exe libdir-sed failed"
- doexe "${exe}"
- done
-
- dodir /usr/bin
- mv -f "${D}/usr/sbin/maildirmake" "${D}/usr/bin/maildirmake" || die "Failed to mv /usr/sbin/maildirmake to /usr/bin/maildirmake"
-
- # Bug #45953, more docs.
- cd "${S}" || die
- dohtml -r "${S}"/*
- dodoc "${S}"/{AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme
- docinto imap
- dodoc "${S}"/libs/imap/{ChangeLog,BUGS,BUGS.html,README}
- docinto maildir
- dodoc "${S}"/libs/maildir/{AUTHORS,INSTALL,README.maildirquota.txt,README.sharedfolders.txt}
- docinto tcpd
- dodoc "${S}"/libs/tcpd/README.couriertls
-}
-
-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.
- chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}" || die "Failed to ensure sane permissions on ${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."
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2018-04-16 7:10 Mikle Kolyada
0 siblings, 0 replies; 114+ messages in thread
From: Mikle Kolyada @ 2018-04-16 7:10 UTC (permalink / raw
To: gentoo-commits
commit: 43bbf96bed38e096b95c15cae5eef34cbad22b35
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 16 07:10:37 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Apr 16 07:10:37 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43bbf96b
net-mail/courier-imap: Drop old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-mail/courier-imap/Manifest | 1 -
.../courier-imap/courier-imap-4.16.2-r1.ebuild | 222 ---------------------
2 files changed, 223 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 299f40d4a1e..21c0d7f7c4b 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,4 +1,3 @@
DIST courier-imap-4.15.tar.bz2 3266353 BLAKE2B 08b44e9a58f13ead65174b913e9caca3305aff5155adf4fc495c79b31f51326fa4917a6c3335d9ab956b7895f98d66b6c65501faa3dcf1a13527cae8c7c137de SHA512 7829662282db5e6f414a1d34f06a94c2dd028e263510f01b49ebd3a1a4994055ecc08604568f5a44a30f6411e3a34e0d6c38807c29eaf255752191e885f82e1a
-DIST courier-imap-4.16.2.tar.bz2 3028445 BLAKE2B 91e1c376d6d760208aab078628aa798ae5a2019319e27fe7a0590399087f74267effc56a5b342cf8bd8b04800ecf79883d07aaf23e46db4d4ae0fc554d137630 SHA512 42a685324b630835fe0c8735a67879e099f96eadf091c803368a9dd478a80b4ab47225fda6142942569c96b21355b5dac5e174ff434bcdc78784a810d2088609
DIST courier-imap-4.17.3.tar.bz2 3202534 BLAKE2B c42eb369bdcb65e7f904b3bd7b018e2785e48fddcc1690374ba254ce17a76b3191c301a81626f0fe44587f4f4b9e4f34edc06e8e8098c509b2c76e3830db2563 SHA512 3166cc703cdc09a71d33257671a662d95cfdb8977bc3b19e0218a4d25eb99a1a108d2868a6eb593106e6538aadf684f11ff0426cd58d522e3ca4b2988f0a88f1
DIST courier-imap-4.18.0.tar.bz2 3202389 BLAKE2B 3889d8db1bca082b1a8a1f1c8f04996ddcdf30b46e2aa3d16b45c46987426f75721223fc63810884a8fa2d8f8daf60d85c2909321abf0ef27e77cfcd0dc3c531 SHA512 16dedefe8a43ef48f76388c65ee7f100aaf12c30d9610f4c85f9adbd1adab374f9a0978930e70c221b551a60ed3d804f6b5e87a979b549f5c8249c34af1a3a64
diff --git a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
deleted file mode 100644
index 88952967ff8..00000000000
--- a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
+++ /dev/null
@@ -1,222 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils multilib libtool systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="http://www.courier-mta.org/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
-
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls )
- !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-mail/mailbase-0.00-r8
- berkdb? ( sys-libs/db:= )
- fam? ( virtual/fam )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )"
-RDEPEND="${CDEPEND}
- 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"
-
-RC_VER="4.0.6-r1"
-INITD_VER="4.0.6-r1"
-
-src_prepare() {
- # Bug #48838. Patch to enable/disable FAM support.
- # 20 Aug 2004 langthang@gentoo.org
- # This patch should fix bug #51540. fam USE flag is not needed for shared folder support.
- epatch "${FILESDIR}"/${PN}-4.15-disable-fam-configure.ac.patch
-
- # Kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206).
- epatch "${FILESDIR}"/${PN}-4.15-aclocal-fix.patch
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- epatch \
- "${FILESDIR}"/${PN}-4.15-db4-bdbobj_configure.ac.patch \
- "${FILESDIR}"/${PN}-4.15-db4-configure.ac.patch
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # 19 Aug 2004 langthang@gentoo.org
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- # Do the actual build now
- econf \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir=/etc/${PN} \
- --libexecdir=/usr/$(get_libdir)/${PN} \
- --localstatedir=/var/lib/${PN} \
- --with-authdaemonvar=/var/lib/${PN}/authdaemon \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- $(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_install() {
- dodir /var/lib/${PN} /etc/pam.d
- default
- rm -Rf "${D}/etc/pam.d" || die
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- cd "${D}/usr/sbin" || die
- for name in imapd pop3d ; do
- mv -f "${name}" "courier-${name}" || die "Failed to mv ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- cd "${D}/usr/$(get_libdir)/${PN}" || die
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -i -e 's/Maildir/${MAILDIR}/' "${service}.rc" || die "sed failed"
- sed -i -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" "${service}.rc" || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR} to them.
- cd "${D}/etc/${PN}" || die
- for service in {imapd,pop3d}{,-ssl} ; do
- mv -f "${service}.dist" "${service}" || die "Failed to mv ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' >> "${service}"
- echo 'MAILDIR=.maildir' >> "${service}"
- echo 'MAILDIRPATH=.maildir' >> "${service}"
- done
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' >> "${service}"
- echo 'PRERUN=' >> "${service}"
- echo -e '# Put any program for ${LOGINRUN} here' >> "${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' >> "${service}"
- echo 'LOGINRUN=' >> "${service}"
- done
-
- cd "${D}/usr/sbin"
- for x in * ; do
- if [[ -L "${x}" ]] ; then
- rm -f "${x}" || die "Failed to rm ${x}"
- fi
- done
-
- cd ../share
- mv -f * ../sbin
- mv -f ../sbin/man .
- cd ..
-
- for x in mkimapdcert mkpop3dcert ; do
- mv -f "${D}/usr/sbin/${x}" "${D}/usr/sbin/${x}.orig" || die "Failed to mv /usr/sbin/${x} to /usr/sbin/${x}.orig"
- done
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym /usr/sbin/courierlogger /usr/$(get_libdir)/${PN}/courierlogger
-
- mkdir "${WORKDIR}/tmp" ; cd "${WORKDIR}/tmp"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" > "${initd}" || die "initd libdir-sed failed"
- doinitd "${initd}"
- done
-
- systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service courier-authdaemond.service
- systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service courier-imapd-ssl.service
- systemd_newunit "${FILESDIR}"/courier-imapd-r1.service courier-imapd.service
-
- exeinto /usr/$(get_libdir)/${PN}
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${RC_VER}-${exe}" > "${exe}" || die "exe libdir-sed failed"
- doexe "${exe}"
- done
-
- dodir /usr/bin
- mv -f "${D}/usr/sbin/maildirmake" "${D}/usr/bin/maildirmake" || die "Failed to mv /usr/sbin/maildirmake to /usr/bin/maildirmake"
-
- # Bug #45953, more docs.
- cd "${S}" || die
- dohtml -r "${S}"/*
- dodoc "${S}"/{AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme
- docinto imap
- dodoc "${S}"/libs/imap/{ChangeLog,BUGS,BUGS.html,README}
- docinto maildir
- dodoc "${S}"/libs/maildir/{AUTHORS,INSTALL,README.maildirquota.txt,README.sharedfolders.txt}
- docinto tcpd
- dodoc "${S}"/libs/tcpd/README.couriertls
-}
-
-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.
- chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}" || die "Failed to ensure sane permissions on ${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."
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2018-04-16 7:04 Mikle Kolyada
0 siblings, 0 replies; 114+ messages in thread
From: Mikle Kolyada @ 2018-04-16 7:04 UTC (permalink / raw
To: gentoo-commits
commit: a2eb3cf18c6e4bd56869fff9fac453286af6a39e
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 16 07:04:45 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Apr 16 07:04:45 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2eb3cf1
net-mail/courier-imap: arm stable wrt bug #616726
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-mail/courier-imap/courier-imap-4.17.3.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
index cd99c5cbdda..400faa8125b 100644
--- a/net-mail/courier-imap/courier-imap-4.17.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2018-03-01 15:09 Michał Górny
0 siblings, 0 replies; 114+ messages in thread
From: Michał Górny @ 2018-03-01 15:09 UTC (permalink / raw
To: gentoo-commits
commit: b4e0d83cf1f7d18ffc682655cf6fa041c8aa5315
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 1 15:08:24 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 1 15:09:50 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e0d83c
net-mail/courier-imap: Dekeyword *-fbsd due to deps
net-mail/courier-imap/courier-imap-4.15-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.15-r2.ebuild b/net-mail/courier-imap/courier-imap-4.15-r2.ebuild
index 4a7ef1d07e1..1f85f454e15 100644
--- a/net-mail/courier-imap/courier-imap-4.15-r2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.15-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE="berkdb debug fam +gdbm ipv6 selinux gnutls trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2017-10-16 11:48 Jeroen Roovers
0 siblings, 0 replies; 114+ messages in thread
From: Jeroen Roovers @ 2017-10-16 11:48 UTC (permalink / raw
To: gentoo-commits
commit: 3bcf1b2baf345cdfa1519186ec9fef6f1cca61d3
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 16 11:48:13 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 11:48:39 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bcf1b2b
net-mail/courier-imap: Version bump.
Package-Manager: Portage-2.3.11, Repoman-2.3.3
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-4.18.0.ebuild | 231 +++++++++++++++++++++++
2 files changed, 232 insertions(+)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 55a35f8242a..43e3dd50cd6 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,3 +1,4 @@
DIST courier-imap-4.15.tar.bz2 3266353 SHA256 6c34107e7ba9e5396d50b58fb414a495806335cab7135c96ad85a3816785b109 SHA512 7829662282db5e6f414a1d34f06a94c2dd028e263510f01b49ebd3a1a4994055ecc08604568f5a44a30f6411e3a34e0d6c38807c29eaf255752191e885f82e1a WHIRLPOOL 1b5e42bd1f72e3205030b54e9564ce45c4eccb394b31c64a616f225def5a5df05f74ef62c59fbea63b18ce336d77cc2368170a982abb7a6e94d309d0c6ee4dd2
DIST courier-imap-4.16.2.tar.bz2 3028445 SHA256 3be244b3c4d3d5c5e33efb37e4cf712ae83cbe21e43c31725e0d996ab4acc387 SHA512 42a685324b630835fe0c8735a67879e099f96eadf091c803368a9dd478a80b4ab47225fda6142942569c96b21355b5dac5e174ff434bcdc78784a810d2088609 WHIRLPOOL d1d8af441a8c6f13f81705489deded11fdd8f66bf79a66f9076ed4e7b6e0644d9f9034887a043d8c9c9a55031db9c2c9a2ca0ac53cbbef96c5ed25275c50e9e3
DIST courier-imap-4.17.3.tar.bz2 3202534 SHA256 6dcbd913344634c8d7bde573c5fd55c86307181798df1192b7d777ec567898fc SHA512 3166cc703cdc09a71d33257671a662d95cfdb8977bc3b19e0218a4d25eb99a1a108d2868a6eb593106e6538aadf684f11ff0426cd58d522e3ca4b2988f0a88f1 WHIRLPOOL edc8249f2eb923121978bde8f2895add4d74e3e54839bbf63f4b2e8506d162796f91550d63e7491afbc6e589fe034aa9b91ce8789ec5bd64b0e48a6472243a8c
+DIST courier-imap-4.18.0.tar.bz2 3202389 SHA256 fa8c2e3b71295c9fa124dfad350f688263ddf7f2b15709f2d44d0f9722de7c52 SHA512 16dedefe8a43ef48f76388c65ee7f100aaf12c30d9610f4c85f9adbd1adab374f9a0978930e70c221b551a60ed3d804f6b5e87a979b549f5c8249c34af1a3a64 WHIRLPOOL f1c59bac69c33636d24c3bf637c7843770ab2b13132d36ff2e041f8387a433bfbc4ba0c2c407b4882cc060231ad1bd46644e068f9374dd6cf38b3d78bcbbaf53
diff --git a/net-mail/courier-imap/courier-imap-4.18.0.ebuild b/net-mail/courier-imap/courier-imap-4.18.0.ebuild
new file mode 100644
index 00000000000..8226e3abd98
--- /dev/null
+++ b/net-mail/courier-imap/courier-imap-4.18.0.ebuild
@@ -0,0 +1,231 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools libtool systemd
+
+DESCRIPTION="An IMAP daemon designed specifically for maildirs"
+HOMEPAGE="http://www.courier-mta.org/"
+SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
+
+REQUIRED_USE="|| ( berkdb gdbm )"
+
+CDEPEND="
+ gnutls? ( net-libs/gnutls )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ >=net-libs/courier-authlib-0.61
+ >=net-libs/courier-unicode-2
+ >=net-mail/mailbase-0.00-r8
+ berkdb? ( sys-libs/db:= )
+ fam? ( virtual/fam )
+ gdbm? ( >=sys-libs/gdbm-1.8.0 )"
+DEPEND="${CDEPEND}
+ dev-lang/perl
+ !mail-mta/courier
+ userland_GNU? ( sys-process/procps )"
+RDEPEND="${CDEPEND}
+ 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"
+
+RC_VER="4.0.6-r1"
+INITD_VER="4.0.6-r1"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.17-disable-fam-configure.ac.patch"
+ "${FILESDIR}/${PN}-4.17-aclocal-fix.patch"
+)
+
+src_prepare() {
+ default
+
+ # These patches should fix problems detecting BerkeleyDB.
+ # We now can compile with db4 support.
+ if use berkdb ; then
+ eapply "${FILESDIR}/${PN}-4.17-db4-bdbobj_configure.ac.patch"
+ eapply "${FILESDIR}/${PN}-4.17-db4-configure.ac.patch"
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=""
+
+ # Default to gdbm if both berkdb and gdbm are present.
+ if use gdbm ; then
+ einfo "Building with GDBM support"
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ einfo "Building with BerkeleyDB support"
+ myconf="${myconf} --with-db=db"
+ fi
+
+ if use trashquota ; then
+ einfo "Building with Trash Quota Support"
+ myconf="${myconf} --with-trashquota"
+ fi
+
+ use debug && myconf="${myconf} debug=true"
+
+ econf \
+ --disable-root-check \
+ --bindir=/usr/sbin \
+ --sysconfdir="/etc/${PN}" \
+ --libexecdir="/usr/$(get_libdir)/${PN}" \
+ --localstatedir="/var/lib/${PN}" \
+ --with-authdaemonvar="/var/lib/${PN}/authdaemon" \
+ --enable-workarounds-for-imap-client-bugs \
+ --with-mailuser=mail \
+ --with-mailgroup=mail \
+ $(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_install() {
+ dodir "/var/lib/${PN}" /etc/pam.d
+ default
+ rm -r "${D}/etc/pam.d" || die
+
+ # Avoid name collisions in /usr/sbin wrt imapd and pop3d
+ for name in imapd pop3d ; do
+ mv "${D}/usr/sbin/"{,courier-}${name} \
+ || die "failed to rename ${name} to courier-${name}"
+ done
+
+ # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
+ # 'Maildir', and to use /usr/sbin/courier-foo names.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ sed -e 's/Maildir/${MAILDIR}/' \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ sed -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" \
+ -i "${D}/usr/$(get_libdir)/${PN}/${service}.rc" \
+ || die "sed failed"
+ done
+
+ # Rename the config files correctly and add a value for ${MAILDIR}
+ # to them.
+ for service in {imapd,pop3d}{,-ssl} ; do
+ mv "${D}/etc/${PN}/${service}"{.dist,} \
+ || die "failed to rename ${service}.dist to ${service}"
+ echo -e '\n# Hardwire a value for ${MAILDIR}' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIR=.maildir' >> "${D}/etc/${PN}/${service}"
+ echo 'MAILDIRPATH=.maildir' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for service in imapd pop3d ; do
+ echo -e '# Put any program for ${PRERUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'PRERUN=' >> "${D}/etc/${PN}/${service}"
+ echo -e '# Put any program for ${LOGINRUN} here' \
+ >> "${D}/etc/${PN}/${service}"
+ echo -e '# this is for relay-ctrl-allow in 4*' \
+ >> "${D}/etc/${PN}/${service}"
+ echo 'LOGINRUN=' >> "${D}/etc/${PN}/${service}"
+ done
+
+ for x in "${D}/usr/sbin"/* ; do
+ if [[ -L "${x}" ]] ; then
+ rm "${x}" || die "failed to remove ${x}"
+ fi
+ done
+
+ mv "${D}/usr/share"/* "${D}/usr/sbin/" || die
+ mv "${D}/usr/sbin/man" "${D}/usr/share/" || die
+
+ rm "${D}/usr/sbin/"{mkimapdcert,mkpop3dcert} || die
+
+ dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
+
+ 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" \
+ "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" \
+ > "${T}/${initd}" \
+ || die "initd libdir-sed failed"
+ doinitd "${T}/${initd}"
+ done
+
+ systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service \
+ courier-authdaemond.service
+ systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service \
+ courier-imapd-ssl.service
+ systemd_newunit "${FILESDIR}"/courier-imapd-r1.service \
+ courier-imapd.service
+
+ exeinto "/usr/$(get_libdir)/${PN}"
+ for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
+ sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" \
+ "${FILESDIR}/${PN}-${RC_VER}-${exe}" \
+ > "${T}/${exe}" \
+ || die "exe libdir-sed failed"
+ doexe "${T}/${exe}"
+ done
+
+ # Avoid a collision with mail-mta/netqmail, bug 482098.
+ mv "${D}/usr/sbin/"{,courier-}maildirmake \
+ || die "failed to rename maildirmake to courier-maildirmake"
+ mv "${D}/usr/share/man/man1/"{,courier-}maildirmake.1 \
+ || die "failed to rename maildirmake.1 to courier-maildirmake.1"
+
+ dodoc AUTHORS INSTALL NEWS README ChangeLog
+ dodoc "${FILESDIR}/${PN}-gentoo.readme"
+ docinto imap
+ dodoc libs/imap/ChangeLog libs/imap/BUGS* libs/imap/README*
+ docinto maildir
+ dodoc libs/maildir/AUTHORS libs/maildir/*.html libs/maildir/README*
+ docinto rfc2045
+ dodoc libs/rfc2045/*.html
+ docinto tcpd
+ dodoc libs/tcpd/README* libs/tcpd/*.html
+}
+
+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."
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2017-10-16 11:48 Jeroen Roovers
0 siblings, 0 replies; 114+ messages in thread
From: Jeroen Roovers @ 2017-10-16 11:48 UTC (permalink / raw
To: gentoo-commits
commit: aff4a2ede3ee4675a0eca02dc91a71df3ff25897
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 16 10:34:07 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 11:48:34 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aff4a2ed
net-mail/courier-imap: Fix net-libs/courier-unicode dependencies (bug #624258).
Package-Manager: Portage-2.3.11, Repoman-2.3.3
net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild | 1 +
net-mail/courier-imap/courier-imap-4.17.3.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
index 83083366938..88952967ff8 100644
--- a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
@@ -23,6 +23,7 @@ CDEPEND="
libressl? ( dev-libs/libressl:0= )
)
>=net-libs/courier-authlib-0.61
+ <=net-libs/courier-unicode-2
>=net-libs/courier-unicode-1.3
>=net-mail/mailbase-0.00-r8
berkdb? ( sys-libs/db:= )
diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
index 8347c0afb21..cd99c5cbdda 100644
--- a/net-mail/courier-imap/courier-imap-4.17.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
@@ -23,6 +23,7 @@ CDEPEND="
libressl? ( dev-libs/libressl:0= )
)
>=net-libs/courier-authlib-0.61
+ <=net-libs/courier-unicode-2
>=net-libs/courier-unicode-1.3
>=net-mail/mailbase-0.00-r8
berkdb? ( sys-libs/db:= )
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2017-05-12 17:56 Tobias Klausmann
0 siblings, 0 replies; 114+ messages in thread
From: Tobias Klausmann @ 2017-05-12 17:56 UTC (permalink / raw
To: gentoo-commits
commit: c2102f4e091ade7c3486a798afb2411b2a51afc6
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Fri May 12 17:54:30 2017 +0000
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Fri May 12 17:54:30 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2102f4e
net-mail/courier-imap-4.17.3-r0: add alpha keyword
Gentoo-Bug: 616726
net-mail/courier-imap/courier-imap-4.17.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
index 94ec7a6f91e..abbf81206ce 100644
--- a/net-mail/courier-imap/courier-imap-4.17.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 sparc x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2017-04-30 10:15 Jeroen Roovers
0 siblings, 0 replies; 114+ messages in thread
From: Jeroen Roovers @ 2017-04-30 10:15 UTC (permalink / raw
To: gentoo-commits
commit: 3575527cea88426f44fd7b982426bfcd9e88fc97
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 10:15:16 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 10:15:16 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3575527c
net-mail/courier-imap: Stable for HPPA (bug #616726).
Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches
net-mail/courier-imap/courier-imap-4.17.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
index 0fab95b82d8..94ec7a6f91e 100644
--- a/net-mail/courier-imap/courier-imap-4.17.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 sparc x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2017-04-28 13:14 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2017-04-28 13:14 UTC (permalink / raw
To: gentoo-commits
commit: fe2acec316e0b92aaf46ca8abc004582ace849eb
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 28 13:13:54 2017 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 13:14:20 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe2acec3
net-mail/courier-imap: sparc stable wrt bug #616726
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.17.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
index ab9e09a7929..83d362a9b97 100644
--- a/net-mail/courier-imap/courier-imap-4.17.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2017-04-28 12:52 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2017-04-28 12:52 UTC (permalink / raw
To: gentoo-commits
commit: 79107f8b53e1c000c0a7591330ae89ead4cdfd91
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 28 12:52:03 2017 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 12:52:03 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79107f8b
net-mail/courier-imap: x86 stable wrt bug #616726
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.17.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
index 55d63d8b266..ab9e09a7929 100644
--- a/net-mail/courier-imap/courier-imap-4.17.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2017-04-28 12:31 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2017-04-28 12:31 UTC (permalink / raw
To: gentoo-commits
commit: f058c7f56a7e0165ae11812c372cab4e9bb5f60b
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 28 12:31:31 2017 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 12:31:31 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f058c7f5
net-mail/courier-imap: amd64 stable wrt bug #616726
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-mail/courier-imap/courier-imap-4.17.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.17.3.ebuild b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
index 8bdfa5a4f4b..55d63d8b266 100644
--- a/net-mail/courier-imap/courier-imap-4.17.3.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.17.3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2017-03-27 2:45 Michael Orlitzky
0 siblings, 0 replies; 114+ messages in thread
From: Michael Orlitzky @ 2017-03-27 2:45 UTC (permalink / raw
To: gentoo-commits
commit: 7aae9ec6f8ffda19b9bbf39a0c07a9f00cb72698
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 27 02:44:51 2017 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Mar 27 02:44:51 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aae9ec6
net-mail/courier-imap: remove unused version 4.16.0-r1.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
net-mail/courier-imap/Manifest | 1 -
.../courier-imap/courier-imap-4.16.0-r1.ebuild | 221 ---------------------
2 files changed, 222 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 9ca4584e1f7..19a6b5b20ed 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,3 +1,2 @@
DIST courier-imap-4.15.tar.bz2 3266353 SHA256 6c34107e7ba9e5396d50b58fb414a495806335cab7135c96ad85a3816785b109 SHA512 7829662282db5e6f414a1d34f06a94c2dd028e263510f01b49ebd3a1a4994055ecc08604568f5a44a30f6411e3a34e0d6c38807c29eaf255752191e885f82e1a WHIRLPOOL 1b5e42bd1f72e3205030b54e9564ce45c4eccb394b31c64a616f225def5a5df05f74ef62c59fbea63b18ce336d77cc2368170a982abb7a6e94d309d0c6ee4dd2
-DIST courier-imap-4.16.0.tar.bz2 3021228 SHA256 20ee63fbb5eef671dfcceecf3ed3eb48663cff3bcb607ecc904d0bc4f8c0b4b2 SHA512 5f84c035e3936cf2b435efee7ecb98f98da8ecdd3afa3661ba03737d870aa038586a49c3a696fd8d028302349279139e90b1befc1d42a8488909c0ca0ea96a5c WHIRLPOOL be8b916ff9526c0a34cbad210bb026ab176a327eba4c4e5d76da7d99e800418749b0ab50bff9ce9a7378ddfd9342a86ad3462e4418e0d36bad159ed2db3af069
DIST courier-imap-4.16.2.tar.bz2 3028445 SHA256 3be244b3c4d3d5c5e33efb37e4cf712ae83cbe21e43c31725e0d996ab4acc387 SHA512 42a685324b630835fe0c8735a67879e099f96eadf091c803368a9dd478a80b4ab47225fda6142942569c96b21355b5dac5e174ff434bcdc78784a810d2088609 WHIRLPOOL d1d8af441a8c6f13f81705489deded11fdd8f66bf79a66f9076ed4e7b6e0644d9f9034887a043d8c9c9a55031db9c2c9a2ca0ac53cbbef96c5ed25275c50e9e3
diff --git a/net-mail/courier-imap/courier-imap-4.16.0-r1.ebuild b/net-mail/courier-imap/courier-imap-4.16.0-r1.ebuild
deleted file mode 100644
index fbb94172a5a..00000000000
--- a/net-mail/courier-imap/courier-imap-4.16.0-r1.ebuild
+++ /dev/null
@@ -1,221 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils multilib libtool systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="http://www.courier-mta.org/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
-IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
-
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls )
- !gnutls? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- )
- >=net-libs/courier-authlib-0.61
- ~net-libs/courier-unicode-1.1
- >=net-mail/mailbase-0.00-r8
- berkdb? ( sys-libs/db:= )
- fam? ( virtual/fam )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )"
-RDEPEND="${CDEPEND}
- 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"
-
-RC_VER="4.0.6-r1"
-INITD_VER="4.0.6-r1"
-
-src_prepare() {
- # Bug #48838. Patch to enable/disable FAM support.
- # 20 Aug 2004 langthang@gentoo.org
- # This patch should fix bug #51540. fam USE flag is not needed for shared folder support.
- epatch "${FILESDIR}"/${PN}-4.15-disable-fam-configure.ac.patch
-
- # Kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206).
- epatch "${FILESDIR}"/${PN}-4.15-aclocal-fix.patch
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- epatch \
- "${FILESDIR}"/${PN}-4.15-db4-bdbobj_configure.ac.patch \
- "${FILESDIR}"/${PN}-4.15-db4-configure.ac.patch
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # 19 Aug 2004 langthang@gentoo.org
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- # Do the actual build now
- econf \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir=/etc/${PN} \
- --libexecdir=/usr/$(get_libdir)/${PN} \
- --localstatedir=/var/lib/${PN} \
- --with-authdaemonvar=/var/lib/${PN}/authdaemon \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- $(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_install() {
- dodir /var/lib/${PN} /etc/pam.d
- default
- rm -Rf "${D}/etc/pam.d" || die
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- cd "${D}/usr/sbin" || die
- for name in imapd pop3d ; do
- mv -f "${name}" "courier-${name}" || die "Failed to mv ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- cd "${D}/usr/$(get_libdir)/${PN}" || die
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -i -e 's/Maildir/${MAILDIR}/' "${service}.rc" || die "sed failed"
- sed -i -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" "${service}.rc" || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR} to them.
- cd "${D}/etc/${PN}" || die
- for service in {imapd,pop3d}{,-ssl} ; do
- mv -f "${service}.dist" "${service}" || die "Failed to mv ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' >> "${service}"
- echo 'MAILDIR=.maildir' >> "${service}"
- echo 'MAILDIRPATH=.maildir' >> "${service}"
- done
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' >> "${service}"
- echo 'PRERUN=' >> "${service}"
- echo -e '# Put any program for ${LOGINRUN} here' >> "${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' >> "${service}"
- echo 'LOGINRUN=' >> "${service}"
- done
-
- cd "${D}/usr/sbin"
- for x in * ; do
- if [[ -L "${x}" ]] ; then
- rm -f "${x}" || die "Failed to rm ${x}"
- fi
- done
-
- cd ../share
- mv -f * ../sbin
- mv -f ../sbin/man .
- cd ..
-
- for x in mkimapdcert mkpop3dcert ; do
- mv -f "${D}/usr/sbin/${x}" "${D}/usr/sbin/${x}.orig" || die "Failed to mv /usr/sbin/${x} to /usr/sbin/${x}.orig"
- done
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym /usr/sbin/courierlogger /usr/$(get_libdir)/${PN}/courierlogger
-
- mkdir "${WORKDIR}/tmp" ; cd "${WORKDIR}/tmp"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" > "${initd}" || die "initd libdir-sed failed"
- doinitd "${initd}"
- done
-
- systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service courier-authdaemond.service
- systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service courier-imapd-ssl.service
- systemd_newunit "${FILESDIR}"/courier-imapd-r1.service courier-imapd.service
-
- exeinto /usr/$(get_libdir)/${PN}
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${RC_VER}-${exe}" > "${exe}" || die "exe libdir-sed failed"
- doexe "${exe}"
- done
-
- dodir /usr/bin
- mv -f "${D}/usr/sbin/maildirmake" "${D}/usr/bin/maildirmake" || die "Failed to mv /usr/sbin/maildirmake to /usr/bin/maildirmake"
-
- # Bug #45953, more docs.
- cd "${S}" || die
- dohtml -r "${S}"/*
- dodoc "${S}"/{AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme
- docinto imap
- dodoc "${S}"/libs/imap/{ChangeLog,BUGS,BUGS.html,README}
- docinto maildir
- dodoc "${S}"/libs/maildir/{AUTHORS,INSTALL,README.maildirquota.txt,README.sharedfolders.txt}
- docinto tcpd
- dodoc "${S}"/libs/tcpd/README.couriertls
-}
-
-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.
- chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}" || die "Failed to ensure sane permissions on ${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."
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2017-02-27 8:40 Michael Weber
0 siblings, 0 replies; 114+ messages in thread
From: Michael Weber @ 2017-02-27 8:40 UTC (permalink / raw
To: gentoo-commits
commit: a8c45a19378fc8b19d1c49b87063c44fed86131c
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 08:40:29 2017 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 08:40:45 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8c45a19
net-mail/courier-imap: Rekeyword ~arm (bug 590970).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
index bbb298aafd..0f41f53467 100644
--- a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2016-12-21 21:34 Thomas Deutschmann
0 siblings, 0 replies; 114+ messages in thread
From: Thomas Deutschmann @ 2016-12-21 21:34 UTC (permalink / raw
To: gentoo-commits
commit: 295928a70220933b130ccc4edc08e4ec8d77d2a9
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 21 20:45:08 2016 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Dec 21 21:33:33 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=295928a7
net-mail/courier-imap: x86 stable (bug #590970)
Package-Manager: Portage-2.3.2, Repoman-2.3.1
net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
index 42f134a..4ef93dd 100644
--- a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="alpha amd64 hppa ~mips ~ppc64 ~x86"
+KEYWORDS="alpha amd64 hppa ~mips ~ppc64 x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2016-12-20 14:04 Tobias Klausmann
0 siblings, 0 replies; 114+ messages in thread
From: Tobias Klausmann @ 2016-12-20 14:04 UTC (permalink / raw
To: gentoo-commits
commit: ec70ae6ff6f1e286d45c48f371a289f23f84ce5f
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 13:44:01 2016 +0000
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 14:03:56 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec70ae6f
net-mail/courier-imap-4.16.2-r1: stable on amd64
Gentoo-Bug: 590970
net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
index 5b523a0..42f134a 100644
--- a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="alpha ~amd64 hppa ~mips ~ppc64 ~x86"
+KEYWORDS="alpha amd64 hppa ~mips ~ppc64 ~x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2016-09-27 9:09 Tobias Klausmann
0 siblings, 0 replies; 114+ messages in thread
From: Tobias Klausmann @ 2016-09-27 9:09 UTC (permalink / raw
To: gentoo-commits
commit: 955330f00611db52775b8c113ca270633ddee36a
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 27 09:09:04 2016 +0000
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Tue Sep 27 09:09:04 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=955330f0
net-mail/courier-imap-4.16.2-r1: stable on alpha
Gentoo-Bug: 590970
net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
index f76d6d0..5b523a0 100644
--- a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 hppa ~mips ~ppc64 ~x86"
+KEYWORDS="alpha ~amd64 hppa ~mips ~ppc64 ~x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2016-09-24 12:21 Jeroen Roovers
0 siblings, 0 replies; 114+ messages in thread
From: Jeroen Roovers @ 2016-09-24 12:21 UTC (permalink / raw
To: gentoo-commits
commit: e7990d9ab0f648f33fc3a2ff67640400887009aa
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 24 12:21:13 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Sep 24 12:21:27 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7990d9a
net-mail/courier-imap: Stable for HPPA (bug #590970).
Package-Manager: portage-2.3.1
RepoMan-Options: --ignore-arches
net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
index fa3fcfe..f76d6d0 100644
--- a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~hppa ~mips ~ppc64 ~x86"
+KEYWORDS="~amd64 hppa ~mips ~ppc64 ~x86"
IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2016-06-04 14:23 Anthony G. Basile
0 siblings, 0 replies; 114+ messages in thread
From: Anthony G. Basile @ 2016-06-04 14:23 UTC (permalink / raw
To: gentoo-commits
commit: 4f6f890ecb4ffbe99e7e0bcf85274425b73cde1d
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 4 14:23:28 2016 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Jun 4 14:23:28 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f6f890e
net-mail/courier-imap: add libressl support
Package-Manager: portage-2.2.28
net-mail/courier-imap/courier-imap-4.16.0-r1.ebuild | 7 +++++--
net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild | 7 +++++--
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-4.16.0-r1.ebuild b/net-mail/courier-imap/courier-imap-4.16.0-r1.ebuild
index 698cd89..3bce05e 100644
--- a/net-mail/courier-imap/courier-imap-4.16.0-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.16.0-r1.ebuild
@@ -13,13 +13,16 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
-IUSE="berkdb debug fam +gdbm ipv6 selinux gnutls trashquota"
+IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
CDEPEND="
gnutls? ( net-libs/gnutls )
- !gnutls? ( >=dev-libs/openssl-0.9.6:0= )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
>=net-libs/courier-authlib-0.61
~net-libs/courier-unicode-1.1
>=net-mail/mailbase-0.00-r8
diff --git a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
index 8a7c2b4..fa3fcfe 100644
--- a/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.16.2-r1.ebuild
@@ -13,13 +13,16 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~mips ~ppc64 ~x86"
-IUSE="berkdb debug fam +gdbm ipv6 selinux gnutls trashquota"
+IUSE="berkdb debug fam +gdbm gnutls ipv6 libressl selinux trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
CDEPEND="
gnutls? ( net-libs/gnutls )
- !gnutls? ( >=dev-libs/openssl-0.9.6:0= )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
>=net-libs/courier-authlib-0.61
>=net-libs/courier-unicode-1.3
>=net-mail/mailbase-0.00-r8
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2016-05-02 22:24 Austin English
0 siblings, 0 replies; 114+ messages in thread
From: Austin English @ 2016-05-02 22:24 UTC (permalink / raw
To: gentoo-commits
commit: dce50cb2aa3182e40a970a5977e6f93c0dc2b596
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon May 2 21:28:17 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon May 2 22:21:47 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dce50cb2
net-mail/courier-imap: remove old ebuilds
Package-Manager: portage-2.2.26
net-mail/courier-imap/courier-imap-4.15-r1.ebuild | 230 ----------------------
net-mail/courier-imap/courier-imap-4.16.0.ebuild | 219 --------------------
net-mail/courier-imap/courier-imap-4.16.2.ebuild | 219 --------------------
3 files changed, 668 deletions(-)
diff --git a/net-mail/courier-imap/courier-imap-4.15-r1.ebuild b/net-mail/courier-imap/courier-imap-4.15-r1.ebuild
deleted file mode 100644
index baf7185..0000000
--- a/net-mail/courier-imap/courier-imap-4.15-r1.ebuild
+++ /dev/null
@@ -1,230 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools eutils multilib libtool systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="http://www.courier-mta.org/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
-IUSE="berkdb debug fam +gdbm ipv6 selinux gnutls trashquota"
-
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls )
- !gnutls? ( >=dev-libs/openssl-0.9.6:0= )
- >=net-libs/courier-authlib-0.61
- >=net-mail/mailbase-0.00-r8
- berkdb? ( sys-libs/db:= )
- fam? ( virtual/fam )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )"
-RDEPEND="${CDEPEND}
- 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"
-
-RC_VER="4.0.6-r1"
-INITD_VER="4.0.6-r1"
-
-src_prepare() {
- # Bug #48838. Patch to enable/disable FAM support.
- # 20 Aug 2004 langthang@gentoo.org
- # This patch should fix bug #51540. fam USE flag is not needed for shared folder support.
- epatch "${FILESDIR}"/${P}-disable-fam-configure.ac.patch
-
- # Kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206).
- epatch "${FILESDIR}"/${P}-aclocal-fix.patch
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- epatch \
- "${FILESDIR}"/${P}-db4-bdbobj_configure.ac.patch \
- "${FILESDIR}"/${P}-db4-configure.ac.patch
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # 19 Aug 2004 langthang@gentoo.org
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- # Disabling unicode is no longer supported
- # By default all available character sets are included
- # Set ENABLE_UNICODE=iso-8859-1,utf-8,iso-8859-10
- # to include only specified translation tables.
- if [[ -z "${ENABLE_UNICODE}" ]] ; then
- einfo "ENABLE_UNICODE is not set, building with all available character sets"
- myconf="${myconf} --enable-unicode"
- else
- einfo "ENABLE_UNICODE is set, building with unicode=${ENABLE_UNICODE}"
- myconf="${myconf} --enable-unicode=${ENABLE_UNICODE}"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- # Do the actual build now
- econf \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir=/etc/${PN} \
- --libexecdir=/usr/$(get_libdir)/${PN} \
- --localstatedir=/var/lib/${PN} \
- --with-authdaemonvar=/var/lib/${PN}/authdaemon \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- $(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_install() {
- dodir /var/lib/${PN} /etc/pam.d
- default
- rm -Rf "${D}/etc/pam.d" || die
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- cd "${D}/usr/sbin" || die
- for name in imapd pop3d ; do
- mv -f "${name}" "courier-${name}" || die "Failed to mv ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- cd "${D}/usr/$(get_libdir)/${PN}" || die
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -i -e 's/Maildir/${MAILDIR}/' "${service}.rc" || die "sed failed"
- sed -i -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" "${service}.rc" || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR} to them.
- cd "${D}/etc/${PN}" || die
- for service in {imapd,pop3d}{,-ssl} ; do
- mv -f "${service}.dist" "${service}" || die "Failed to mv ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' >> "${service}"
- echo 'MAILDIR=.maildir' >> "${service}"
- echo 'MAILDIRPATH=.maildir' >> "${service}"
- done
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' >> "${service}"
- echo 'PRERUN=' >> "${service}"
- echo -e '# Put any program for ${LOGINRUN} here' >> "${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' >> "${service}"
- echo 'LOGINRUN=' >> "${service}"
- done
-
- cd "${D}/usr/sbin" || die
- for x in * ; do
- if [[ -L "${x}" ]] ; then
- rm -f "${x}" || die "Failed to rm ${x}"
- fi
- done
-
- cd ../share || die
- mv -f * ../sbin || die
- mv -f ../sbin/man . || die
- cd .. || die
-
- for x in mkimapdcert mkpop3dcert ; do
- mv -f "${D}/usr/sbin/${x}" "${D}/usr/sbin/${x}.orig" || die "Failed to mv /usr/sbin/${x} to /usr/sbin/${x}.orig"
- done
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym /usr/sbin/courierlogger /usr/$(get_libdir)/${PN}/courierlogger
-
- mkdir "${WORKDIR}/tmp" && cd "${WORKDIR}/tmp" || die
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" > "${initd}" || die "initd libdir-sed failed"
- doinitd "${initd}"
- done
-
- systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service courier-authdaemond.service
- systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service courier-imapd-ssl.service
- systemd_newunit "${FILESDIR}"/courier-imapd-r1.service courier-imapd.service
-
- exeinto /usr/$(get_libdir)/${PN}
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${RC_VER}-${exe}" > "${exe}" || die "exe libdir-sed failed"
- doexe "${exe}"
- done
-
- dodir /usr/bin
- mv -f "${D}/usr/sbin/maildirmake" "${D}/usr/bin/maildirmake" || die "Failed to mv /usr/sbin/maildirmake to /usr/bin/maildirmake"
-
- # Bug #45953, more docs.
- cd "${S}" || die
- dohtml -r "${S}"/*
- dodoc "${S}"/{AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme
- docinto imap
- dodoc "${S}"/libs/imap/{ChangeLog,BUGS,BUGS.html,README}
- docinto maildir
- dodoc "${S}"/libs/maildir/{AUTHORS,INSTALL,README.maildirquota.txt,README.sharedfolders.txt}
- docinto tcpd
- dodoc "${S}"/libs/tcpd/README.couriertls
-}
-
-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.
- chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}" || die "Failed to ensure sane permissions on ${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."
-}
diff --git a/net-mail/courier-imap/courier-imap-4.16.0.ebuild b/net-mail/courier-imap/courier-imap-4.16.0.ebuild
deleted file mode 100644
index df13761..0000000
--- a/net-mail/courier-imap/courier-imap-4.16.0.ebuild
+++ /dev/null
@@ -1,219 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools eutils multilib libtool systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="http://www.courier-mta.org/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
-IUSE="berkdb debug fam +gdbm ipv6 selinux gnutls trashquota"
-
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls )
- !gnutls? ( >=dev-libs/openssl-0.9.6:0= )
- >=net-libs/courier-authlib-0.61
- ~net-libs/courier-unicode-1.1
- >=net-mail/mailbase-0.00-r8
- berkdb? ( sys-libs/db:= )
- fam? ( virtual/fam )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )"
-RDEPEND="${CDEPEND}
- 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"
-
-RC_VER="4.0.6-r1"
-INITD_VER="4.0.6-r1"
-
-src_prepare() {
- # Bug #48838. Patch to enable/disable FAM support.
- # 20 Aug 2004 langthang@gentoo.org
- # This patch should fix bug #51540. fam USE flag is not needed for shared folder support.
- epatch "${FILESDIR}"/${PN}-4.15-disable-fam-configure.ac.patch
-
- # Kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206).
- epatch "${FILESDIR}"/${PN}-4.15-aclocal-fix.patch
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- epatch \
- "${FILESDIR}"/${PN}-4.15-db4-bdbobj_configure.ac.patch \
- "${FILESDIR}"/${PN}-4.15-db4-configure.ac.patch
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # 19 Aug 2004 langthang@gentoo.org
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- # Do the actual build now
- econf \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir=/etc/${PN} \
- --libexecdir=/usr/$(get_libdir)/${PN} \
- --localstatedir=/var/lib/${PN} \
- --with-authdaemonvar=/var/lib/${PN}/authdaemon \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- $(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_install() {
- dodir /var/lib/${PN} /etc/pam.d
- default
- rm -Rf "${D}/etc/pam.d" || die
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- cd "${D}/usr/sbin" || die
- for name in imapd pop3d ; do
- mv -f "${name}" "courier-${name}" || die "Failed to mv ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- cd "${D}/usr/$(get_libdir)/${PN}" || die
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -i -e 's/Maildir/${MAILDIR}/' "${service}.rc" || die "sed failed"
- sed -i -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" "${service}.rc" || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR} to them.
- cd "${D}/etc/${PN}" || die
- for service in {imapd,pop3d}{,-ssl} ; do
- mv -f "${service}.dist" "${service}" || die "Failed to mv ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' >> "${service}"
- echo 'MAILDIR=.maildir' >> "${service}"
- echo 'MAILDIRPATH=.maildir' >> "${service}"
- done
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' >> "${service}"
- echo 'PRERUN=' >> "${service}"
- echo -e '# Put any program for ${LOGINRUN} here' >> "${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' >> "${service}"
- echo 'LOGINRUN=' >> "${service}"
- done
-
- cd "${D}/usr/sbin"
- for x in * ; do
- if [[ -L "${x}" ]] ; then
- rm -f "${x}" || die "Failed to rm ${x}"
- fi
- done
-
- cd ../share
- mv -f * ../sbin
- mv -f ../sbin/man .
- cd ..
-
- for x in mkimapdcert mkpop3dcert ; do
- mv -f "${D}/usr/sbin/${x}" "${D}/usr/sbin/${x}.orig" || die "Failed to mv /usr/sbin/${x} to /usr/sbin/${x}.orig"
- done
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym /usr/sbin/courierlogger /usr/$(get_libdir)/${PN}/courierlogger
-
- mkdir "${WORKDIR}/tmp" ; cd "${WORKDIR}/tmp"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" > "${initd}" || die "initd libdir-sed failed"
- doinitd "${initd}"
- done
-
- systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service courier-authdaemond.service
- systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service courier-imapd-ssl.service
- systemd_newunit "${FILESDIR}"/courier-imapd-r1.service courier-imapd.service
-
- exeinto /usr/$(get_libdir)/${PN}
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${RC_VER}-${exe}" > "${exe}" || die "exe libdir-sed failed"
- doexe "${exe}"
- done
-
- dodir /usr/bin
- mv -f "${D}/usr/sbin/maildirmake" "${D}/usr/bin/maildirmake" || die "Failed to mv /usr/sbin/maildirmake to /usr/bin/maildirmake"
-
- # Bug #45953, more docs.
- cd "${S}" || die
- dohtml -r "${S}"/*
- dodoc "${S}"/{AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme
- docinto imap
- dodoc "${S}"/libs/imap/{ChangeLog,BUGS,BUGS.html,README}
- docinto maildir
- dodoc "${S}"/libs/maildir/{AUTHORS,INSTALL,README.maildirquota.txt,README.sharedfolders.txt}
- docinto tcpd
- dodoc "${S}"/libs/tcpd/README.couriertls
-}
-
-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.
- chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}" || die "Failed to ensure sane permissions on ${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."
-}
diff --git a/net-mail/courier-imap/courier-imap-4.16.2.ebuild b/net-mail/courier-imap/courier-imap-4.16.2.ebuild
deleted file mode 100644
index a63c2d5..0000000
--- a/net-mail/courier-imap/courier-imap-4.16.2.ebuild
+++ /dev/null
@@ -1,219 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools eutils multilib libtool systemd
-
-DESCRIPTION="An IMAP daemon designed specifically for maildirs"
-HOMEPAGE="http://www.courier-mta.org/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~mips ~ppc64 ~x86"
-IUSE="berkdb debug fam +gdbm ipv6 selinux gnutls trashquota"
-
-REQUIRED_USE="|| ( berkdb gdbm )"
-
-CDEPEND="
- gnutls? ( net-libs/gnutls )
- !gnutls? ( >=dev-libs/openssl-0.9.6:0= )
- >=net-libs/courier-authlib-0.61
- >=net-libs/courier-unicode-1.3
- >=net-mail/mailbase-0.00-r8
- berkdb? ( sys-libs/db:= )
- fam? ( virtual/fam )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )"
-DEPEND="${CDEPEND}
- dev-lang/perl
- !mail-mta/courier
- userland_GNU? ( sys-process/procps )"
-RDEPEND="${CDEPEND}
- 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"
-
-RC_VER="4.0.6-r1"
-INITD_VER="4.0.6-r1"
-
-src_prepare() {
- # Bug #48838. Patch to enable/disable FAM support.
- # 20 Aug 2004 langthang@gentoo.org
- # This patch should fix bug #51540. fam USE flag is not needed for shared folder support.
- epatch "${FILESDIR}"/${PN}-4.15-disable-fam-configure.ac.patch
-
- # Kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206).
- epatch "${FILESDIR}"/${PN}-4.15-aclocal-fix.patch
-
- # These patches should fix problems detecting BerkeleyDB.
- # We now can compile with db4 support.
- if use berkdb ; then
- epatch \
- "${FILESDIR}"/${PN}-4.15-db4-bdbobj_configure.ac.patch \
- "${FILESDIR}"/${PN}-4.15-db4-configure.ac.patch
- fi
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=""
-
- # 19 Aug 2004 langthang@gentoo.org
- # Default to gdbm if both berkdb and gdbm are present.
- if use gdbm ; then
- einfo "Building with GDBM support"
- myconf="${myconf} --with-db=gdbm"
- elif use berkdb ; then
- einfo "Building with BerkeleyDB support"
- myconf="${myconf} --with-db=db"
- fi
-
- if use trashquota ; then
- einfo "Building with Trash Quota Support"
- myconf="${myconf} --with-trashquota"
- fi
-
- use debug && myconf="${myconf} debug=true"
-
- # Do the actual build now
- econf \
- --disable-root-check \
- --bindir=/usr/sbin \
- --sysconfdir=/etc/${PN} \
- --libexecdir=/usr/$(get_libdir)/${PN} \
- --localstatedir=/var/lib/${PN} \
- --with-authdaemonvar=/var/lib/${PN}/authdaemon \
- --enable-workarounds-for-imap-client-bugs \
- --with-mailuser=mail \
- --with-mailgroup=mail \
- $(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_install() {
- dodir /var/lib/${PN} /etc/pam.d
- default
- rm -Rf "${D}/etc/pam.d" || die
-
- # Avoid name collisions in /usr/sbin wrt imapd and pop3d
- cd "${D}/usr/sbin" || die
- for name in imapd pop3d ; do
- mv -f "${name}" "courier-${name}" || die "Failed to mv ${name} to courier-${name}"
- done
-
- # Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of
- # 'Maildir', and to use /usr/sbin/courier-foo names.
- cd "${D}/usr/$(get_libdir)/${PN}" || die
- for service in {imapd,pop3d}{,-ssl} ; do
- sed -i -e 's/Maildir/${MAILDIR}/' "${service}.rc" || die "sed failed"
- sed -i -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" "${service}.rc" || die "sed failed"
- done
-
- # Rename the config files correctly and add a value for ${MAILDIR} to them.
- cd "${D}/etc/${PN}" || die
- for service in {imapd,pop3d}{,-ssl} ; do
- mv -f "${service}.dist" "${service}" || die "Failed to mv ${service}.dist to ${service}"
- echo -e '\n# Hardwire a value for ${MAILDIR}' >> "${service}"
- echo 'MAILDIR=.maildir' >> "${service}"
- echo 'MAILDIRPATH=.maildir' >> "${service}"
- done
- for service in imapd pop3d ; do
- echo -e '# Put any program for ${PRERUN} here' >> "${service}"
- echo 'PRERUN=' >> "${service}"
- echo -e '# Put any program for ${LOGINRUN} here' >> "${service}"
- echo -e '# this is for relay-ctrl-allow in 4*' >> "${service}"
- echo 'LOGINRUN=' >> "${service}"
- done
-
- cd "${D}/usr/sbin"
- for x in * ; do
- if [[ -L "${x}" ]] ; then
- rm -f "${x}" || die "Failed to rm ${x}"
- fi
- done
-
- cd ../share
- mv -f * ../sbin
- mv -f ../sbin/man .
- cd ..
-
- for x in mkimapdcert mkpop3dcert ; do
- mv -f "${D}/usr/sbin/${x}" "${D}/usr/sbin/${x}.orig" || die "Failed to mv /usr/sbin/${x} to /usr/sbin/${x}.orig"
- done
-
- dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert"
-
- dosym /usr/sbin/courierlogger /usr/$(get_libdir)/${PN}/courierlogger
-
- mkdir "${WORKDIR}/tmp" ; cd "${WORKDIR}/tmp"
-
- for initd in courier-{imapd,pop3d}{,-ssl} ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" > "${initd}" || die "initd libdir-sed failed"
- doinitd "${initd}"
- done
-
- systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service courier-authdaemond.service
- systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service courier-imapd-ssl.service
- systemd_newunit "${FILESDIR}"/courier-imapd-r1.service courier-imapd.service
-
- exeinto /usr/$(get_libdir)/${PN}
- for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do
- sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${RC_VER}-${exe}" > "${exe}" || die "exe libdir-sed failed"
- doexe "${exe}"
- done
-
- dodir /usr/bin
- mv -f "${D}/usr/sbin/maildirmake" "${D}/usr/bin/maildirmake" || die "Failed to mv /usr/sbin/maildirmake to /usr/bin/maildirmake"
-
- # Bug #45953, more docs.
- cd "${S}" || die
- dohtml -r "${S}"/*
- dodoc "${S}"/{AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme
- docinto imap
- dodoc "${S}"/libs/imap/{ChangeLog,BUGS,BUGS.html,README}
- docinto maildir
- dodoc "${S}"/libs/maildir/{AUTHORS,INSTALL,README.maildirquota.txt,README.sharedfolders.txt}
- docinto tcpd
- dodoc "${S}"/libs/tcpd/README.couriertls
-}
-
-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.
- chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}" || die "Failed to ensure sane permissions on ${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."
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2015-12-11 22:54 Manuel Rüger
0 siblings, 0 replies; 114+ messages in thread
From: Manuel Rüger @ 2015-12-11 22:54 UTC (permalink / raw
To: gentoo-commits
commit: 34271bca261c5c38ac806182c1fecfae278e85b8
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 11 22:54:10 2015 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Fri Dec 11 22:54:10 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34271bca
net-mail/courier-imap: Remove maintainer
Proxied maintainer requested to be removed.
Package-Manager: portage-2.2.26
net-mail/courier-imap/metadata.xml | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/net-mail/courier-imap/metadata.xml b/net-mail/courier-imap/metadata.xml
index f6c6023..7bf2889 100644
--- a/net-mail/courier-imap/metadata.xml
+++ b/net-mail/courier-imap/metadata.xml
@@ -1,12 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>proxy-maintainers</herd>
- <maintainer>
- <email>david@ixit.cz</email>
- <name>David Heidelberg</name>
- <description>Assign bugs to him.</description>
- </maintainer>
+ <herd>maintainer-needed</herd>
<use>
<flag name="trashquota">include deleted messages, and the Trash folder, in the estimated quota usage for maildirs</flag>
</use>
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2015-09-08 10:04 Joshua Kinard
0 siblings, 0 replies; 114+ messages in thread
From: Joshua Kinard @ 2015-09-08 10:04 UTC (permalink / raw
To: gentoo-commits
commit: bde6a401dac7191b738aa833b9d2cdede3141844
Author: Joshua Kinard <kumba <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 8 09:51:18 2015 +0000
Commit: Joshua Kinard <kumba <AT> gentoo <DOT> org>
CommitDate: Tue Sep 8 09:51:18 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bde6a401
Added ~mips to KEYWORDS, per #532520.
Package-Manager: portage-2.2.20.1
net-mail/courier-imap/courier-imap-4.16.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-mail/courier-imap/courier-imap-4.16.2.ebuild b/net-mail/courier-imap/courier-imap-4.16.2.ebuild
index 00f3535..a63c2d5 100644
--- a/net-mail/courier-imap/courier-imap-4.16.2.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.16.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
+KEYWORDS="~amd64 ~hppa ~mips ~ppc64 ~x86"
IUSE="berkdb debug fam +gdbm ipv6 selinux gnutls trashquota"
REQUIRED_USE="|| ( berkdb gdbm )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/
@ 2015-08-12 8:13 Ian Delaney
0 siblings, 0 replies; 114+ messages in thread
From: Ian Delaney @ 2015-08-12 8:13 UTC (permalink / raw
To: gentoo-commits
commit: 0f04e0bb96e3c59385c2d6d04432e0cbe6e19de3
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 08:11:07 2015 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 08:12:42 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f04e0bb
net-mail/courier-imap: bump, set border version to courier-unicode
described in bug #553820, fixes bugs #553820 & #553720
Package-Manager: portage-2.2.20
net-mail/courier-imap/Manifest | 1 +
net-mail/courier-imap/courier-imap-4.16.0.ebuild | 2 +-
.../{courier-imap-4.16.0.ebuild => courier-imap-4.16.2.ebuild} | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/net-mail/courier-imap/Manifest b/net-mail/courier-imap/Manifest
index 72b8948..9ca4584 100644
--- a/net-mail/courier-imap/Manifest
+++ b/net-mail/courier-imap/Manifest
@@ -1,2 +1,3 @@
DIST courier-imap-4.15.tar.bz2 3266353 SHA256 6c34107e7ba9e5396d50b58fb414a495806335cab7135c96ad85a3816785b109 SHA512 7829662282db5e6f414a1d34f06a94c2dd028e263510f01b49ebd3a1a4994055ecc08604568f5a44a30f6411e3a34e0d6c38807c29eaf255752191e885f82e1a WHIRLPOOL 1b5e42bd1f72e3205030b54e9564ce45c4eccb394b31c64a616f225def5a5df05f74ef62c59fbea63b18ce336d77cc2368170a982abb7a6e94d309d0c6ee4dd2
DIST courier-imap-4.16.0.tar.bz2 3021228 SHA256 20ee63fbb5eef671dfcceecf3ed3eb48663cff3bcb607ecc904d0bc4f8c0b4b2 SHA512 5f84c035e3936cf2b435efee7ecb98f98da8ecdd3afa3661ba03737d870aa038586a49c3a696fd8d028302349279139e90b1befc1d42a8488909c0ca0ea96a5c WHIRLPOOL be8b916ff9526c0a34cbad210bb026ab176a327eba4c4e5d76da7d99e800418749b0ab50bff9ce9a7378ddfd9342a86ad3462e4418e0d36bad159ed2db3af069
+DIST courier-imap-4.16.2.tar.bz2 3028445 SHA256 3be244b3c4d3d5c5e33efb37e4cf712ae83cbe21e43c31725e0d996ab4acc387 SHA512 42a685324b630835fe0c8735a67879e099f96eadf091c803368a9dd478a80b4ab47225fda6142942569c96b21355b5dac5e174ff434bcdc78784a810d2088609 WHIRLPOOL d1d8af441a8c6f13f81705489deded11fdd8f66bf79a66f9076ed4e7b6e0644d9f9034887a043d8c9c9a55031db9c2c9a2ca0ac53cbbef96c5ed25275c50e9e3
diff --git a/net-mail/courier-imap/courier-imap-4.16.0.ebuild b/net-mail/courier-imap/courier-imap-4.16.0.ebuild
index 6995248..df13761 100644
--- a/net-mail/courier-imap/courier-imap-4.16.0.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.16.0.ebuild
@@ -21,7 +21,7 @@ CDEPEND="
gnutls? ( net-libs/gnutls )
!gnutls? ( >=dev-libs/openssl-0.9.6:0= )
>=net-libs/courier-authlib-0.61
- >=net-libs/courier-unicode-1.1
+ ~net-libs/courier-unicode-1.1
>=net-mail/mailbase-0.00-r8
berkdb? ( sys-libs/db:= )
fam? ( virtual/fam )
diff --git a/net-mail/courier-imap/courier-imap-4.16.0.ebuild b/net-mail/courier-imap/courier-imap-4.16.2.ebuild
similarity index 99%
copy from net-mail/courier-imap/courier-imap-4.16.0.ebuild
copy to net-mail/courier-imap/courier-imap-4.16.2.ebuild
index 6995248..00f3535 100644
--- a/net-mail/courier-imap/courier-imap-4.16.0.ebuild
+++ b/net-mail/courier-imap/courier-imap-4.16.2.ebuild
@@ -21,7 +21,7 @@ CDEPEND="
gnutls? ( net-libs/gnutls )
!gnutls? ( >=dev-libs/openssl-0.9.6:0= )
>=net-libs/courier-authlib-0.61
- >=net-libs/courier-unicode-1.1
+ >=net-libs/courier-unicode-1.3
>=net-mail/mailbase-0.00-r8
berkdb? ( sys-libs/db:= )
fam? ( virtual/fam )
^ permalink raw reply related [flat|nested] 114+ messages in thread
end of thread, other threads:[~2024-07-21 14:56 UTC | newest]
Thread overview: 114+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-17 10:29 [gentoo-commits] repo/gentoo:master commit in: net-mail/courier-imap/ Sergei Trofimovich
-- strict thread matches above, loose matches on Subject: below --
2024-07-21 14:56 Hanno Böck
2024-05-23 19:35 Alfredo Tupone
2024-05-21 6:32 Alfredo Tupone
2024-04-12 6:26 Arthur Zamarin
2024-03-22 20:32 Alfredo Tupone
2024-03-13 21:42 Sam James
2024-03-13 20:58 Sam James
2024-03-03 4:05 Sam James
2024-03-02 16:25 Arthur Zamarin
2024-03-01 19:11 Jakov Smolić
2024-02-29 23:17 Sam James
2024-01-17 21:53 Alfredo Tupone
2024-01-14 21:36 Alfredo Tupone
2024-01-14 16:03 Alfredo Tupone
2024-01-13 19:25 Alfredo Tupone
2024-01-01 8:58 Alfredo Tupone
2023-12-26 19:24 Alfredo Tupone
2023-12-26 19:21 Alfredo Tupone
2023-12-21 20:01 Alfredo Tupone
2023-10-18 21:12 Alfredo Tupone
2023-04-05 20:01 Alfredo Tupone
2023-01-24 7:29 Alfredo Tupone
2022-12-18 8:56 Alfredo Tupone
2022-12-03 4:47 WANG Xuerui
2022-03-03 21:22 David Seifert
2022-02-02 8:01 Alfredo Tupone
2022-01-06 9:07 David Seifert
2021-11-10 4:15 Sam James
2021-11-09 22:29 Sam James
2021-11-09 22:28 Sam James
2021-11-09 21:53 Arthur Zamarin
2021-11-09 21:35 Sam James
2021-11-09 21:34 Sam James
2021-11-09 21:24 Jakov Smolić
2021-09-18 16:51 Alfredo Tupone
2021-09-10 8:59 Alfredo Tupone
2021-08-16 2:24 Sam James
2021-07-04 10:39 Alfredo Tupone
2021-05-28 6:33 Alfredo Tupone
2021-05-16 12:50 Sam James
2021-05-14 20:00 Alfredo Tupone
2021-05-09 9:48 Sergei Trofimovich
2021-05-08 21:18 Alfredo Tupone
2021-05-08 18:55 Sam James
2021-05-07 13:33 Sam James
2021-05-07 13:32 Sam James
2021-05-07 13:30 Sam James
2021-05-07 13:29 Sam James
2021-05-07 13:28 Sam James
2021-05-02 12:51 Mikle Kolyada
2021-04-23 19:45 Alfredo Tupone
2021-04-10 16:16 Alfredo Tupone
2021-04-04 15:29 Alfredo Tupone
2021-03-20 13:39 Alfredo Tupone
2021-03-20 12:52 Alfredo Tupone
2021-01-13 8:47 Alfredo Tupone
2020-06-19 21:16 Alfredo Tupone
2020-05-24 9:30 Alfredo Tupone
2020-01-26 21:08 Alfredo Tupone
2020-01-22 20:28 Alfredo Tupone
2020-01-14 20:11 Alfredo Tupone
2020-01-09 7:29 Alfredo Tupone
2020-01-03 14:45 Agostino Sarubbo
2019-11-14 11:55 Agostino Sarubbo
2019-11-12 18:07 Agostino Sarubbo
2019-11-07 20:14 Aaron Bauman
2019-11-06 19:27 Alfredo Tupone
2019-11-01 11:16 Mikle Kolyada
2019-10-30 20:11 Alfredo Tupone
2019-10-28 7:43 Agostino Sarubbo
2019-10-26 19:49 Alfredo Tupone
2019-10-26 15:16 Agostino Sarubbo
2019-10-23 13:39 Agostino Sarubbo
2019-07-22 16:49 Aaron Bauman
2019-07-04 17:00 Alfredo Tupone
2019-07-02 7:27 Alfredo Tupone
2019-07-01 20:19 Alfredo Tupone
2019-06-05 7:28 Agostino Sarubbo
2019-05-08 14:38 Tobias Klausmann
2019-03-15 23:14 Mikle Kolyada
2019-03-13 22:37 Sergei Trofimovich
2019-03-10 14:32 Mikle Kolyada
2019-03-03 5:45 Mikle Kolyada
2019-03-02 20:02 Sergei Trofimovich
2019-03-01 21:21 Sergei Trofimovich
2019-03-01 1:14 Thomas Deutschmann
2019-01-05 17:19 Mikle Kolyada
2018-12-25 19:34 Tim Harder
2018-07-15 13:20 Mart Raudsepp
2018-06-20 18:32 Pacho Ramos
2018-06-20 18:32 Pacho Ramos
2018-04-17 4:51 Michael Orlitzky
2018-04-16 7:10 Mikle Kolyada
2018-04-16 7:04 Mikle Kolyada
2018-03-01 15:09 Michał Górny
2017-10-16 11:48 Jeroen Roovers
2017-10-16 11:48 Jeroen Roovers
2017-05-12 17:56 Tobias Klausmann
2017-04-30 10:15 Jeroen Roovers
2017-04-28 13:14 Agostino Sarubbo
2017-04-28 12:52 Agostino Sarubbo
2017-04-28 12:31 Agostino Sarubbo
2017-03-27 2:45 Michael Orlitzky
2017-02-27 8:40 Michael Weber
2016-12-21 21:34 Thomas Deutschmann
2016-12-20 14:04 Tobias Klausmann
2016-09-27 9:09 Tobias Klausmann
2016-09-24 12:21 Jeroen Roovers
2016-06-04 14:23 Anthony G. Basile
2016-05-02 22:24 Austin English
2015-12-11 22:54 Manuel Rüger
2015-09-08 10:04 Joshua Kinard
2015-08-12 8:13 Ian Delaney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox