From: "Jason Donenfeld" <zx2c4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/opensmtpd/
Date: Mon, 6 Jun 2016 17:55:58 +0000 (UTC) [thread overview]
Message-ID: <1465235830.8ca5116d4f2f2f8c5e30aff222c76aa286533a2f.zx2c4@gentoo> (raw)
commit: 8ca5116d4f2f2f8c5e30aff222c76aa286533a2f
Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 6 17:57:10 2016 +0000
Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Mon Jun 6 17:57:10 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca5116d
Reintroduce snapshots
Package-Manager: portage-2.3.0_rc1
mail-mta/opensmtpd/Manifest | 2 +-
.../opensmtpd-5.9.2.201605221711_p1.ebuild | 93 ++++++++++++++++++++++
2 files changed, 94 insertions(+), 1 deletion(-)
diff --git a/mail-mta/opensmtpd/Manifest b/mail-mta/opensmtpd/Manifest
index 29b0229..25c4cab 100644
--- a/mail-mta/opensmtpd/Manifest
+++ b/mail-mta/opensmtpd/Manifest
@@ -1,2 +1,2 @@
-DIST opensmtpd-5.7.3p2.tar.gz 709074 SHA256 0d2973008d0f66bebb84bed516be6c32617735241cc54dd26643529281a8e52b SHA512 bac0b8d6a6969a5e49a1d45b2c74cb2f3da44d06b12c7162500adf3ca312751020762bc8301075a9d7634d94cf51f978d04fac327f843680646e9e687737c42f WHIRLPOOL 7c82fe76f9185472781b24332b6c7acd3b062e1bb6e426e122e1d2b2caf90e33a46770d6504fb7a3b32d50c9e31aa7284d2e47968e43d706b590936223f03dc6
+DIST opensmtpd-201605221711p1.tar.gz 691693 SHA256 e7f63a4d5c26386cffe61f35d6e4a959a1f6f38b3fbe0351c746326cf2329418 SHA512 65fdb169e96793e06d149843376a9500779509d14f016f7f9b0744696a3e804c7c68bb0b2413d01625be582f887b688d47b76d3cc409d23f9bc0d725626a2e8f WHIRLPOOL 46f1950283b19bf782f44b635edf417ece9f23562813782e303ffc2b4b3307e9e3de3f3fa90c7c6e351c12cd31e73e587d9a132776836856251ce634c64c9d09
DIST opensmtpd-5.9.2p1.tar.gz 681855 SHA256 3522f273c1630c781facdb2b921228e338ed4e651909316735df775d6a70a71d SHA512 99ca15101557848aa6d642f0c0171b152d805192e6839a97410b19431c981a21a5c0dc011e2c8cd91f3e6f6acb37a77f0f4c8e68114bf9808240392fe2b5d375 WHIRLPOOL 4d50474eb9f845633d152c065a0e70f3d41fba97134b33d3eb5164d39bdc58eeb4133b2f951a1815143a468144fb631f5f0b2960f57e7ba18a65321413fb5b6f
diff --git a/mail-mta/opensmtpd/opensmtpd-5.9.2.201605221711_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-5.9.2.201605221711_p1.ebuild
new file mode 100644
index 0000000..f4f32a6
--- /dev/null
+++ b/mail-mta/opensmtpd/opensmtpd-5.9.2.201605221711_p1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools systemd versionator
+
+DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD"
+HOMEPAGE="http://www.opensmtpd.org/"
+MY_P="${P}"
+if [ $(get_last_version_component_index) -eq 4 ]; then
+ MY_P="${PN}-$(get_version_component_range 4-)"
+fi
+SRC_URI="https://www.opensmtpd.org/archives/${MY_P/_}.tar.gz"
+
+LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl pam +mta"
+
+DEPEND="!libressl? ( dev-libs/openssl:0 )
+ libressl? ( dev-libs/libressl )
+ sys-libs/zlib
+ pam? ( virtual/pam )
+ sys-libs/db:=
+ dev-libs/libevent
+ app-misc/ca-certificates
+ net-mail/mailbase
+ net-libs/libasr
+ !mail-mta/courier
+ !mail-mta/esmtp
+ !mail-mta/exim
+ !mail-mta/mini-qmail
+ !mail-mta/msmtp[mta]
+ !mail-mta/netqmail
+ !mail-mta/nullmailer
+ !mail-mta/postfix
+ !mail-mta/qmail-ldap
+ !mail-mta/sendmail
+ !mail-mta/ssmtp[mta]
+"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P/_}
+
+src_prepare() {
+ # Use /run instead of /var/run
+ sed -i -e '/pidfile_path/s:_PATH_VARRUN:"/run/":' openbsd-compat/pidfile.c || die
+ epatch_user
+ eautoreconf
+}
+
+src_configure() {
+ tc-export AR
+ AR="$(which "$AR")" econf \
+ --with-table-db \
+ --with-user-smtpd=smtpd \
+ --with-user-queue=smtpq \
+ --with-group-queue=smtpq \
+ --with-path-socket=/run \
+ --with-path-CAfile=/etc/ssl/certs/ca-certificates.crt \
+ --sysconfdir=/etc/opensmtpd \
+ $(use_with pam auth-pam)
+}
+
+src_install() {
+ default
+ newinitd "${FILESDIR}"/smtpd.initd smtpd
+ systemd_dounit "${FILESDIR}"/smtpd.{service,socket}
+ use pam && newpamd "${FILESDIR}"/smtpd.pam smtpd
+ if use mta ; then
+ dodir /usr/sbin
+ dosym /usr/sbin/smtpctl /usr/sbin/sendmail
+ dosym /usr/sbin/smtpctl /usr/bin/sendmail
+ dosym /usr/sbin/smtpctl /usr/$(get_libdir)/sendmail
+ fi
+}
+
+pkg_preinst() {
+ enewgroup smtpd 25
+ enewuser smtpd 25 -1 /var/empty smtpd
+ enewgroup smtpq 252
+ enewuser smtpq 252 -1 /var/empty smtpq
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Plugins for SQLite, MySQL, PostgreSQL, LDAP, socketmaps,"
+ einfo "Redis, and many other useful addons and filters are"
+ einfo "available in the mail-filter/opensmtpd-extras package."
+ einfo
+}
next reply other threads:[~2016-06-06 17:56 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-06 17:55 Jason Donenfeld [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-25 22:38 [gentoo-commits] repo/gentoo:master commit in: mail-mta/opensmtpd/ Sam James
2024-11-24 15:47 Jakov Smolić
2024-11-23 20:33 Arthur Zamarin
2024-11-23 16:02 Michał Górny
2024-11-17 11:17 Cédric Krier
2024-11-17 11:10 Cédric Krier
2024-06-02 7:30 Joonas Niilola
2024-01-13 7:49 Joonas Niilola
2024-01-13 7:49 Joonas Niilola
2023-09-05 14:23 Sam James
2023-09-05 14:23 Sam James
2023-09-05 14:23 Sam James
2023-09-05 14:23 Sam James
2023-08-28 16:07 David Seifert
2023-08-26 14:22 David Seifert
2023-04-29 5:47 Sam James
2023-03-31 7:15 Joonas Niilola
2022-12-25 7:49 Georgy Yakovlev
2022-12-13 5:27 Sam James
2022-07-28 13:31 Sam James
2021-07-22 3:19 Georgy Yakovlev
2021-07-06 19:00 Georgy Yakovlev
2021-06-22 22:38 Sam James
2021-06-16 7:40 Georgy Yakovlev
2021-05-25 20:44 Thomas Deutschmann
2021-05-02 8:54 Mikle Kolyada
2021-01-04 9:32 Sam James
2020-12-27 23:56 Sam James
2020-12-26 12:18 Jason A. Donenfeld
2020-12-22 18:57 Sam James
2020-12-22 17:08 Thomas Deutschmann
2020-08-25 19:24 Jason A. Donenfeld
2020-05-23 23:11 Jason A. Donenfeld
2020-05-23 23:08 Jason A. Donenfeld
2020-02-06 5:46 Georgy Yakovlev
2020-02-05 13:05 Jason A. Donenfeld
2020-02-05 13:02 Jason A. Donenfeld
2020-02-05 12:47 Jason A. Donenfeld
2020-02-05 12:29 Jason A. Donenfeld
2020-02-05 12:17 Jason A. Donenfeld
2020-02-05 12:07 Jason A. Donenfeld
2020-02-05 12:01 Jason A. Donenfeld
2020-01-29 8:51 Jason A. Donenfeld
2019-10-12 21:03 Mikle Kolyada
2018-05-18 12:34 Aaron Bauman
2017-06-15 10:41 Alexis Ballier
2017-03-04 17:18 Alexis Ballier
2016-10-14 6:42 Patrice Clement
2016-10-14 2:27 Jason Donenfeld
2016-10-14 2:23 Jason Donenfeld
2016-10-12 11:59 Jason Donenfeld
2016-07-05 12:09 Jason Donenfeld
2016-07-04 7:09 Jason Donenfeld
2016-06-25 15:16 Patrice Clement
2016-06-16 12:07 Jason Donenfeld
2016-06-07 8:41 Jason Donenfeld
2016-06-06 22:27 Jason Donenfeld
2016-06-06 17:59 Jason Donenfeld
2016-06-06 17:46 Jason Donenfeld
2016-02-18 20:38 Jason Donenfeld
2015-10-11 1:04 Anthony G. Basile
2015-10-02 12:59 Jason Donenfeld
2015-10-02 12:39 Jason Donenfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465235830.8ca5116d4f2f2f8c5e30aff222c76aa286533a2f.zx2c4@gentoo \
--to=zx2c4@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox