Gentoo Archives: gentoo-commits

From: Wolfram Schlich <wschlich@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/wschlich:master commit in: mail-filter/dovecot-antispam/
Date: Thu, 28 Jan 2016 08:49:31
Message-Id: 1453970959.202941966d797e654ac9f389000fe703cef96ab9.wschlich@gentoo
1 commit: 202941966d797e654ac9f389000fe703cef96ab9
2 Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 28 08:49:19 2016 +0000
4 Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 28 08:49:19 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/wschlich.git/commit/?id=20294196
7
8 mail-filter/dovecot-antispam: removed.
9
10 mail-filter/dovecot-antispam/ChangeLog | 12 ----
11 mail-filter/dovecot-antispam/Manifest | 2 -
12 .../dovecot-antispam/dovecot-antispam-9999.ebuild | 80 ----------------------
13 3 files changed, 94 deletions(-)
14
15 diff --git a/mail-filter/dovecot-antispam/ChangeLog b/mail-filter/dovecot-antispam/ChangeLog
16 deleted file mode 100644
17 index 83df1f3..0000000
18 --- a/mail-filter/dovecot-antispam/ChangeLog
19 +++ /dev/null
20 @@ -1,12 +0,0 @@
21 -# ChangeLog for mail-filter/dovecot-antispam
22 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
23 -# $Header: $
24 -
25 - 01 Jun 2008; Wolfram Schlich <wschlich@g.o>
26 - dovecot-antispam-9999.ebuild:
27 - added debug CFLAGS
28 -
29 - 27 Apr 2008; Wolfram Schlich <wschlich@g.o>
30 - +dovecot-antispam-9999.ebuild:
31 - initial import
32 -
33
34 diff --git a/mail-filter/dovecot-antispam/Manifest b/mail-filter/dovecot-antispam/Manifest
35 deleted file mode 100644
36 index 7a4eadb..0000000
37 --- a/mail-filter/dovecot-antispam/Manifest
38 +++ /dev/null
39 @@ -1,2 +0,0 @@
40 -EBUILD dovecot-antispam-9999.ebuild 2145 RMD160 0b9573768b7a56808d6083a64999bcee9acc4da4 SHA1 f545fff6ba503b9853b11625afe3d3390a8dba96 SHA256 1a53cee4be2de15e0daddd000116374f3a60f1bb07cee58f491d937d12097b5d
41 -MISC ChangeLog 340 RMD160 3efc4216a0f8aeab9440d0aa68ebf780f5524c0b SHA1 1872f008894039a561349c514b00ce6780d6a0cd SHA256 7e35f295a3d32dfe017fd02427f3b0de508b3bf221108859e856215df5baa54c
42
43 diff --git a/mail-filter/dovecot-antispam/dovecot-antispam-9999.ebuild b/mail-filter/dovecot-antispam/dovecot-antispam-9999.ebuild
44 deleted file mode 100644
45 index 11b0699..0000000
46 --- a/mail-filter/dovecot-antispam/dovecot-antispam-9999.ebuild
47 +++ /dev/null
48 @@ -1,80 +0,0 @@
49 -# Copyright 1999-2008 Gentoo Foundation
50 -# Distributed under the terms of the GNU General Public License v2
51 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/dovecot-antispam/dovecot-antispam-20080424.ebuild,v 1.1 2008/04/24 11:46:40 hollow Exp $
52 -
53 -inherit confutils eutils autotools flag-o-matic git multilib
54 -
55 -EGIT_REPO_URI="http://git.sipsolutions.net/dovecot-antispam.git"
56 -
57 -DESCRIPTION="A dovecot antispam plugin supporting multiple backends"
58 -HOMEPAGE="http://johannes.sipsolutions.net/Projects/dovecot-antispam"
59 -
60 -LICENSE="GPL-2"
61 -SLOT="0"
62 -KEYWORDS="~amd64 ~x86"
63 -IUSE="debug dspam crm114 mailtrain signature-log syslog"
64 -
65 -DEPEND="net-mail/dovecot
66 - dspam? ( mail-filter/dspam )
67 - crm114? ( app-text/crm114 )"
68 -RDEPEND="${DEPEND}"
69 -
70 -S="${WORKDIR}"/${PN}
71 -
72 -# we need this to prevent errors from dovecot-config
73 -top_builddir() {
74 - return
75 -}
76 -
77 -pkg_setup() {
78 - confutils_require_one dspam signature-log mailtrain crm114
79 - confutils_use_depend_all syslog debug
80 -}
81 -
82 -src_unpack() {
83 - git_src_unpack
84 - cd "${S}"
85 - sed -e 's/$(INSTALLDIR)/$(DESTDIR)$(INSTALLDIR)/' -i Makefile
86 -}
87 -
88 -src_compile() {
89 - source "${ROOT}"/usr/lib/dovecot/dovecot-config || \
90 - die "cannot find dovecot-config"
91 -
92 - echo DOVECOT=${dovecot_incdir} > .config
93 - if has_version '=net-mail/dovecot-1.0*'; then
94 - echo DOVECOT_VERSION=1.0 >> .config
95 - elif has_version '=net-mail/dovecot-1.1*'; then
96 - echo DOVECOT_VERSION=1.1 >> .config
97 - fi
98 - echo INSTALLDIR=${moduledir}/imap/ >> .config
99 - echo PLUGINNAME=antispam >> .config
100 - echo USER=root >> .config
101 - echo GROUP=root >> .config
102 -
103 - use dspam && echo BACKEND=dspam-exec >> .config
104 - use signature-log && echo BACKEND=signature-log >> .config
105 - use mailtrain && echo BACKEND=mailtrain >> .config
106 - use crm114 && echo BACKEND=crm114-exec >> .config
107 -
108 - if use debug; then
109 - echo CFLAGS+=-g3 >> .config
110 - if use syslog; then
111 - echo DEBUG=syslog >> .config
112 - else
113 - echo DEBUG=stderr >> .config
114 - fi
115 - fi
116 -
117 - emake || die "make failed"
118 -}
119 -
120 -src_install() {
121 - source "${ROOT}"/usr/lib/dovecot/dovecot-config || \
122 - die "cannot find dovecot-config"
123 -
124 - dodir "${moduledir}"/imap/
125 - make DESTDIR="${D}" install || die "make install failed"
126 -
127 - newman antispam.7 dovecot-antispam.7
128 -}