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