From: | "Jason Donenfeld (zx2c4)" <zx2c4@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in mail-mta/opensmtpd: opensmtpd-5.3.2_p1-r1.ebuild ChangeLog opensmtpd-5.3.2_p1.ebuild |
Date: | Sun, 19 May 2013 14:34:25 |
Message-Id: | 20130519143421.AC2C42171D@flycatcher.gentoo.org |
1 | zx2c4 13/05/19 14:34:21 |
2 | |
3 | Modified: ChangeLog |
4 | Added: opensmtpd-5.3.2_p1-r1.ebuild |
5 | Removed: opensmtpd-5.3.2_p1.ebuild |
6 | Log: |
7 | Now compiles without strict aliasing rules. |
8 | |
9 | (Portage version: 2.2.0_alpha175/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE) |
10 | |
11 | Revision Changes Path |
12 | 1.15 mail-mta/opensmtpd/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?rev=1.15&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?rev=1.15&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?r1=1.14&r2=1.15 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v |
21 | retrieving revision 1.14 |
22 | retrieving revision 1.15 |
23 | diff -u -r1.14 -r1.15 |
24 | --- ChangeLog 18 May 2013 17:59:49 -0000 1.14 |
25 | +++ ChangeLog 19 May 2013 14:34:21 -0000 1.15 |
26 | @@ -1,6 +1,13 @@ |
27 | # ChangeLog for mail-mta/opensmtpd |
28 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.14 2013/05/18 17:59:49 zx2c4 Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.15 2013/05/19 14:34:21 zx2c4 Exp $ |
31 | + |
32 | +*opensmtpd-5.3.2_p1-r1 (19 May 2013) |
33 | + |
34 | + 19 May 2013; Jason A. Donenfeld <zx2c4@g.o> |
35 | + +opensmtpd-5.3.2_p1-r1.ebuild, -opensmtpd-5.3.2_p1.ebuild, |
36 | + files/build-warnings.patch: |
37 | + Now compiles without strict aliasing rules. |
38 | |
39 | 18 May 2013; Jason A. Donenfeld <zx2c4@g.o> opensmtpd-5.3.2_p1.ebuild: |
40 | Change to correct directory. |
41 | |
42 | |
43 | |
44 | 1.1 mail-mta/opensmtpd/opensmtpd-5.3.2_p1-r1.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.2_p1-r1.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.2_p1-r1.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: opensmtpd-5.3.2_p1-r1.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2013 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.3.2_p1-r1.ebuild,v 1.1 2013/05/19 14:34:21 zx2c4 Exp $ |
54 | |
55 | EAPI=5 |
56 | |
57 | inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools versionator |
58 | |
59 | DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD" |
60 | HOMEPAGE="http://www.opensmtpd.org/" |
61 | MY_DP="${P}" |
62 | MY_P="${P}" |
63 | if [ $(get_last_version_component_index) -eq 4 ]; then |
64 | MY_DP="${PN}-$(get_version_component_range 4-)" |
65 | MY_P="${PN}-${PV/.$(get_version_component_range 4)}" |
66 | fi |
67 | SRC_URI="http://www.opensmtpd.org/archives/${MY_DP/_}.tar.gz" |
68 | |
69 | LICENSE="ISC BSD BSD-1 BSD-2 BSD-4" |
70 | SLOT="0" |
71 | KEYWORDS="~amd64 ~x86" |
72 | IUSE="pam sqlite" |
73 | |
74 | DEPEND="dev-libs/openssl |
75 | sys-libs/zlib |
76 | pam? ( virtual/pam ) |
77 | sys-libs/db |
78 | sqlite? ( dev-db/sqlite:3 ) |
79 | dev-libs/libevent |
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}"/build-warnings.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-filter-user=smtpf \ |
107 | --with-queue-user=smtpq \ |
108 | --with-privsep-path=/var/empty \ |
109 | --with-sock-dir=/var/run \ |
110 | --sysconfdir=/etc/opensmtpd \ |
111 | $(use_with sqlite experimental-sqlite) \ |
112 | $(use_with pam) |
113 | #--with-lookup-user=smtpl will be available in the release after 5.3p1 |
114 | } |
115 | |
116 | src_install() { |
117 | default |
118 | newinitd "${FILESDIR}"/smtpd.initd smtpd |
119 | use pam && newpamd "${FILESDIR}"/smtpd.pam smtpd |
120 | } |
121 | |
122 | pkg_preinst() { |
123 | enewgroup smtpd 25 |
124 | enewuser smtpd 25 -1 /var/empty smtpd |
125 | enewgroup smtpf 251 |
126 | enewuser smtpf 251 -1 /var/empty smtpf |
127 | enewgroup smtpq 252 |
128 | enewuser smtpq 252 -1 /var/empty smtpq |
129 | |
130 | # For release after 5.3p1: |
131 | #enewgroup smtpl 253 |
132 | #enewuser smtpl 253 -1 /var/empty smtpl |
133 | } |