Gentoo Archives: gentoo-commits

From: Jason Donenfeld <zx2c4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/opensmtpd/
Date: Fri, 02 Oct 2015 12:39:36
Message-Id: 1443789364.dd6efadc944fb348ee1d45593c66d3b4c167e3e5.zx2c4@gentoo
1 commit: dd6efadc944fb348ee1d45593c66d3b4c167e3e5
2 Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 2 12:32:38 2015 +0000
4 Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 2 12:36:04 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd6efadc
7
8 mail-mta/opensmtpd: version bump for security fixes
9
10 Gentoo-Bug: 562034
11 Package-Manager: portage-2.2.20.1
12
13 mail-mta/opensmtpd/Manifest | 2 +-
14 mail-mta/opensmtpd/opensmtpd-5.7.1_p1.ebuild | 89 ----------------------
15 ....7.1_p1-r1.ebuild => opensmtpd-5.7.2_p1.ebuild} | 0
16 3 files changed, 1 insertion(+), 90 deletions(-)
17
18 diff --git a/mail-mta/opensmtpd/Manifest b/mail-mta/opensmtpd/Manifest
19 index b4fce70..7e33322 100644
20 --- a/mail-mta/opensmtpd/Manifest
21 +++ b/mail-mta/opensmtpd/Manifest
22 @@ -1,2 +1,2 @@
23 DIST opensmtpd-201506112227p1.tar.gz 706259 SHA256 f938796d2655f554e695adff6a3f3bbc4b1326912327b98acc7e29f705b9cf63 SHA512 f1724c1f2233dc43f4e5db780e12cfbaa7237dfbd0f70b30237c5d7bf2eed370ef6ed1f3d674473fc34d42fca6bb13e3d1152f29d16e29c7c9f86db6071713fb WHIRLPOOL f7454975f256ef50d085774516805227c1dfc4129e57290dca4cb8484fd0b8e6df45a74c6f5c9704461d5f558f50cf3795700313d6394f8d9b61fe95dd8b692b
24 -DIST opensmtpd-5.7.1p1.tar.gz 708295 SHA256 67e9dd9682ca8c181e84e66c76245a4a8f6205834f915a2c021cdfeb22049e3a SHA512 df09c980b25a6e91a62f6de83b18e376f6c81a5bf0039fa91da90b2fe4d67bf4bc2dc6787b2d9aca0eb859cc149f980dd9c342516af5262231c97b133f804c1a WHIRLPOOL f864ceafcc323ef61faeeb379e696ea740e39761153fda28f03805fd6c3c3c41d4c61108bbe62fcb81afd2794f32b4deef094337536feecab6bc9cb717016f0a
25 +DIST opensmtpd-5.7.2p1.tar.gz 708991 SHA256 daae044488d456b33aa9c84ebcc79aef2f9ab2d17ebe0c0f09e41e1f4b60d992 SHA512 ef9487ba38711fd2a4076022c8fef89c4daf0aac346a72814a9c17f20f830bcd3cba4d85da53867cbc726d2c10fd6773c907ae533e0e022165d7f4aa3bdf1260 WHIRLPOOL 3d5d3fff0f15b898219af62eb4152666120d60d528f3afa99d347be0fcdd58b9fe36694471cd4485d51041de53ee6249f4510e5a0af254794fe7465b8642cd44
26
27 diff --git a/mail-mta/opensmtpd/opensmtpd-5.7.1_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-5.7.1_p1.ebuild
28 deleted file mode 100644
29 index 263925d..0000000
30 --- a/mail-mta/opensmtpd/opensmtpd-5.7.1_p1.ebuild
31 +++ /dev/null
32 @@ -1,89 +0,0 @@
33 -# Copyright 1999-2015 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
38 -
39 -inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools systemd versionator
40 -
41 -DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD"
42 -HOMEPAGE="http://www.opensmtpd.org/"
43 -MY_P="${P}"
44 -if [ $(get_last_version_component_index) -eq 4 ]; then
45 - MY_P="${PN}-$(get_version_component_range 4-)"
46 -fi
47 -SRC_URI="https://www.opensmtpd.org/archives/${MY_P/_}.tar.gz"
48 -
49 -LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
50 -SLOT="0"
51 -KEYWORDS="amd64 x86"
52 -IUSE="pam +mta"
53 -
54 -DEPEND="dev-libs/openssl
55 - sys-libs/zlib
56 - pam? ( virtual/pam )
57 - sys-libs/db
58 - dev-libs/libevent
59 - app-misc/ca-certificates
60 - net-mail/mailbase
61 - net-libs/libasr
62 - !mail-mta/courier
63 - !mail-mta/esmtp
64 - !mail-mta/exim
65 - !mail-mta/mini-qmail
66 - !mail-mta/msmtp[mta]
67 - !mail-mta/netqmail
68 - !mail-mta/nullmailer
69 - !mail-mta/postfix
70 - !mail-mta/qmail-ldap
71 - !mail-mta/sendmail
72 - !mail-mta/ssmtp[mta]
73 -"
74 -RDEPEND="${DEPEND}"
75 -
76 -S=${WORKDIR}/${MY_P/_}
77 -
78 -src_prepare() {
79 - epatch_user
80 - eautoreconf
81 -}
82 -
83 -src_configure() {
84 - tc-export AR
85 - AR="$(which "$AR")" econf \
86 - --with-privsep-user=smtpd \
87 - --with-queue-user=smtpq \
88 - --with-privsep-path=/var/empty \
89 - --with-sock-dir=/var/run \
90 - --sysconfdir=/etc/opensmtpd \
91 - --with-ca-file=/etc/ssl/certs/ca-certificates.crt \
92 - $(use_with pam)
93 -}
94 -
95 -src_install() {
96 - default
97 - newinitd "${FILESDIR}"/smtpd.initd smtpd
98 - systemd_dounit "${FILESDIR}"/smtpd.{service,socket}
99 - use pam && newpamd "${FILESDIR}"/smtpd.pam smtpd
100 - if use mta ; then
101 - dodir /usr/sbin
102 - dosym /usr/sbin/smtpctl /usr/sbin/sendmail
103 - dosym /usr/sbin/smtpctl /usr/bin/sendmail
104 - dosym /usr/sbin/smtpctl /usr/$(get_libdir)/sendmail
105 - fi
106 -}
107 -
108 -pkg_preinst() {
109 - enewgroup smtpd 25
110 - enewuser smtpd 25 -1 /var/empty smtpd
111 - enewgroup smtpq 252
112 - enewuser smtpq 252 -1 /var/empty smtpq
113 -}
114 -
115 -pkg_postinst() {
116 - einfo
117 - einfo "Plugins for SQLite, MySQL, PostgreSQL, LDAP, socketmaps,"
118 - einfo "Redis, and many other useful addons and filters are"
119 - einfo "available in the mail-filter/opensmtpd-extras package."
120 - einfo
121 -}
122
123 diff --git a/mail-mta/opensmtpd/opensmtpd-5.7.1_p1-r1.ebuild b/mail-mta/opensmtpd/opensmtpd-5.7.2_p1.ebuild
124 similarity index 100%
125 rename from mail-mta/opensmtpd/opensmtpd-5.7.1_p1-r1.ebuild
126 rename to mail-mta/opensmtpd/opensmtpd-5.7.2_p1.ebuild