1 |
commit: 232f30a1baf056b35402ca343ad130b50e196173 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 3 12:25:12 2015 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 3 12:25:31 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=232f30a1 |
7 |
|
8 |
mail-filter/postfwd: Drop old |
9 |
|
10 |
Package-Manager: portage-2.2.22 |
11 |
|
12 |
mail-filter/postfwd/postfwd-1.35-r2.ebuild | 87 ------------------------------ |
13 |
1 file changed, 87 deletions(-) |
14 |
|
15 |
diff --git a/mail-filter/postfwd/postfwd-1.35-r2.ebuild b/mail-filter/postfwd/postfwd-1.35-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 2886529..0000000 |
18 |
--- a/mail-filter/postfwd/postfwd-1.35-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,87 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils user |
28 |
- |
29 |
-DESCRIPTION="Versatile Postfix policy server with a flexible ruleset based configuration" |
30 |
-HOMEPAGE="http://www.postfwd.org/" |
31 |
-SRC_URI="http://www.postfwd.org/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="BSD" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~amd64 ~x86" |
36 |
-IUSE="+tools" |
37 |
- |
38 |
-DEPEND="" |
39 |
-RDEPEND=">=dev-lang/perl-5.16.3 |
40 |
- virtual/perl-Sys-Syslog |
41 |
- dev-perl/Net-DNS |
42 |
- dev-perl/net-server |
43 |
-" |
44 |
- |
45 |
-pkg_setup() { |
46 |
- enewgroup postfwd |
47 |
- enewuser postfwd -1 -1 -1 postfwd |
48 |
-} |
49 |
- |
50 |
-src_install() { |
51 |
- local BIN="postfwd2" |
52 |
- # programs and tools |
53 |
- dosbin "${S}"/sbin/${BIN} |
54 |
- |
55 |
- # man pages and documentation |
56 |
- doman "${S}"/man/man8/${BIN}.8 |
57 |
- dodoc "${S}"/doc/{${BIN}.CHANGELOG,${BIN}.txt} |
58 |
- |
59 |
- # example configuration(s) |
60 |
- insinto /usr/share/doc/${PF}/examples |
61 |
- newins "${S}"/etc/${PN}.cf.sample ${PN}.cf.dist |
62 |
- |
63 |
- # plugins |
64 |
- dodoc -r "${S}"/plugins |
65 |
- |
66 |
- # tools |
67 |
- if use tools; then |
68 |
- dodoc -r "${S}"/tools |
69 |
- fi |
70 |
- |
71 |
- # init script and respective configuration file |
72 |
- newinitd "${FILESDIR}"/${PN}.init ${PN} |
73 |
- newconfd "${FILESDIR}"/${PN}.conf ${PN} |
74 |
-} |
75 |
- |
76 |
-pkg_postinst() { |
77 |
- einfo |
78 |
- einfo "${PN} has no default configuration for safety reasons. Every" |
79 |
- einfo "mail system is different, so you should craft a set of rules" |
80 |
- einfo "that is suitable for your environment and save it to:" |
81 |
- einfo " /etc/postfix/postfwd.cf" |
82 |
- einfo "You can find example configurations in:" |
83 |
- einfo " /usr/share/doc/${PF}/examples" |
84 |
- einfo |
85 |
- einfo "If you want ${PN} to start on system boot, you have to add it your" |
86 |
- einfo "default run level:" |
87 |
- einfo " # rc-update add postfwd default" |
88 |
- einfo "Also remember to edit /etc/conf.d/${PN} to your liking." |
89 |
- einfo |
90 |
- einfo "A plugins sampe folder has been placed under:" |
91 |
- einfo |
92 |
- einfo " /usr/share/doc/${PF}/plugins" |
93 |
- |
94 |
- if use tools; then |
95 |
- einfo |
96 |
- einfo "You can find additional tools for testing ${PN} in:" |
97 |
- einfo " /usr/share/doc/${PF}/tools" |
98 |
- fi |
99 |
- |
100 |
- ewarn |
101 |
- ewarn "Please read the documentation carefully and properly test new" |
102 |
- ewarn "rulesets before putting them into production use. Otherwise you" |
103 |
- ewarn "risk accidental mail loss or worse." |
104 |
- ewarn |
105 |
- ewarn "Visit http://www.postfwd.org/ for more information." |
106 |
- ewarn |
107 |
-} |