summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2004-12-25 20:37:50 +0000
committerTom Martin <slarti@gentoo.org>2004-12-25 20:37:50 +0000
commit9f3cee78343999de4030c2147658b8e9da78a9a4 (patch)
treee90e8a97509ec02fa80bc2a9b5fa60d90942c6bc /mail-mta/ssmtp
parentfix digests (diff)
downloadgentoo-2-9f3cee78343999de4030c2147658b8e9da78a9a4.tar.gz
gentoo-2-9f3cee78343999de4030c2147658b8e9da78a9a4.tar.bz2
gentoo-2-9f3cee78343999de4030c2147658b8e9da78a9a4.zip
Resolving #47562.
Diffstat (limited to 'mail-mta/ssmtp')
-rw-r--r--mail-mta/ssmtp/ChangeLog9
-rw-r--r--mail-mta/ssmtp/ssmtp-2.60.9.ebuild14
2 files changed, 20 insertions, 3 deletions
diff --git a/mail-mta/ssmtp/ChangeLog b/mail-mta/ssmtp/ChangeLog
index 5760e42c9fa0..f0429bf66de3 100644
--- a/mail-mta/ssmtp/ChangeLog
+++ b/mail-mta/ssmtp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-mta/ssmtp
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.14 2004/07/28 05:41:45 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.15 2004/12/25 20:37:50 slarti Exp $
+
+ 25 Dec 2004; Tom Martin <slarti@gentoo.org> ssmtp-2.60.9.ebuild:
+ Resolve bug 47562, by commenting out hostname=_HOSTNAME_ by default,
+ forcing ssmtp to determine the hostname for itself. Thanks to Sascha
+ Silbe <sascha@silbe.org> for reporting.
28 Jul 2004; Joshua Kinard <kumba@gentoo.org> ssmtp-2.60.9.ebuild:
Marked stable on mips.
@@ -80,7 +85,7 @@
24 Apr 2004; Luca Barbato <lu_zero@gentoo.org> ssmtp-2.60.7.ebuild:
Marked ppc
- 23 Apr 2004; Bryan Østergaard <kloeri@gentoo.org> ssmtp-2.60.7.ebuild:
+ 23 Apr 2004; Bryan Østergaard <kloeri@gentoo.org> ssmtp-2.60.7.ebuild:
Stable on alpha.
23 Apr 2004; Travis Tilley <lv@gentoo.org> ssmtp-2.60.7.ebuild:
diff --git a/mail-mta/ssmtp/ssmtp-2.60.9.ebuild b/mail-mta/ssmtp/ssmtp-2.60.9.ebuild
index 94826f84345e..160fd3a70350 100644
--- a/mail-mta/ssmtp/ssmtp-2.60.9.ebuild
+++ b/mail-mta/ssmtp/ssmtp-2.60.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.60.9.ebuild,v 1.12 2004/09/21 23:29:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.60.9.ebuild,v 1.13 2004/12/25 20:37:50 slarti Exp $
inherit eutils
@@ -79,6 +79,18 @@ src_install() {
#else
# mv ${conffile}.pre ${conffile}
#fi
+
+ # set up config file, v2. Bug 47562
+ local conffile="${D}/etc/ssmtp/ssmtp.conf"
+ mv "${conffile}" "${conffile}.orig"
+ # Sorry about the weird indentation, I couldn't figure out a cleverer way
+ # to do this without having horribly >80 char lines.
+ sed -e "s:^hostname=:\n# Gentoo bug #47562\\
+# Commenting the following line will force ssmtp to figure\\
+# out the hostname itself.\n\\
+# hostname=:" \
+ "${conffile}.orig" > "${conffile}" \
+ || die "sed failed"
}
pkg_postinst() {