Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/vmailmgr: ChangeLog vmailmgr-0.97-r1.ebuild vmailmgr-0.97.ebuild
Date: Sat, 20 Jun 2009 11:09:39
Message-Id: E1MHyS1-0006mv-1k@stork.gentoo.org
1 mrness 09/06/20 11:09:37
2
3 Modified: ChangeLog
4 Added: vmailmgr-0.97-r1.ebuild
5 Removed: vmailmgr-0.97.ebuild
6 Log:
7 Define strcasestr() only when is not declared in string.h (#273270).
8 Migrate to EAPI 2.
9 (Portage version: 2.1.6.13/cvs/Linux x86_64, RepoMan options: --force)
10
11 Revision Changes Path
12 1.31 net-mail/vmailmgr/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/vmailmgr/ChangeLog?rev=1.31&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/vmailmgr/ChangeLog?rev=1.31&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/vmailmgr/ChangeLog?r1=1.30&r2=1.31
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-mail/vmailmgr/ChangeLog,v
21 retrieving revision 1.30
22 retrieving revision 1.31
23 diff -u -r1.30 -r1.31
24 --- ChangeLog 22 Jun 2008 22:18:05 -0000 1.30
25 +++ ChangeLog 20 Jun 2009 11:09:36 -0000 1.31
26 @@ -1,6 +1,14 @@
27 # ChangeLog for net-mail/vmailmgr
28 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-mail/vmailmgr/ChangeLog,v 1.30 2008/06/22 22:18:05 mrness Exp $
30 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/net-mail/vmailmgr/ChangeLog,v 1.31 2009/06/20 11:09:36 mrness Exp $
32 +
33 +*vmailmgr-0.97-r1 (20 Jun 2009)
34 +
35 + 20 Jun 2009; Alin Năstac <mrness@g.o>
36 + +files/vmailmgr-0.97-strcasestr.patch, -vmailmgr-0.97.ebuild,
37 + +vmailmgr-0.97-r1.ebuild:
38 + Define strcasestr() only when is not declared in string.h (#273270). Migrate
39 + to EAPI 2.
40
41 22 Jun 2008; Alin Năstac <mrness@g.o>
42 files/vmailmgr-0.97-gentoo.patch,
43
44
45
46 1.1 net-mail/vmailmgr/vmailmgr-0.97-r1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/vmailmgr/vmailmgr-0.97-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/vmailmgr/vmailmgr-0.97-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: vmailmgr-0.97-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/net-mail/vmailmgr/vmailmgr-0.97-r1.ebuild,v 1.1 2009/06/20 11:09:36 mrness Exp $
56
57 EAPI="2"
58
59 inherit toolchain-funcs eutils autotools
60
61 DESCRIPTION="virtual domains for qmail"
62 HOMEPAGE="http://www.vmailmgr.org/"
63 SRC_URI="http://www.vmailmgr.org/archive/${P}.tar.gz"
64
65 SLOT="0"
66 LICENSE="GPL-2"
67 KEYWORDS="amd64 ~ppc sparc x86"
68 IUSE=""
69
70 DEPEND=""
71 RDEPEND=">=sys-apps/ucspi-unix-0.34
72 virtual/qmail
73 >=net-mail/qmail-autoresponder-0.95"
74
75 src_prepare() {
76 epatch "${FILESDIR}/${P}-gentoo.patch"
77 epatch "${FILESDIR}/${P}-strcasestr.patch"
78 eautoreconf
79 }
80
81 src_install() {
82 emake "DESTDIR=${D}" install || die "emake install failed"
83
84 dodoc AUTHORS README TODO NEWS
85 dohtml doc/*.html daemon/*.html authenticate/*.html commands/*.html
86 docinto cgi
87 dohtml cgi/*.html
88
89 exeinto /var/lib/supervise/vmailmgrd
90 newexe "${S}/scripts/vmailmgrd.run" run || die "failed to install vmailmgrd/run script"
91
92 exeinto /var/lib/supervise/vmailmgrd/log
93 newexe "${S}/scripts/vmailmgrd-log.run" run || die "failed to install vmailmgrd/log/run script"
94
95 exeinto /etc/vmailmgr
96 newexe "${S}/scripts/autoresponder.sh" vdeliver-postdeliver || die "failed to install vdeliver-postdeliver"
97
98 doexe "${FILESDIR}/checkvpw-loginfail" || die "failed to install checkvpw-loginfail"
99
100 insinto /etc/vmailmgr
101 doins "${FILESDIR}/socket-file"
102 doins "${FILESDIR}/separators"
103 }
104
105 pkg_postinst() {
106 ewarn "CAUTION: courier-authlib does not support vmailmgr!"
107 ewarn "If you want to use vmailmgr in conjuction with courier-imap,"
108 ewarn "you should use imapfront-auth found in net-mail/mailfront package."
109 ewarn
110 ewarn "vcheckquota and vpopbull are now available through vmailmgr-tools package."
111 ewarn "If you need them, run the following command:"
112 ewarn " emerge net-mail/vmailmgr-tools"
113 echo
114 elog "To start vmailmgrd you need to link"
115 elog "/var/lib/supervise/vmailmgrd to /service"
116 }