Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-filter/opendmarc: opendmarc-1.3.0.ebuild ChangeLog
Date: Tue, 02 Sep 2014 08:47:24
Message-Id: 20140902084719.488D44803@oystercatcher.gentoo.org
1 grobian 14/09/02 08:47:19
2
3 Modified: ChangeLog
4 Added: opendmarc-1.3.0.ebuild
5 Log:
6 Version bump to 1.3.0
7
8 (Portage version: 2.2.10.1-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
9
10 Revision Changes Path
11 1.11 mail-filter/opendmarc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/opendmarc/ChangeLog?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/opendmarc/ChangeLog?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/opendmarc/ChangeLog?r1=1.10&r2=1.11
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/mail-filter/opendmarc/ChangeLog,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- ChangeLog 25 Jul 2014 21:43:31 -0000 1.10
24 +++ ChangeLog 2 Sep 2014 08:47:19 -0000 1.11
25 @@ -1,6 +1,11 @@
26 # ChangeLog for mail-filter/opendmarc
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendmarc/ChangeLog,v 1.10 2014/07/25 21:43:31 dilfridge Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendmarc/ChangeLog,v 1.11 2014/09/02 08:47:19 grobian Exp $
30 +
31 +*opendmarc-1.3.0 (02 Sep 2014)
32 +
33 + 02 Sep 2014; Fabian Groffen <grobian@g.o> +opendmarc-1.3.0.ebuild:
34 + Version bump to 1.3.0
35
36 25 Jul 2014; Andreas K. Huettel <dilfridge@g.o>
37 opendmarc-1.1.3.ebuild, opendmarc-1.2.0.ebuild:
38
39
40
41 1.1 mail-filter/opendmarc/opendmarc-1.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/opendmarc/opendmarc-1.3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/opendmarc/opendmarc-1.3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: opendmarc-1.3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/mail-filter/opendmarc/opendmarc-1.3.0.ebuild,v 1.1 2014/09/02 08:47:19 grobian Exp $
51
52 EAPI=5
53
54 inherit user
55
56 DESCRIPTION="Open source DMARC implementation "
57 HOMEPAGE="http://www.trusteddomain.org/opendmarc/"
58 SRC_URI="mirror://sourceforge/opendmarc/${P}.tar.gz"
59
60 LICENSE="BSD"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~x86 ~x86-fbsd"
63 IUSE=""
64
65 DEPEND="dev-perl/DBI
66 || ( mail-filter/libmilter mail-mta/sendmail )"
67 RDEPEND="${DEPEND}
68 dev-perl/Switch"
69
70 pkg_setup() {
71 enewgroup milter
72 enewuser milter -1 -1 /var/lib/milter milter
73 }
74
75 src_configure() {
76 econf \
77 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
78 --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
79 }
80
81 src_install() {
82 default
83
84 newinitd "${FILESDIR}"/opendmarc.initd opendmarc
85 newconfd "${FILESDIR}"/opendmarc.confd opendmarc
86
87 dodir /etc/opendmarc
88 dodir /var/run/opendmarc
89 fowners milter:milter /var/run/opendmarc
90
91 # create config file
92 sed \
93 -e 's/^# UserID .*$/UserID milter/' \
94 -e 's/^# PidFile .*/PidFile \/var\/run\/opendmarc\/opendmarc.pid/' \
95 -e '/^# Socket /s/^# //' \
96 "${S}"/opendmarc/opendmarc.conf.sample \
97 > "${ED}"/etc/opendmarc/opendmarc.conf \
98 || die
99 }