1 |
caleb 08/09/23 12:41:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: postgresql-base-8.3.4.ebuild |
5 |
postgresql-base-8.2.10.ebuild |
6 |
Log: |
7 |
version bump, latest unstable versions |
8 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.21-gentoo-r1 i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.10 dev-db/postgresql-base/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-base/ChangeLog?rev=1.10&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-base/ChangeLog?rev=1.10&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-base/ChangeLog?r1=1.9&r2=1.10 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v |
20 |
retrieving revision 1.9 |
21 |
retrieving revision 1.10 |
22 |
diff -u -r1.9 -r1.10 |
23 |
--- ChangeLog 5 Aug 2008 16:45:55 -0000 1.9 |
24 |
+++ ChangeLog 23 Sep 2008 12:41:04 -0000 1.10 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-db/postgresql-base |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.9 2008/08/05 16:45:55 ulm Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/ChangeLog,v 1.10 2008/09/23 12:41:04 caleb Exp $ |
30 |
+ |
31 |
+*postgresql-base-8.3.4 (23 Sep 2008) |
32 |
+*postgresql-base-8.2.10 (23 Sep 2008) |
33 |
+ |
34 |
+ 23 Sep 2008; Caleb Tennis <caleb@g.o> |
35 |
+ +postgresql-base-8.2.10.ebuild, +postgresql-base-8.3.4.ebuild: |
36 |
+ version bump, latest unstable versions |
37 |
|
38 |
05 Aug 2008; Ulrich Mueller <ulm@g.o> metadata.xml: |
39 |
Add USE flag description to metadata wrt GLEP 56. |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-db/postgresql-base/postgresql-base-8.3.4.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.4.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.4.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: postgresql-base-8.3.4.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.4.ebuild,v 1.1 2008/09/23 12:41:04 caleb Exp $ |
53 |
|
54 |
EAPI="1" |
55 |
|
56 |
WANT_AUTOCONF="latest" |
57 |
WANT_AUTOMAKE="none" |
58 |
|
59 |
inherit eutils multilib toolchain-funcs versionator autotools |
60 |
|
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
62 |
|
63 |
DESCRIPTION="PostgreSQL libraries and clients" |
64 |
HOMEPAGE="http://www.postgresql.org/" |
65 |
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" |
66 |
LICENSE="POSTGRESQL" |
67 |
SLOT="$(get_version_component_range 1-2)" |
68 |
IUSE_LINGUAS=" |
69 |
linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr |
70 |
linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl |
71 |
linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv |
72 |
linguas_tr linguas_zh_CN linguas_zh_TW" |
73 |
IUSE="doc kerberos nls pam pg-intdatetime readline ssl threads zlib ldap ${IUSE_LINGUAS}" |
74 |
RESTRICT="test" |
75 |
|
76 |
wanted_languages() { |
77 |
for u in ${IUSE_LINGUAS} ; do |
78 |
use $u && echo -n "${u#linguas_} " |
79 |
done |
80 |
} |
81 |
|
82 |
RDEPEND="kerberos? ( virtual/krb5 ) |
83 |
pam? ( virtual/pam ) |
84 |
readline? ( >=sys-libs/readline-4.1 ) |
85 |
ssl? ( >=dev-libs/openssl-0.9.6-r1 ) |
86 |
zlib? ( >=sys-libs/zlib-1.1.3 ) |
87 |
>=app-admin/eselect-postgresql-0.3 |
88 |
!dev-db/postgresql-libs |
89 |
!dev-db/postgresql-client |
90 |
!dev-db/libpq |
91 |
!dev-db/postgresql |
92 |
ldap? ( net-nds/openldap )" |
93 |
DEPEND="${RDEPEND} |
94 |
sys-devel/flex |
95 |
>=sys-devel/bison-1.875 |
96 |
nls? ( sys-devel/gettext )" |
97 |
PDEPEND="doc? ( dev-db/postgresql-docs:${SLOT} )" |
98 |
|
99 |
S="${WORKDIR}/postgresql-${PV}" |
100 |
|
101 |
src_unpack() { |
102 |
unpack ${A} |
103 |
cd "${S}" |
104 |
|
105 |
epatch "${FILESDIR}/postgresql-${SLOT}-common.patch" \ |
106 |
"${FILESDIR}/postgresql-${SLOT}-base.patch" \ |
107 |
"${FILESDIR}/postgresql-8.x-relax_ssl_perms.patch" |
108 |
|
109 |
# to avoid collision - it only should be installed by server |
110 |
rm "${S}/src/backend/nls.mk" |
111 |
|
112 |
# because psql/help.c includes the file |
113 |
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" |
114 |
|
115 |
eautoconf |
116 |
} |
117 |
|
118 |
src_compile() { |
119 |
econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \ |
120 |
--datadir=/usr/share/postgresql-${SLOT} \ |
121 |
--sysconfdir=/etc/postgresql-${SLOT} \ |
122 |
--includedir=/usr/include/postgresql-${SLOT} \ |
123 |
--with-locale-dir=/usr/share/postgresql-${SLOT}/locale \ |
124 |
--mandir=/usr/share/postgresql-${SLOT}/man \ |
125 |
--without-docdir \ |
126 |
--enable-depend \ |
127 |
--without-tcl \ |
128 |
--without-perl \ |
129 |
--without-python \ |
130 |
--without-libedit \ |
131 |
$(use_with readline) \ |
132 |
$(use_with kerberos krb5) \ |
133 |
$(use_with kerberos gssapi) \ |
134 |
"$(use_enable nls nls "$(wanted_languages)")" \ |
135 |
$(use_with pam) \ |
136 |
$(use_enable pg-intdatetime integer-datetimes ) \ |
137 |
$(use_with ssl openssl) \ |
138 |
$(use_enable threads thread-safety) \ |
139 |
$(use_enable threads thread-safety-force) \ |
140 |
$(use_with zlib) \ |
141 |
$(use_with ldap) \ |
142 |
${myconf} \ |
143 |
|| die "configure failed" |
144 |
|
145 |
emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake failed" |
146 |
|
147 |
cd "${S}/contrib" |
148 |
emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake failed" |
149 |
} |
150 |
|
151 |
src_install() { |
152 |
emake DESTDIR="${D}" install || die "emake install failed" |
153 |
insinto /usr/include/postgresql-${SLOT}/postmaster |
154 |
doins "${S}"/src/include/postmaster/*.h |
155 |
dodir /usr/share/postgresql-${SLOT}/man/man1 |
156 |
tar -zxf "${S}/doc/man.tar.gz" -C "${D}"/usr/share/postgresql-${SLOT}/man man1/{ecpg,pg_config}.1 |
157 |
|
158 |
rm "${D}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,ipcclean,pg_controldata,pg_ctl,pg_resetxlog,pg_restore,postgres,postmaster}.1 |
159 |
dodoc README HISTORY doc/{README.*,TODO,bug.template} |
160 |
|
161 |
cd "${S}/contrib" |
162 |
emake DESTDIR="${D}" install || die "emake install failed" |
163 |
cd "${S}" |
164 |
|
165 |
dodir /etc/eselect/postgresql/slots/${SLOT} |
166 |
|
167 |
IDIR="/usr/include/postgresql-${SLOT}" |
168 |
cat > "${D}/etc/eselect/postgresql/slots/${SLOT}/base" <<-__EOF__ |
169 |
postgres_ebuilds="\${postgres_ebuilds} ${PF}" |
170 |
postgres_prefix=/usr/$(get_libdir)/postgresql-${SLOT} |
171 |
postgres_datadir=/usr/share/postgresql-${SLOT} |
172 |
postgres_bindir=/usr/$(get_libdir)/postgresql-${SLOT}/bin |
173 |
postgres_symlinks=( |
174 |
${IDIR} /usr/include/postgresql |
175 |
${IDIR}/libpq-fe.h /usr/include/libpq-fe.h |
176 |
${IDIR}/libpq /usr/include/libpq |
177 |
${IDIR}/postgres_ext.h /usr/include/postgres_ext.h |
178 |
) |
179 |
__EOF__ |
180 |
|
181 |
cat >"${T}/50postgresql-94-${SLOT}" <<-__EOF__ |
182 |
LDPATH=/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir) |
183 |
MANPATH=/usr/share/postgresql-${SLOT}/man |
184 |
__EOF__ |
185 |
doenvd "${T}/50postgresql-94-${SLOT}" |
186 |
|
187 |
keepdir /etc/postgresql-${SLOT} |
188 |
} |
189 |
|
190 |
pkg_postinst() { |
191 |
eselect postgresql update |
192 |
[[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT} |
193 |
elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql-${SLOT}/'." |
194 |
} |
195 |
|
196 |
pkg_postrm() { |
197 |
eselect postgresql update |
198 |
} |
199 |
|
200 |
|
201 |
|
202 |
1.1 dev-db/postgresql-base/postgresql-base-8.2.10.ebuild |
203 |
|
204 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.2.10.ebuild?rev=1.1&view=markup |
205 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.2.10.ebuild?rev=1.1&content-type=text/plain |
206 |
|
207 |
Index: postgresql-base-8.2.10.ebuild |
208 |
=================================================================== |
209 |
# Copyright 1999-2008 Gentoo Foundation |
210 |
# Distributed under the terms of the GNU General Public License v2 |
211 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.2.10.ebuild,v 1.1 2008/09/23 12:41:04 caleb Exp $ |
212 |
|
213 |
EAPI="1" |
214 |
|
215 |
WANT_AUTOCONF="latest" |
216 |
WANT_AUTOMAKE="none" |
217 |
|
218 |
inherit eutils multilib toolchain-funcs versionator autotools |
219 |
|
220 |
KEYWORDS="~amd64 ~x86" |
221 |
|
222 |
DESCRIPTION="PostgreSQL libraries and clients" |
223 |
HOMEPAGE="http://www.postgresql.org/" |
224 |
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2" |
225 |
LICENSE="POSTGRESQL" |
226 |
SLOT="$(get_version_component_range 1-2)" |
227 |
IUSE_LINGUAS=" |
228 |
linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr |
229 |
linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl |
230 |
linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv |
231 |
linguas_tr linguas_zh_CN linguas_zh_TW" |
232 |
IUSE="doc kerberos nls pam pg-intdatetime readline ssl threads zlib ldap ${IUSE_LINGUAS}" |
233 |
RESTRICT="test" |
234 |
|
235 |
wanted_languages() { |
236 |
for u in ${IUSE_LINGUAS} ; do |
237 |
use $u && echo -n "${u#linguas_} " |
238 |
done |
239 |
} |
240 |
|
241 |
RDEPEND="kerberos? ( virtual/krb5 ) |
242 |
pam? ( virtual/pam ) |
243 |
readline? ( >=sys-libs/readline-4.1 ) |
244 |
ssl? ( >=dev-libs/openssl-0.9.6-r1 ) |
245 |
zlib? ( >=sys-libs/zlib-1.1.3 ) |
246 |
>=app-admin/eselect-postgresql-0.3 |
247 |
!dev-db/postgresql-libs |
248 |
!dev-db/postgresql-client |
249 |
!dev-db/libpq |
250 |
!dev-db/postgresql |
251 |
ldap? ( net-nds/openldap )" |
252 |
DEPEND="${RDEPEND} |
253 |
sys-devel/flex |
254 |
>=sys-devel/bison-1.875 |
255 |
nls? ( sys-devel/gettext )" |
256 |
PDEPEND="doc? ( dev-db/postgresql-docs:${SLOT} )" |
257 |
|
258 |
S="${WORKDIR}/postgresql-${PV}" |
259 |
|
260 |
src_unpack() { |
261 |
unpack ${A} |
262 |
cd "${S}" |
263 |
|
264 |
epatch "${FILESDIR}/postgresql-${SLOT}-common.patch" \ |
265 |
"${FILESDIR}/postgresql-${SLOT}-base.patch" \ |
266 |
"${FILESDIR}/postgresql-8.x-relax_ssl_perms.patch" |
267 |
|
268 |
# to avoid collision - it only should be installed by server |
269 |
rm "${S}/src/backend/nls.mk" |
270 |
|
271 |
# because psql/help.c includes the file |
272 |
ln -s "${S}/src/include/libpq/pqsignal.h" "${S}/src/bin/psql/" |
273 |
|
274 |
eautoconf |
275 |
} |
276 |
|
277 |
src_compile() { |
278 |
econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \ |
279 |
--datadir=/usr/share/postgresql-${SLOT} \ |
280 |
--sysconfdir=/etc/postgresql-${SLOT} \ |
281 |
--includedir=/usr/include/postgresql-${SLOT} \ |
282 |
--with-locale-dir=/usr/share/postgresql-${SLOT}/locale \ |
283 |
--mandir=/usr/share/postgresql-${SLOT}/man \ |
284 |
--without-docdir \ |
285 |
--enable-depend \ |
286 |
--without-tcl \ |
287 |
--without-perl \ |
288 |
--without-python \ |
289 |
--without-libedit \ |
290 |
$(use_with readline) \ |
291 |
$(use_with kerberos krb5) \ |
292 |
"$(use_enable nls nls "$(wanted_languages)")" \ |
293 |
$(use_with pam) \ |
294 |
$(use_enable pg-intdatetime integer-datetimes ) \ |
295 |
$(use_with ssl openssl) \ |
296 |
$(use_enable threads thread-safety) \ |
297 |
$(use_enable threads thread-safety-force) \ |
298 |
$(use_with zlib) \ |
299 |
$(use_with ldap) \ |
300 |
${myconf} \ |
301 |
|| die "configure failed" |
302 |
|
303 |
emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake failed" |
304 |
|
305 |
cd "${S}/contrib" |
306 |
emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "emake failed" |
307 |
} |
308 |
|
309 |
src_install() { |
310 |
emake DESTDIR="${D}" install || die "emake install failed" |
311 |
insinto /usr/include/postgresql-${SLOT}/postmaster |
312 |
doins "${S}"/src/include/postmaster/*.h |
313 |
dodir /usr/share/postgresql-${SLOT}/man/man1 |
314 |
tar -zxf "${S}/doc/man.tar.gz" -C "${D}"/usr/share/postgresql-${SLOT}/man man1/{ecpg,pg_config}.1 |
315 |
|
316 |
rm "${D}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,ipcclean,pg_controldata,pg_ctl,pg_resetxlog,pg_restore,postgres,postmaster}.1 |
317 |
dodoc README HISTORY doc/{README.*,TODO,bug.template} |
318 |
|
319 |
cd "${S}/contrib" |
320 |
emake DESTDIR="${D}" install || die "emake install failed" |
321 |
cd "${S}" |
322 |
|
323 |
dodir /etc/eselect/postgresql/slots/${SLOT} |
324 |
|
325 |
IDIR="/usr/include/postgresql-${SLOT}" |
326 |
cat > "${D}/etc/eselect/postgresql/slots/${SLOT}/base" <<-__EOF__ |
327 |
postgres_ebuilds="\${postgres_ebuilds} ${PF}" |
328 |
postgres_prefix=/usr/$(get_libdir)/postgresql-${SLOT} |
329 |
postgres_datadir=/usr/share/postgresql-${SLOT} |
330 |
postgres_bindir=/usr/$(get_libdir)/postgresql-${SLOT}/bin |
331 |
postgres_symlinks=( |
332 |
${IDIR} /usr/include/postgresql |
333 |
${IDIR}/libpq-fe.h /usr/include/libpq-fe.h |
334 |
${IDIR}/libpq /usr/include/libpq |
335 |
${IDIR}/postgres_ext.h /usr/include/postgres_ext.h |
336 |
) |
337 |
__EOF__ |
338 |
|
339 |
cat >"${T}/50postgresql-95-${SLOT}" <<-__EOF__ |
340 |
LDPATH=/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir) |
341 |
MANPATH=/usr/share/postgresql-${SLOT}/man |
342 |
__EOF__ |
343 |
doenvd "${T}/50postgresql-95-${SLOT}" |
344 |
|
345 |
keepdir /etc/postgresql-${SLOT} |
346 |
} |
347 |
|
348 |
pkg_postinst() { |
349 |
eselect postgresql update |
350 |
[[ "$(eselect postgresql show)" = "(none)" ]] && eselect postgresql set ${SLOT} |
351 |
elog "If you need a global psqlrc-file, you can place it in '${ROOT}/etc/postgresql-${SLOT}/'." |
352 |
} |
353 |
|
354 |
pkg_postrm() { |
355 |
eselect postgresql update |
356 |
} |