Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14258 - postgresql-7.3.1's ebuild could use other source files
Summary: postgresql-7.3.1's ebuild could use other source files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Lowest trivial
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-20 16:12 UTC by Alvaro Figueroa (RETIRED)
Modified: 2007-09-22 23:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Figueroa (RETIRED) gentoo-dev 2003-01-20 16:12:59 UTC
(This idea probably works on all other ebuilds of other versions of postgresql)

Postgresql uses as it SRC_URI,
ftp://ftp.us.postgresql.org/source/v${PV}/${P}.tar.gz, but could actually use
other files, so that I wont download files that it doesn't need.

For example, ${P}.tar.gz has in itself the contents of the other 4 .tar.gz's
that are in that same dir: base, docs, opt and tests. The current ebuild *only*
uses files from the base tar file (with the small exception of the doc/src/sgml/
files).

I suggest to change the SRC_URI to point to ${P}-base.tar.gz and to ${P}-doc.tar.gz.

(Yeah, I know, you sabe a bit more than a meg of download... but it seems proper
this way. Actually, if the doc/src/sgml/ files weren't being used by the ebuild,
one would not download other 2.5M (6.5M of total download instead of the current  M)
Comment 1 Andrew Cooks (RETIRED) gentoo-dev 2003-11-19 04:06:28 UTC
bump
Comment 2 Masatomo Nakano (RETIRED) gentoo-dev 2003-11-25 12:09:46 UTC
I'm sorry for being late.

The ebuild uses "opt" tar ball source.
It maybe unnecessary depending on a USE flag.
But I have no time for investigating.

So I decided to change the ebuild to always download 'base' and 'opt' tar balls and 'docs' tar ball when it's set USE="doc" for now.

I just fixed this bug in 7.4-r1

If you have any idea, please reopen this bug and comment.