Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62553 - Request for osCommerce ebuild
Summary: Request for osCommerce ebuild
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise suggested
Keywords: EBUILD
: 62554 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-01 14:08 UTC by robertc96
Modified: 2018-06-07 18:24 UTC (History)
10 users (show)

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


Attachments
Ebuild for oscommerce (oscommerce-2.2_rc2.ebuild,1.38 KB, text/plain)
2004-09-02 06:37 UTC, REdOG
Details
update with webapp (oscommerce.tar.bz2,1.47 KB, application/x-bzip)
2004-09-28 03:33 UTC, INODE64 Sistemas
Details
ebuild with webapp (oscommerce-2.2.2.ebuild,921 bytes, text/plain)
2004-09-28 09:57 UTC, INODE64 Sistemas
Details
postinstall webapp file (postinstall-en.txt,850 bytes, text/plain)
2004-09-28 09:57 UTC, INODE64 Sistemas
Details
www-apps/oscommerce-2.2.2 (oscommerce-2.2.2.ebuild,773 bytes, text/plain)
2005-01-11 08:54 UTC, Christoph Brill (egore) (RESIGNED)
Details
oscommerce-2.2.2.060817.ebuild (oscommerce-2.2.2.060817.ebuild,799 bytes, text/plain)
2006-08-23 08:30 UTC, He Jian
Details
oscommerce-2.2.2.060817-r1.ebuild (oscommerce-2.2.2.060817-r1.ebuild,1.02 KB, text/plain)
2006-08-31 01:38 UTC, He Jian
Details
New ebuild with different dependency handling. (oscommerce-2.2.2.060817-r2.ebuild,1.01 KB, text/plain)
2008-03-01 18:21 UTC, Jeff Garlough
Details
New ebuild with different dependency handling. (oscommerce-2.2.2.060817-r2.ebuild,1.01 KB, text/plain)
2008-03-01 18:33 UTC, Jeff Garlough
Details
New ebuild for osCommerce 3.0 alpha 5 (oscommerce-3.0_alpha5.ebuild,955 bytes, text/plain)
2009-11-06 14:38 UTC, Pavel Denisov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description robertc96 2004-09-01 14:08:06 UTC
Requesting an ebuild for osCommerce.  osCommerce is an open source online shop e-commerce solution.   The package's website is located here http://www.oscommerce.com/
I would try to create the ebuild myself but it is beyond my expertise at the moment. Thank You.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-09-01 14:13:54 UTC
*** Bug 62554 has been marked as a duplicate of this bug. ***
Comment 2 REdOG 2004-09-02 06:37:24 UTC
Created attachment 38755 [details]
Ebuild for oscommerce

Feedback please. I am still quite a beginner writeing ebuilds.
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2004-09-02 08:17:06 UTC
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

- 
Comment 4 INODE64 Sistemas 2004-09-28 03:33:11 UTC
Created attachment 40594 [details]
update with webapp
Comment 5 Renat Lumpau (RETIRED) gentoo-dev 2004-09-28 09:19:31 UTC
Please don't attach tarballs. Instead, attach it as text/plain.
Comment 6 INODE64 Sistemas 2004-09-28 09:57:01 UTC
Created attachment 40639 [details]
ebuild with webapp
Comment 7 INODE64 Sistemas 2004-09-28 09:57:32 UTC
Created attachment 40640 [details]
postinstall webapp file
Comment 8 Martin Allchin 2005-01-11 08:31:14 UTC
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
Comment 9 Christoph Brill (egore) (RESIGNED) 2005-01-11 08:46:22 UTC
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/"
Comment 10 Christoph Brill (egore) (RESIGNED) 2005-01-11 08:54:11 UTC
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.
Comment 11 Stuart Herbert (RETIRED) gentoo-dev 2005-01-11 11:26:40 UTC
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
Comment 12 Martin Allchin 2005-01-12 08:49:20 UTC
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 ...
Comment 13 Michael Imhof (RETIRED) gentoo-dev 2005-05-30 11:53:42 UTC
news about this one?
would be really cool to have it in the tree...
Comment 14 Robert R. Richter 2005-07-30 02:31:39 UTC
really need this ;) - how 'stable' is it ?? ...good to go to use it via portage
overlay ??
Comment 15 Chan Min Wai 2005-08-05 23:40:56 UTC
Any support on Vhost?
Comment 16 fcla.marktplaats 2006-05-06 12:50:23 UTC
Any progress on this? 

Is this considered an operational, working ebuild?

Would really appreciate this one!
Comment 17 He Jian 2006-08-23 08:30:36 UTC
Created attachment 94943 [details]
oscommerce-2.2.2.060817.ebuild

ebuild for oscommerce-2.2ms2-060817
Comment 18 He Jian 2006-08-31 01:38:48 UTC
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 :)
Comment 19 Kevin 2007-07-09 14:36:42 UTC
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.
Comment 20 Richard Scott 2007-09-23 00:04:44 UTC
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.
Comment 21 Dereck 2007-11-07 20:22:50 UTC
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'
Comment 22 Jeff Garlough 2008-03-01 18:21:48 UTC
Created attachment 145035 [details]
New ebuild with different dependency handling.

Changed the keyword to ~x86 and changed php and apache dependencies.
Comment 23 Jeff Garlough 2008-03-01 18:33:05 UTC
Created attachment 145037 [details]
New ebuild with different dependency handling.

Changed the keyword to ~x86 and changed php and apache dependencies.
Comment 24 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-13 20:51:42 UTC
(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
Comment 25 Pavel Denisov 2009-11-06 14:38:25 UTC
Created attachment 209420 [details]
New ebuild for osCommerce 3.0 alpha 5