summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2013-03-17 19:59:36 +0000
committerJason A. Donenfeld <zx2c4@gentoo.org>2013-03-17 19:59:36 +0000
commitf424f9296fddc9f17ccf815faa9b98f40af27745 (patch)
treefe8f8771f09ae61cd1ae25e950144d671a90f6e7 /mail-mta/opensmtpd
parentversion bump (diff)
downloadgentoo-2-f424f9296fddc9f17ccf815faa9b98f40af27745.tar.gz
gentoo-2-f424f9296fddc9f17ccf815faa9b98f40af27745.tar.bz2
gentoo-2-f424f9296fddc9f17ccf815faa9b98f40af27745.zip
First release of OpenSMTPD.
(Portage version: 2.2.0_alpha164/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE)
Diffstat (limited to 'mail-mta/opensmtpd')
-rw-r--r--mail-mta/opensmtpd/ChangeLog8
-rw-r--r--mail-mta/opensmtpd/opensmtpd-5.3_p1.ebuild (renamed from mail-mta/opensmtpd/opensmtpd-9999.ebuild)23
2 files changed, 23 insertions, 8 deletions
diff --git a/mail-mta/opensmtpd/ChangeLog b/mail-mta/opensmtpd/ChangeLog
index 8d93ab86d8ab..3d9590193504 100644
--- a/mail-mta/opensmtpd/ChangeLog
+++ b/mail-mta/opensmtpd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-mta/opensmtpd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.4 2013/03/01 23:08:42 zx2c4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.5 2013/03/17 19:59:36 zx2c4 Exp $
+
+*opensmtpd-5.3_p1 (17 Mar 2013)
+
+ 17 Mar 2013; Jason A. Donenfeld <zx2c4@gentoo.org> +opensmtpd-5.3_p1.ebuild,
+ -opensmtpd-9999.ebuild:
+ First release of OpenSMTPD.
01 Mar 2013; Jason A. Donenfeld <zx2c4@gentoo.org> -files/pam.patch,
opensmtpd-9999.ebuild:
diff --git a/mail-mta/opensmtpd/opensmtpd-9999.ebuild b/mail-mta/opensmtpd/opensmtpd-5.3_p1.ebuild
index 3837df6c5e12..aecfd5e4d0b0 100644
--- a/mail-mta/opensmtpd/opensmtpd-9999.ebuild
+++ b/mail-mta/opensmtpd/opensmtpd-5.3_p1.ebuild
@@ -1,20 +1,18 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-9999.ebuild,v 1.3 2013/03/01 23:08:42 zx2c4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3_p1.ebuild,v 1.1 2013/03/17 19:59:36 zx2c4 Exp $
EAPI=5
-inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools git-2
+inherit multilib user flag-o-matic eutils pam toolchain-funcs autotools
DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD"
HOMEPAGE="http://www.opensmtpd.org/"
-SRC_URI=""
-EGIT_BRANCH="portable"
-EGIT_REPO_URI="git://github.com/poolpOrg/OpenSMTPD.git"
+SRC_URI="http://www.opensmtpd.org/archives/${P/_}.tar.gz"
LICENSE="ISC BSD BSD-1 BSD-2 BSD-4"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
IUSE="pam"
DEPEND="dev-libs/openssl
@@ -37,7 +35,7 @@ DEPEND="dev-libs/openssl
"
RDEPEND="${DEPEND}"
-S=${WORKDIR}/${P}.xp1
+S=${WORKDIR}/${P/_}
src_prepare() {
epatch "${FILESDIR}"/build-warnings.patch
@@ -48,6 +46,9 @@ src_configure() {
tc-export AR
AR="$(which "$AR")" econf \
--with-privsep-user=smtpd \
+ --with-filter-user=smtpf \
+ --with-queue-user=smtpq \
+ #--with-lookup-user=smtpl will be available in the release after 5.3p1
--with-privsep-path=/var/empty \
--with-sock-dir=/var/run \
--sysconfdir=/etc/opensmtpd \
@@ -63,4 +64,12 @@ src_install() {
pkg_preinst() {
enewgroup smtpd 25
enewuser smtpd 25 -1 /var/empty smtpd
+ enewgroup smtpf 251
+ enewuser smtpf 251 -1 /var/empty smtpf
+ enewgroup smtpq 252
+ enewuser smtpq 252 -1 /var/empty smtpq
+
+ # For release after 5.3p1:
+ #enewgroup smtpl 253
+ #enewuser smtpl 253 -1 /var/empty smtpl
}