Bug 283149 - www/webtrees21: update to 2.1.22
Summary: www/webtrees21: update to 2.1.22
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Zsolt Udvari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-05 20:16 UTC by Krzysztof
Modified: 2024-12-15 09:06 UTC (History)
1 user (show)

See Also:


Attachments
poudriere testport log (57.17 KB, text/plain)
2024-12-05 20:16 UTC, Krzysztof
no flags Details
update patch (40.02 KB, patch)
2024-12-05 20:18 UTC, Krzysztof
ports: maintainer-approval+
Details | Diff
update patch (40.51 KB, patch)
2024-12-12 11:05 UTC, Krzysztof
ports: maintainer-approval+
Details | Diff
poudriere testport log (57.61 KB, text/plain)
2024-12-12 11:06 UTC, Krzysztof
no flags Details
update patch (42.28 KB, patch)
2024-12-13 22:38 UTC, Krzysztof
ports: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof 2024-12-05 20:16:20 UTC
Created attachment 255646 [details]
poudriere testport log

There is new version of www/webtrees21. I've made a patch which updates the port. Also it was tested with poudriere - logfile is attached
Comment 1 Krzysztof 2024-12-05 20:18:28 UTC
Created attachment 255647 [details]
update patch

patch file attached
Comment 2 Krzysztof 2024-12-12 11:05:26 UTC
Created attachment 255803 [details]
update patch

new version of patch with php flavours and php_ignore
Comment 3 Krzysztof 2024-12-12 11:06:08 UTC
Created attachment 255804 [details]
poudriere testport log

poudriere testport log after applying new patch
Comment 4 Zsolt Udvari freebsd_committer freebsd_triage 2024-12-13 16:04:59 UTC
(Previous comment: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283148#c6)

Sorry, I didn't notice your comment.
If you've php-flavour you don't need set DOCSDIR and WWWDIR to */webtrees21. The webtrees21-php74 will conflict webtrees22-php83 because the two different versions of PHP are in conflict. So you can use simply */webtrees (and doesn't need to set).
If your WWWDIR is */webtrees you don't need use SUB_LIST :)

Another notes:
You should replace PORTVERSION to DISTVERSION (PORTVERSION is derived from DISTVERSION, see https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-versions).
The LICENSE.md should be in the LICENSE_FILE not in the PORTDOCS (see https://docs.freebsd.org/en/books/porters-handbook/book/#licenses-license).

(Do you want create webtrees22 too?)
Comment 5 Krzysztof 2024-12-13 18:46:52 UTC
(In reply to Zsolt Udvari from comment #4)

OK. I understand. I will make a new patch with your suggestions. I will not test with poudriere as they will be cometic changes.

Yes, I will make a webtrees22 port also. I'd like to add support for anothere databases (as webtrees can use postgresql, sqlite (see https://github.com/fisharebest/webtrees/blob/main/README.md#system-requirements) But maybe support for optional databases I will add with next update...
Comment 6 Krzysztof 2024-12-13 22:38:40 UTC
Created attachment 255845 [details]
update patch

next version of update patch. I think it will be last one :-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2024-12-15 09:06:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b534a0f925a580e5f904d727ef1a299694b0581

commit 5b534a0f925a580e5f904d727ef1a299694b0581
Author:     Krzysztof <ports@bsdserwis.com>
AuthorDate: 2024-12-15 08:35:36 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-12-15 09:04:41 +0000

    www/webtrees21: Update to 2.1.22

    Introduce PHP flavors. This branch is targeted to PHP 7.4-8.2 so should
    use IGNORE_WITH_PHP.
    Conflicts webtree20 so doesn't need change DOCSDIR and WWWDIR
    from default and can remove SUB_LIST variable.
    Move LICENSE.md from PORTDOCS to LICENSE_FILE.
    Switch to DISTVERSION.

    Changelog: https://webtrees.net/blog/2024/11/30/new-webtrees-release-2-2-1.html

    PR:             283149
    Approved by:    submitter is maintainer

 www/webtrees21/Makefile             |  15 +-
 www/webtrees21/distinfo             |   6 +-
 www/webtrees21/files/pkg-message.in |  12 +-
 www/webtrees21/pkg-plist            | 401 ++++++++++++++++++++++++++++++++++--
 4 files changed, 403 insertions(+), 31 deletions(-)
Comment 8 Zsolt Udvari freebsd_committer freebsd_triage 2024-12-15 09:06:30 UTC
Committed, thanks!