Bug 262905 - New Port: FrontAccounting v2.4
Summary: New Port: FrontAccounting v2.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL: https://www.frontaccounting.com/
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-29 14:40 UTC by James Elstone
Modified: 2022-12-30 10:45 UTC (History)
5 users (show)

See Also:


Attachments
FrontAccounting v2.4 - Initial Port (37.98 KB, patch)
2022-03-29 14:40 UTC, James Elstone
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Elstone 2022-03-29 14:40:31 UTC
Created attachment 232799 [details]
FrontAccounting v2.4 - Initial Port

Initial port of the FrontAccounting version 2.4.X branch. 

This is version 2.4.11 with the required session.inc patch applied to allow sessions to work correctly. Session storage has been set to be the ./tmp folder within the installation target, but is user editable.

As the upgrade from FrontAccounting v2.3 can be a non-trivial matter, this has been created as a new port. FrontAccounting v2.3.X is depreciated upstream, as well as PHP v7.4 within the FreeBSD ports tree now.

This port specifically targets PHP version 8.0 only; Upstream source only supports up to PHP version 8.0.x at present.
Comment 1 Mikael Urankar freebsd_committer freebsd_triage 2022-04-01 11:17:31 UTC
PORTNAME should be frontaccounting
and
PKGNAMESUFFIX=  24

portlint -AC complains
FATAL: Makefile: [9]: use a tab (not space) after a variable name
FATAL: Makefile: [10]: use a tab (not space) after a variable name

/usr/local is hardcoded in files/pkg-message.in

There are extra whitespace in "USES+= *", PORTDOCSARGS= and the do-install target.

We already have frontaccounting 2.3, why not updating it?
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-12-30 00:39:23 UTC
Triage: 

* the patch-ready keyword is deprecated

* the dashboard shows this ports bug as ready to be taken by a committer.
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2022-12-30 10:45:29 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-12-30 10:45:54 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1b2c5cde6821d4e047be24c2c4dbbe55966a16aa

commit 1b2c5cde6821d4e047be24c2c4dbbe55966a16aa
Author:     James Elstone <james@elstone.net>
AuthorDate: 2022-12-30 10:44:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-30 10:45:36 +0000

    finance/frontaccounting24: New port: Simple, powerful system for the entire ERP chain

    PR:             262905

 finance/Makefile                                   |   1 +
 finance/frontaccounting24/Makefile (new)           |  68 ++
 finance/frontaccounting24/distinfo (new)           |   3 +
 .../files/patch-includes_session.inc (new)         |  23 +
 .../frontaccounting24/files/pkg-deinstall.in (new) |  16 +
 .../frontaccounting24/files/pkg-message.in (new)   |  32 +
 .../files/xpatch-includes_session.inc (new)        |  11 +
 finance/frontaccounting24/pkg-descr (new)          |  17 +
 finance/frontaccounting24/pkg-plist (new)          | 721 +++++++++++++++++++++
 9 files changed, 892 insertions(+)