From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Sa2z5-0002UU-PZ for garchives@archives.gentoo.org; Thu, 31 May 2012 10:52:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A927CE0767; Thu, 31 May 2012 10:51:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 613AFE0767 for ; Thu, 31 May 2012 10:51:55 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9133C1B4022 for ; Thu, 31 May 2012 10:51:54 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 984) id 498612004B; Thu, 31 May 2012 10:51:53 +0000 (UTC) From: "Fabian Groffen (grobian)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, grobian@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in mail-mta/exim: ChangeLog exim-4.80.ebuild exim-4.80_rc7.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog exim-4.80.ebuild exim-4.80_rc7.ebuild X-VCS-Directories: mail-mta/exim X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen Content-Type: text/plain; charset=utf8 Message-Id: <20120531105153.498612004B@flycatcher.gentoo.org> Date: Thu, 31 May 2012 10:51:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 098b1c32-6f2a-4ba8-bb27-a8a8f512a8db X-Archives-Hash: 4e9dca0a3669706f2d8803a4d0973588 grobian 12/05/31 10:51:53 Modified: ChangeLog Added: exim-4.80.ebuild Removed: exim-4.80_rc7.ebuild Log: Version bump to 4.80 release =20 (Portage version: 2.2.01.20430-prefix/cvs/SunOS i386) Revision Changes Path 1.223 mail-mta/exim/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/Chan= geLog?rev=3D1.223&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/Chan= geLog?rev=3D1.223&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/Chan= geLog?r1=3D1.222&r2=3D1.223 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v retrieving revision 1.222 retrieving revision 1.223 diff -u -r1.222 -r1.223 --- ChangeLog 29 May 2012 14:53:40 -0000 1.222 +++ ChangeLog 31 May 2012 10:51:53 -0000 1.223 @@ -1,6 +1,14 @@ # ChangeLog for mail-mta/exim # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.222 2012/= 05/29 14:53:40 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.223 2012/= 05/31 10:51:53 grobian Exp $ + +*exim-4.80 (31 May 2012) + + 31 May 2012; Fabian Groffen -exim-4.80_rc7.ebuild= , + +exim-4.80.ebuild: + Version bump to 4.80 release. This version uses SSLv3, and disables v2= by + default. Supports TLSv1.{1,2} when using OpenSSL >=3D1.0.1. ChangeLog = should + become available at ftp://ftp.exim.org/pub/exim/ChangeLogs/ChangeLog-4= .80 =20 *exim-4.80_rc7 (29 May 2012) =20 1.1 mail-mta/exim/exim-4.80.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/exim= -4.80.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/exim= -4.80.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: exim-4.80.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.80.ebuild,v 1.1 2= 012/05/31 10:51:53 grobian Exp $ EAPI=3D"3" inherit eutils toolchain-funcs multilib pam IUSE=3D"tcpd ssl postgres mysql ldap pam exiscan-acl lmtp ipv6 sasl dnsdb= perl mbx X nis syslog spf srs gnutls sqlite doc dovecot-sasl radius mail= dir +dkim dcc dsn" DSN_EXIM_V=3D469 DSN_V=3D1_3 COMM_URI=3D"ftp://ftp.exim.org/pub/exim/exim4$([[ ${PV} =3D=3D *_rc* ]] &= & echo /test)" DESCRIPTION=3D"A highly configurable, drop-in replacement for sendmail" SRC_URI=3D"${COMM_URI}/${P//rc/RC}.tar.bz2 mirror://gentoo/system_filter.exim.gz dsn? ( mirror://sourceforge/eximdsn/eximdsn-patch-1.3/exim_${DSN_EXIM_V}= _dsn_${DSN_V}.patch ) doc? ( ${COMM_URI}/${PN}-html-${PV//rc/RC}.tar.bz2 )" HOMEPAGE=3D"http://www.exim.org/" SLOT=3D"0" LICENSE=3D"GPL-2" KEYWORDS=3D"~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-solari= s" DEPEND=3D">=3Dsys-apps/sed-4.0.5 >=3Dsys-libs/db-3.2 dev-libs/libpcre perl? ( sys-devel/libperl ) pam? ( virtual/pam ) tcpd? ( sys-apps/tcp-wrappers ) ssl? ( dev-libs/openssl ) gnutls? ( net-libs/gnutls dev-libs/libtasn1 ) ldap? ( >=3Dnet-nds/openldap-2.0.7 ) mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql-base ) sasl? ( >=3Ddev-libs/cyrus-sasl-2.1.14 ) spf? ( >=3Dmail-filter/libspf2-1.2.5-r1 ) srs? ( mail-filter/libsrs_alt ) X? ( x11-proto/xproto x11-libs/libX11 x11-libs/libXmu x11-libs/libXt x11-libs/libXaw ) sqlite? ( dev-db/sqlite ) radius? ( net-dialup/radiusclient ) virtual/pkgconfig virtual/libiconv " # added X check for #57206 RDEPEND=3D"${DEPEND} !mail-mta/courier !mail-mta/esmtp !mail-mta/mini-qmail !=3Dmail-mta/msmtp-1.4.19-r1[mta] !mail-mta/nbsmtp !mail-mta/netqmail !mail-mta/nullmailer !mail-mta/postfix !mail-mta/qmail-ldap !mail-mta/sendmail !=3Dmail-mta/ssmtp-2.64-r2[mta] !net-mail/mailwrapper >=3Dnet-mail/mailbase-0.00-r5 virtual/logger dcc? ( mail-filter/dcc ) " S=3D${WORKDIR}/${P//rc/RC} src_prepare() { epatch "${FILESDIR}"/exim-4.14-tail.patch epatch "${FILESDIR}"/exim-4.74-localscan_dlopen.patch epatch "${FILESDIR}"/exim-4.69-r1.27021.patch epatch "${FILESDIR}"/exim-4.74-radius-db-ENV-clash.patch # 287426 epatch "${FILESDIR}"/exim-4.77-makefile-freebsd.patch # 235785 epatch "${FILESDIR}"/exim-4.77-as-needed-ldflags.patch # 352265, 391279 epatch "${FILESDIR}"/exim-4.76-crosscompile.patch # 266591 use maildir && epatch "${FILESDIR}"/exim-4.20-maildir.patch if use dsn ; then cp "${DISTDIR}"/exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch . || die epatch "${FILESDIR}"/${PN}-4.76-dsn.patch epatch exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch fi # user Exim believes it should be MAILUSER=3Dmail MAILGROUP=3Dmail if use prefix && [[ ${EUID} !=3D 0 ]] ; then MAILUSER=3D$(id -un) MAILGROUP=3D$(id -gn) fi } src_configure() { local myconf sed -i "/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'${EPREFIX}/etc/mail/= aliases'" "${S}"/src/configure.default cp "${S}"/src/configure.default "${S}"/src/configure.default.orig sed -i -e 's/^buildname=3D.*/buildname=3Dexim-gentoo/g' Makefile sed -e "48i\CFLAGS=3D${CFLAGS}" \ -e "s:BIN_DIRECTORY=3D/usr/exim/bin:BIN_DIRECTORY=3D${EPREFIX}/usr/sbin= :" \ -e "s:CONFIGURE_FILE=3D/usr/exim/configure:CONFIGURE_FILE=3D${EPREFIX}/= etc/exim/exim.conf:" \ -e "s:# INFO_DIRECTORY=3D/usr/local/info:INFO_DIRECTORY=3D${EPREFIX}/us= r/share/info:" \ -e "s:# LOG_FILE_PATH=3D/var/log/exim_%slog:LOG_FILE_PATH=3D${EPREFIX}/= var/log/exim/exim_%s.log:" \ -e "s:# PID_FILE_PATH=3D/var/lock/exim.pid:PID_FILE_PATH=3D${EPREFIX}/v= ar/run/exim.pid:" \ -e "s:# SPOOL_DIRECTORY=3D/var/spool/exim:SPOOL_DIRECTORY=3D${EPREFIX}/= var/spool/exim:" \ -e "s:# SUPPORT_MAILDIR=3Dyes:SUPPORT_MAILDIR=3Dyes:" \ -e "s:# SUPPORT_MAILSTORE=3Dyes:SUPPORT_MAILSTORE=3Dyes:" \ -e "s:EXIM_USER=3D:EXIM_USER=3D${MAILUSER}:" \ -e "s:# AUTH_SPA=3Dyes:AUTH_SPA=3Dyes:" \ -e "s:# AUTH_CRAM_MD5=3Dyes:AUTH_CRAM_MD5=3Dyes:" \ -e "s:# AUTH_PLAINTEXT=3Dyes:AUTH_PLAINTEXT=3Dyes:" \ -e "s:# LOOKUP_PASSWD=3Dyes:LOOKUP_PASSWD=3Dyes:" \ -e "s:EXIM_MONITOR=3Deximon.bin:# EXIM_MONITOR=3Deximon.bin:" \ -e "s:ZCAT_COMMAND=3D.*$:ZCAT_COMMAND=3D${EPREFIX}/bin/zcat:" \ -e "s:COMPRESS_COMMAND=3D.*$:COMPRESS_COMMAND=3D${EPREFIX}/bin/gzip:" \ src/EDITME > Local/Makefile cd Local # exiscan-acl is now integrated - enable it when use-flag set if use exiscan-acl; then sed -i "s:# WITH_CONTENT_SCAN=3Dyes:WITH_CONTENT_SCAN=3Dyes:" Makefile sed -i "s:# WITH_OLD_DEMIME=3Dyes:WITH_OLD_DEMIME=3Dyes:" Makefile elif (use spf || use srs ) then eerror SPF and SRS support require exiscan-acl to be enabled, please ad= d eerror to your USE settings. exit 1 fi if use spf; then myconf=3D"${myconf} -lspf2" sed -i "s:# EXPERIMENTAL_SPF=3Dyes:EXPERIMENTAL_SPF=3Dyes:" Makefile mycflags=3D"${mycflags} -DEXPERIMENTAL_SPF" fi if use srs; then myconf=3D"${myconf} -lsrs_alt" sed -i "s:# EXPERIMENTAL_SRS=3Dyes:EXPERIMENTAL_SRS=3Dyes:" Makefile fi # enable optional exim_monitor support via X use flag bug #46778 if use X; then einfo "Configuring eximon" cp ../exim_monitor/EDITME eximon.conf sed -i "s:# EXIM_MONITOR=3Deximon.bin:EXIM_MONITOR=3Deximon.bin:" Makef= ile fi if use perl; then sed -i "s:# EXIM_PERL=3Dperl.o:EXIM_PERL=3Dperl.o:" Makefile fi # mbox useflag renamed, see bug #110741 if use mbx; then sed -i "s:# SUPPORT_MBX=3Dyes:SUPPORT_MBX=3Dyes:" Makefile fi if use pam; then sed -i "s:# \(SUPPORT_PAM=3Dyes\):\1:" Makefile myconf=3D"${myconf} -lpam" fi if use sasl; then sed -i "s:# CYRUS_SASLAUTHD_SOCKET=3D${EPREFIX}/var/state/saslauthd/mux= :CYRUS_SASLAUTHD_SOCKET=3D${EPREFIX}/var/lib/sasl2/mux:" Makefile sed -i "s:# AUTH_CYRUS_SASL=3Dyes:AUTH_CYRUS_SASL=3Dyes:" Makefile myconf=3D"${myconf} -lsasl2" fi if use tcpd; then sed -i "s:# \(USE_TCP_WRAPPERS=3Dyes\):\1:" Makefile myconf=3D"${myconf} -lwrap" fi if use lmtp; then sed -i "s:# TRANSPORT_LMTP=3Dyes:TRANSPORT_LMTP=3Dyes:" Makefile fi if use ipv6; then echo "HAVE_IPV6=3DYES" >> Makefile # to fix bug #41196 echo "IPV6_USE_INET_PTON=3Dyes" >> Makefile fi if use dovecot-sasl; then sed -i "s:# AUTH_DOVECOT=3Dyes:AUTH_DOVECOT=3Dyes:" Makefile fi if use radius; then myconf=3D"${myconf} -lradiusclient" sed -i "s:# RADIUS_CONFIG_FILE=3D/etc/radiusclient/radiusclient.conf:RA= DIUS_CONFIG_FILE=3D${EPREFIX}/etc/radiusclient/radiusclient.conf:" Makefi= le sed -i "s:# RADIUS_LIB_TYPE=3DRADIUSCLIENT$:RADIUS_LIB_TYPE=3DRADIUSCLI= ENT:" Makefile fi echo "EXTRALIBS=3D${myconf}" >> Makefile # make iconv usage explicit echo "HAVE_ICONV=3Dyes" >> Makefile # if we use libiconv, now is the time to tell so use !elibc_glibc && echo "EXTRALIBS_EXIM=3D-liconv" >> Makefile if use ssl; then echo "SUPPORT_TLS=3Dyes" >> Makefile if use gnutls; then echo "USE_GNUTLS=3Dyes" >> Makefile echo "USE_GNUTLS_PC=3Dgnutls" >> Makefile else echo "USE_OPENSSL_PC=3Dopenssl" >> Makefile fi fi LOOKUP_INCLUDE=3D LOOKUP_LIBS=3D if use ldap; then sed -i \ -e "s:# \(LOOKUP_LDAP=3Dyes\):\1:" \ -e "s:# \(LDAP_LIB_TYPE=3DOPENLDAP2\):\1:" Makefile LOOKUP_INCLUDE=3D"-I${EROOT}usr/include/ldap" LOOKUP_LIBS=3D"-lldap -llber" fi if use mysql; then sed -i "s:# LOOKUP_MYSQL=3Dyes:LOOKUP_MYSQL=3Dyes:" Makefile LOOKUP_INCLUDE=3D"$LOOKUP_INCLUDE -I${EROOT}usr/include/mysql" LOOKUP_LIBS=3D"$LOOKUP_LIBS -lmysqlclient" fi if use postgres; then sed -i "s:# LOOKUP_PGSQL=3Dyes:LOOKUP_PGSQL=3Dyes:" Makefile LOOKUP_INCLUDE=3D"$LOOKUP_INCLUDE -I${EROOT}usr/include/postgresql" LOOKUP_LIBS=3D"$LOOKUP_LIBS -lpq" fi if use sqlite; then echo "LOOKUP_SQLITE=3Dyes" >> Makefile echo "LOOKUP_SQLITE_PC=3Dsqlite3" >> Makefile fi if [[ -n ${LOOKUP_INCLUDE} ]]; then sed -i "s:# LOOKUP_INCLUDE=3D-I /usr/local/ldap/include -I /usr/local/m= ysql/include -I /usr/local/pgsql/include:LOOKUP_INCLUDE=3D$LOOKUP_INCLUDE= :" \ Makefile fi if [[ -n ${LOOKUP_LIBS} ]]; then sed -i "s:# LOOKUP_LIBS=3D-L/usr/local/lib -lldap -llber -lmysqlclient = -lpq -lgds -lsqlite3:LOOKUP_LIBS=3D$LOOKUP_LIBS:" \ Makefile fi sed -i "s:# LOOKUP_DSEARCH=3Dyes:LOOKUP_DSEARCH=3Dyes:" Makefile if use dnsdb; then sed -i "s:# LOOKUP_DNSDB=3Dyes:LOOKUP_DNSDB=3Dyes:" Makefile fi sed -i "s:# LOOKUP_CDB=3Dyes:LOOKUP_CDB=3Dyes:" Makefile if use nis; then sed -i -e "s:# LOOKUP_NIS=3Dyes:LOOKUP_NIS=3Dyes:" \ -e "s:# LOOKUP_NISPLUS=3Dyes:LOOKUP_NISPLUS=3Dyes:" Makefile fi if use syslog; then sed -i "s:LOG_FILE_PATH=3D/var/log/exim/exim_%s.log:LOG_FILE_PATH=3Dsys= log:" Makefile fi if ! use dkim; then # DKIM is enabled by default. We have to explicitly disable it. echo "DISABLE_DKIM=3Dyes">> Makefile fi if use dcc; then echo "EXPERIMENTAL_DCC=3Dyes">> Makefile fi if use dsn; then sed -i -e "s:#define SUPPORT_DSN:define SUPPORT_DSN:" Makefile fi # use the "native" interface to the DBM library echo "USE_DB=3Dyes" >> Makefile echo "DBMLIB=3D-ldb" >> Makefile } src_compile() { emake -j1 CC=3D"$(tc-getCC)" HOSTCC=3D"$(tc-getCC $CBUILD)" FULLECHO=3D'= ' \ || die "make failed" } src_install () { cd "${S}"/build-exim-gentoo exeinto /usr/sbin doexe exim if use X; then doexe eximon.bin doexe eximon fi fperms 4755 /usr/sbin/exim dodir /usr/bin /usr/sbin /usr/lib dosym exim /usr/sbin/sendmail dosym exim /usr/sbin/rsmtp dosym exim /usr/sbin/rmail dosym /usr/sbin/exim /usr/bin/mailq dosym /usr/sbin/exim /usr/bin/newaliases dosym /usr/sbin/sendmail /usr/lib/sendmail exeinto /usr/sbin for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \ exim_tidydb exinext exiwhat exigrep eximstats exiqsumm exiqgrep \ convert4r3 convert4r4 exipick do doexe $i done dodoc "${S}"/doc/* doman "${S}"/doc/exim.8 use dsn && dodoc "${S}"/README.DSN use doc && dohtml -r "${WORKDIR}"/${PN}-html-${PV//rc/RC}/doc/html/spec_= html/* # conf files insinto /etc/exim newins "${S}"/src/configure.default.orig exim.conf.dist if use exiscan-acl; then newins "${S}"/src/configure.default exim.conf.exiscan-acl fi doins "${WORKDIR}"/system_filter.exim doins "${FILESDIR}"/auth_conf.sub pamd_mimic system-auth exim auth account insinto /etc/logrotate.d newins "${FILESDIR}/exim.logrotate" exim newinitd "${FILESDIR}"/exim.rc7 exim newconfd "${FILESDIR}"/exim.confd exim DIROPTIONS=3D"--mode=3D0750 --owner=3D${MAILUSER} --group=3D${MAILGROUP}= " dodir /var/log/${PN} } pkg_postinst() { if [[ ! -f ${EROOT}etc/exim/exim.conf ]] ; then einfo "${EROOT}etc/exim/system_filter.exim is a sample system_filter." einfo "${EROOT}etc/exim/auth_conf.sub contains the configuration sub fo= r using smtp auth." einfo "Please create ${EROOT}etc/exim/exim.conf from ${EROOT}etc/exim/e= xim.conf.dist." fi if use dcc ; then einfo "DCC support is experimental, you can find some limited" einfo "documentation at the bottom of this prerelease message:" einfo "http://article.gmane.org/gmane.mail.exim.devel/3579" fi einfo "Exim maintains some db files under its spool directory that need" einfo "cleaning from time to time. (${EROOT}var/spool/exim/db)" einfo "Please use the exim_tidydb tool as documented in the Exim manual:= " einfo "http://www.exim.org/exim-html-current/doc/html/spec_html/ch50.htm= l#SECThindatmai" }