1 |
mschiff 15/01/30 12:14:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: postfwd-1.35-r2.ebuild |
5 |
Removed: postfwd-1.35-r1.ebuild |
6 |
Log: |
7 |
Revbump with fixed init script |
8 |
|
9 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x296C6CCA35A64134) |
10 |
|
11 |
Revision Changes Path |
12 |
1.8 mail-filter/postfwd/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/postfwd/ChangeLog?rev=1.8&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/postfwd/ChangeLog?rev=1.8&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/postfwd/ChangeLog?r1=1.7&r2=1.8 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/postfwd/ChangeLog,v |
21 |
retrieving revision 1.7 |
22 |
retrieving revision 1.8 |
23 |
diff -u -r1.7 -r1.8 |
24 |
--- ChangeLog 30 Nov 2014 16:37:18 -0000 1.7 |
25 |
+++ ChangeLog 30 Jan 2015 12:14:01 -0000 1.8 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for mail-filter/postfwd |
28 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/postfwd/ChangeLog,v 1.7 2014/11/30 16:37:18 mschiff Exp $ |
30 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/postfwd/ChangeLog,v 1.8 2015/01/30 12:14:01 mschiff Exp $ |
32 |
+ |
33 |
+*postfwd-1.35-r2 (30 Jan 2015) |
34 |
+ |
35 |
+ 30 Jan 2015; Marc Schiffbauer <mschiff@g.o> -postfwd-1.35-r1.ebuild, |
36 |
+ +postfwd-1.35-r2.ebuild: |
37 |
+ Fix bug in init script, EAPI bump |
38 |
|
39 |
*postfwd-1.35-r1 (30 Nov 2014) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 mail-filter/postfwd/postfwd-1.35-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/postfwd/postfwd-1.35-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/postfwd/postfwd-1.35-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: postfwd-1.35-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2015 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/mail-filter/postfwd/postfwd-1.35-r2.ebuild,v 1.1 2015/01/30 12:14:01 mschiff Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
inherit eutils user |
58 |
|
59 |
DESCRIPTION="Versatile Postfix policy server with a flexible ruleset based configuration" |
60 |
HOMEPAGE="http://www.postfwd.org/" |
61 |
SRC_URI="http://www.postfwd.org/${P}.tar.gz" |
62 |
|
63 |
LICENSE="BSD" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="+tools" |
67 |
|
68 |
DEPEND="" |
69 |
RDEPEND=">=dev-lang/perl-5.16.3 |
70 |
virtual/perl-Sys-Syslog |
71 |
dev-perl/Net-DNS |
72 |
dev-perl/net-server |
73 |
" |
74 |
|
75 |
pkg_setup() { |
76 |
enewgroup postfwd |
77 |
enewuser postfwd -1 -1 -1 postfwd |
78 |
} |
79 |
|
80 |
src_install() { |
81 |
local BIN="postfwd2" |
82 |
# programs and tools |
83 |
dosbin "${S}"/sbin/${BIN} |
84 |
|
85 |
# man pages and documentation |
86 |
doman "${S}"/man/man8/${BIN}.8 |
87 |
dodoc "${S}"/doc/{${BIN}.CHANGELOG,${BIN}.txt} |
88 |
|
89 |
# example configuration(s) |
90 |
insinto /usr/share/doc/${PF}/examples |
91 |
newins "${S}"/etc/${PN}.cf.sample ${PN}.cf.dist |
92 |
|
93 |
# plugins |
94 |
dodoc -r "${S}"/plugins |
95 |
|
96 |
# tools |
97 |
if use tools; then |
98 |
dodoc -r "${S}"/tools |
99 |
fi |
100 |
|
101 |
# init script and respective configuration file |
102 |
newinitd "${FILESDIR}"/${PN}.init ${PN} |
103 |
newconfd "${FILESDIR}"/${PN}.conf ${PN} |
104 |
} |
105 |
|
106 |
pkg_postinst() { |
107 |
einfo |
108 |
einfo "${PN} has no default configuration for safety reasons. Every" |
109 |
einfo "mail system is different, so you should craft a set of rules" |
110 |
einfo "that is suitable for your environment and save it to:" |
111 |
einfo " /etc/postfix/postfwd.cf" |
112 |
einfo "You can find example configurations in:" |
113 |
einfo " /usr/share/doc/${PF}/examples" |
114 |
einfo |
115 |
einfo "If you want ${PN} to start on system boot, you have to add it your" |
116 |
einfo "default run level:" |
117 |
einfo " # rc-update add postfwd default" |
118 |
einfo "Also remember to edit /etc/conf.d/${PN} to your liking." |
119 |
einfo |
120 |
einfo "A plugins sampe folder has been placed under:" |
121 |
einfo |
122 |
einfo " /usr/share/doc/${PF}/plugins" |
123 |
|
124 |
if use tools; then |
125 |
einfo |
126 |
einfo "You can find additional tools for testing ${PN} in:" |
127 |
einfo " /usr/share/doc/${PF}/tools" |
128 |
fi |
129 |
|
130 |
ewarn |
131 |
ewarn "Please read the documentation carefully and properly test new" |
132 |
ewarn "rulesets before putting them into production use. Otherwise you" |
133 |
ewarn "risk accidental mail loss or worse." |
134 |
ewarn |
135 |
ewarn "Visit http://www.postfwd.org/ for more information." |
136 |
ewarn |
137 |
} |