summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2008-06-10 20:14:06 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2008-06-10 20:14:06 +0000
commitffa040ace5ac49d39ffc3a20781bb76568d80ec6 (patch)
treee2f74c304d5c41e95542c9e755ed9973a0310f2f
parentFix building of some locales. Bug #225779 (diff)
downloadhistorical-ffa040ace5ac49d39ffc3a20781bb76568d80ec6.tar.gz
historical-ffa040ace5ac49d39ffc3a20781bb76568d80ec6.tar.bz2
historical-ffa040ace5ac49d39ffc3a20781bb76568d80ec6.zip
Version bump, restrict access to ssmtp.conf (#187841), drop mailwrapper support (#222157), drop needless virtual/libc dependency (#211886), upstream fixed date header creation on uclibc (#145456)
Package-Manager: portage-2.1.5.4
-rw-r--r--mail-mta/ssmtp/ChangeLog11
-rw-r--r--mail-mta/ssmtp/Manifest4
-rw-r--r--mail-mta/ssmtp/ssmtp-2.62.ebuild84
3 files changed, 96 insertions, 3 deletions
diff --git a/mail-mta/ssmtp/ChangeLog b/mail-mta/ssmtp/ChangeLog
index c7f02be919f9..d8429274a47e 100644
--- a/mail-mta/ssmtp/ChangeLog
+++ b/mail-mta/ssmtp/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for mail-mta/ssmtp
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.46 2007/01/06 00:54:36 ferdy Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.47 2008/06/10 20:14:06 dertobi123 Exp $
+
+*ssmtp-2.62 (10 Jun 2008)
+
+ 10 Jun 2008; Tobias Scherbaum <dertobi123@gentoo.org> +ssmtp-2.62.ebuild:
+ Version bump, restrict access to ssmtp.conf (#187841), drop mailwrapper
+ support (#222157), drop needless virtual/libc dependency (#211886),
+ upstream fixed date header creation on uclibc (#145456)
06 Jan 2007; Fernando J. Pereda <ferdy@gentoo.org> -ssmtp-2.61.ebuild:
QA: Clean unused versions.
diff --git a/mail-mta/ssmtp/Manifest b/mail-mta/ssmtp/Manifest
index 1442ddd4cb26..a4f7a06b1ef7 100644
--- a/mail-mta/ssmtp/Manifest
+++ b/mail-mta/ssmtp/Manifest
@@ -3,8 +3,10 @@ AUX ssmtp-2.60.4-md5.patch 1509 RMD160 caa14a0e51aa19eac8611d1b92f9dce1f75180ce
AUX ssmtp-2.60.7-logfile.patch 1256 RMD160 8bc7ddeedd448dff20ba2df52b8cdb2157e25aaa SHA1 16916f64915646c36aaecc7a0b1ff20b666edafb SHA256 244f021698493f1e87180a6200d39d0c963ad1392e489ab183e9f5264ca574b1
AUX ssmtp-2.61-bug127592.patch 385 RMD160 61f877e742bbf23e13056884bccae5a22a17fe75 SHA1 27a4aafc3cbffd11c6427e5ac02c3484396091ef SHA256 256a783b5e73b9914cb49854b367ce9f5781d8664cd640e6b0b9d0b5f6948edc
DIST ssmtp_2.61.orig.tar.gz 53341 RMD160 da76ee6dd86fc663e6fd69fcb2fb5f550f716de7 SHA1 bc4b6c20bf8c2c9e66b359e3c24545a2615a1988 SHA256 2151ad18cb73f9a254f796dde2b48be7318b45410b59fedbb258db5a41044fb5
+DIST ssmtp_2.62.orig.tar.gz 57127 RMD160 1c16b2d50224f4d29813a34f87a3480e66892b36 SHA1 5c15aafb252f6cb11e4b93140a1457b6cb0d0fb8 SHA256 e2a0a5379cd0bbb0b4b0304abeba7a8f60aa85275982c5d7930c319e7f284ed1
EBUILD ssmtp-2.61-r2.ebuild 3427 RMD160 a675e5b8374d158cea313535386fb4d4e82169b6 SHA1 d833114b89c59bd48c44bef8e192f1f6b2759519 SHA256 1e00a67f270d423f140dac1a49c6e02af4acce82130825f854c6632bbec2348b
EBUILD ssmtp-2.61-r30.ebuild 1865 RMD160 acd00d9eeab71238158e9530bddac6d8183b9000 SHA1 6e0757320544ec047615491cfd152f0dfa936191 SHA256 82eb4aea32ff188f9b67c98074355aea535ff9837c1e4f63e742b07df430a70d
EBUILD ssmtp-2.61-r31.ebuild 2062 RMD160 9c13f57dd10b412040f84cbf3fa67bc87df7f9a9 SHA1 05385ffc6e32ba8338e9de7d29652ae8e9f037f3 SHA256 044b118c7bb1dd9328adf58ee01e1d6edd62411289b54018e2919254975fa657
-MISC ChangeLog 10885 RMD160 3de87f09b2ed693231f129db5207b6761380c4f6 SHA1 8078f3b14e10f2eaf01f5d2e90eb0eb83246c91f SHA256 d51f0c57fccf422e0ada07958e9dd9480ec91eb0cbb103aed886c33430003d4d
+EBUILD ssmtp-2.62.ebuild 2333 RMD160 ef2bcaf2d9b49bc8e42f9f33ce27a335b2433e63 SHA1 4b06b2b9ee7cb4365457296dba0a4b722307e760 SHA256 a8932c44988722d3f7124f4991498b46e67cf3ef9f0fbd9f03ca31ef678f35d7
+MISC ChangeLog 11196 RMD160 52b9d550867f21173c7a7d75032376b31dd852aa SHA1 39f862e6e71d1b65ea6000c6cac75ff405ad9e98 SHA256 135393c33db2f56572c18f5fb59444903c833f2c78f48cf20d2cf3f18a8f7f4f
MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32
diff --git a/mail-mta/ssmtp/ssmtp-2.62.ebuild b/mail-mta/ssmtp/ssmtp-2.62.ebuild
new file mode 100644
index 000000000000..ac2c44ac36d3
--- /dev/null
+++ b/mail-mta/ssmtp/ssmtp-2.62.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.62.ebuild,v 1.1 2008/06/10 20:14:06 dertobi123 Exp $
+
+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/"
+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 ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="ssl ipv6 md5sum"
+
+DEPEND="ssl? ( dev-libs/openssl )"
+
+S="${WORKDIR}/${PN}"
+
+pkg_setup() {
+ enewgroup ssmtp
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # 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
+ dodoc INSTALL README TLS CHANGELOG_OLD
+ newdoc ssmtp.lsm DESC
+
+ insinto /etc/ssmtp
+ doins ssmtp.conf revaliases
+
+ 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"
+
+ rm "${conffile}.orig" || die "Failed to remove temporary created copy of ssmtp.conf"
+
+ # Set restrictive perms on ssmtp.conf as per #187841
+ # Protect the ssmtp configfile from being readable by regular users as it
+ # may contain login/password data to auth against a the mailhub used, add
+ # users to the ssmtp group to enable them to use ssmtp.
+ fowners root:ssmtp /etc/ssmtp/ssmtp.conf
+ fperms 640 /etc/ssmtp/ssmtp.conf
+
+ 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
+}