nspostgres is a module for aolserver-4.0, useful in development with the openacs.org system.
Created attachment 12864 [details] nspostgres-4.0_beta1.ebuild added ebuild file.
Created attachment 19725 [details] nspostgres-4.0_beta1 (works with aolserver ebuild) This works with the (with module support) version of bug 17181
Created attachment 42177 [details] nspostgres 4.0 ebuild (works with aolserver-4.0.8.ebuild)
Created attachment 43378 [details] nspostgres 1.5 ebuild revised Changes * Simplified ebuild * Changed IUSE option from 'noopenacs' to the more sensible 'openacs' * Corrected depricated syntax * Corrected license * Changed SRC_URI to mirror:// syntax * Changed arch to ~x86 * General changes to conform to Gentoo style I recommend this ebuild be submitted now to CVS at /net-www/nspostgres -- Travis
Masatomo, please use the aolserver eclass when you get round this ebuild. If you think the eclass needs modify to cope with this package, let me know. Cheers
Ian, I'm modifying nspostgres ebuild to use aolserver.eclass. nspostgres requires postgresql library path to make. So, we need to pass postgresql path to emake function in the eclass. I propose adding a EXTRA_EMAKE flag to the emake function. I'm attaching a patch for that.
Created attachment 47938 [details, diff] adding EXTRA_EMAKE flag
You guys mind if I take this one?
Ah, sorry didn't realise you had responded. I updated the eclass the other day the same thing you suggested, the var is called MAKE_FLAGS.
Created attachment 57860 [details] ebuild using aolserver eclass I took what I could from the existing attachements and created a ebuild that uses the aolserver eclass.
(I don't seem to be getting emails about this bug, so sorry for my late responses) Does nspostgres provide any sample configuration? If so, don't forget to install that into /usr/share/doc/${PF}/sample-config.txt. Otherwise, the ebuild looks good to go.
Someone want to commit this? It's good to go.
The 'ebuild using aolserver eclass' from 2005-05-02 worked great for me when I put it in my overlay.
www-servers/aolserver is package.masked pending removed. WONTFIX.