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 1O6BFm-0007U9-Qq for garchives@archives.gentoo.org; Sun, 25 Apr 2010 23:28:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 730CEE07BB; Sun, 25 Apr 2010 23:28:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2CFE2E07C0 for ; Sun, 25 Apr 2010 23:28:44 +0000 (UTC) Received: from corvid.gentoo.org (corvid.gentoo.org [208.92.234.79]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id AB4E91B40C1 for ; Sun, 25 Apr 2010 23:28:43 +0000 (UTC) Received: by corvid.gentoo.org (Postfix, from userid 2253) id C7C252C043; Sun, 25 Apr 2010 23:28:42 +0000 (UTC) From: "Jonathan Callen (abcd)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, abcd@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in mail-mta/ssmtp: ChangeLog ssmtp-2.62-r8.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog ssmtp-2.62-r8.ebuild X-VCS-Directories: mail-mta/ssmtp X-VCS-Committer: abcd X-VCS-Committer-Name: Jonathan Callen Content-Type: text/plain; charset=utf8 Message-Id: <20100425232842.C7C252C043@corvid.gentoo.org> Date: Sun, 25 Apr 2010 23:28:42 +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: 2c073345-d2c2-4484-8816-97de74ac423c X-Archives-Hash: 47ccb07792c7488836e0c42a4da28264 abcd 10/04/25 23:28:42 Modified: ChangeLog Added: ssmtp-2.62-r8.ebuild Log: Revbump, add patches for Darwin/Solaris, bump to EAPI-3, add prefix sup= port & keywords, die on failure, cleanup (Portage version: v2.2_rc67-80-ge064530/cvs/Linux i686) Revision Changes Path 1.94 mail-mta/ssmtp/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/ssmtp/Cha= ngeLog?rev=3D1.94&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/ssmtp/Cha= ngeLog?rev=3D1.94&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/ssmtp/Cha= ngeLog?r1=3D1.93&r2=3D1.94 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/ssmtp/ChangeLog,v retrieving revision 1.93 retrieving revision 1.94 diff -u -r1.93 -r1.94 --- ChangeLog 9 Dec 2009 19:24:18 -0000 1.93 +++ ChangeLog 25 Apr 2010 23:28:42 -0000 1.94 @@ -1,6 +1,15 @@ # ChangeLog for mail-mta/ssmtp -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.93 2009/= 12/09 19:24:18 nixnut Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.94 2010/= 04/25 23:28:42 abcd Exp $ + +*ssmtp-2.62-r8 (25 Apr 2010) + + 25 Apr 2010; Jonathan Callen + +files/ssmtp-2.61-darwin7.patch, +ssmtp-2.62-r8.ebuild, + +files/ssmtp-2.62-darwin-crypto.patch, + +files/ssmtp-2.62-solaris-basename-conflict.patch: + Revbump, add patches for Darwin/Solaris, bump to EAPI-3, add prefix + support & keywords, die on failure, cleanup =20 09 Dec 2009; nixnut ssmtp-2.62-r7.ebuild: ppc stable #282907 1.1 mail-mta/ssmtp/ssmtp-2.62-r8.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/ssmtp/ssm= tp-2.62-r8.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/ssmtp/ssm= tp-2.62-r8.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: ssmtp-2.62-r8.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-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.62-r8.ebuild,v = 1.1 2010/04/25 23:28:42 abcd Exp $ EAPI=3D"3" inherit eutils toolchain-funcs autotools DESCRIPTION=3D"Extremely simple MTA to get mail off the system to a Mailh= ub" HOMEPAGE=3D"ftp://ftp.debian.org/debian/pool/main/s/ssmtp/" SRC_URI=3D"mirror://debian/pool/main/s/ssmtp/${P/-/_}.orig.tar.gz" LICENSE=3D"GPL-2" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 = ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-interix ~amd64-li= nux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solar= is ~x86-solaris" IUSE=3D"ssl ipv6 md5sum maxsysuid" DEPEND=3D"ssl? ( dev-libs/openssl )" RDEPEND=3D"${DEPEND} net-mail/mailbase !net-mail/mailwrapper !virtual/mta" PROVIDE=3D"virtual/mta" S=3D"${WORKDIR}/${PN}" pkg_setup() { enewgroup ssmtp } src_prepare() { # Allow to specify the last used system user id, bug #231866 if use maxsysuid; then epatch "${FILESDIR}"/${P}-maxsysuid.patch epatch "${FILESDIR}"/${P}-maxsysuid-conf.patch fi # epatch "${FILESDIR}/${P}-from_format_fix.patch" # CVE-2008-3962 epatch "${FILESDIR}/CVE-2008-3962-r2.patch" # Fix AuthPass parsing (bug #238724) epatch "${FILESDIR}/${P}-authpass.patch" epatch "${FILESDIR}/${PN}-2.61-darwin7.patch" epatch "${FILESDIR}/${P}-strndup.patch" epatch "${FILESDIR}/${P}-darwin-crypto.patch" epatch "${FILESDIR}/${P}-solaris-basename-conflict.patch" eautoreconf # Respect LDFLAGS (bug #152197) sed -i -e 's:$(CC) -o:$(CC) @LDFLAGS@ -o:' Makefile.in } src_configure() { tc-export CC LD econf \ --sysconfdir=3D"${EPREFIX}"/etc/ssmtp \ $(use_enable ssl) \ $(use_enable ipv6 inet6) \ $(use_enable md5sum md5auth) } src_compile() { make clean || die make etcdir=3D"${EPREFIX}"/etc || die } src_install() { dosbin ssmtp || die doman ssmtp.8 ssmtp.conf.5 || die dodoc INSTALL README TLS CHANGELOG_OLD || die newdoc ssmtp.lsm DESC || die insinto /etc/ssmtp doins ssmtp.conf revaliases || die local conffile=3D"${ED}etc/ssmtp/ssmtp.conf" # Sorry about the weird indentation, I couldn't figure out a cleverer wa= y # to do this without having horribly >80 char lines. sed -i -e "s:^hostname=3D:\n# Gentoo bug #47562\\ # Commenting the following line will force ssmtp to figure\\ # out the hostname itself.\n\\ # hostname=3D:" \ "${conffile}" || die "sed failed" # Comment rewriteDomain (bug #243364) sed -i -e "s:^rewriteDomain=3D:#rewriteDomain=3D:" "${conffile}" # Set restrictive perms on ssmtp.conf as per #187841, #239197 # Protect the ssmtp configfile from being readable by regular users as i= t # may contain login/password data to auth against a the mailhub used. fowners root:ssmtp /etc/ssmtp/ssmtp.conf fperms 640 /etc/ssmtp/ssmtp.conf fowners root:ssmtp /usr/sbin/ssmtp fperms 2711 /usr/sbin/ssmtp dosym ../sbin/ssmtp /usr/lib/sendmail || die dosym ../sbin/ssmtp /usr/bin/sendmail || die dosym ssmtp /usr/sbin/sendmail || die dosym ../sbin/ssmtp /usr/bin/mailq || die dosym ../sbin/ssmtp /usr/bin/newaliases || die }