diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-01-18 12:32:04 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-01-18 12:32:04 +0000 |
commit | c56ce32407f93e241af9cc102a6e30c9a2cd3874 (patch) | |
tree | d4d934f8cc4882fc7757366d0f55fa8c4af009ea /mail-mta | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-c56ce32407f93e241af9cc102a6e30c9a2cd3874.tar.gz gentoo-2-c56ce32407f93e241af9cc102a6e30c9a2cd3874.tar.bz2 gentoo-2-c56ce32407f93e241af9cc102a6e30c9a2cd3874.zip |
Remove old versions and cleanup files.
(Portage version: 2.2.0_alpha17/cvs/Linux x86_64)
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/ssmtp/ChangeLog | 6 | ||||
-rw-r--r-- | mail-mta/ssmtp/files/CVE-2008-3962.patch | 14 | ||||
-rw-r--r-- | mail-mta/ssmtp/files/mailer.conf | 10 | ||||
-rw-r--r-- | mail-mta/ssmtp/ssmtp-2.62-r6.ebuild | 104 | ||||
-rw-r--r-- | mail-mta/ssmtp/ssmtp-2.62-r7.ebuild | 107 |
5 files changed, 5 insertions, 236 deletions
diff --git a/mail-mta/ssmtp/ChangeLog b/mail-mta/ssmtp/ChangeLog index eebf6fa2bce1..18fe7c31c5f2 100644 --- a/mail-mta/ssmtp/ChangeLog +++ b/mail-mta/ssmtp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-mta/ssmtp # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.104 2011/01/07 13:32:36 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.105 2011/01/18 12:32:04 flameeyes Exp $ + + 18 Jan 2011; Diego E. Pettenò <flameeyes@gentoo.org> -ssmtp-2.62-r6.ebuild, + -ssmtp-2.62-r7.ebuild, -files/CVE-2008-3962.patch, -files/mailer.conf: + Remove old versions and cleanup files. 07 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> ssmtp-2.62-r8.ebuild: ppc stable wrt #346453 diff --git a/mail-mta/ssmtp/files/CVE-2008-3962.patch b/mail-mta/ssmtp/files/CVE-2008-3962.patch deleted file mode 100644 index fca144fa6807..000000000000 --- a/mail-mta/ssmtp/files/CVE-2008-3962.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- ssmtp.orig/ssmtp.c -+++ ssmtp/ssmtp.c -@@ -485,6 +485,11 @@ char *from_format(char *str, bool_t over - die("from_format() -- snprintf() failed"); - } - } -+ else { -+ if(snprintf(buf, BUF_SZ, "%s", str) == -1) { -+ die("from_format() -- snprintf() failed"); -+ } -+ } - } - - #if 0 diff --git a/mail-mta/ssmtp/files/mailer.conf b/mail-mta/ssmtp/files/mailer.conf deleted file mode 100644 index dd7498d5e008..000000000000 --- a/mail-mta/ssmtp/files/mailer.conf +++ /dev/null @@ -1,10 +0,0 @@ -# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/files/mailer.conf,v 1.4 2005/04/25 20:36:38 ferdy Exp $ -# $OpenBSD: mailer.conf,v 1.3 2000/04/06 18:24:19 millert Exp $ - -# Execute the "real" sendmail program from ssmtp, -# named /usr/sbin/ssmtp -# -sendmail /usr/sbin/ssmtp -send-mail /usr/sbin/ssmtp -mailq /usr/sbin/ssmtp -newaliases /usr/sbin/ssmtp diff --git a/mail-mta/ssmtp/ssmtp-2.62-r6.ebuild b/mail-mta/ssmtp/ssmtp-2.62-r6.ebuild deleted file mode 100644 index f59b17f9d6b0..000000000000 --- a/mail-mta/ssmtp/ssmtp-2.62-r6.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.62-r6.ebuild,v 1.8 2009/07/27 22:06:00 maekke Exp $ - -inherit eutils toolchain-funcs autotools - -DESCRIPTION="Extremely simple MTA to get mail off the system to a Mailhub" -HOMEPAGE="ftp://ftp.debian.org/debian/pool/main/s/ssmtp/" -SRC_URI="mirror://debian/pool/main/s/ssmtp/${P/-/_}.orig.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="ssl ipv6 md5sum maxsysuid" - -DEPEND="ssl? ( dev-libs/openssl )" -RDEPEND="${DEPEND} - net-mail/mailbase - !net-mail/mailwrapper - !virtual/mta" -PROVIDE="virtual/mta" - -S="${WORKDIR}/${PN}" - -pkg_setup() { - enewgroup ssmtp -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # 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 - - # CVE-2008-3962 - epatch "${FILESDIR}/CVE-2008-3962-r2.patch" - - # Fix AuthPass parsing (bug #238724) - epatch "${FILESDIR}/${P}-authpass.patch" - - epatch "${FILESDIR}/${P}-strndup.patch" - eautoreconf - - # Respect LDFLAGS (bug #152197) - sed -i -e 's:$(CC) -o:$(CC) @LDFLAGS@ -o:' Makefile.in -} - -src_compile() { - tc-export CC LD - - econf \ - --sysconfdir=/etc/ssmtp \ - $(use_enable ssl) \ - $(use_enable ipv6 inet6) \ - $(use_enable md5sum md5auth) \ - || die - make clean || die - make etcdir=/etc || die -} - -src_install() { - dodir /usr/bin /usr/sbin /usr/lib - dosbin ssmtp || die - fperms 755 /usr/sbin/ssmtp - - doman ssmtp.8 ssmtp.conf.5 - dodoc INSTALL README TLS CHANGELOG_OLD - newdoc ssmtp.lsm DESC - - insinto /etc/ssmtp - doins ssmtp.conf revaliases - - local conffile="${D}etc/ssmtp/ssmtp.conf" - - # Sorry about the weird indentation, I couldn't figure out a cleverer way - # to do this without having horribly >80 char lines. - sed -i -e "s:^hostname=:\n# Gentoo bug #47562\\ -# Commenting the following line will force ssmtp to figure\\ -# out the hostname itself.\n\\ -# hostname=:" \ - "${conffile}" || die "sed failed" - - # Comment rewriteDomain (bug #243364) - sed -i -e "s:^rewriteDomain=:#rewriteDomain=:" ${conffile} - - # Set restrictive perms on ssmtp.conf as per #187841, #239197 - # Protect the ssmtp configfile from being readable by regular users as it - # 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 /usr/sbin/ssmtp /usr/lib/sendmail - dosym /usr/sbin/ssmtp /usr/bin/sendmail - dosym /usr/sbin/ssmtp /usr/sbin/sendmail - dosym /usr/sbin/ssmtp /usr/bin/mailq - dosym /usr/sbin/ssmtp /usr/bin/newaliases -} diff --git a/mail-mta/ssmtp/ssmtp-2.62-r7.ebuild b/mail-mta/ssmtp/ssmtp-2.62-r7.ebuild deleted file mode 100644 index 113ee5d9811b..000000000000 --- a/mail-mta/ssmtp/ssmtp-2.62-r7.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.62-r7.ebuild,v 1.9 2009/12/09 19:24:18 nixnut Exp $ - -inherit eutils toolchain-funcs autotools - -DESCRIPTION="Extremely simple MTA to get mail off the system to a Mailhub" -HOMEPAGE="ftp://ftp.debian.org/debian/pool/main/s/ssmtp/" -SRC_URI="mirror://debian/pool/main/s/ssmtp/${P/-/_}.orig.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="ssl ipv6 md5sum maxsysuid" - -DEPEND="ssl? ( dev-libs/openssl )" -RDEPEND="${DEPEND} - net-mail/mailbase - !net-mail/mailwrapper - !virtual/mta" -PROVIDE="virtual/mta" - -S="${WORKDIR}/${PN}" - -pkg_setup() { - enewgroup ssmtp -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # 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}/${P}-strndup.patch" - eautoreconf - - # Respect LDFLAGS (bug #152197) - sed -i -e 's:$(CC) -o:$(CC) @LDFLAGS@ -o:' Makefile.in -} - -src_compile() { - tc-export CC LD - - econf \ - --sysconfdir=/etc/ssmtp \ - $(use_enable ssl) \ - $(use_enable ipv6 inet6) \ - $(use_enable md5sum md5auth) \ - || die - make clean || die - make etcdir=/etc || die -} - -src_install() { - dodir /usr/bin /usr/sbin /usr/lib - dosbin ssmtp || die - fperms 755 /usr/sbin/ssmtp - - doman ssmtp.8 ssmtp.conf.5 - dodoc INSTALL README TLS CHANGELOG_OLD - newdoc ssmtp.lsm DESC - - insinto /etc/ssmtp - doins ssmtp.conf revaliases - - local conffile="${D}etc/ssmtp/ssmtp.conf" - - # Sorry about the weird indentation, I couldn't figure out a cleverer way - # to do this without having horribly >80 char lines. - sed -i -e "s:^hostname=:\n# Gentoo bug #47562\\ -# Commenting the following line will force ssmtp to figure\\ -# out the hostname itself.\n\\ -# hostname=:" \ - "${conffile}" || die "sed failed" - - # Comment rewriteDomain (bug #243364) - sed -i -e "s:^rewriteDomain=:#rewriteDomain=:" ${conffile} - - # Set restrictive perms on ssmtp.conf as per #187841, #239197 - # Protect the ssmtp configfile from being readable by regular users as it - # 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 /usr/sbin/ssmtp /usr/lib/sendmail - dosym /usr/sbin/ssmtp /usr/bin/sendmail - dosym /usr/sbin/ssmtp /usr/sbin/sendmail - dosym /usr/sbin/ssmtp /usr/bin/mailq - dosym /usr/sbin/ssmtp /usr/bin/newaliases -} |