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