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