Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216156 - Bump dev-perl/DBD-Pg
Summary: Bump dev-perl/DBD-Pg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 09:45 UTC by Michele Beltrame
Modified: 2009-01-20 09:55 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
DBD::Pg 2.5.0 ebuild (DBD-Pg-2.5.0.ebuild,742 bytes, text/plain)
2008-04-04 09:46 UTC, Michele Beltrame
Details
DBD::Pg 2.8.1 ebuild (DBD-Pg-2.8.1.ebuild,761 bytes, text/plain)
2008-06-18 10:32 UTC, Michele Beltrame
Details
DBD-Pg 2.8.1 (DBD-Pg-2.8.1.ebuild,756 bytes, text/plain)
2008-06-18 12:37 UTC, Michele Beltrame
Details
DBD::Pg 2.8.6 ebuild (DBD-Pg-2.8.6.ebuild,756 bytes, text/plain)
2008-07-23 08:16 UTC, Michele Beltrame
Details
DBD-Pg 2.9.0 (DBD-Pg-2.9.0.ebuild,824 bytes, text/plain)
2008-08-13 14:42 UTC, Michele Beltrame
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Beltrame 2008-04-04 09:45:22 UTC
Please bump this. The 1.49 version in portage is 2-years old.

I'm attaching an ebuild here, which I'm using on amd64 and works fine.

Thanks!
Comment 1 Michele Beltrame 2008-04-04 09:46:14 UTC
Created attachment 148573 [details]
DBD::Pg 2.5.0 ebuild
Comment 2 Brett Edgar 2008-06-11 02:34:36 UTC
DBD-Pg 2.8.0 is the latest as of 01 June 2008...any reason Gentoo doesn't have it?
Comment 3 Michele Beltrame 2008-06-18 10:32:17 UTC
Created attachment 157417 [details]
DBD::Pg 2.8.1 ebuild
Comment 4 Michele Beltrame 2008-06-18 10:33:19 UTC
Attached ebuild for version 2.8.1. It also fixes DEPEND in order to match new postgresql ebuild scheme.
Comment 5 Michele Beltrame 2008-06-18 12:37:50 UTC
Created attachment 157431 [details]
DBD-Pg 2.8.1

Fix a bug in previously sumbitted ebuild.
Comment 6 Michele Beltrame 2008-07-23 08:16:21 UTC
Created attachment 161170 [details]
DBD::Pg 2.8.6 ebuild

Here's the new DBD::Pg bump.

Since it doesn't seem it'll get into Portage anytime soon as this package looks pretty unmaintained to me, I just wanted to let you know that I'm maintaining it in the perl-experimental overlay.
So, you just need to install layman and add that overlay to keep yourself up-to-date with this module, hoping the version in Portage will catch up soon or later..
Comment 7 Torsten Veller (RETIRED) gentoo-dev 2008-07-23 10:16:40 UTC
(In reply to comment #6)
> Created an attachment (id=161170) [edit]
> DBD::Pg 2.8.6 ebuild
> 
> Here's the new DBD::Pg bump.
> 
> Since it doesn't seem it'll get into Portage anytime soon as this package looks
> pretty unmaintained to me, I just wanted to let you know that I'm maintaining
> it in the perl-experimental overlay.
> So, you just need to install layman and add that overlay to keep yourself
> up-to-date with this module, hoping the version in Portage will catch up soon
> or later..

1)
Are these pathes correct?
| # env variables for compilation:
| export POSTGRES_INCLUDE=/usr/include/postgresql/
| export POSTGRES_LIB=/usr/lib/postgresql/

I guess you need at least:
| inherit multilib
| export POSTGRES_LIB=/usr/$(get_libdir)/postgresql/
but looking at postgresql-base it probably is not correct: it uses 
something like /usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)

2)
From Makefile.PL:
| Note that if you have
| compiled PostgreSQL with SSL support, you must define the POSTGRES_LIB
| environment variable and add "-lssl" to it, like this:
|
| export POSTGRES_LIB="/usr/local/pgsql/lib -lssl"

Is there anything to do?
Comment 8 Michele Beltrame 2008-08-13 14:42:16 UTC
Created attachment 162831 [details]
DBD-Pg 2.9.0

I don't know that much about Postgres unfortunately, so someone else will need to step in to fix the ebuild as per Torsten Veller comments.

In the meanwhile I'm attaching 2.9.0. I commented out the INCLUDE variable definition, it seems to pick up the latest version correctly (well, I just have one version installed anyhow).
Comment 9 Torsten Veller (RETIRED) gentoo-dev 2008-09-24 07:34:13 UTC
@postgresql:
Please help with these ebuilds.
Comment 10 Brett Edgar 2008-09-24 14:51:10 UTC
(In reply to comment #7)
> I guess you need at least:
> | inherit multilib
> | export POSTGRES_LIB=/usr/$(get_libdir)/postgresql/
> but looking at postgresql-base it probably is not correct: it uses 
> something like /usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)

Perhaps I'm wrong here, but I don't see anyway to determine the SLOT of another package (in this case, dev-db/postgresql-base) from an ebuild.  Maybe one of the more experienced devs can comment on that?  If we can't get the SLOT of dev-db/postgresql-base from this ebuild, then we can't determine the correct POSTGRES_LIB environment variable.
Comment 11 Sander Toonen 2008-10-03 12:14:12 UTC
(In reply to comment #10)
> Perhaps I'm wrong here, but I don't see anyway to determine the SLOT of another
> package (in this case, dev-db/postgresql-base) from an ebuild.  Maybe one of
> the more experienced devs can comment on that?

I am no experienced devver, nor do i know whether this is an allowed solution but i solved it locally by changing the SLOT definition to:

SLOT=$(eselect postgresql show)


Comment 12 Torsten Veller (RETIRED) gentoo-dev 2009-01-20 09:55:21 UTC
*DBD-Pg-2.11.8 (16 Jan 2009)

  16 Jan 2009; Robin H. Johnson <robbat2@gentoo.org> +DBD-Pg-2.11.8.ebuild:
  Version bump, passes on 8.3 split and 8.2 non-split for me.