public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in mail-mta/opensmtpd: opensmtpd-5.7.1_p1.ebuild ChangeLog
@ 2015-07-02 12:17 Jason Donenfeld (zx2c4)
  0 siblings, 0 replies; only message in thread
From: Jason Donenfeld (zx2c4) @ 2015-07-02 12:17 UTC (permalink / raw
  To: gentoo-commits

zx2c4       15/07/02 12:17:39

  Modified:             ChangeLog
  Added:                opensmtpd-5.7.1_p1.ebuild
  Log:
  Latest stable upstream
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 55758000)

Revision  Changes    Path
1.73                 mail-mta/opensmtpd/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?rev=1.73&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?rev=1.73&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?r1=1.72&r2=1.73

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- ChangeLog	12 Jun 2015 16:44:40 -0000	1.72
+++ ChangeLog	2 Jul 2015 12:17:39 -0000	1.73
@@ -1,6 +1,11 @@
 # ChangeLog for mail-mta/opensmtpd
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.72 2015/06/12 16:44:40 zx2c4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.73 2015/07/02 12:17:39 zx2c4 Exp $
+
+*opensmtpd-5.7.1_p1 (02 Jul 2015)
+
+  02 Jul 2015; Jason A. Donenfeld <zx2c4@gentoo.org> +opensmtpd-5.7.1_p1.ebuild:
+  Latest stable upstream
 
 *opensmtpd-5.4.6_p1 (12 Jun 2015)
 *opensmtpd-5.4.6.201506112227_p1 (12 Jun 2015)



1.1                  mail-mta/opensmtpd/opensmtpd-5.7.1_p1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.7.1_p1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.7.1_p1.ebuild?rev=1.1&content-type=text/plain

Index: opensmtpd-5.7.1_p1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.7.1_p1.ebuild,v 1.1 2015/07/02 12:17:39 zx2c4 Exp $

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="pam +mta"

DEPEND="dev-libs/openssl
		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() {
	epatch_user
	eautoreconf
}

src_configure() {
	tc-export AR
	AR="$(which "$AR")" econf \
		--with-privsep-user=smtpd \
		--with-queue-user=smtpq \
		--with-privsep-path=/var/empty \
		--with-sock-dir=/var/run \
		--sysconfdir=/etc/opensmtpd \
		--with-ca-file=/etc/ssl/certs/ca-certificates.crt \
		$(use_with 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
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-02 12:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-02 12:17 [gentoo-commits] gentoo-x86 commit in mail-mta/opensmtpd: opensmtpd-5.7.1_p1.ebuild ChangeLog Jason Donenfeld (zx2c4)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox