Summary: | Request for osCommerce ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | robertc96 |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | duncan, fcla.marktplaats, gentoo, hejian.he, matthias.foerste, pavel.a.denisov, rockoo, rossen, telefrancisco, web |
Priority: | Normal | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | sunrise suggested | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
Ebuild for oscommerce
update with webapp ebuild with webapp postinstall webapp file www-apps/oscommerce-2.2.2 oscommerce-2.2.2.060817.ebuild oscommerce-2.2.2.060817-r1.ebuild New ebuild with different dependency handling. New ebuild with different dependency handling. New ebuild for osCommerce 3.0 alpha 5 |
Description
robertc96
2004-09-01 14:08:06 UTC
*** Bug 62554 has been marked as a duplicate of this bug. *** Created attachment 38755 [details]
Ebuild for oscommerce
Feedback please. I am still quite a beginner writeing ebuilds.
First of all, thanks for submitting the ebuild. As requested, here's some feedback: - assuming the ebuild is named oscommerce-2.2.ebuild, MY_P is not needed, and you should define S, not MY_S, so S=${WORKDIR}/${P}ms2; adjust SRC_URI accordingly. If you really want MY_P, define it as ${P}ms2. - RESTRICT="nomirror" should only be used when Gentoo mirrors cannot host a package (legal reasons etc), which I'm assuming isn't true in this case, so drop it. - KEYWORDS should be set to ~x86 until the ebuild is fully tested. See the dev docs for a full explanation - Your DEPENDs should most probably be RDEPENDs. Do not specify RDEPEND=$DEPEND, just leave it out. - src_unpack is not needed, you are essentially performing the default action. Strive to make the ebulid as short/clean as you can. - rm-ing things outside of src_unpack is bad mojo. You should be able to run a function over and over, so if you run your src_install two times in a row, the rm will fail. - The big one: all web applications should now be installed using the webapp-config framework. emerge webapp-config, and read man webapp.eclass and man webapp-config. Read a few ebuilds under www-apps. Feel free to bug me on IRC or email if you have more questions. Thanks for your work, this is a great start! Renat - Created attachment 40594 [details]
update with webapp
Please don't attach tarballs. Instead, attach it as text/plain. Created attachment 40639 [details]
ebuild with webapp
Created attachment 40640 [details]
postinstall webapp file
So.. what to do with this? I've created www-apps/oscommerce under /usr/local, and called the ebuild oscommerce-2.2.ebuild, but issuing 'ebuild oscommerce-2.2.ebuild digest' says: !!! aux_get(): ebuild path for 'www-apps/oscommerce-2.2' not specified Have I named it wrong or put it in the wrong place? I notice this bug is quite old. If you need it testing I'll do so, confirming it works so we can move it into portage. I am sure there are many others that'd find this useful :) Martin You need to use the portage structure (create a main dir, put whatever you like WITH category in it (like www-apps/oscommerce)) and add this maindir to PORTDIR_OVERLAY ind /etc/make.conf. Should look like this: PORTDIR_OVERLAY="/usr/local/overlays/portage/" Created attachment 48213 [details]
www-apps/oscommerce-2.2.2
The ebuild with pkg_postinstall() removed, since the standard from
webapp.eclass is better, IMO.
Hi, I'm currently looking at osCommerce and this ebuild, and I hope to get it into Portage before the end of this week. Best regards, Stu I'd already created the portage overlay ;) There must have been something amiss with the other ebuild or the way I named it, however, the newer one emerged fine :) One point, the install instructions specify catalog/install which looks like it should be oscommerce/install ... I'll go onto test the rest of the install now ... news about this one? would be really cool to have it in the tree... really need this ;) - how 'stable' is it ?? ...good to go to use it via portage overlay ?? Any support on Vhost? Any progress on this? Is this considered an operational, working ebuild? Would really appreciate this one! Created attachment 94943 [details]
oscommerce-2.2.2.060817.ebuild
ebuild for oscommerce-2.2ms2-060817
Created attachment 95534 [details]
oscommerce-2.2.2.060817-r1.ebuild
the r1 add a new USE flag "loyalty-discount" for the contribution "Customer Loyalty Discount Scheme".
by now, the ebuild not only install the oscommerce, but also can optional install contributions.
I will add more oscommerce contributions to it, makes it more great :)
Here's another 'me too' for this package. I'm amazed that this bug is so old and that there has been so little interest in it for so long. Does anyone have any recent news about the status of this ebuild? Is anyone using it in production? FWIW, the current version of osCommerce is 2.2rc1. I've just tried the latest and noticed that the RDEPEND for apache is incorrect. This needs to be www-servers/apache instead of the current net-www/apache. I get this for both the latest and the 2.2.2 version of the ebuild. >>> Source compiled. >>> Test phase [not enabled]: www-apps/oscommerce-2.2.2 >>> Install oscommerce-2.2.2 into /var/tmp/portage/www-apps/oscommerce-2.2.2/image/ category www-apps * ebuild fault: file '/usr/local/overlays/portage/www-apps/oscommerce/files/postinstall-en.txt' not found * Please report this as a bug at http://bugs.gentoo.org/ !!! ERROR: www-apps/oscommerce-2.2.2 failed. Call stack: ebuild.sh, line 1638: Called dyn_install ebuild.sh, line 1083: Called qa_call 'src_install' ebuild.sh, line 44: Called src_install oscommerce-2.2.2.ebuild, line 26: Called webapp_postinst_txt 'en' '/usr/local/overlays/portage/www-apps/oscommerce/files/postinstall-en.txt' webapp.eclass, line 170: Called webapp_checkfileexists '/usr/local/overlays/portage/www-apps/oscommerce/files/postinstall-en.txt' webapp.eclass, line 82: Called die !!! ebuild fault: file '/usr/local/overlays/portage/www-apps/oscommerce/files/postinstall-en.txt' not found !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/www-apps/oscommerce-2.2.2/temp/build.log'. !!! This ebuild is from an overlay: '/usr/local/overlays/portage' Created attachment 145035 [details]
New ebuild with different dependency handling.
Changed the keyword to ~x86 and changed php and apache dependencies.
Created attachment 145037 [details]
New ebuild with different dependency handling.
Changed the keyword to ~x86 and changed php and apache dependencies.
(this is an automated message based on filtering criteria that matched this bug) Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq Created attachment 209420 [details]
New ebuild for osCommerce 3.0 alpha 5
|