1 |
patrick 11/09/26 18:01:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: postgresql-base-8.4.9.ebuild |
5 |
postgresql-base-8.3.16.ebuild |
6 |
postgresql-base-9.0.5.ebuild |
7 |
postgresql-base-8.2.22.ebuild |
8 |
postgresql-base-9.1.1.ebuild |
9 |
Log: |
10 |
Bump for #384539 |
11 |
|
12 |
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64) |
13 |
|
14 |
Revision Changes Path |
15 |
1.138 dev-db/postgresql-base/ChangeLog |
16 |
|
17 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/ChangeLog?rev=1.138&view=markup |
18 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/ChangeLog?rev=1.138&content-type=text/plain |
19 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/ChangeLog?r1=1.137&r2=1.138 |
20 |
|
21 |
Index: ChangeLog |
22 |
=================================================================== |
23 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v |
24 |
retrieving revision 1.137 |
25 |
retrieving revision 1.138 |
26 |
diff -u -r1.137 -r1.138 |
27 |
--- ChangeLog 24 Sep 2011 17:11:35 -0000 1.137 |
28 |
+++ ChangeLog 26 Sep 2011 18:01:11 -0000 1.138 |
29 |
@@ -1,6 +1,18 @@ |
30 |
# ChangeLog for dev-db/postgresql-base |
31 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
32 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.137 2011/09/24 17:11:35 armin76 Exp $ |
33 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.138 2011/09/26 18:01:11 patrick Exp $ |
34 |
+ |
35 |
+*postgresql-base-9.1.1 (26 Sep 2011) |
36 |
+*postgresql-base-9.0.5 (26 Sep 2011) |
37 |
+*postgresql-base-8.4.9 (26 Sep 2011) |
38 |
+*postgresql-base-8.3.16 (26 Sep 2011) |
39 |
+*postgresql-base-8.2.22 (26 Sep 2011) |
40 |
+ |
41 |
+ 26 Sep 2011; Patrick Lauer <patrick@g.o> |
42 |
+ +postgresql-base-8.2.22.ebuild, +postgresql-base-8.3.16.ebuild, |
43 |
+ +postgresql-base-8.4.9.ebuild, +postgresql-base-9.0.5.ebuild, |
44 |
+ +postgresql-base-9.1.1.ebuild: |
45 |
+ Bump for #384539 |
46 |
|
47 |
24 Sep 2011; Raúl Porcel <armin76@g.o> |
48 |
postgresql-base-8.2.21-r3.ebuild, postgresql-base-8.3.15-r3.ebuild, |
49 |
|
50 |
|
51 |
|
52 |
1.1 dev-db/postgresql-base/postgresql-base-8.4.9.ebuild |
53 |
|
54 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.4.9.ebuild?rev=1.1&view=markup |
55 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.4.9.ebuild?rev=1.1&content-type=text/plain |
56 |
|
57 |
Index: postgresql-base-8.4.9.ebuild |
58 |
=================================================================== |
59 |
# Copyright 1999-2011 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.4.9.ebuild,v 1.1 2011/09/26 18:01:11 patrick Exp $ |
62 |
|
63 |
EAPI="4" |
64 |
|
65 |
WANT_AUTOMAKE="none" |
66 |
|
67 |
inherit autotools eutils multilib prefix versionator |
68 |
|
69 |
SLOT="$(get_version_component_range 1-2)" |
70 |
|
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
72 |
|
73 |
DESCRIPTION="PostgreSQL libraries and clients" |
74 |
HOMEPAGE="http://www.postgresql.org/" |
75 |
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 |
76 |
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2" |
77 |
LICENSE="POSTGRESQL" |
78 |
|
79 |
S="${WORKDIR}/postgresql-${PV}" |
80 |
|
81 |
# No tests to be done for clients and libraries |
82 |
RESTRICT="test" |
83 |
|
84 |
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" |
85 |
IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib" |
86 |
|
87 |
for lingua in ${LINGUAS} ; do |
88 |
IUSE+=" linguas_${lingua}" |
89 |
done |
90 |
|
91 |
wanted_languages() { |
92 |
local enable_langs |
93 |
|
94 |
for lingua in ${LINGUAS} ; do |
95 |
use linguas_${lingua} && enable_langs+="${lingua} " |
96 |
done |
97 |
|
98 |
echo -n ${enable_langs} |
99 |
} |
100 |
|
101 |
RDEPEND=">=app-admin/eselect-postgresql-1.0.7 |
102 |
virtual/libintl |
103 |
!!dev-db/libpq |
104 |
!!dev-db/postgresql |
105 |
!!dev-db/postgresql-client |
106 |
!!dev-db/postgresql-libs |
107 |
kerberos? ( virtual/krb5 ) |
108 |
ldap? ( net-nds/openldap ) |
109 |
pam? ( virtual/pam ) |
110 |
readline? ( >=sys-libs/readline-4.1 ) |
111 |
ssl? ( >=dev-libs/openssl-0.9.6-r1 ) |
112 |
zlib? ( >=sys-libs/zlib-1.1.3 )" |
113 |
|
114 |
DEPEND="${RDEPEND} |
115 |
>=sys-apps/sandbox-2.0 |
116 |
>=sys-devel/bison-1.875 |
117 |
sys-devel/flex |
118 |
nls? ( sys-devel/gettext )" |
119 |
|
120 |
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" |
121 |
|
122 |
src_prepare() { |
123 |
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \ |
124 |
"${WORKDIR}/bool.patch" "${WORKDIR}/darwin.patch" \ |
125 |
"${WORKDIR}/SuperH.patch" |
126 |
|
127 |
eprefixify src/include/pg_config_manual.h |
128 |
|
129 |
# to avoid collision - it only should be installed by server |
130 |
rm "${S}/src/backend/nls.mk" |
131 |
|
132 |
# because psql/help.c includes the file |
133 |
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die |
134 |
|
135 |
eautoconf |
136 |
} |
137 |
|
138 |
src_configure() { |
139 |
export LDFLAGS_SL="${LDFLAGS}" |
140 |
local PO="${EPREFIX%/}" |
141 |
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ |
142 |
--datadir="${PO}/usr/share/postgresql-${SLOT}" \ |
143 |
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \ |
144 |
--includedir="${PO}/usr/include/postgresql-${SLOT}" \ |
145 |
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ |
146 |
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \ |
147 |
--without-tcl \ |
148 |
--without-perl \ |
149 |
--without-python \ |
150 |
$(use_with kerberos krb5) \ |
151 |
$(use_with kerberos gssapi) \ |
152 |
$(use_with ldap) \ |
153 |
"$(use_enable nls nls "$(wanted_languages)")" \ |
154 |
$(use_with pam) \ |
155 |
$(use_enable !pg_legacytimestamp integer-datetimes ) \ |
156 |
$(use_with readline) \ |
157 |
$(use_with ssl openssl) \ |
158 |
$(use_enable threads thread-safety) \ |
159 |
$(use_with zlib) |
160 |
} |
161 |
|
162 |
src_compile() { |
163 |
emake |
164 |
|
165 |
cd "${S}/contrib" |
166 |
emake |
167 |
} |
168 |
|
169 |
src_install() { |
170 |
emake DESTDIR="${D}" install |
171 |
insinto /usr/include/postgresql-${SLOT}/postmaster |
172 |
doins "${S}"/src/include/postmaster/*.h |
173 |
|
174 |
rm -r "${ED}/usr/share/doc/postgresql-${SLOT}/html" |
175 |
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1 |
176 |
docompress /usr/share/postgresql-${SLOT}/man/man{1,7} |
177 |
|
178 |
dodoc README HISTORY doc/{README.*,TODO,bug.template} |
179 |
|
180 |
cd "${S}/contrib" |
181 |
emake DESTDIR="${D}" install |
182 |
cd "${S}" |
183 |
|
184 |
dodir /etc/eselect/postgresql/slots/${SLOT} |
185 |
|
186 |
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \ |
187 |
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/base" |
188 |
|
189 |
keepdir /etc/postgresql-${SLOT} |
190 |
} |
191 |
|
192 |
pkg_postinst() { |
193 |
postgresql-config update |
194 |
|
195 |
elog "If you need a global psqlrc-file, you can place it in:" |
196 |
elog " ${EROOT%/}/etc/postgresql-${SLOT}/" |
197 |
} |
198 |
|
199 |
pkg_postrm() { |
200 |
postgresql-config update |
201 |
} |
202 |
|
203 |
|
204 |
|
205 |
1.1 dev-db/postgresql-base/postgresql-base-8.3.16.ebuild |
206 |
|
207 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.16.ebuild?rev=1.1&view=markup |
208 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.16.ebuild?rev=1.1&content-type=text/plain |
209 |
|
210 |
Index: postgresql-base-8.3.16.ebuild |
211 |
=================================================================== |
212 |
# Copyright 1999-2011 Gentoo Foundation |
213 |
# Distributed under the terms of the GNU General Public License v2 |
214 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.16.ebuild,v 1.1 2011/09/26 18:01:11 patrick Exp $ |
215 |
|
216 |
EAPI="4" |
217 |
|
218 |
WANT_AUTOMAKE="none" |
219 |
|
220 |
inherit autotools eutils multilib prefix versionator |
221 |
|
222 |
SLOT="$(get_version_component_range 1-2)" |
223 |
|
224 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
225 |
|
226 |
DESCRIPTION="PostgreSQL libraries and clients" |
227 |
HOMEPAGE="http://www.postgresql.org/" |
228 |
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 |
229 |
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2" |
230 |
LICENSE="POSTGRESQL" |
231 |
|
232 |
S="${WORKDIR}/postgresql-${PV}" |
233 |
|
234 |
# No tests to be done for clients and libraries |
235 |
RESTRICT="test" |
236 |
|
237 |
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" |
238 |
IUSE="doc kerberos ldap nls pam pg-intdatetime readline ssl threads zlib" |
239 |
|
240 |
for lingua in ${LINGUAS} ; do |
241 |
IUSE+=" linguas_${lingua}" |
242 |
done |
243 |
|
244 |
wanted_languages() { |
245 |
local enable_langs |
246 |
|
247 |
for lingua in ${LINGUAS} ; do |
248 |
use linguas_${lingua} && enable_langs+="${lingua} " |
249 |
done |
250 |
|
251 |
echo -n ${enable_langs} |
252 |
} |
253 |
|
254 |
RDEPEND=">=app-admin/eselect-postgresql-1.0.10 |
255 |
virtual/libintl |
256 |
!!dev-db/libpq |
257 |
!!dev-db/postgresql |
258 |
!!dev-db/postgresql-client |
259 |
!!dev-db/postgresql-libs |
260 |
kerberos? ( virtual/krb5 ) |
261 |
ldap? ( net-nds/openldap ) |
262 |
pam? ( virtual/pam ) |
263 |
readline? ( >=sys-libs/readline-4.1 ) |
264 |
ssl? ( >=dev-libs/openssl-0.9.6-r1 ) |
265 |
zlib? ( >=sys-libs/zlib-1.1.3 )" |
266 |
|
267 |
DEPEND="${RDEPEND} |
268 |
>=sys-apps/sandbox-2.0 |
269 |
>=sys-devel/bison-1.875 |
270 |
sys-devel/flex |
271 |
nls? ( sys-devel/gettext )" |
272 |
|
273 |
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" |
274 |
|
275 |
src_prepare() { |
276 |
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \ |
277 |
"${WORKDIR}/bool.patch" "${WORKDIR}/darwin.patch" \ |
278 |
"${WORKDIR}/relax_ssl_perms.patch" "${WORKDIR}/SuperH.patch" \ |
279 |
|
280 |
eprefixify src/include/pg_config_manual.h |
281 |
|
282 |
# to avoid collision - it only should be installed by server |
283 |
rm "${S}/src/backend/nls.mk" |
284 |
|
285 |
# because psql/help.c includes the file |
286 |
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die |
287 |
|
288 |
eautoconf |
289 |
} |
290 |
|
291 |
src_configure() { |
292 |
export LDFLAGS_SL="${LDFLAGS}" |
293 |
local PO="${EPREFIX%/}" |
294 |
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ |
295 |
--datadir="${PO}/usr/share/postgresql-${SLOT}" \ |
296 |
--includedir="${PO}/usr/include/postgresql-${SLOT}" \ |
297 |
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ |
298 |
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \ |
299 |
--without-docdir \ |
300 |
--without-perl \ |
301 |
--without-python \ |
302 |
--without-tcl \ |
303 |
$(use_with kerberos krb5) \ |
304 |
$(use_with kerberos gssapi) \ |
305 |
$(use_with ldap) \ |
306 |
"$(use_enable nls nls "$(wanted_languages)")" \ |
307 |
$(use_with pam) \ |
308 |
$(use_enable pg-intdatetime integer-datetimes ) \ |
309 |
$(use_with readline) \ |
310 |
$(use_with ssl openssl) \ |
311 |
$(use_enable threads thread-safety) \ |
312 |
$(use_with zlib) |
313 |
} |
314 |
|
315 |
src_compile() { |
316 |
emake |
317 |
|
318 |
cd "${S}/contrib" |
319 |
emake |
320 |
} |
321 |
|
322 |
src_install() { |
323 |
emake DESTDIR="${D}" install |
324 |
insinto /usr/include/postgresql-${SLOT}/postmaster |
325 |
doins "${S}"/src/include/postmaster/*.h |
326 |
dodir /usr/share/postgresql-${SLOT}/man/man1 |
327 |
|
328 |
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,ipcclean,pg_{controldata,ctl,resetxlog},post{gres,master}}.1 |
329 |
docompress /usr/share/postgresql-${SLOT}/man/man{1,7} |
330 |
|
331 |
dodoc README HISTORY doc/{README.*,TODO,bug.template} |
332 |
|
333 |
cd "${S}/contrib" |
334 |
emake DESTDIR="${D}" install |
335 |
cd "${S}" |
336 |
|
337 |
dodir /etc/eselect/postgresql/slots/${SLOT} |
338 |
|
339 |
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \ |
340 |
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/base" |
341 |
|
342 |
keepdir /etc/postgresql-${SLOT} |
343 |
} |
344 |
|
345 |
pkg_postinst() { |
346 |
postgresql-config update |
347 |
|
348 |
elog "If you need a global psqlrc-file, you can place it in:" |
349 |
elog " ${EROOT%/}/etc/postgresql-${SLOT}/" |
350 |
} |
351 |
|
352 |
pkg_postrm() { |
353 |
postgresql-config update |
354 |
} |
355 |
|
356 |
|
357 |
|
358 |
1.1 dev-db/postgresql-base/postgresql-base-9.0.5.ebuild |
359 |
|
360 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.0.5.ebuild?rev=1.1&view=markup |
361 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.0.5.ebuild?rev=1.1&content-type=text/plain |
362 |
|
363 |
Index: postgresql-base-9.0.5.ebuild |
364 |
=================================================================== |
365 |
# Copyright 1999-2011 Gentoo Foundation |
366 |
# Distributed under the terms of the GNU General Public License v2 |
367 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.0.5.ebuild,v 1.1 2011/09/26 18:01:11 patrick Exp $ |
368 |
|
369 |
EAPI="4" |
370 |
|
371 |
WANT_AUTOMAKE="none" |
372 |
|
373 |
inherit autotools eutils flag-o-matic multilib prefix versionator |
374 |
|
375 |
SLOT="$(get_version_component_range 1-2)" |
376 |
|
377 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" |
378 |
|
379 |
DESCRIPTION="PostgreSQL libraries and clients" |
380 |
HOMEPAGE="http://www.postgresql.org/" |
381 |
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 |
382 |
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r2.tbz2" |
383 |
LICENSE="POSTGRESQL" |
384 |
|
385 |
S="${WORKDIR}/postgresql-${PV}" |
386 |
|
387 |
# No tests to be done for clients and libraries |
388 |
RESTRICT="test" |
389 |
|
390 |
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" |
391 |
IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib" |
392 |
|
393 |
for lingua in ${LINGUAS} ; do |
394 |
IUSE+=" linguas_${lingua}" |
395 |
done |
396 |
|
397 |
wanted_languages() { |
398 |
local enable_langs |
399 |
|
400 |
for lingua in ${LINGUAS} ; do |
401 |
use linguas_${lingua} && enable_langs+="${lingua} " |
402 |
done |
403 |
|
404 |
echo -n ${enable_langs} |
405 |
} |
406 |
|
407 |
RDEPEND=">=app-admin/eselect-postgresql-1.0.7 |
408 |
virtual/libintl |
409 |
!!dev-db/libpq |
410 |
!!dev-db/postgresql |
411 |
!!dev-db/postgresql-client |
412 |
!!dev-db/postgresql-libs |
413 |
kerberos? ( virtual/krb5 ) |
414 |
ldap? ( net-nds/openldap ) |
415 |
pam? ( virtual/pam ) |
416 |
readline? ( sys-libs/readline ) |
417 |
ssl? ( >=dev-libs/openssl-0.9.6-r1 ) |
418 |
zlib? ( sys-libs/zlib )" |
419 |
|
420 |
DEPEND="${RDEPEND} |
421 |
sys-devel/bison |
422 |
sys-devel/flex |
423 |
>=sys-apps/sandbox-2.0 |
424 |
nls? ( sys-devel/gettext )" |
425 |
|
426 |
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" |
427 |
|
428 |
src_prepare() { |
429 |
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \ |
430 |
"${WORKDIR}/bool.patch" |
431 |
|
432 |
eprefixify src/include/pg_config_manual.h |
433 |
|
434 |
# to avoid collision - it only should be installed by server |
435 |
rm "${S}/src/backend/nls.mk" |
436 |
|
437 |
# because psql/help.c includes the file |
438 |
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die |
439 |
|
440 |
eautoconf |
441 |
} |
442 |
|
443 |
src_configure() { |
444 |
case ${CHOST} in |
445 |
*-darwin*|*-solaris*) |
446 |
use nls && append-libs intl |
447 |
;; |
448 |
esac |
449 |
export LDFLAGS_SL="${LDFLAGS}" |
450 |
export LDFLAGS_EX="${LDFLAGS}" |
451 |
local PO="${EPREFIX%/}" |
452 |
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ |
453 |
--datadir="${PO}/usr/share/postgresql-${SLOT}" \ |
454 |
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \ |
455 |
--includedir="${PO}/usr/include/postgresql-${SLOT}" \ |
456 |
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ |
457 |
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \ |
458 |
--without-tcl \ |
459 |
--without-perl \ |
460 |
--without-python \ |
461 |
$(use_with kerberos krb5) \ |
462 |
$(use_with kerberos gssapi) \ |
463 |
$(use_with ldap) \ |
464 |
"$(use_enable nls nls "$(wanted_languages)")" \ |
465 |
$(use_with pam) \ |
466 |
$(use_enable !pg_legacytimestamp integer-datetimes) \ |
467 |
$(use_with readline) \ |
468 |
$(use_with ssl openssl) \ |
469 |
$(use_enable threads thread-safety) \ |
470 |
$(use_with zlib) |
471 |
} |
472 |
|
473 |
src_compile() { |
474 |
emake |
475 |
|
476 |
cd "${S}/contrib" |
477 |
emake |
478 |
} |
479 |
|
480 |
src_install() { |
481 |
emake DESTDIR="${D}" install |
482 |
insinto /usr/include/postgresql-${SLOT}/postmaster |
483 |
doins "${S}"/src/include/postmaster/*.h |
484 |
|
485 |
dodir /usr/share/postgresql-${SLOT}/man/ |
486 |
cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die |
487 |
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_controldata,pg_ctl,pg_resetxlog,postgres,postmaster}.1 |
488 |
docompress /usr/share/postgresql-${SLOT}/man/man{1,7} |
489 |
|
490 |
dodoc README HISTORY doc/{README.*,TODO,bug.template} |
491 |
|
492 |
cd "${S}/contrib" |
493 |
emake DESTDIR="${D}" install |
494 |
cd "${S}" |
495 |
|
496 |
dodir /etc/eselect/postgresql/slots/${SLOT} |
497 |
|
498 |
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \ |
499 |
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/base" |
500 |
|
501 |
keepdir /etc/postgresql-${SLOT} |
502 |
} |
503 |
|
504 |
pkg_postinst() { |
505 |
postgresql-config update |
506 |
|
507 |
elog "If you need a global psqlrc-file, you can place it in:" |
508 |
elog " ${EROOT%/}/etc/postgresql-${SLOT}/" |
509 |
} |
510 |
|
511 |
pkg_postrm() { |
512 |
postgresql-config update |
513 |
} |
514 |
|
515 |
|
516 |
|
517 |
1.1 dev-db/postgresql-base/postgresql-base-8.2.22.ebuild |
518 |
|
519 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.2.22.ebuild?rev=1.1&view=markup |
520 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.2.22.ebuild?rev=1.1&content-type=text/plain |
521 |
|
522 |
Index: postgresql-base-8.2.22.ebuild |
523 |
=================================================================== |
524 |
# Copyright 1999-2011 Gentoo Foundation |
525 |
# Distributed under the terms of the GNU General Public License v2 |
526 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.2.22.ebuild,v 1.1 2011/09/26 18:01:11 patrick Exp $ |
527 |
|
528 |
EAPI="4" |
529 |
|
530 |
WANT_AUTOMAKE="none" |
531 |
|
532 |
inherit autotools eutils multilib prefix versionator |
533 |
|
534 |
SLOT="$(get_version_component_range 1-2)" |
535 |
|
536 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86" |
537 |
|
538 |
DESCRIPTION="PostgreSQL libraries and clients" |
539 |
HOMEPAGE="http://www.postgresql.org/" |
540 |
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 |
541 |
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}-r1.tbz2" |
542 |
LICENSE="POSTGRESQL" |
543 |
|
544 |
S="${WORKDIR}/postgresql-${PV}" |
545 |
|
546 |
# No tests to be done for clients and libraries |
547 |
RESTRICT="test" |
548 |
|
549 |
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" |
550 |
IUSE="doc kerberos ldap nls pam pg-intdatetime readline ssl threads zlib" |
551 |
|
552 |
for lingua in ${LINGUAS} ; do |
553 |
IUSE+=" linguas_${lingua}" |
554 |
done |
555 |
|
556 |
wanted_languages() { |
557 |
local enable_langs |
558 |
|
559 |
for lingua in ${LINGUAS} ; do |
560 |
use linguas_${lingua} && enable_langs+="${lingua} " |
561 |
done |
562 |
|
563 |
echo -n ${enable_langs} |
564 |
} |
565 |
|
566 |
RDEPEND=">=app-admin/eselect-postgresql-1.0.10 |
567 |
virtual/libintl |
568 |
!!dev-db/libpq |
569 |
!!dev-db/postgresql |
570 |
!!dev-db/postgresql-client |
571 |
!!dev-db/postgresql-libs |
572 |
kerberos? ( virtual/krb5 ) |
573 |
ldap? ( net-nds/openldap ) |
574 |
pam? ( virtual/pam ) |
575 |
readline? ( >=sys-libs/readline-4.1 ) |
576 |
ssl? ( >=dev-libs/openssl-0.9.6-r1 ) |
577 |
zlib? ( >=sys-libs/zlib-1.1.3 )" |
578 |
|
579 |
DEPEND="${RDEPEND} |
580 |
>=sys-apps/sandbox-2.0 |
581 |
>=sys-devel/bison-1.875 |
582 |
sys-devel/flex |
583 |
nls? ( sys-devel/gettext )" |
584 |
|
585 |
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" |
586 |
|
587 |
src_prepare() { |
588 |
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \ |
589 |
"${WORKDIR}/bool.patch" "${WORKDIR}/darwin.patch" \ |
590 |
"${WORKDIR}/relax_ssl_perms.patch" "${WORKDIR}/SuperH.patch" |
591 |
|
592 |
eprefixify src/include/pg_config_manual.h |
593 |
|
594 |
# to avoid collision - it only should be installed by server |
595 |
rm "${S}/src/backend/nls.mk" |
596 |
|
597 |
# because psql/help.c includes the file |
598 |
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die |
599 |
|
600 |
eautoconf |
601 |
} |
602 |
|
603 |
src_configure() { |
604 |
export LDFLAGS_SL="${LDFLAGS}" |
605 |
local PO="${EPREFIX%/}" |
606 |
econf --prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ |
607 |
--datadir="${PO}/usr/share/postgresql-${SLOT}" \ |
608 |
--includedir="${PO}/usr/include/postgresql-${SLOT}" \ |
609 |
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ |
610 |
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \ |
611 |
--without-docdir \ |
612 |
--without-perl \ |
613 |
--without-python \ |
614 |
--without-tcl \ |
615 |
$(use_with kerberos krb5) \ |
616 |
$(use_with ldap) \ |
617 |
"$(use_enable nls nls "$(wanted_languages)")" \ |
618 |
$(use_with pam) \ |
619 |
$(use_enable pg-intdatetime integer-datetimes ) \ |
620 |
$(use_with readline) \ |
621 |
$(use_with ssl openssl) \ |
622 |
$(use_enable threads thread-safety) \ |
623 |
$(use_with zlib) |
624 |
} |
625 |
|
626 |
src_compile() { |
627 |
emake |
628 |
|
629 |
cd "${S}/contrib" |
630 |
emake |
631 |
} |
632 |
|
633 |
src_install() { |
634 |
emake DESTDIR="${D}" install |
635 |
insinto /usr/include/postgresql-${SLOT}/postmaster |
636 |
doins "${S}"/src/include/postmaster/*.h |
637 |
|
638 |
rm "${ED}"/usr/share/postgresql-${SLOT}/man/man1/{initdb,ipcclean,pg_{controldata,ctl,resetxlog},post{gres,master}}.1 |
639 |
docompress /usr/share/postgresql-${SLOT}/man/man{1,7} |
640 |
dodoc README HISTORY doc/{README.*,TODO,bug.template} |
641 |
|
642 |
cd "${S}/contrib" |
643 |
emake DESTDIR="${D}" install |
644 |
cd "${S}" |
645 |
|
646 |
dodir /etc/eselect/postgresql/slots/${SLOT} |
647 |
|
648 |
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" \ |
649 |
> "${ED}/etc/eselect/postgresql/slots/${SLOT}/base" |
650 |
|
651 |
keepdir /etc/postgresql-${SLOT} |
652 |
} |
653 |
|
654 |
pkg_postinst() { |
655 |
postgresql-config update |
656 |
|
657 |
elog "If you need a global psqlrc-file, you can place it in:" |
658 |
elog " ${EROOT%/}/etc/postgresql-${SLOT}/" |
659 |
} |
660 |
|
661 |
pkg_postrm() { |
662 |
postgresql-config update |
663 |
} |
664 |
|
665 |
|
666 |
|
667 |
1.1 dev-db/postgresql-base/postgresql-base-9.1.1.ebuild |
668 |
|
669 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.1.1.ebuild?rev=1.1&view=markup |
670 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.1.1.ebuild?rev=1.1&content-type=text/plain |
671 |
|
672 |
Index: postgresql-base-9.1.1.ebuild |
673 |
=================================================================== |
674 |
# Copyright 1999-2011 Gentoo Foundation |
675 |
# Distributed under the terms of the GNU General Public License v2 |
676 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.1.1.ebuild,v 1.1 2011/09/26 18:01:11 patrick Exp $ |
677 |
|
678 |
EAPI="4" |
679 |
|
680 |
WANT_AUTOMAKE="none" |
681 |
|
682 |
inherit autotools eutils flag-o-matic multilib prefix versionator |
683 |
|
684 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" |
685 |
|
686 |
SLOT="$(get_version_component_range 1-2)" |
687 |
S="${WORKDIR}/postgresql-${PV}" |
688 |
|
689 |
DESCRIPTION="PostgreSQL libraries and clients" |
690 |
HOMEPAGE="http://www.postgresql.org/" |
691 |
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2 |
692 |
http://dev.gentoo.org/~titanofold/postgresql-patches-${SLOT}.tbz2" |
693 |
LICENSE="POSTGRESQL" |
694 |
|
695 |
# No tests to be done for clients and libraries |
696 |
RESTRICT="test" |
697 |
|
698 |
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" |
699 |
IUSE="doc kerberos ldap nls pam pg_legacytimestamp readline ssl threads zlib" |
700 |
|
701 |
for lingua in ${LINGUAS} ; do |
702 |
IUSE+=" linguas_${lingua}" |
703 |
done |
704 |
|
705 |
wanted_languages() { |
706 |
local enable_langs |
707 |
|
708 |
for lingua in ${LINGUAS} ; do |
709 |
use linguas_${lingua} && enable_langs+="${lingua} " |
710 |
done |
711 |
|
712 |
echo -n ${enable_langs} |
713 |
} |
714 |
|
715 |
RDEPEND="!!dev-db/libpq |
716 |
!!dev-db/postgresql |
717 |
!!dev-db/postgresql-client |
718 |
!!dev-db/postgresql-libs |
719 |
>=app-admin/eselect-postgresql-1.0.10 |
720 |
virtual/libintl |
721 |
kerberos? ( virtual/krb5 ) |
722 |
ldap? ( net-nds/openldap ) |
723 |
pam? ( virtual/pam ) |
724 |
readline? ( sys-libs/readline ) |
725 |
ssl? ( >=dev-libs/openssl-0.9.6-r1 ) |
726 |
zlib? ( sys-libs/zlib ) |
727 |
" |
728 |
|
729 |
DEPEND="${RDEPEND} |
730 |
>=sys-apps/sandbox-2.0 |
731 |
sys-devel/bison |
732 |
sys-devel/flex |
733 |
nls? ( sys-devel/gettext ) |
734 |
" |
735 |
|
736 |
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )" |
737 |
|
738 |
src_prepare() { |
739 |
epatch "${WORKDIR}/autoconf.patch" "${WORKDIR}/base.patch" \ |
740 |
"${WORKDIR}/bool.patch" |
741 |
|
742 |
eprefixify src/include/pg_config_manual.h |
743 |
|
744 |
# to avoid collision - it only should be installed by server |
745 |
rm "${S}/src/backend/nls.mk" |
746 |
|
747 |
# because psql/help.c includes the file |
748 |
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" || die |
749 |
|
750 |
eautoconf |
751 |
} |
752 |
|
753 |
src_configure() { |
754 |
case ${CHOST} in |
755 |
*-darwin*|*-solaris*) |
756 |
use nls && append-libs intl |
757 |
;; |
758 |
esac |
759 |
|
760 |
export LDFLAGS_SL="${LDFLAGS}" |
761 |
export LDFLAGS_EX="${LDFLAGS}" |
762 |
|
763 |
local PO="${EPREFIX%/}" |
764 |
|
765 |
econf \ |
766 |
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \ |
767 |
--datadir="${PO}/usr/share/postgresql-${SLOT}" \ |
768 |
--docdir="${PO}/usr/share/doc/postgresql-${SLOT}" \ |
769 |
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \ |
770 |
--includedir="${PO}/usr/include/postgresql-${SLOT}" \ |
771 |
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \ |
772 |
--without-tcl \ |
773 |
--without-perl \ |
774 |
--without-python \ |
775 |
$(use_with readline) \ |
776 |
$(use_with kerberos krb5) \ |
777 |
$(use_with kerberos gssapi) \ |
778 |
"$(use_enable nls nls "$(wanted_languages)")" \ |
779 |
$(use_with pam) \ |
780 |
$(use_enable !pg_legacytimestamp integer-datetimes) \ |
781 |
$(use_with ssl openssl) \ |
782 |
$(use_enable threads thread-safety) \ |
783 |
$(use_with zlib) \ |
784 |
$(use_with ldap) |
785 |
} |
786 |
|
787 |
src_compile() { |
788 |
emake -j1 |
789 |
|
790 |
cd "${S}/contrib" |
791 |
emake |
792 |
} |
793 |
|
794 |
src_install() { |
795 |
emake DESTDIR="${D}" install |
796 |
insinto /usr/include/postgresql-${SLOT}/postmaster |
797 |
doins "${S}"/src/include/postmaster/*.h |
798 |
|
799 |
dodir /usr/share/postgresql-${SLOT}/man/ |
800 |
cp -r "${S}"/doc/src/sgml/man{1,7} "${ED}"/usr/share/postgresql-${SLOT}/man/ || die |
801 |
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}.1 |
802 |
docompress /usr/share/postgresql-${SLOT}/man/man{1,7} |
803 |
dodoc README HISTORY doc/{TODO,bug.template} |
804 |
|
805 |
cd "${S}/contrib" |
806 |
emake DESTDIR="${D}" install |
807 |
cd "${S}" |
808 |
|
809 |
dodir /etc/eselect/postgresql/slots/${SLOT} |
810 |
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \ |
811 |
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base" |
812 |
|
813 |
keepdir /etc/postgresql-${SLOT} |
814 |
} |
815 |
|
816 |
pkg_postinst() { |
817 |
postgresql-config update |
818 |
|
819 |
elog "If you need a global psqlrc-file, you can place it in:" |
820 |
elog " ${EROOT%/}/etc/postgresql-${SLOT}/" |
821 |
} |
822 |
|
823 |
pkg_postrm() { |
824 |
postgresql-config update |
825 |
} |