Gentoo Archives: gentoo-commits

From: "Tobias Scherbaum (dertobi123)" <dertobi123@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/cyrus-imspd: ChangeLog cyrus-imspd-1.8-r1.ebuild cyrus-imspd-1.8.ebuild
Date: Sun, 16 Dec 2007 13:48:41
Message-Id: E1J3tr5-0007CO-Im@stork.gentoo.org
1 dertobi123 07/12/16 13:48:31
2
3 Modified: ChangeLog
4 Added: cyrus-imspd-1.8-r1.ebuild
5 Removed: cyrus-imspd-1.8.ebuild
6 Log:
7 revbump for #201689
8 (Portage version: 2.1.4_rc10)
9
10 Revision Changes Path
11 1.17 net-mail/cyrus-imspd/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imspd/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imspd/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imspd/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-mail/cyrus-imspd/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 11 Dec 2007 16:34:13 -0000 1.16
24 +++ ChangeLog 16 Dec 2007 13:48:30 -0000 1.17
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-mail/cyrus-imspd
27 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imspd/ChangeLog,v 1.16 2007/12/11 16:34:13 dertobi123 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imspd/ChangeLog,v 1.17 2007/12/16 13:48:30 dertobi123 Exp $
30 +
31 +*cyrus-imspd-1.8-r1 (16 Dec 2007)
32 +
33 + 16 Dec 2007; Tobias Scherbaum <dertobi123@g.o>
34 + -cyrus-imspd-1.8.ebuild, +cyrus-imspd-1.8-r1.ebuild:
35 + revbump for #201689
36
37 11 Dec 2007; Tobias Scherbaum <dertobi123@g.o>
38 cyrus-imspd-1.8.ebuild:
39
40
41
42 1.1 net-mail/cyrus-imspd/cyrus-imspd-1.8-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imspd/cyrus-imspd-1.8-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/cyrus-imspd/cyrus-imspd-1.8-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cyrus-imspd-1.8-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imspd/cyrus-imspd-1.8-r1.ebuild,v 1.1 2007/12/16 13:48:30 dertobi123 Exp $
52
53 inherit eutils ssl-cert
54
55 DESCRIPTION="Internet Message Support Protocol (IMSP) server."
56 HOMEPAGE="http://asg.web.cmu.edu/cyrus/"
57 SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${PN}-v${PV}.tar.gz"
58
59 LICENSE="as-is"
60 SLOT="0"
61 KEYWORDS="~x86"
62 IUSE="kerberos ldap ssl"
63
64 DEPEND=">=sys-libs/db-3.2
65 >=dev-libs/cyrus-sasl-2.1.3
66 >=dev-libs/cyrus-imap-dev-2.1.14
67 kerberos? ( virtual/krb5 )
68 ldap? ( >=net-nds/openldap-2.0 )
69 ssl? ( >=net-misc/stunnel-4 )"
70
71 S="${WORKDIR}/${PN}-v${PV}"
72
73 src_unpack() {
74 unpack ${A} && cd "${S}"
75 epatch "${FILESDIR}/${P}-gentoo.patch"
76
77 # Cyrus 2.2.x has an extra library.
78 if [ "`best_version '=dev-libs/cyrus-imap-dev-2.2*'`" ] ; then
79 sed -i -e "s:-lcyrus:-lcyrus -lcyrus_min:" \
80 "${S}/imsp/Makefile.in" \
81 "${S}/cmulocal/libcyrus.m4" || die "sed failed"
82 fi
83 }
84
85 src_compile() {
86 econf \
87 $(use_with ldap ldap ldap) \
88 $(use_enable kerberos gssapi) \
89 --without-krb \
90 --with-auth=unix
91
92 # Fix some malloc definitions
93 sed -i -e \
94 's~extern char \*malloc()~extern void *malloc()~g' imsp/*.c
95
96 emake || die "compile problem"
97 }
98
99 src_install() {
100 newsbin imsp/cyrus-imspd imspd
101
102 newinitd "${FILESDIR}/imspd.rc6" imspd
103 newconfd "${FILESDIR}/imspd.conf" imspd
104
105 keepdir /var/imsp{,/user}
106
107 if use ssl ; then
108 insinto /etc/stunnel
109 newins "${FILESDIR}/stunnel.conf" imspd.conf
110 fi
111 dodoc README imsp/options.sample notes/*
112 }
113
114 pkg_postinst() {
115 if use ssl ; then
116 dosed "s:#IMSPD_USE_SSL:IMSPD_USE_SSL:" "${ROOT:-/}"etc/conf.d/imsp
117 SSL_ORGANIZATION="${SSL_ORGANIZATION:-Cyrus IMSP Server}"
118 install_cert /etc/ssl/imspd/server
119 fi
120 }
121
122
123
124 --
125 gentoo-commits@g.o mailing list