diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-03-21 21:35:09 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-03-21 21:35:09 +0000 |
commit | ab282411d392229accf305d161bffee33c2da6e6 (patch) | |
tree | 47a8e2b1cacbea33ad85c558f8b7bf0a4dca7d52 /net-mail | |
parent | x86 stable, see bug 505798 (diff) | |
download | gentoo-2-ab282411d392229accf305d161bffee33c2da6e6.tar.gz gentoo-2-ab282411d392229accf305d161bffee33c2da6e6.tar.bz2 gentoo-2-ab282411d392229accf305d161bffee33c2da6e6.zip |
use dosbin instead of exeinto /usr/sbin/ && doexe
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/courier-imap/ChangeLog | 6 | ||||
-rw-r--r-- | net-mail/courier-imap/courier-imap-4.15-r1.ebuild | 61 | ||||
-rw-r--r-- | net-mail/courier-imap/courier-imap-4.16.0.ebuild | 49 |
3 files changed, 63 insertions, 53 deletions
diff --git a/net-mail/courier-imap/ChangeLog b/net-mail/courier-imap/ChangeLog index 474a2984ecdf..78615eaa93bd 100644 --- a/net-mail/courier-imap/ChangeLog +++ b/net-mail/courier-imap/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-mail/courier-imap # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/ChangeLog,v 1.226 2015/02/09 17:01:23 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/ChangeLog,v 1.227 2015/03/21 21:35:09 jlec Exp $ + + 21 Mar 2015; Justin Lecher <jlec@gentoo.org> courier-imap-4.15-r1.ebuild, + courier-imap-4.16.0.ebuild: + use dosbin instead of exeinto /usr/sbin/ && doexe *courier-imap-4.16.0 (09 Feb 2015) diff --git a/net-mail/courier-imap/courier-imap-4.15-r1.ebuild b/net-mail/courier-imap/courier-imap-4.15-r1.ebuild index 89b9c785cfc5..3f8797186666 100644 --- a/net-mail/courier-imap/courier-imap-4.15-r1.ebuild +++ b/net-mail/courier-imap/courier-imap-4.15-r1.ebuild @@ -1,31 +1,34 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-4.15-r1.ebuild,v 1.14 2014/11/21 10:06:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-4.15-r1.ebuild,v 1.15 2015/03/21 21:35:09 jlec Exp $ EAPI=5 -inherit autotools eutils multilib libtool systemd -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +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 ) - >=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 )" +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 )" + dev-lang/perl + !mail-mta/courier + userland_GNU? ( sys-process/procps )" RDEPEND="${CDEPEND} selinux? ( sec-policy/selinux-courier )" @@ -52,7 +55,8 @@ src_prepare() { # 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\ + epatch \ + "${FILESDIR}"/${P}-db4-bdbobj_configure.ac.patch \ "${FILESDIR}"/${P}-db4-configure.ac.patch fi @@ -124,25 +128,25 @@ src_compile() { src_install() { dodir /var/lib/${PN} /etc/pam.d - emake DESTDIR="${D}" install - rm -Rf "${D}/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" + 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}" + 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}" + 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}" @@ -157,28 +161,27 @@ src_install() { echo 'LOGINRUN=' >> "${service}" done - cd "${D}/usr/sbin" + 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 - mv -f * ../sbin - mv -f ../sbin/man . - cd .. + 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 - exeinto /usr/sbin - doexe "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" + dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" dosym /usr/sbin/courierlogger /usr/$(get_libdir)/${PN}/courierlogger - mkdir "${WORKDIR}/tmp" ; cd "${WORKDIR}/tmp" + 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" @@ -199,7 +202,7 @@ src_install() { 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}" + cd "${S}" || die dohtml -r "${S}"/* dodoc "${S}"/{AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme docinto imap 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 61dfe96c2f04..e527f2445f13 100644 --- a/net-mail/courier-imap/courier-imap-4.16.0.ebuild +++ b/net-mail/courier-imap/courier-imap-4.16.0.ebuild @@ -1,32 +1,35 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-4.16.0.ebuild,v 1.1 2015/02/09 17:01:23 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-4.16.0.ebuild,v 1.2 2015/03/21 21:35:09 jlec Exp $ EAPI=5 -inherit autotools eutils multilib libtool systemd -KEYWORDS="~amd64 ~hppa ~x86" +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 ~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 ) - >=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 )" +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 )" + dev-lang/perl + !mail-mta/courier + userland_GNU? ( sys-process/procps )" RDEPEND="${CDEPEND} selinux? ( sec-policy/selinux-courier )" @@ -53,7 +56,8 @@ src_prepare() { # 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\ + epatch \ + "${FILESDIR}"/${PN}-4.15-db4-bdbobj_configure.ac.patch \ "${FILESDIR}"/${PN}-4.15-db4-configure.ac.patch fi @@ -113,25 +117,25 @@ src_compile() { src_install() { dodir /var/lib/${PN} /etc/pam.d - emake DESTDIR="${D}" install - rm -Rf "${D}/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" + 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}" + 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}" + 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}" @@ -162,8 +166,7 @@ src_install() { mv -f "${D}/usr/sbin/${x}" "${D}/usr/sbin/${x}.orig" || die "Failed to mv /usr/sbin/${x} to /usr/sbin/${x}.orig" done - exeinto /usr/sbin - doexe "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" + dosbin "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" dosym /usr/sbin/courierlogger /usr/$(get_libdir)/${PN}/courierlogger @@ -188,7 +191,7 @@ src_install() { 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}" + cd "${S}" || die dohtml -r "${S}"/* dodoc "${S}"/{AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme docinto imap |