1 |
jer 11/01/27 18:33:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ssmtp-2.64-r1.ebuild |
5 |
Removed: ssmtp-2.64.ebuild |
6 |
Log: |
7 |
Install the ChangeLog now there is one. |
8 |
|
9 |
(Portage version: 2.2.0_alpha19/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.109 mail-mta/ssmtp/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/ssmtp/ChangeLog?rev=1.109&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/ssmtp/ChangeLog?rev=1.109&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/ssmtp/ChangeLog?r1=1.108&r2=1.109 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v |
21 |
retrieving revision 1.108 |
22 |
retrieving revision 1.109 |
23 |
diff -u -r1.108 -r1.109 |
24 |
--- ChangeLog 20 Jan 2011 04:30:25 -0000 1.108 |
25 |
+++ ChangeLog 27 Jan 2011 18:33:18 -0000 1.109 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for mail-mta/ssmtp |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.108 2011/01/20 04:30:25 flameeyes Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ChangeLog,v 1.109 2011/01/27 18:33:18 jer Exp $ |
31 |
+ |
32 |
+*ssmtp-2.64-r1 (27 Jan 2011) |
33 |
+ |
34 |
+ 27 Jan 2011; Jeroen Roovers <jer@g.o> -ssmtp-2.64.ebuild, |
35 |
+ +ssmtp-2.64-r1.ebuild: |
36 |
+ Install the ChangeLog now there is one. |
37 |
|
38 |
20 Jan 2011; Diego E. Pettenò <flameeyes@g.o> ssmtp-2.64.ebuild: |
39 |
Silence a harmless warning from repoman by renaming a variable. |
40 |
|
41 |
|
42 |
|
43 |
1.1 mail-mta/ssmtp/ssmtp-2.64-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/ssmtp/ssmtp-2.64-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/ssmtp/ssmtp-2.64-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: ssmtp-2.64-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/mail-mta/ssmtp/ssmtp-2.64-r1.ebuild,v 1.1 2011/01/27 18:33:18 jer Exp $ |
53 |
|
54 |
EAPI="3" |
55 |
|
56 |
PATCHSET=2 |
57 |
|
58 |
WANT_AUTOMAKE=none |
59 |
|
60 |
inherit eutils autotools |
61 |
|
62 |
DESCRIPTION="Extremely simple MTA to get mail off the system to a Mailhub" |
63 |
HOMEPAGE="ftp://ftp.debian.org/debian/pool/main/s/ssmtp/" |
64 |
SRC_URI="mirror://debian/pool/main/s/ssmtp/${P/-/_}.orig.tar.bz2 |
65 |
http://dev.gentoo.org/~flameeyes/ssmtp/${P}-patches-${PATCHSET}.tar.bz2" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
70 |
IUSE="ipv6 ssl gnutls" |
71 |
|
72 |
DEPEND="ssl? ( |
73 |
!gnutls? ( dev-libs/openssl ) |
74 |
gnutls? ( net-libs/gnutls ) |
75 |
)" |
76 |
RDEPEND="${DEPEND} |
77 |
net-mail/mailbase |
78 |
!net-mail/mailwrapper |
79 |
!virtual/mta" |
80 |
PROVIDE="virtual/mta" |
81 |
|
82 |
pkg_setup() { |
83 |
enewgroup ssmtp |
84 |
} |
85 |
|
86 |
src_prepare() { |
87 |
EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/patches" \ |
88 |
epatch |
89 |
|
90 |
eautoconf |
91 |
} |
92 |
|
93 |
src_configure() { |
94 |
econf \ |
95 |
--sysconfdir="${EPREFIX}"/etc/ssmtp \ |
96 |
$(use_enable ssl) $(use_with gnutls) \ |
97 |
$(use_enable ipv6 inet6) \ |
98 |
--enable-md5auth |
99 |
} |
100 |
|
101 |
src_compile() { |
102 |
emake etcdir="${EPREFIX}"/etc || die |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
dosbin ssmtp || die |
107 |
|
108 |
doman ssmtp.8 ssmtp.conf.5 || die |
109 |
dodoc ChangeLog CHANGELOG_OLD INSTALL README TLS || die |
110 |
newdoc ssmtp.lsm DESC || die |
111 |
|
112 |
insinto /etc/ssmtp |
113 |
doins ssmtp.conf revaliases || die |
114 |
|
115 |
local conffile="${ED}etc/ssmtp/ssmtp.conf" |
116 |
|
117 |
# Sorry about the weird indentation, I couldn't figure out a cleverer way |
118 |
# to do this without having horribly >80 char lines. |
119 |
sed -i -e "s:^hostname=:\n# Gentoo bug #47562\\ |
120 |
# Commenting the following line will force ssmtp to figure\\ |
121 |
# out the hostname itself.\n\\ |
122 |
# hostname=:" \ |
123 |
"${conffile}" || die "sed failed" |
124 |
|
125 |
# Comment rewriteDomain (bug #243364) |
126 |
sed -i -e "s:^rewriteDomain=:#rewriteDomain=:" "${conffile}" |
127 |
|
128 |
# Set restrictive perms on ssmtp.conf as per #187841, #239197 |
129 |
# Protect the ssmtp configfile from being readable by regular users as it |
130 |
# may contain login/password data to auth against a the mailhub used. |
131 |
fowners root:ssmtp /etc/ssmtp/ssmtp.conf |
132 |
fperms 640 /etc/ssmtp/ssmtp.conf |
133 |
|
134 |
fowners root:ssmtp /usr/sbin/ssmtp |
135 |
fperms 2711 /usr/sbin/ssmtp |
136 |
|
137 |
dosym ../sbin/ssmtp /usr/lib/sendmail || die |
138 |
dosym ../sbin/ssmtp /usr/bin/sendmail || die |
139 |
dosym ssmtp /usr/sbin/sendmail || die |
140 |
dosym ../sbin/ssmtp /usr/bin/mailq || die |
141 |
dosym ../sbin/ssmtp /usr/bin/newaliases || die |
142 |
} |