Bug 281671 - www/tomee: Update to 8.0.16
Summary: www/tomee: Update to 8.0.16
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: Vladimir Druzenko
URL: https://tomee.apache.org/8.0.16/relea...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-23 19:40 UTC by Lars Herschke
Modified: 2024-10-18 23:39 UTC (History)
1 user (show)

See Also:
lhersch: maintainer-feedback-


Attachments
update to 8.0.16 (19.45 KB, patch)
2024-09-23 19:40 UTC, Lars Herschke
no flags Details | Diff
update to 8.0.16 (20.27 KB, patch)
2024-10-18 14:07 UTC, Lars Herschke
no flags Details | Diff
pkg-plist (12.55 KB, text/plain)
2024-10-18 14:09 UTC, Lars Herschke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Herschke 2024-09-23 19:40:35 UTC
Created attachment 253785 [details]
update to 8.0.16

Update from 1.7.4 to 8.0.16
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2024-09-23 19:40:35 UTC
Maintainer informed via mail
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-10 13:05:38 UTC
Lars Herschke, do you not like the patch or does this update break backward compatibility or something else?
There is 9.1.3: https://tomee.apache.org/9.1.3/release-notes.html.
Versions 1.x, 7.x and 8.x are "Discontinued".
Comment 3 Lars Herschke 2024-10-10 14:25:34 UTC
https://tomee.apache.org/comparison.html

"Jakarta EE 9.x introduces breaking changes (relocation from javax.* to jakarta.* namespace).
When in doubt choose Jakarta EE 8 and TomEE 8.x"
Comment 4 Lars Herschke 2024-10-10 14:27:28 UTC
TomEE 8 includes Tomcat 9, which is still in support.
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-17 01:41:58 UTC
(In reply to Lars Herschke from comment #4)
You set flag "lhersch: 	maintainer-feedback-", but you are not the maintainer of this port…
Maintainer is neu@mycontrol.de.

P.S. 14 days maintainer timeout already reached - I can commit it "as is".
P.P.S. Can you please attach pkg-plist.
Comment 6 Lars Herschke 2024-10-17 07:06:02 UTC
Yes, I have set ‘maintainer-feedback -’. The description says ‘Set (-) when feedback is not provided. Add comment. Use for "maintainer timeout"’ I thought I could use this to display the maintainer timeout. If this is not the case, I have used the flag incorrectly in all my PRs so far.


The pkg-plist or the diff to the old one is included in the patch.
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-17 09:49:36 UTC
(In reply to Lars Herschke from comment #6)
> Add comment. Use for "maintainer timeout"

Ok, updating with maintainer timeout.
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-17 09:53:51 UTC
Can you convert:
post-patch:
        @${FIND} ${WRKSRC} -name '*.bat' -delete
        @${FIND} ${WRKSRC} -name '*.exe' -delete
        @${FIND} ${WRKSRC} -name '*.bat.original' -delete
to:
EXTRACT_AFTER_ARGS= --exclude *.bat \
                    --exclude *.bat.original \
                    --exclude *.exe \
                    --no-same-owner --no-same-permissions
and test.
Comment 9 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-17 09:56:30 UTC
Also this:
        ${CP} -R ${WRKSRC}/* ${STAGEDIR}${TOMEE_HOME}
        ${FIND} ${STAGEDIR}${TOMEE_HOME} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
replace with:
        ${CD} ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${TOMEE_HOME}
and test.
Comment 10 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-17 10:32:49 UTC
Can you attach pkg-plist as separate file?

Maybe you want to create ports tomee91 and tomee100 (as a maintainer)?
Comment 11 Lars Herschke 2024-10-18 14:07:22 UTC
Created attachment 254334 [details]
update to 8.0.16

Here is a new patch with the desired changes.
Comment 12 Lars Herschke 2024-10-18 14:09:02 UTC
Created attachment 254335 [details]
pkg-plist

And here is the pkg-plist file separately.
Comment 13 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-18 23:18:53 UTC
(In reply to Lars Herschke from comment #12)
Thanks.

"cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${TOMEE_HOME}" removed +x from bin/*.sh.
I returned old way:
${CP} -R ${WRKSRC}/* ${STAGEDIR}${TOMEE_HOME}
${FIND} ${STAGEDIR}${TOMEE_HOME} -type d -print0 | ${XARGS} -0 ${CHMOD} 755

Also fix warnings from portclippy - variables order only in Makefile.

Build fine on live system 14.1 amd64. Waiting build in poudriere 14.1 amd64.
Comment 14 commit-hook freebsd_committer freebsd_triage 2024-10-18 23:39:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7ba144789a552c7c16d3ef3fa4537f36165a84ed

commit 7ba144789a552c7c16d3ef3fa4537f36165a84ed
Author:     Lars Herschke <lhersch@dssgmbh.de>
AuthorDate: 2024-10-18 23:27:12 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-10-18 23:27:12 +0000

    www/tomee: Update 1.7.4 → 8.0.16

    Update to the latest version with keep backward compatibility:
    "Jakarta EE 9.x introduces breaking changes (relocation from javax.* to
    jakarta.* namespace).
    When in doubt choose Jakarta EE 8 and TomEE 8.x"

    Release notes for with version:
    https://tomee.apache.org/8.0.16/release-notes.html

    Replace "find -delete" with EXTRACT_AFTER_ARGS.
    Fix warnings from portclippy.

    PR:             281671
    Approved by:    neu@mycontrol.de (maintainer, timeout > 14 days)

 www/tomee/Makefile       |  36 +++----
 www/tomee/distinfo       |   6 +-
 www/tomee/files/tomee.in |  31 ++++--
 www/tomee/pkg-plist      | 248 +++++++++++++++++++++++++++--------------------
 4 files changed, 187 insertions(+), 134 deletions(-)
Comment 15 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-18 23:39:53 UTC
Thanks.