--- portage/mail-mta/ssmtp/ssmtp-2.61.ebuild 2005-10-09 09:06:08.000000000 +0200 +++ local/mail-mta/ssmtp/ssmtp-2.61.ebuild 2005-12-06 05:38:49.000000000 +0100 @@ -2,10 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.61.ebuild,v 1.14 2005/10/09 06:39:40 vapier Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="Extremely simple MTA to get mail off the system to a Mailhub" -HOMEPAGE="ftp://ftp.debian.org/debian/pool/main/s/ssmtp/" +# Point HOMEPAGE to something that looks like one: +HOMEPAGE="http://packages.debian.org/stable/mail/ssmtp" SRC_URI="mirror://debian/pool/main/s/ssmtp/${P/-/_}.orig.tar.gz" LICENSE="GPL-2" @@ -23,7 +24,17 @@ S=${WORKDIR}/ssmtp-2.61 +src_unpack() { + unpack "${A}" + cd "${S}" + # Fix upstream bug http://bugs.debian.org/315248 : + epatch ${FILESDIR}/ssmtp-buf-init.patch +} + src_compile() { + # Bug 112795: + tc-export CC LD + econf \ --sysconfdir=/etc/ssmtp \ $(use_enable ssl) \ @@ -51,7 +62,8 @@ #removing the sendmail.8 symlink to support multiple installed mtas. #dosym /usr/share/man/man8/ssmtp.8 /usr/share/man/man8/sendmail.8 dodoc COPYING INSTALL README TLS CHANGELOG_OLD - dodoc debian/{README.debian,changelog} + # This subdir has apparently disappeared in a later release: + #dodoc debian/{README.debian,changelog} newdoc ssmtp.lsm DESC insinto /etc/ssmtp doins ssmtp.conf revaliases