~ # 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
Why exactly does this have the (deprecated form in addition) RESTRICT="nomirror"? Plus, the correct SRC_URI is mirror://sourceforge/${PN}/${P}.tgz
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...
Created attachment 114327 [details, diff] postfixadmin-2.1.0-r1.ebuild.diff A diff for convenience.
Created attachment 114454 [details] postfixadmin-2.1.0-r1.ebuild Damn it, I left a comment there by mistake.
Created attachment 114455 [details, diff] postfixadmin-2.1.0-r1.ebuild.diff Ditto.
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)
Created attachment 121584 [details] files/postinstall-en-mysql.txt put this in files/ (needed by my ebuild)
Created attachment 121586 [details] files/postinstall-en-postgres.txt put this in files/ (needed by my ebuild)
You shouldn't depend on dev-db/postgresql in webapps.
(In reply to comment #9) > You shouldn't depend on dev-db/postgresql in webapps. You are right, i'll fix it.
Created attachment 121614 [details] postfixadmin-2.1.0-r2.ebuild (mysql/postgres support) Fixed postgres dependancy, thanks Jakub
in cvs, thanks