Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251584 - www-apps/ledgersmb - brings ERP/accounting software to the small and midsize businesses
Summary: www-apps/ledgersmb - brings ERP/accounting software to the small and midsize ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL: http://ledgersmb.org/
Whiteboard:
Keywords: EBUILD
: 251658 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-19 07:19 UTC by turtle
Modified: 2014-09-20 19:15 UTC (History)
4 users (show)

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


Attachments
ebuild fo ledgersmb 1.2.18 (ledgersmb-1.2.18.ebuild,2.71 KB, text/plain)
2010-07-08 08:32 UTC, turtle
Details
ledgersmb 1.4 ebuild (ledgersmb-9999.ebuild,7.48 KB, text/plain)
2013-10-21 16:07 UTC, turtle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description turtle 2008-12-19 07:19:07 UTC
I have been using the web-application ledgersmb for about 6 months I have gotten it working on x86-64 x86 and ppc servers from the build in the webapps-experimental overlay.
I find this an very usefull mature and activly developed web application.
There are several users on the fourms whom are using ledgersmb and having it in portage will help the Ledgersmb project get more exposure.
Most major linux distros have this in there main repositories.


Reproducible: Always

Steps to Reproduce:
1.Install ledgersmb
2.Follow the instructions
3.Do accounting 



Expected Results:  
It would be cool if this were in portage.

I would be willing to help maintain the ebuild.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-22 18:00:18 UTC
*** Bug 251658 has been marked as a duplicate of this bug. ***
Comment 2 Joseph 2010-07-05 18:45:00 UTC
I'll send it.
It would be very useful application, I have written howto:
http://forums.gentoo.org/viewtopic.php?p=6340742#6340742

Turtle has a howto installation instruction as well, so all we need to is to combine the two together, making sure all c-pan dependency are installed via ebuild and configured. 
Comment 3 turtle 2010-07-08 08:32:13 UTC
Created attachment 237995 [details]
ebuild fo ledgersmb 1.2.18

Here is a ebuild for ledgersmb 1.2.18, however it depends on a g-cpan overlay and a g-cpan modules being installed. I dont know if a ebuild can call g-cpan install the packages or not.
Ledgersmb should be slotted since upgrades usually require database work.
Slotting is not done yet as i am not sure how it works.
Comment 4 A. Person 2013-01-21 19:15:37 UTC
Some problems I found with the latest ebuild here when used to install ledgerdmb-1.4-b2:

The following dependencies are missing from the ebuild but are in portage:

dev-perl/CGI-Simple
dev-perl/dev-perl/Config-IniFiles
dev-perl/Number-Format
dev-perl/DateTime-Format-Strptime
dev-perl/Contextual-Return

The perl-gcpan dependencies listed in the ebuild are available in portage so they should be changed to dev-perl.  The only exception is dev-perl/Config-Std which is in the webapps-experimental overlay but it has a dependency on dev-perl/version which doesn't exist.  I simply removed the dev-perl/version dependency from the Config-Std ebuild in a local overlay.
Comment 5 step 2013-04-21 09:31:08 UTC
Time to get ready for a 5 year anniversary on this one. :) 

LedgerSMB is at version 1.3.28, portage shows 1.2.21 and ~1.2.8
Comment 6 Joseph 2013-04-21 14:55:42 UTC
I'm still running sql-ledger as I wasn't able to find enough help on ledgersmb forum to transfer/port all the accounting to ledgersmb.
How many active ledgersmb users there are in Gentoo?
Comment 7 Leho Kraav (:macmaN @lkraav) 2013-10-20 10:25:20 UTC
I'm working with one of the LSMB devs getting my SL install converted. Perhaps I can bring some more life to this ebuild then.
Comment 8 turtle 2013-10-21 15:57:02 UTC
I have been working on an ebuild.
Here are the challenges I have run into:

Many of the Perl dependencies are not in portage. 
There are two possible ways to fix this .
1) Add them to the tree (or an overlay)(as more bugs that will block this bug)
2) Allow the ebuild to run g-cpan. (likely another bug soon)

The ebuild needs to determine if apache 2.2 or 2.4 is installed and install a default httpd.conf based on that. I have worked on that, I am not sure if that is something that should be in webapp-config. (part done)

The ebuild needs to check that apache was built with correct modules like alias and rewrite. (not done)

The ebuild should be able to slot the 1.2, 1.3 and 1.4 versions of ledgersmb as all are currently in use. Many users are still on 1.2. (not done)

The ebuild should be able install latest svn build by using the 9999 name. (done)

Ill post the unfinished ebuild here in a bit.
Comment 9 turtle 2013-10-21 16:07:12 UTC
Created attachment 361540 [details]
ledgersmb 1.4 ebuild

Here is a unfinished ebuild for ledgersmb 1.4. It can be used with the --onlydeps option to bring in all the deps for a 1.2 - 1.4 upgrade.
Cheers
Comment 10 Kai Huuhko 2014-09-20 19:15:29 UTC
(In reply to turtle from comment #9)
> Created attachment 361540 [details]
> ledgersmb 1.4 ebuild
> 
> Here is a unfinished ebuild for ledgersmb 1.4. It can be used with the
> --onlydeps option to bring in all the deps for a 1.2 - 1.4 upgrade.
> Cheers

Where can I find the apache config file required by this ebuild?