1 |
zx2c4 13/05/18 14:07:11 |
2 |
|
3 |
Modified: opensmtpd-5.3.1_p1.ebuild ChangeLog |
4 |
Added: opensmtpd-5.3.1.201305171950_p1.ebuild |
5 |
Log: |
6 |
Latest snapshot that fixes SSL DoS. |
7 |
|
8 |
(Portage version: 2.2.0_alpha175/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 mail-mta/opensmtpd/opensmtpd-5.3.1_p1.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.1_p1.ebuild?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.1_p1.ebuild?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.1_p1.ebuild?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: opensmtpd-5.3.1_p1.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.1_p1.ebuild,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- opensmtpd-5.3.1_p1.ebuild 22 Apr 2013 12:04:30 -0000 1.1 |
24 |
+++ opensmtpd-5.3.1_p1.ebuild 18 May 2013 14:07:11 -0000 1.2 |
25 |
@@ -1,14 +1,16 @@ |
26 |
# Copyright 1999-2013 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.1_p1.ebuild,v 1.1 2013/04/22 12:04:30 zx2c4 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.1_p1.ebuild,v 1.2 2013/05/18 14:07:11 zx2c4 Exp $ |
30 |
|
31 |
EAPI=5 |
32 |
|
33 |
-inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools |
34 |
+inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools versionator |
35 |
|
36 |
DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD" |
37 |
HOMEPAGE="http://www.opensmtpd.org/" |
38 |
-SRC_URI="http://www.opensmtpd.org/archives/${P/_}.tar.gz" |
39 |
+MY_P="${P}" |
40 |
+[ $(get_last_version_component_index) -eq 4 ] && MY_P="${PN}-$(get_version_component_range 4-)" |
41 |
+SRC_URI="http://www.opensmtpd.org/archives/${MY_P/_}.tar.gz" |
42 |
|
43 |
LICENSE="ISC BSD BSD-1 BSD-2 BSD-4" |
44 |
SLOT="0" |
45 |
|
46 |
|
47 |
|
48 |
1.8 mail-mta/opensmtpd/ChangeLog |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?rev=1.8&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?rev=1.8&content-type=text/plain |
52 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?r1=1.7&r2=1.8 |
53 |
|
54 |
Index: ChangeLog |
55 |
=================================================================== |
56 |
RCS file: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v |
57 |
retrieving revision 1.7 |
58 |
retrieving revision 1.8 |
59 |
diff -u -r1.7 -r1.8 |
60 |
--- ChangeLog 22 Apr 2013 12:04:30 -0000 1.7 |
61 |
+++ ChangeLog 18 May 2013 14:07:11 -0000 1.8 |
62 |
@@ -1,6 +1,12 @@ |
63 |
# ChangeLog for mail-mta/opensmtpd |
64 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
65 |
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.7 2013/04/22 12:04:30 zx2c4 Exp $ |
66 |
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.8 2013/05/18 14:07:11 zx2c4 Exp $ |
67 |
+ |
68 |
+*opensmtpd-5.3.1.201305171950_p1 (18 May 2013) |
69 |
+ |
70 |
+ 18 May 2013; Jason A. Donenfeld <zx2c4@g.o> |
71 |
+ +opensmtpd-5.3.1.201305171950_p1.ebuild, opensmtpd-5.3.1_p1.ebuild: |
72 |
+ Latest snapshot that fixes SSL DoS. |
73 |
|
74 |
*opensmtpd-5.3.1_p1 (22 Apr 2013) |
75 |
|
76 |
|
77 |
|
78 |
|
79 |
1.1 mail-mta/opensmtpd/opensmtpd-5.3.1.201305171950_p1.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.1.201305171950_p1.ebuild?rev=1.1&view=markup |
82 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.1.201305171950_p1.ebuild?rev=1.1&content-type=text/plain |
83 |
|
84 |
Index: opensmtpd-5.3.1.201305171950_p1.ebuild |
85 |
=================================================================== |
86 |
# Copyright 1999-2013 Gentoo Foundation |
87 |
# Distributed under the terms of the GNU General Public License v2 |
88 |
# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.1.201305171950_p1.ebuild,v 1.1 2013/05/18 14:07:11 zx2c4 Exp $ |
89 |
|
90 |
EAPI=5 |
91 |
|
92 |
inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools versionator |
93 |
|
94 |
DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD" |
95 |
HOMEPAGE="http://www.opensmtpd.org/" |
96 |
MY_P="${P}" |
97 |
[ $(get_last_version_component_index) -eq 4 ] && MY_P="${PN}-$(get_version_component_range 4-)" |
98 |
SRC_URI="http://www.opensmtpd.org/archives/${MY_P/_}.tar.gz" |
99 |
|
100 |
LICENSE="ISC BSD BSD-1 BSD-2 BSD-4" |
101 |
SLOT="0" |
102 |
KEYWORDS="~amd64 ~x86" |
103 |
IUSE="pam sqlite" |
104 |
|
105 |
DEPEND="dev-libs/openssl |
106 |
sys-libs/zlib |
107 |
pam? ( virtual/pam ) |
108 |
sys-libs/db |
109 |
sqlite? ( dev-db/sqlite:3 ) |
110 |
dev-libs/libevent |
111 |
!mail-mta/courier |
112 |
!mail-mta/esmtp |
113 |
!mail-mta/exim |
114 |
!mail-mta/mini-qmail |
115 |
!mail-mta/msmtp[mta] |
116 |
!mail-mta/netqmail |
117 |
!mail-mta/nullmailer |
118 |
!mail-mta/postfix |
119 |
!mail-mta/qmail-ldap |
120 |
!mail-mta/sendmail |
121 |
!mail-mta/ssmtp[mta] |
122 |
" |
123 |
RDEPEND="${DEPEND}" |
124 |
|
125 |
S=${WORKDIR}/${P/_} |
126 |
|
127 |
src_prepare() { |
128 |
epatch "${FILESDIR}"/build-warnings.patch |
129 |
eautoreconf |
130 |
} |
131 |
|
132 |
src_configure() { |
133 |
tc-export AR |
134 |
AR="$(which "$AR")" econf \ |
135 |
--with-privsep-user=smtpd \ |
136 |
--with-filter-user=smtpf \ |
137 |
--with-queue-user=smtpq \ |
138 |
--with-privsep-path=/var/empty \ |
139 |
--with-sock-dir=/var/run \ |
140 |
--sysconfdir=/etc/opensmtpd \ |
141 |
$(use_with sqlite experimental-sqlite) \ |
142 |
$(use_with pam) |
143 |
#--with-lookup-user=smtpl will be available in the release after 5.3p1 |
144 |
} |
145 |
|
146 |
src_install() { |
147 |
default |
148 |
newinitd "${FILESDIR}"/smtpd.initd smtpd |
149 |
use pam && newpamd "${FILESDIR}"/smtpd.pam smtpd |
150 |
} |
151 |
|
152 |
pkg_preinst() { |
153 |
enewgroup smtpd 25 |
154 |
enewuser smtpd 25 -1 /var/empty smtpd |
155 |
enewgroup smtpf 251 |
156 |
enewuser smtpf 251 -1 /var/empty smtpf |
157 |
enewgroup smtpq 252 |
158 |
enewuser smtpq 252 -1 /var/empty smtpq |
159 |
|
160 |
# For release after 5.3p1: |
161 |
#enewgroup smtpl 253 |
162 |
#enewuser smtpl 253 -1 /var/empty smtpl |
163 |
} |