From: | "Jason Donenfeld (zx2c4)" <zx2c4@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in mail-mta/opensmtpd: opensmtpd-9999.ebuild metadata.xml ChangeLog |
Date: | Thu, 28 Feb 2013 17:57:19 |
Message-Id: | 20130228175715.E8A0B2171E@flycatcher.gentoo.org |
1 | zx2c4 13/02/28 17:57:15 |
2 | |
3 | Added: opensmtpd-9999.ebuild metadata.xml ChangeLog |
4 | Log: |
5 | Initial import. |
6 | |
7 | (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE) |
8 | |
9 | Revision Changes Path |
10 | 1.1 mail-mta/opensmtpd/opensmtpd-9999.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-9999.ebuild?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/opensmtpd-9999.ebuild?rev=1.1&content-type=text/plain |
14 | |
15 | Index: opensmtpd-9999.ebuild |
16 | =================================================================== |
17 | # Copyright 1999-2013 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-9999.ebuild,v 1.1 2013/02/28 17:57:15 zx2c4 Exp $ |
20 | |
21 | EAPI=5 |
22 | |
23 | inherit multilib user flag-o-matic eutils pam git-2 |
24 | |
25 | DESCRIPTION="Lightweight but featured SMTP daemon from OpenBSD" |
26 | HOMEPAGE="http://www.opensmtpd.org/" |
27 | SRC_URI="" |
28 | EGIT_BRANCH="portable" |
29 | EGIT_REPO_URI="git://github.com/poolpOrg/OpenSMTPD.git" |
30 | |
31 | LICENSE="ISC BSD BSD-1 BSD-2 BSD-4" |
32 | SLOT="0" |
33 | KEYWORDS="" |
34 | IUSE="pam" |
35 | |
36 | DEPEND="dev-libs/openssl |
37 | sys-libs/zlib |
38 | pam? ( virtual/pam ) |
39 | sys-libs/db |
40 | dev-db/sqlite:3 |
41 | dev-libs/libevent |
42 | !mail-mta/courier |
43 | !mail-mta/esmtp |
44 | !mail-mta/exim |
45 | !mail-mta/mini-qmail |
46 | !mail-mta/msmtp[mta] |
47 | !mail-mta/netqmail |
48 | !mail-mta/nullmailer |
49 | !mail-mta/postfix |
50 | !mail-mta/qmail-ldap |
51 | !mail-mta/sendmail |
52 | !mail-mta/ssmtp[mta] |
53 | " |
54 | RDEPEND="${DEPEND}" |
55 | |
56 | S=${WORKDIR}/${P}.xp1 |
57 | |
58 | src_prepare() { |
59 | epatch "${FILESDIR}"/pam.patch |
60 | epatch "${FILESDIR}"/build-warnings.patch |
61 | } |
62 | |
63 | src_configure() { |
64 | ./bootstrap |
65 | econf \ |
66 | --with-privsep-user=smtpd \ |
67 | --with-privsep-path=/var/empty \ |
68 | --with-sock-dir=/var/run \ |
69 | --sysconfdir=/etc/opensmtpd \ |
70 | $(use_with pam) |
71 | } |
72 | |
73 | src_install() { |
74 | default |
75 | newinitd "${FILESDIR}"/smtpd.initd smtpd |
76 | use pam && newpamd "${FILESDIR}"/smtpd.pam smtpd |
77 | } |
78 | |
79 | pkg_preinst() { |
80 | enewgroup smtpd 25 |
81 | enewuser smtpd 25 -1 /var/empty smtpd |
82 | } |
83 | |
84 | |
85 | |
86 | 1.1 mail-mta/opensmtpd/metadata.xml |
87 | |
88 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/metadata.xml?rev=1.1&view=markup |
89 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/metadata.xml?rev=1.1&content-type=text/plain |
90 | |
91 | Index: metadata.xml |
92 | =================================================================== |
93 | <?xml version="1.0" encoding="UTF-8"?> |
94 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
95 | <pkgmetadata> |
96 | <longdescription lang="en"> |
97 | OpenSMTPD is an implementation of the server-side SMTP protocol as defined by RFC 5321, with some additional standard extensions. It allows ordinary machines to exchange e-mails with other systems speaking the SMTP protocol. |
98 | </longdescription> |
99 | <maintainer> |
100 | <email>zx2c4@g.o</email> |
101 | <name>Jason A. Donenfeld</name> |
102 | </maintainer> |
103 | </pkgmetadata> |
104 | |
105 | |
106 | |
107 | |
108 | 1.1 mail-mta/opensmtpd/ChangeLog |
109 | |
110 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?rev=1.1&view=markup |
111 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/opensmtpd/ChangeLog?rev=1.1&content-type=text/plain |
112 | |
113 | Index: ChangeLog |
114 | =================================================================== |
115 | # ChangeLog for mail-mta/opensmtpd |
116 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
117 | # $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.1 2013/02/28 17:57:15 zx2c4 Exp $ |
118 | |
119 | *opensmtpd-9999 (28 Feb 2013) |
120 | |
121 | 28 Feb 2013; Jason A. Donenfeld <zx2c4@g.o> |
122 | +files/build-warnings.patch, +files/pam.patch, +files/smtpd.initd, |
123 | +files/smtpd.pam, +metadata.xml, +opensmtpd-9999.ebuild: |
124 | Initial import. |