Latest version of Request Tracker Requires two new ports for dependencies and update of another Diff review at https://reviews.freebsd.org/D50649
Error when trying to start rt-server.fcgi: $ sudo /usr/local/sbin/rt-server.fcgi --listen /var/run/rt60/rt.sock --nproc 10 [56349] [Tue Jun 3 09:47:43 2025] [critical]: Something went wrong while trying to run RT's standalone web server: Can't locate FCGI/ProcManager.pm in @INC (you may need to install the FCGI::ProcManager module) (@INC entries checked: /usr/local/share/rt60/lib /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.40 /usr/local/lib/perl5/5.40/mach /usr/local/lib/perl5/5.40) at /usr/local/lib/perl5/site_perl/Plack/Util.pm line 26. (/usr/local/lib/perl5/site_perl/RT.pm:409) Something went wrong while trying to run RT's standalone web server: Can't locate FCGI/ProcManager.pm in @INC (you may need to install the FCGI::ProcManager module) (@INC entries checked: /usr/local/share/rt60/lib /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.40 /usr/local/lib/perl5/5.40/mach /usr/local/lib/perl5/5.40) at /usr/local/lib/perl5/site_perl/Plack/Util.pm line 26. I guess I need a dependency on p5-FCGI-ProcManager
Can't get it to run with either mod_fcgid or mod_fastcgi. The process always crashes. I was able to access RT by running rt-server.fcgi in console and using mod_proxy_fcgi in apache
Thanks for your submission. For textproc/p5-Markdown-Render: can you pet portlint -AC? you'll have to reorder build_dep and run_dep, see https://docs.freebsd.org/en/books/porters-handbook/book/#porting-order For devel/p5-Hash-Merge-Extra: can you pet portlint -AC? pkg-descr: contains less than 2 lines, make it longer if possible.(currently 1 line) For www/p5-CSS-Inliner: Can you create a separate PR in bugzilla so that the current maintainer can approve the update? For www/rt60: add devel/p5-Time-Local to CORE_DEPS Bump minimum version for HTML::RewriteAttributes 0.06 (p5-HTML-RewriteAttributes>=0.05) HTTP::Message 6.46 (p5-HTTP-Message>=6.07)
Created attachment 261033 [details] New port www/rt60 New port for latest major version of Request Tracker, 6.0.0 Adds two new ports for dependencies: devel/p5-Hash-Merge-Extra textproc/p5-Markdown-Render Depends on www/p5-CSS-Inliner being updated to latest version
(In reply to Mikael Urankar from comment #3) > For textproc/p5-Markdown-Render: > can you pet portlint -AC? Done > For devel/p5-Hash-Merge-Extra: > can you pet portlint -AC? > pkg-descr: contains less than 2 lines, make it longer if possible.(currently 1 > line) I've got nothing here... The description is the only text from upstream. > For www/p5-CSS-Inliner: > Can you create a separate PR in bugzilla so that the current maintainer can > approve the update? I split the www/p5-CSS-Inliner into a different patch and opened a PR so the maintainer can approve it. > For www/rt60: > add devel/p5-Time-Local to CORE_DEPS It's part of std, added a comment about it in Makefile.cpan > Bump minimum version for > HTML::RewriteAttributes 0.06 (p5-HTML-RewriteAttributes>=0.05) > > HTTP::Message 6.46 (p5-HTTP-Message>=6.07) Done
(In reply to Einar Bjarni Halldórsson from comment #5) I should explain that Time::Local is part of std, so we don't need dependency on p5-Time-Local. I don't know when it was added to standard, but it's in 5.40 and I *think* 5.38. Older versions than that are not in ports any more
(In reply to Einar Bjarni Halldórsson from comment #6) Do you want to maintain devel/Hash-Merge-Extra? I can't put perl@ without their consent.
(In reply to Mikael Urankar from comment #7) Yes, no problem.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c5f6d54b881e58481c5aff8442ba8d3f0f236c53 commit c5f6d54b881e58481c5aff8442ba8d3f0f236c53 Author: Einar Bjarni Halldórsson <einar@isnic.is> AuthorDate: 2025-06-06 11:53:13 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2025-06-13 07:37:27 +0000 textproc/p5-Markdown-Render: Add new port This module can be used, along with a CSS::Parse::* module, to parse CSS data and represent it as a tree of objects. Using a CSS::Adaptor::* module, the CSS data tree can then be transformed into other formats. PR: 287233 textproc/Makefile | 1 + textproc/p5-Markdown-Render/Makefile (new) | 31 +++++++++++++++++++++++++++++ textproc/p5-Markdown-Render/distinfo (new) | 3 +++ textproc/p5-Markdown-Render/pkg-descr (new) | 3 +++ textproc/p5-Markdown-Render/pkg-plist (new) | 3 +++ 5 files changed, 41 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8cb5bc2ef1aebb00d2c9d622be4fba01c5283dae commit 8cb5bc2ef1aebb00d2c9d622be4fba01c5283dae Author: Einar Bjarni Halldórsson <einar@isnic.is> AuthorDate: 2025-06-06 11:53:13 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2025-06-13 07:37:27 +0000 devel/p5-Hash-Merge-Extra: Add new port Collection of extra behaviors for Hash::Merge PR: 287233 devel/Makefile | 1 + devel/p5-Hash-Merge-Extra/Makefile (new) | 20 ++++++++++++++++++++ devel/p5-Hash-Merge-Extra/distinfo (new) | 3 +++ devel/p5-Hash-Merge-Extra/pkg-descr (new) | 1 + devel/p5-Hash-Merge-Extra/pkg-plist (new) | 2 ++ 5 files changed, 27 insertions(+)
(In reply to Einar Bjarni Halldórsson from comment #1) I'm not able to reproduce this issue, do you have a way to repro it?
(In reply to Einar Bjarni Halldórsson from comment #2) Do you have some logs for this issue? It seems to work fine on my server, I only need to change a few files ownership/perm
(In reply to Mikael Urankar from comment #11) This is my apache vhost config, which works with RT 5.0.8: FastCgiServer /usr/local/sbin/rt-server.fcgi -processes 2 -idle-timeout 300 Listen 443 https SSLCertificateFile "/usr/local/etc/ssl/rt.v.nic.is/cert.pem" SSLCertificateKeyFile "/usr/local/etc/ssl/rt.v.nic.is/privkey.pem" SSLCertificateChainFile "/usr/local/etc/ssl/rt.v.nic.is/fullchain.pem" SSLEngine on SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1 -TLSv1.2 SSLHonorCipherOrder off SSLSessionTickets off SSLOpenSSLConfCmd Curves X25519:secp521r1:secp384r1:prime256v1 <VirtualHost *:443> AddDefaultCharset UTF-8 SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 ScriptAlias / /usr/local/sbin/rt-server.fcgi/ DocumentRoot "/usr/local/share/rt60/html" <Location /> Require all granted Options +ExecCGI AddHandler fcgid-script fcgi </Location> </VirtualHost> --- In /var/log/messages I see: <188>1 2025-06-25T08:41:54.044763+00:00 pop-os-rt fcgi- 8309 - - [:warn] [pid 8309] FastCGI: server "/usr/local/sbin/rt-server.fcgi" (pid 8771) terminated by calling exit with status '2' <188>1 2025-06-25T08:41:58.084889+00:00 pop-os-rt fcgi- 8309 - - [:warn] [pid 8309] FastCGI: server "/usr/local/sbin/rt-server.fcgi" restarted (pid 8772) <188>1 2025-06-25T08:41:58.140756+00:00 pop-os-rt fcgi- 8309 - - [:warn] [pid 8309] FastCGI: server "/usr/local/sbin/rt-server.fcgi" (pid 8772) terminated by calling exit with status '2' <188>1 2025-06-25T08:41:58.140800+00:00 pop-os-rt fcgi- 8309 - - [:warn] [pid 8309] FastCGI: server "/usr/local/sbin/rt-server.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds --- I'll try with a default config and see if I can get rid of the errors.
(In reply to Einar Bjarni Halldórsson from comment #13) I have AddHandler fastcgi-script fcgi in my conf (instead of AddHandler fcgid-script fcgi)
Created attachment 261756 [details] v0 Change directory layout to stock version. I have a user who tells me that the current change is causing him problems, revert to stock layout. Fix plist
Created attachment 261757 [details] v1 Remove www/p5-FCGI-ProcManager as it's not needed with MODFASTCGI
(In reply to Mikael Urankar from comment #16) Tried the v1 patch, got these errors in log: <10>1 2025-06-30T09:56:06.626240+00:00 pop-os-rt RT 9652 - - [9652] Cannot create directory '/var/run/rt60/mason_data/obj' (mkdir /var/run/rt60/mason_data/obj: Permission denied at /usr/local/lib/perl5/site_perl/HTML/Mason/Interp.pm line 301. ) for user 'www', group 'www'. Perhaps you need to create or set permissions on your data_dir ('/var/run/rt60/mason_data'). Stack: [/usr/local/lib/perl5/site_perl/HTML/Mason/Interp.pm:318] [/usr/local/lib/perl5/site_perl/HTML/Mason/Interp.pm:222] [/usr/local/lib/perl5/site_perl/HTML/Mason/Interp.pm:169] [/usr/local/lib/perl5/site_perl/HTML/Mason/Interp.pm:155] [/usr/local/lib/perl5/site_perl/Class/Container.pm:329] [/usr/local/lib/perl5/site_perl/Class/Container.pm:53] [/usr/local/lib/perl5/site_perl/HTML/Mason/CGIHandler.pm:38] [/usr/local/lib/perl5/site_perl/HTML/Mason/PSGIHandler.pm:14] [/usr/local/lib/perl5/site_perl/RT/Interface/Web/Handler.pm:114] [/usr/local/lib/perl5/site_perl/RT/Interface/Web/Handler.pm:295] [/usr/local/lib/perl5/site_perl/RT/PlackRunner.pm:108] [/usr/local/lib/perl5/site_perl/RT/PlackRunner.pm:72] [/usr/local/sbin/rt-server.fcgi:153] <188>1 2025-06-30T09:56:06.665219+00:00 pop-os-rt fcgi- 9178 - - [:warn] [pid 9178] FastCGI: server "/usr/local/sbin/rt-server.fcgi" (pid 9652) terminated by calling exit with status '255' --- Fixed by running `chgrp -R www /var/run/rt60/mason_data` . RT 6.0 now runs from apache!
Created attachment 261759 [details] v2 fix pkg-message.in fix /var/run/rt60 owner/grp
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=851560d0bc9e7d1968f04f12d0af9cbcc2f429d2 commit 851560d0bc9e7d1968f04f12d0af9cbcc2f429d2 Author: Einar Bjarni Halldórsson <einar@isnic.is> AuthorDate: 2025-06-06 11:53:13 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2025-06-30 11:18:29 +0000 www/rt60: Add new port RT is a battle-tested issue tracking system which thousands of organizations use for bug tracking, help desk ticketing, customer service, workflow processes, change management, network operations, youth counselling and even more. Organizations around the world have been running smoothly thanks to RT for over 10 years. PR: 287233 www/Makefile | 1 + www/rt60/Makefile (new) | 179 ++ www/rt60/Makefile.cpan (new) | 350 ++++ www/rt60/distinfo (new) | 3 + www/rt60/files/patch-Makefile.in (new) | 91 + www/rt60/files/patch-config.layout (new) | 19 + www/rt60/files/patch-configure (new) | 11 + .../files/patch-sbin_rt-test-dependencies.in (new) | 11 + www/rt60/files/pkg-message.in (new) | 52 + www/rt60/pkg-descr (new) | 5 + www/rt60/pkg-plist (new) | 1938 ++++++++++++++++++++ 11 files changed, 2660 insertions(+)
Thanks!
BTW, do you want to maintain the rt60 port?
(In reply to Mikael Urankar from comment #21) Sure, why not? I'll create a patch for changing maintainer and post it here
Created attachment 261846 [details] Change maintainer
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b10fda481933500414614b78b2476211c26722ce commit b10fda481933500414614b78b2476211c26722ce Author: Einar Bjarni Halldórsson <einar@isnic.is> AuthorDate: 2025-07-03 14:26:08 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2025-07-07 08:45:21 +0000 www/rt60: pass maintainership to Einar Bjarni Halldórsson PR: 287233 www/rt60/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
A commit in branch 2025Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=01bd316c75541ae9deb2abb199fb69a9949ef177 commit 01bd316c75541ae9deb2abb199fb69a9949ef177 Author: Einar Bjarni Halldórsson <einar@isnic.is> AuthorDate: 2025-07-03 14:26:08 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2025-07-07 08:46:51 +0000 www/rt60: pass maintainership to Einar Bjarni Halldórsson PR: 287233 (cherry picked from commit b10fda481933500414614b78b2476211c26722ce) www/rt60/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)