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