Portage is a package management system used by Gentoo Linux
# ChangeLog for mail-mta/ssmtp
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.66 2008/09/21 08:43:56 dertobi123 Exp $
21 Sep 2008; Tobias Scherbaum
ssmtp-2.62-r3.ebuild:
Add note about adding users to the ssmtp group, #237932
17 Sep 2008; Brent Baude
Marking ssmtp-2.62-r3 ppc64 for bug 234391
17 Sep 2008; Brent Baude
Marking ssmtp-2.62-r3 ppc for bug 234391
13 Sep 2008; Raúl Porcel
alpha/ia64/sparc stable wrt #234391
12 Sep 2008; Markus Meier
amd64/x86 stable, bug #234391
12 Sep 2008; Jeroen Roovers
ssmtp-2.62-r3.ebuild:
Fix quoting issues in 2.61-r2. 2.62-r3 stable for HPPA (bug #234391).
*ssmtp-2.62-r3 (09 Sep 2008)
09 Sep 2008; Tobias Scherbaum
+files/CVE-2008-3962.patch, -ssmtp-2.62-r1.ebuild, -ssmtp-2.62-r2.ebuild,
+ssmtp-2.62-r3.ebuild:
Version bump, security bug #234391
09 Sep 2008; Robert Buchholz
reverting stables
07 Sep 2008; Markus Meier
amd64/x86 stable, bug #236812
06 Sep 2008; Jeroen Roovers
Stable for HPPA (bug #236812).
*ssmtp-2.62-r2 (05 Sep 2008)
05 Sep 2008; Tobias Scherbaum
+files/ssmtp-2.62-maxsysuid.patch, +files/ssmtp-2.62-maxsysuid-conf.patch,
metadata.xml, +ssmtp-2.62-r2.ebuild:
Allow to specify the last used system user id via +maxsysuid, #231866, patch
by Trevor Bowen
23 Aug 2008; Doug Goldstein
add GLEP 56 USE flag desc from use.local.desc
*ssmtp-2.62-r1 (27 Jul 2008)
27 Jul 2008; Tobias Scherbaum
-files/ssmtp-2.60.4-md5.patch, -files/ssmtp-2.60.7-logfile.patch,
-ssmtp-2.61-r30.ebuild, -ssmtp-2.61-r31.ebuild, -ssmtp-2.62.ebuild,
+ssmtp-2.62-r1.ebuild:
Clean up, rev-bump to fix perms on ssmtp binary (#233027)
13 Jul 2008; Tobias Scherbaum
Add eautoreconf
13 Jul 2008; Tobias Scherbaum
Remove conditional patching
11 Jul 2008; Tobias Scherbaum
+files/ssmtp-2.62-strndup.patch, ssmtp-2.62.ebuild:
strndup workaround for gfbsd, #227799
11 Jun 2008; Tobias Scherbaum
Fix virtual/mta blocker
11 Jun 2008; Tobias Scherbaum
re-add PROVIDE=virtual/mta
11 Jun 2008; Tobias Scherbaum
Add block on net-mail/mailwrapper as per #222157
*ssmtp-2.62 (10 Jun 2008)
10 Jun 2008; Tobias Scherbaum
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
QA: Clean unused versions.
04 Dec 2006; Alexander H. Færøy
Stable on MIPS; bug #127592
22 Oct 2006; Andrej Kacian
-ssmtp-2.60.7-r1.ebuild, -ssmtp-2.60.9.ebuild, ssmtp-2.61.ebuild,
ssmtp-2.61-r2.ebuild, ssmtp-2.61-r30.ebuild, ssmtp-2.61-r31.ebuild:
Modified Makefile to respect LDFLAGS, bug #152197 by Fabian Groffen
17 Oct 2006; Roy Marples
ssmtp-2.61-r30.ebuild, ssmtp-2.61-r31.ebuild:
Added ~sparc-fbsd keyword.
12 Oct 2006; Fernando J. Pereda
Stable on alpha as per bug #127592
01 Oct 2006; Jeroen Roovers
Stable for HPPA (bug #127592).
26 Sep 2006; Gustavo Zacarias
Stable on sparc wrt #127592
24 Sep 2006; Michael Hanselmann
Stable on ppc.
22 Sep 2006; Chris Gianelloni
Stable on x86/amd64 wrt bug #127592.
22 Sep 2006; Markus Rothe
Stable on ppc64; bug #127592
10 May 2006; Fernando J. Pereda
Also install /usr/sbin/sendmail when USE=-mailwrapper. See bug #132941
*ssmtp-2.61-r31 (06 May 2006)
*ssmtp-2.61-r2 (06 May 2006)
06 May 2006; Fernando J. Pereda
+files/ssmtp-2.61-bug127592.patch, +ssmtp-2.61-r2.ebuild,
+ssmtp-2.61-r31.ebuild:
Add patches and fixes from bugs #127592 and #112795. Thanks to jer and
flameeyes.
*ssmtp-2.61-r30 (06 May 2006)
06 May 2006; Fernando J. Pereda
+ssmtp-2.61-r30.ebuild:
Move -r1 to -r30. From now, <-30 means mailer-config unawareness and >=-r30
are mailer-config aware releases.
02 Apr 2006; Diego Pettenò
Add ~x86-fbsd keyword.
31 Mar 2006; Diego Pettenò
Add ~x86-fbsd keyword.
23 Aug 2005; Fernando J. Pereda
ssmtp-2.61-r1.ebuild:
Use mirror://debian/ in SRC_URI
29 Jul 2005; MATSUU Takuto
Stable on sh.
04 Jul 2005; Andrej Kacian
Better mailer-config compatibility.
*ssmtp-2.61-r1 (25 Apr 2005)
25 Apr 2005; Fernando J. Pereda
+ssmtp-2.61-r1.ebuild:
2.61-r1 uses the new mailer eclass
14 Mar 2005; Hardave Riar
Stable on mips, bug #82380.
20 Feb 2005; Aron Griffis
stable on alpha and ia64
17 Feb 2005; Markus Rothe
Stable on ppc64
17 Feb 2005; Jan Brinkmann
stable on amd64. see #82380
17 Feb 2005; Michael Hanselmann
Stable on ppc and hppa.
17 Feb 2005; Gustavo Zacarias
Stable on sparc wrt #82380
10 Feb 2005; Fernando J. Pereda
Fix the md5auth thing. Closes #81510. Thanks to Dan Check
*ssmtp-2.61-r1 (10 feb 2005)
10 feb 2005; <> ssmtp-2.61-r1.ebuild files/digest-ssmtp-2.61-r1
# INSERT ENTRY HERE
09 Feb 2005; Fernando J. Pereda
Stable on x86
*ssmtp-2.61 (24 Jan 2005)
24 Jan 2005; Fernando J. Pereda
Version bump, closes #69999. Reported by: Yani Ioannou
25 Dec 2004; Tom Martin
Resolve bug 47562, by commenting out hostname=_HOSTNAME_ by default,
forcing ssmtp to determine the hostname for itself. Thanks to Sascha
Silbe
28 Jul 2004; Joshua Kinard
Marked stable on mips.
27 Jul 2004;
stable on alpha and ia64 #57553
24 Jul 2004; Luca Barbato
Marked ppc
21 Jul 2004; Jason Wever
Stable on sparc wrt bug #57553.
21 Jul 2004;
Mark stable on amd64
20 Jul 2004; Grant Goodyear
Marked stable on x86.
01 Jul 2004; Jeremy Huddleston
ssmtp-2.38.14-r1.ebuild, ssmtp-2.48.ebuild, ssmtp-2.60.4-r2.ebuild,
ssmtp-2.60.4.ebuild, ssmtp-2.60.7-r1.ebuild, ssmtp-2.60.7.ebuild,
ssmtp-2.60.9.ebuild:
virtual/glibc -> virtual/libc
11 Jun 2004; Grant Goodyear
Marking stable on all arch's to fix the
inconsistent-mailwrapper issues.
*ssmtp-2.60.9 (07 Jun 2004)
07 Jun 2004; Aron Griffis
ssmtp-2.60.4.ebuild, ssmtp-2.60.7-r1.ebuild, ssmtp-2.60.7.ebuild,
ssmtp-2.60.9.ebuild:
Fix use invocation
06 Jun 2004; Grant Goodyear
Version bump. Patches no longer required. Fixes STARTTLS before ehlo bug.
*ssmtp-2.60.7-r1 (30 May 2004)
30 May 2004; Grant Goodyear
+ssmtp-2.60.7-r1.ebuild, ssmtp-2.60.7.ebuild:
Made mailwrapper an optional dep w/ USE=mailwrapper.
Also fixed up which docs get installed.
*ssmtp-2.48 (30 May 2004)
30 May 2004; Robin H. Johnson
ssmtp-2.38.14-r1.ebuild, ssmtp-2.48.ebuild, ssmtp-2.60.4-r2.ebuild,
ssmtp-2.60.4.ebuild, ssmtp-2.60.7.ebuild, files/mailer.conf,
files/ssmtp-2.60.4-md5.patch, files/ssmtp-2.60.7-logfile.patch,
files/starttls.diff:
Moved from net-mail/ssmtp to mail-mta/ssmtp.
27 Apr 2004; Aron Griffis
Add inherit eutils
25 Apr 2004; Tom Gall
Stable on ppc64
25 Apr 2004; Michael McCabe
Marked stable on s390
25 Apr 2004; Aron Griffis
Stable on alpha and ia64
25 Apr 2004; Brandon Hale
Stable on x86
25 Apr 2004; Joshua Kinard
Marked stable on mips.
24 Apr 2004; Jason Wever
Stable on sparc wrt bug #47918.
24 Apr 2004; Luca Barbato
Marked ppc
23 Apr 2004; Bryan Østergaard
Stable on alpha.
23 Apr 2004; Travis Tilley
marked stable on amd64. see bug #47918 for more information
*ssmtp-2.60.7 (23 Apr 2004)
23 Apr 2004;
Format String Vulnerabilities. security bug #47918 + Fix broken/insecure
logfile handling bug #48435
*ssmtp-2.60.4-r2 (13 Apr 2004)
13 Apr 2004; Grant Goodyear
ssmtp-2.60.4-r2.ebuild, files/mailer.conf:
New revision that installs a mailer.conf file w/ send-mail defined.
Closes bug 47714.
01 Apr 2004;
adding s390 to keywords
17 Mar 2004; Grant Goodyear
Put /usr/lib/sendmail symlink back in.
17 Mar 2004; Grant Goodyear
Fixed missing 'inherit eutils'; thanks iggy!
*ssmtp-2.60.4-r1 (17 Mar 2004)
17 Mar 2004; Grant Goodyear
files/mailer.conf:
New revision that uses mailwrapper.
14 Mar 2004; Tom Gall
mark ppc64 stable
29 Sep 2003; Marius Mauch
files/ssmtp-2.60.4-md5.patch:
Added a patch so 2.60.4 compiles with USE=md5sum. thaThanks to Brandy for
fixing bug 25732.
*ssmtp-2.60.4 (19 Sep 2003)
19 Sep 2003; Daniel Ahlberg
Version bump
09 Jul 2003; Nick Hadaway
Removed the auto ssl enable config generation. See bug #22658
*ssmtp-2.60.3 (09 Jun 2003)
15 Jun 2003; Joshua Kinard
Fixed Security Volation -- starttls.diff missing from Manifest
Added local USE Flag "md5sum" since the previous "md5" was not a valid USE flag
14 Jun 2003; Nick Hadaway
Added some code so the config file has TLS enabled is ssl is in USE.
Thanks to ferdy again for this ebuild improvement. Moved pkg_config()
code to pkg_postinst()
09 Jun 2003; Nick Hadaway
files/digest-ssmtp-2.60.3, files/starttls.diff:
Version bump. Major features added upstream and included in the
ebuild. Many thanks to ferdy@ferdyx.org for the updates.
20 Feb 2003; Zach Welch
Added arm to keywords.
12 Feb 2003; Guy Martin
Added hppa to keywords.
*ssmtp-2.48 (02 Feb 2003)
25 Jul 2003; Guy Lartin
Marked stable on hppa.
18 Apr 2003; Jan Seidel
Added mips to keywords.
04 Apr 2003; Jason Wever
Changed ~sparc keyword to sparc.
25 Mar 2003; Graham Forest
Marked stable on ppc
09 Mar 2003; Aron Griffis
Mark stable on alpha
02 Feb 2003; Nick Hadaway
files/digest-ssmtp-2.48 :
Version bump. Thanks to Matsuu Takuto on bug #14726 for the heads up.
Added a doc which explains a little bit about the new TLS support
06 Dec 2002; Rodney Rees
*ssmtp-2.38.14-r1 (1 Feb 2002)
05 Sep 2002; Nick Hadaway
Removed symlink. See bug #7448.
1 Feb 2002; G.Bevin
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
AUX CVE-2008-3962.patch 293 RMD160 5e61ae056d707337d8f3d4a5e18e35ca1fd2217e SHA1 ebab9f9636b83b4b151d852baa7a1b90b2871871 SHA256 48367c82bdb77d26b144954eb908de56494999154ed6399b0cd148be340fb231
AUX mailer.conf 349 RMD160 1cad356faa6ee30e7bed9d70754487cac8f088e5 SHA1 4ab7aeef9fcaa021cff2845ffdac1ccb65dddfa4 SHA256 7b04fc27f8ca41b586ae68cbeffb509c2408afcc592462b617fba78b5d7aa88a
AUX ssmtp-2.61-bug127592.patch 385 RMD160 61f877e742bbf23e13056884bccae5a22a17fe75 SHA1 27a4aafc3cbffd11c6427e5ac02c3484396091ef SHA256 256a783b5e73b9914cb49854b367ce9f5781d8664cd640e6b0b9d0b5f6948edc
AUX ssmtp-2.62-maxsysuid-conf.patch 667 RMD160 9a515e40aedc8eb8784cc7bb9b75b55536877f42 SHA1 af175c8fd039fcd7a125b2c3f3eba80bd69006dd SHA256 634d8e1e66d9a1c13aa4b75de37194899d12ed069b7cd651c3f49e361745b99e
AUX ssmtp-2.62-maxsysuid.patch 1185 RMD160 a6a4a1dc23a74170b52e84a1e34149258e08b7b6 SHA1 9da033da95e9ac04046969d60914cd64f1405e47 SHA256 49201b47eb88e860d0a07777aa895127c2415bc170faacdefc376c221a595961
AUX ssmtp-2.62-strndup.patch 682 RMD160 d56434a83ec6bb49cafb67846e0082551d1a3be3 SHA1 9b8328c8ea1410683dd13cc770582658e33d716e SHA256 2ce7b4526db527656bfb9cde41f940e5da23b9fb2089a6b5b9bd4bae6dfa07ab
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 3425 RMD160 5921ed494614cdd58aae882a17feaefa2c1a1762 SHA1 90bbb99ae56e5be4e4e5da95f46c806de6ede306 SHA256 3d8a01bb6a66dfdcef9e170dd455200d36551711642c0d3ebab2d96a5f071894
EBUILD ssmtp-2.62-r3.ebuild 2996 RMD160 a556faf002b2274834c981bfbb7cc4520b4990d1 SHA1 997c7c5f7c3d2dc82f2a517e40fe6566d50f1c66 SHA256 0b3092a0c25822d3e41d9673e128daf58928964a5f6a63c4faf6aedcc2a1e282
MISC ChangeLog 13872 RMD160 aee4183de03c370d15074cb0fddf49c7fa17f8d8 SHA1 66a3902c894b8d097867fdb5e17971de2a32b9c5 SHA256 5dea7739f0d2f08d27130ab7919e8b5f3d9a9d3d9854f285e1cbe16fd572803f
MISC metadata.xml 291 RMD160 2e697d312e59fe9a8a198f5d79f0b20c29abb633 SHA1 b6498cb6d5b33475440898598dfc05f3a7c554a7 SHA256 547e579723c831c40d6184225f181e11e949cf8310a3433d6ece7ee61fc23887
# 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.61-r2.ebuild,v 1.12 2008/09/12 15:22:30 jer 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 mailwrapper"
DEPEND="virtual/libc
ssl? ( dev-libs/openssl )"
RDEPEND="mailwrapper? ( >=net-mail/mailwrapper-0.2 )
!mailwrapper? ( !virtual/mta )
net-mail/mailbase
ssl? ( dev-libs/openssl )"
PROVIDE="virtual/mta"
S=${WORKDIR}/ssmtp-2.61
src_unpack() {
unpack ${A} ; cd "${S}"
epatch "${FILESDIR}"/ssmtp-2.61-bug127592.patch
# 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
dosym /usr/sbin/sendmail /usr/bin/mailq
dosym /usr/sbin/sendmail /usr/bin/newaliases
# Removed symlink due to conflict with mailx
# See bug #7448
#dosym /usr/sbin/ssmtp /usr/bin/mail
#The sendmail symlink is now handled by mailwrapper if used
use mailwrapper || \
dosym /usr/sbin/ssmtp /usr/sbin/sendmail
dosym /usr/sbin/sendmail /usr/lib/sendmail
doman ssmtp.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 INSTALL README TLS CHANGELOG_OLD
# 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
if use mailwrapper
then
insinto /etc/mail
doins "${FILESDIR}"/mailer.conf
fi
# Set up config file
# See bug #22658
#local conffile="/etc/ssmtp/ssmtp.conf"
#local hostname=`hostname -f`
#local domainname=`hostname -d`
#mv ${conffile} ${conffile}.orig
#sed -e "s:rewriteDomain=:rewriteDomain=${domainname}:g" \
# -e "s:_HOSTNAME_:${hostname}:" \
# -e "s:^mailhub=mail:mailhub=mail.${domainname}:g" \
# ${conffile}.orig > ${conffile}.pre
#if use ssl;
#then
# sed -e "s:^#UseTLS=YES:UseTLS=YES:g" \
# ${conffile}.pre > ${conffile}
# mv ${conffile}.pre ${conffile}.orig
#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() {
if ! use mailwrapper && [[ -e /etc/mailer.conf ]]
then
einfo
einfo "Since you emerged ssmtp w/o mailwrapper in USE,"
einfo "you probably want to 'emerge -C mailwrapper' now."
einfo
fi
}
# 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-r3.ebuild,v 1.7 2008/09/21 08:43:56 dertobi123 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 ~sparc-fbsd x86 ~x86-fbsd"
IUSE="ssl ipv6 md5sum maxsysuid"
DEPEND="ssl? ( dev-libs/openssl )"
RDEPEND="${DEPEND}
!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.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
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
fowners root:ssmtp /usr/sbin/ssmtp
fperms 750 /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
}
pkg_postinst() {
elog "Starting with =mail-mta/ssmtp-2.62 all users who should be able"
elog "to send mails using ssmtp must be added to the ssmtp group."
elog
elog "See bug #187841 for reference."
}