Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172138 - www-apps/postfixadmin failed to download + multiple fixes
Summary: www-apps/postfixadmin failed to download + multiple fixes
Status: RESOLVED FIXED
Alias: None
Product: Mirrors
Classification: Unclassified
Component: Server Problem (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gunnar Wrobel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-25 08:34 UTC by Deimos
Modified: 2008-02-20 16:13 UTC (History)
2 users (show)

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


Attachments
postfixadmin-2.1.0-r1.ebuild (postfixadmin-2.1.0-r1.ebuild,2.83 KB, text/plain)
2007-03-25 09:27 UTC, Jakub Moc (RETIRED)
Details
postfixadmin-2.1.0-r1.ebuild.diff (postfixadmin-2.1.0-r1.ebuild.diff,4.27 KB, patch)
2007-03-25 09:28 UTC, Jakub Moc (RETIRED)
Details | Diff
postfixadmin-2.1.0-r1.ebuild (postfixadmin-2.1.0-r1.ebuild,2.83 KB, text/plain)
2007-03-26 07:53 UTC, Jakub Moc (RETIRED)
Details
postfixadmin-2.1.0-r1.ebuild.diff (postfixadmin-2.1.0-r1.ebuild.diff,4.36 KB, patch)
2007-03-26 07:53 UTC, Jakub Moc (RETIRED)
Details | Diff
postfixadmin-2.1.0-r2.ebuild (mysql/postgres support) (postfixadmin-2.1.0-r2.ebuild,3.36 KB, text/plain)
2007-06-09 15:23 UTC, Carmine Paolino
Details
files/postinstall-en-mysql.txt (postinstall-en-mysql.txt,1.82 KB, text/plain)
2007-06-09 15:25 UTC, Carmine Paolino
Details
files/postinstall-en-postgres.txt (postinstall-en-postgres.txt,1.08 KB, text/plain)
2007-06-09 15:26 UTC, Carmine Paolino
Details
postfixadmin-2.1.0-r2.ebuild (mysql/postgres support) (postfixadmin-2.1.0-r2.ebuild,3.34 KB, text/plain)
2007-06-09 19:04 UTC, Carmine Paolino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Deimos 2007-03-25 08:34:56 UTC
~ # ACCEPT_KEYWORDS="~x86" emerge postfixadmin
Calculating dependencies... done!

>>> Emerging (1 of 1) www-apps/postfixadmin-2.1.0 to /
>>> Downloading 'http://high5.net/page7_files/postfixadmin-2.1.0.tgz'
--12:32:09--  http://high5.net/page7_files/postfixadmin-2.1.0.tgz
           => `/usr/portage/distfiles/postfixadmin-2.1.0.tgz'
Resolving high5.net... 82.94.255.44
Connecting to high5.net|82.94.255.44|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
12:32:10 ERROR 404: Not Found.

!!! Couldn't download 'postfixadmin-2.1.0.tgz'. Aborting.


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-25 08:51:55 UTC
Why exactly does this have the (deprecated form in addition) RESTRICT="nomirror"? Plus, the correct SRC_URI is mirror://sourceforge/${PN}/${P}.tgz
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-25 09:27:24 UTC
Created attachment 114326 [details]
postfixadmin-2.1.0-r1.ebuild

Revamped ebuild...

- nuked junk from ebuild header
- remove implicit system dependencies
- use depend.php eclass
- don't force apache on users, this works just fine w/ lighttpd and others
- nuke pointless RESTRICT
- fix SRC_URI
- fix enewuser/enewgroup usage (no need to check whether the user/group already exists, eclass takes care)
- add quoting all over the place
- nuke redundant comments
- etc...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-25 09:28:16 UTC
Created attachment 114327 [details, diff]
postfixadmin-2.1.0-r1.ebuild.diff

A diff for convenience.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-26 07:53:23 UTC
Created attachment 114454 [details]
postfixadmin-2.1.0-r1.ebuild

Damn it, I left a comment there by mistake.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-03-26 07:53:46 UTC
Created attachment 114455 [details, diff]
postfixadmin-2.1.0-r1.ebuild.diff

Ditto.
Comment 6 Carmine Paolino 2007-06-09 15:23:46 UTC
Created attachment 121583 [details]
postfixadmin-2.1.0-r2.ebuild (mysql/postgres support)

New ebuild with mysql/postgres support via USE flag

PS: please change the bug title to something more precise (like "www-apps/postfixadmin +postgres -apache +various fixes)
Comment 7 Carmine Paolino 2007-06-09 15:25:50 UTC
Created attachment 121584 [details]
files/postinstall-en-mysql.txt

put this in files/
(needed by my ebuild)
Comment 8 Carmine Paolino 2007-06-09 15:26:33 UTC
Created attachment 121586 [details]
files/postinstall-en-postgres.txt

put this in files/
(needed by my ebuild)
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-06-09 15:31:06 UTC
You shouldn't depend on dev-db/postgresql in webapps.
Comment 10 Carmine Paolino 2007-06-09 19:01:41 UTC
(In reply to comment #9)
> You shouldn't depend on dev-db/postgresql in webapps.

You are right, i'll fix it.

Comment 11 Carmine Paolino 2007-06-09 19:04:25 UTC
Created attachment 121614 [details]
postfixadmin-2.1.0-r2.ebuild (mysql/postgres support)

Fixed postgres dependancy, thanks Jakub
Comment 12 Benedikt Böhm (RETIRED) gentoo-dev 2008-02-20 16:13:00 UTC
in cvs, thanks