1 |
zx2c4 15/06/02 11:54:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: opensmtpd-5.4.5.201506020910_p1.ebuild |
5 |
Removed: opensmtpd-5.4.5.201505241924_p1.ebuild |
6 |
Log: |
7 |
Version bump. |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 55758000) |
10 |
|
11 |
Revision Changes Path |
12 |
1.70 mail-mta/opensmtpd/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?rev=1.70&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?rev=1.70&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?r1=1.69&r2=1.70 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v |
21 |
retrieving revision 1.69 |
22 |
retrieving revision 1.70 |
23 |
diff -u -r1.69 -r1.70 |
24 |
--- ChangeLog 28 May 2015 10:44:31 -0000 1.69 |
25 |
+++ ChangeLog 2 Jun 2015 11:54:13 -0000 1.70 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for mail-mta/opensmtpd |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.69 2015/05/28 10:44:31 zx2c4 Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.70 2015/06/02 11:54:13 zx2c4 Exp $ |
31 |
+ |
32 |
+*opensmtpd-5.4.5.201506020910_p1 (02 Jun 2015) |
33 |
+ |
34 |
+ 02 Jun 2015; Jason A. Donenfeld <zx2c4@g.o> |
35 |
+ +opensmtpd-5.4.5.201506020910_p1.ebuild, |
36 |
+ -opensmtpd-5.4.5.201505241924_p1.ebuild: |
37 |
+ Version bump. |
38 |
|
39 |
28 May 2015; Jason A. Donenfeld <zx2c4@g.o> |
40 |
opensmtpd-5.4.5.201505241924_p1.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 mail-mta/opensmtpd/opensmtpd-5.4.5.201506020910_p1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.4.5.201506020910_p1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.4.5.201506020910_p1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: opensmtpd-5.4.5.201506020910_p1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2015 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.4.5.201506020910_p1.ebuild,v 1.1 2015/06/02 11:54:13 zx2c4 Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools systemd versionator |
58 |
|
59 |
DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD" |
60 |
HOMEPAGE="http://www.opensmtpd.org/" |
61 |
MY_P="${P}" |
62 |
if [ $(get_last_version_component_index) -eq 4 ]; then |
63 |
MY_P="${PN}-$(get_version_component_range 4-)" |
64 |
fi |
65 |
SRC_URI="https://www.opensmtpd.org/archives/${MY_P/_}.tar.gz" |
66 |
|
67 |
LICENSE="ISC BSD BSD-1 BSD-2 BSD-4" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
IUSE="pam +mta" |
71 |
|
72 |
DEPEND="dev-libs/openssl |
73 |
sys-libs/zlib |
74 |
pam? ( virtual/pam ) |
75 |
sys-libs/db |
76 |
dev-libs/libevent |
77 |
app-misc/ca-certificates |
78 |
net-mail/mailbase |
79 |
net-libs/libasr |
80 |
!mail-mta/courier |
81 |
!mail-mta/esmtp |
82 |
!mail-mta/exim |
83 |
!mail-mta/mini-qmail |
84 |
!mail-mta/msmtp[mta] |
85 |
!mail-mta/netqmail |
86 |
!mail-mta/nullmailer |
87 |
!mail-mta/postfix |
88 |
!mail-mta/qmail-ldap |
89 |
!mail-mta/sendmail |
90 |
!mail-mta/ssmtp[mta] |
91 |
" |
92 |
RDEPEND="${DEPEND}" |
93 |
|
94 |
S=${WORKDIR}/${MY_P/_} |
95 |
|
96 |
src_prepare() { |
97 |
epatch "${FILESDIR}/${PN}-5.4.5_p2-libevent-version-macro.patch" |
98 |
epatch_user |
99 |
eautoreconf |
100 |
} |
101 |
|
102 |
src_configure() { |
103 |
tc-export AR |
104 |
AR="$(which "$AR")" econf \ |
105 |
--with-privsep-user=smtpd \ |
106 |
--with-queue-user=smtpq \ |
107 |
--with-privsep-path=/var/empty \ |
108 |
--with-sock-dir=/var/run \ |
109 |
--sysconfdir=/etc/opensmtpd \ |
110 |
--with-ca-file=/etc/ssl/certs/ca-certificates.crt \ |
111 |
$(use_with pam) |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
default |
116 |
newinitd "${FILESDIR}"/smtpd.initd smtpd |
117 |
systemd_dounit "${FILESDIR}"/smtpd.{service,socket} |
118 |
use pam && newpamd "${FILESDIR}"/smtpd.pam smtpd |
119 |
if use mta ; then |
120 |
dodir /usr/sbin |
121 |
dosym /usr/sbin/smtpctl /usr/sbin/sendmail |
122 |
dosym /usr/sbin/smtpctl /usr/bin/sendmail |
123 |
dosym /usr/sbin/smtpctl /usr/$(get_libdir)/sendmail |
124 |
fi |
125 |
} |
126 |
|
127 |
pkg_preinst() { |
128 |
enewgroup smtpd 25 |
129 |
enewuser smtpd 25 -1 /var/empty smtpd |
130 |
enewgroup smtpq 252 |
131 |
enewuser smtpq 252 -1 /var/empty smtpq |
132 |
} |
133 |
|
134 |
pkg_postinst() { |
135 |
einfo |
136 |
einfo "Note that support for SQLite, MySQL, PostgreSQL, LDAP," |
137 |
einfo "socketmaps, Redis, and other useful addons has been moved" |
138 |
einfo "to mail-filter/opensmtpd-extras." |
139 |
einfo |
140 |
} |