Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-nds/gosa-core: metadata.xml ChangeLog gosa-core-2.6.11.ebuild
Date: Mon, 23 Aug 2010 08:57:15
Message-Id: 20100823085710.0F7152004E@flycatcher.gentoo.org
1 dev-zero 10/08/23 08:57:10
2
3 Modified: metadata.xml ChangeLog
4 Added: gosa-core-2.6.11.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 net-nds/gosa-core/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/gosa-core/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/gosa-core/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/gosa-core/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-nds/gosa-core/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 29 Jul 2010 09:58:28 -0000 1.1
23 +++ metadata.xml 23 Aug 2010 08:57:09 -0000 1.2
24 @@ -1,12 +1,16 @@
25 <?xml version="1.0" encoding="UTF-8"?>
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 - <herd>no-herd</herd>
29 - <maintainer>
30 - <email>dev-zero@g.o</email>
31 - <name>Tiziano Müller</name>
32 - </maintainer>
33 - <upstream>
34 - <changelog>http://oss.gonicus.de/pub/gosa/Changelog</changelog>
35 - </upstream>
36 + <herd>no-herd</herd>
37 + <maintainer>
38 + <email>dev-zero@g.o</email>
39 + <name>Tiziano Müller</name>
40 + </maintainer>
41 + <use>
42 + <flag name='mail'>Manage mail accounts and servers with gosa.</flag>
43 + <flag name='samba'>Manage samba accounts with gosa.</flag>
44 + </use>
45 + <upstream>
46 + <changelog>http://oss.gonicus.de/pub/gosa/Changelog</changelog>
47 + </upstream>
48 </pkgmetadata>
49
50
51
52 1.3 net-nds/gosa-core/ChangeLog
53
54 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/gosa-core/ChangeLog?rev=1.3&view=markup
55 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/gosa-core/ChangeLog?rev=1.3&content-type=text/plain
56 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/gosa-core/ChangeLog?r1=1.2&r2=1.3
57
58 Index: ChangeLog
59 ===================================================================
60 RCS file: /var/cvsroot/gentoo-x86/net-nds/gosa-core/ChangeLog,v
61 retrieving revision 1.2
62 retrieving revision 1.3
63 diff -u -r1.2 -r1.3
64 --- ChangeLog 29 Jul 2010 14:38:39 -0000 1.2
65 +++ ChangeLog 23 Aug 2010 08:57:09 -0000 1.3
66 @@ -1,6 +1,12 @@
67 # ChangeLog for net-nds/gosa-core
68 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
69 -# $Header: /var/cvsroot/gentoo-x86/net-nds/gosa-core/ChangeLog,v 1.2 2010/07/29 14:38:39 dev-zero Exp $
70 +# $Header: /var/cvsroot/gentoo-x86/net-nds/gosa-core/ChangeLog,v 1.3 2010/08/23 08:57:09 dev-zero Exp $
71 +
72 +*gosa-core-2.6.11 (23 Aug 2010)
73 +
74 + 23 Aug 2010; Tiziano Müller <dev-zero@g.o>
75 + +gosa-core-2.6.11.ebuild, metadata.xml:
76 + Version bump.
77
78 29 Jul 2010; Tiziano Müller <dev-zero@g.o>
79 gosa-core-2.6.10.ebuild:
80
81
82
83 1.1 net-nds/gosa-core/gosa-core-2.6.11.ebuild
84
85 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/gosa-core/gosa-core-2.6.11.ebuild?rev=1.1&view=markup
86 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/gosa-core/gosa-core-2.6.11.ebuild?rev=1.1&content-type=text/plain
87
88 Index: gosa-core-2.6.11.ebuild
89 ===================================================================
90 # Copyright 1999-2010 Gentoo Foundation
91 # Distributed under the terms of the GNU General Public License v2
92 # $Header: /var/cvsroot/gentoo-x86/net-nds/gosa-core/gosa-core-2.6.11.ebuild,v 1.1 2010/08/23 08:57:09 dev-zero Exp $
93
94 EAPI=3
95
96 inherit eutils
97
98 DESCRIPTION="LDAP administration frontend for user administration."
99 HOMEPAGE="https://oss.gonicus.de/labs/gosa/wiki/WikiStart."
100 SRC_URI="ftp://oss.gonicus.de/pub/gosa/${P}.tar.bz2
101 http://oss.gonicus.de/pub/gosa/${P}.tar.bz2
102 ftp://oss.gonicus.de/pub/gosa/archive/${P}.tar.bz2
103 http://oss.gonicus.de/pub/gosa/archive/${P}.tar.bz2 "
104
105 LICENSE="GPL-3"
106 SLOT="0"
107 KEYWORDS="~amd64"
108 IUSE="mail samba"
109
110 DEPEND="dev-lang/php[iconv,imap,ldap,mysql,session,zip]
111 sys-devel/gettext"
112 RDEPEND="${DEPEND}
113 virtual/httpd-php
114 dev-perl/Crypt-SmbHash
115 media-gfx/imagemagick"
116 PDEPEND="mail? ( ~net-nds/gosa-plugin-mail-${PV} )
117 samba? ( ~net-nds/gosa-plugin-samba-${PV} )"
118
119 src_prepare() {
120 epatch \
121 "${S}/redhat/02_fix_class_mapping.patch" \
122 "${S}/redhat/03_fix_locale_location.patch" \
123 "${S}/redhat/04_fix_online_help_location.patch"
124 sed -i \
125 -e 's|../contrib|/usr/share/gosa/template|' \
126 include/functions.inc || die "sed failed"
127 }
128
129 src_install() {
130 insinto /usr/share/gosa
131 doins -r doc html ihtml include locale plugins setup
132
133 insinto /usr/share/gosa/template
134 doins contrib/gosa.conf
135
136 dosbin \
137 update-gosa \
138 bin/gosa-encrypt-passwords
139
140 dobin \
141 update-locale \
142 update-online-help \
143 update-pdf-help \
144 dh-make-gosa \
145 contrib/gosa
146
147 insinto /etc/gosa
148 doins \
149 contrib/shells \
150 contrib/encodings \
151 contrib/desktoprc
152 touch "${D}/etc/gosa/gosa.secrets"
153
154 doicon debian/*.xpm
155 domenu debian/gosa-desktop.desktop
156
157 doman *.1 contrib/*.1 contrib/*.5
158
159 dodoc contrib/openldap/slapd.conf
160 insinto /etc/openldap/schema/gosa
161 doins contrib/openldap/*.schema
162
163 insinto /etc/apache2/vhosts.d
164 doins "${FILESDIR}/gosa.include"
165
166 dodoc AUTHORS Changelog FAQ README README.safemode
167
168 keepdir /etc/gosa
169 keepdir /var/spool/gosa
170 keepdir /var/cache/gosa
171 }
172
173 pkg_prerm() {
174 ebegin "Flushing the class and locale cache"
175 rm -r "${EROOT}"var/cache/gosa/*
176 eend $?
177 ebegin "Clearing the spool directory"
178 rm -r "${EROOT}"var/spool/gosa/*
179 eend $?
180 }
181
182 pkg_postinst() {
183 ebegin "Generating class cache and locales"
184 "${EROOT}"usr/sbin/update-gosa
185 eend $?
186
187 elog "Please make sure that the web server you are going to use has"
188 elog "read-write access to ${EROOT}var/spool/gosa"
189
190 elog "For Apache there is the gosa.include file in ${EROOT}etc/apache/vhosts.d."
191 elog "You can either use it as a template for your configuration or directly"
192 elog "include it in your apache configuration."
193
194 elog "GOsa requires some objectclasses and attributes to be present in the"
195 elog "directory. A sample configuration for slapd.conf can be found here:"
196 elog " ${EROOR}usr/share/doc/${PF}/slapd.conf[.gz]"
197 }