diff options
| author | Mikael Urankar <mikael@FreeBSD.org> | 2026-10-30 09:24:47 +0000 |
|---|---|---|
| committer | Mikael Urankar <mikael@FreeBSD.org> | 2026-11-04 13:40:01 +0000 |
| commit | aff13232a3524d975450771f7bd33d4ce8563d22 (patch) | |
| tree | 7b477e9eff639bc77e7922f85fba273d899bfc28 | |
| parent | 56f36074a7ff8bf5d0a6c595107e86df0a7e5c1f (diff) | |
www/rt50: Update to 5.0.11
Add Multi-factor authentication option, ON by default.
PR: 300302
(cherry picked from commit e9463fef84b0f7dcf8eed6ee05016607d425229c)
| -rw-r--r-- | www/rt50/Makefile | 10 | ||||
| -rw-r--r-- | www/rt50/Makefile.cpan | 37 | ||||
| -rw-r--r-- | www/rt50/distinfo | 6 | ||||
| -rw-r--r-- | www/rt50/files/pkg-message.in | 13 | ||||
| -rw-r--r-- | www/rt50/pkg-plist | 19 |
5 files changed, 66 insertions, 19 deletions
diff --git a/www/rt50/Makefile b/www/rt50/Makefile index 106edabc1aca..6642ebbd37df 100644 --- a/www/rt50/Makefile +++ b/www/rt50/Makefile @@ -1,5 +1,5 @@ PORTNAME= rt -DISTVERSION= 5.0.10 +DISTVERSION= 5.0.11 CATEGORIES= www MASTER_SITES= http://download.bestpractical.com/pub/rt/release/ PKGNAMESUFFIX= 50 @@ -33,13 +33,13 @@ NO_ARCH= yes # mentioned in the docs is currently unsupported in the ports, but see # http://www.infracaninophile.co.uk/articles/sphinxse.html -OPTIONS_DEFINE= DEVELOPER EXTERNALAUTH GD GPG GRAPHVIZ SMIME DOCS +OPTIONS_DEFINE= DEVELOPER EXTERNALAUTH GD GPG GRAPHVIZ MFA SMIME DOCS OPTIONS_SINGLE= DB OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE OPTIONS_RADIO= WEB OPTIONS_RADIO_WEB= AP_MODFASTCGI AP_MODPERL LIGHTTPD SPAWN_FCGI -OPTIONS_DEFAULT= AP_MODFASTCGI EXTERNALAUTH GD GPG MYSQL +OPTIONS_DEFAULT= AP_MODFASTCGI EXTERNALAUTH GD GPG MFA MYSQL USERS?= www GROUPS?= rt www @@ -112,6 +112,10 @@ GD_DESC= Enable GD Graphs and Charts GD_RUN_DEPENDS= ${GD_DEPS} GD_CONFIGURE_ENABLE= gd +MFA_DESC= enable TOTP multi-factor authentication support +MFA_RUN_DEPENDS= ${MFA_DEPS} +MFA_CONFIGURE_ENABLE= mfa + BUILD_DEPENDS+= ${RUN_DEPENDS} DB_DBA_PASSWORD?= diff --git a/www/rt50/Makefile.cpan b/www/rt50/Makefile.cpan index 7a6d4e8f30e5..24aab79a52f2 100644 --- a/www/rt50/Makefile.cpan +++ b/www/rt50/Makefile.cpan @@ -43,11 +43,11 @@ ### HTML::FormatExternal ### HTML::FormatText::WithLinks 0.14 ### HTML::FormatText::WithLinks::AndTables 0.06 -### HTML::Gumbo +### HTML::Gumbo 0.19 ### HTML::Mason 1.43 ### HTML::Mason::PSGIHandler 0.52 ### HTML::Quoted -### HTML::RewriteAttributes 0.05 +### HTML::RewriteAttributes 0.06 ### HTML::Scrubber 0.08 ### HTTP::Message 6.07 ### IPC::Run3 @@ -61,7 +61,7 @@ ### LWP::Simple ### Mail::Header 2.12 ### Mail::Mailer 1.57 -### MIME::Entity 5.504 +### MIME::Entity 5.522 ### MIME::Types ### Module::Refresh 0.03 ### Module::Runtime @@ -70,7 +70,7 @@ ### Net::IP ### Parallel::ForkManager ### Plack 1.0002 -### Plack::Handler::Starlet +### Starlet 0.33 ### Regexp::Common ### Regexp::Common::net::CIDR ### Regexp::IPv6 @@ -126,12 +126,12 @@ CORE_DEPS= p5-Apache-Session>=1.53:www/p5-Apache-Session \ p5-HTML-FormatExternal>0:textproc/p5-HTML-FormatExternal \ p5-HTML-FormatText-WithLinks-AndTables>0:textproc/p5-HTML-FormatText-WithLinks-AndTables \ p5-HTML-FormatText-WithLinks>=0.14:textproc/p5-HTML-FormatText-WithLinks \ - p5-HTML-Gumbo>0:www/p5-HTML-Gumbo \ + p5-HTML-Gumbo>=0.19:www/p5-HTML-Gumbo \ p5-HTML-Mason-PSGIHandler>=0.52:www/p5-HTML-Mason-PSGIHandler \ p5-HTML-Mason>=1.43:www/p5-HTML-Mason \ p5-HTML-Parser>0:www/p5-HTML-Parser \ p5-HTML-Quoted>0:textproc/p5-HTML-Quoted \ - p5-HTML-RewriteAttributes>=0.05:textproc/p5-HTML-RewriteAttributes \ + p5-HTML-RewriteAttributes>=0.06:textproc/p5-HTML-RewriteAttributes \ p5-HTML-Scrubber>=0.08:www/p5-HTML-Scrubber \ p5-HTTP-Message>=6.07:www/p5-HTTP-Message \ p5-IPC-Run3>0:devel/p5-IPC-Run3 \ @@ -152,8 +152,8 @@ CORE_DEPS= p5-Apache-Session>=1.53:www/p5-Apache-Session \ p5-Net-IP>=0:net-mgmt/p5-Net-IP \ p5-Parallel-ForkManager>=0:devel/p5-Parallel-ForkManager \ p5-Plack>=1.0002:www/p5-Plack \ - p5-Pod-Parser>=0:textproc/p5-Pod-Parser \ - p5-Starlet>0:www/p5-Starlet \ + p5-Pod-Parser>=0:textproc/p5-Pod-Parser \ + p5-Starlet>=0.33:www/p5-Starlet \ p5-Regexp-Common-net-CIDR>0:textproc/p5-Regexp-Common-net-CIDR \ p5-Regexp-Common>0:textproc/p5-Regexp-Common \ p5-Regexp-IPv6>0:textproc/p5-Regexp-IPv6 \ @@ -213,7 +213,7 @@ REST2_DEPS= p5-Module-Runtime>0:devel/p5-Module-Runtime \ p5-Sub-Exporter>0:devel/p5-Sub-Exporter \ p5-Web-Machine>=0.12:www/p5-Web-Machine \ p5-Module-Path>0:devel/p5-Module-Path \ - p5-Path-Dispatcher>0:devel/p5-Path-Dispatcher + p5-Path-Dispatcher>=1.07:devel/p5-Path-Dispatcher ### --- DEVELOPER --- @@ -285,9 +285,9 @@ MODPERL2_DEPS= p5-libapreq2>0:www/p5-libapreq2 \ MYSQL_DEPS= ${DBD_MYSQL} ### --- PGSQL --- -### DBD::Pg 1.43 +### DBD::Pg 3.008 -PGSQL_DEPS= p5-DBD-Pg>=1.43:databases/p5-DBD-Pg +PGSQL_DEPS= p5-DBD-Pg>=3.008:databases/p5-DBD-Pg ### --- SQLITE --- ### DBD::SQLite 1.72 @@ -296,11 +296,11 @@ SQLITE_DEPS= p5-DBD-SQLite>=1.72:databases/p5-DBD-SQLite ### --- GPG --- ### File::Which -### GnuPG::Interface 1.00 +### GnuPG::Interface 1.02 ### PerlIO::eol GPG_DEPS= p5-File-Which>0:sysutils/p5-File-Which \ - p5-GnuPG-Interface>=1.00:security/p5-GnuPG-Interface \ + p5-GnuPG-Interface>=1.02:security/p5-GnuPG-Interface \ p5-PerlIO-eol>0:devel/p5-PerlIO-eol ### --- SMIME--- @@ -328,6 +328,17 @@ GD_DEPS= p5-GD>0:graphics/p5-GD \ p5-GD-Graph>=1.56:graphics/p5-GD-Graph \ p5-GD-TextUtil>0:graphics/p5-GD-TextUtil +### -- MFA -- +# Auth::GoogleAuth 1.09 +# Crypt::URandom +# CryptX +# Text::QRCode + +MFA_DEPS= p5-Auth-GoogleAuth>=1.09:security/p5-Auth-GoogleAuth \ + p5-Crypt-URandom>0:security/p5-Crypt-URandom \ + p5-CryptX>0:security/p5-CryptX \ + p5-Text-QRCode>0:textproc/p5-Text-QRCode + ### --- EXTERNALAUTH --- # XXX p5-Net-LDAP-Server-Test>0:net/p5-Net-LDAP-Server-Test DEVELOPER diff --git a/www/rt50/distinfo b/www/rt50/distinfo index ab205202864e..5d4c58ad5e04 100644 --- a/www/rt50/distinfo +++ b/www/rt50/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1779350245 -SHA256 (rt-5.0.10.tar.gz) = 508b8d401273da4fe1c47e642ecb6017939ef560e9cfdfeb8d18ef41e4dbc5e6 -SIZE (rt-5.0.10.tar.gz) = 20421256 +TIMESTAMP = 1793345870 +SHA256 (rt-5.0.11.tar.gz) = f8e9e631938acb37f9cb0189ae63c22009ddd1519041eae79cc55ac337273476 +SIZE (rt-5.0.11.tar.gz) = 20709743 diff --git a/www/rt50/files/pkg-message.in b/www/rt50/files/pkg-message.in index 986c9f9382ea..19805bbba797 100644 --- a/www/rt50/files/pkg-message.in +++ b/www/rt50/files/pkg-message.in @@ -49,4 +49,17 @@ To upgrade your database schema, preserving ticket history: and answer the prompts. EOM } +{ type: upgrade + maximum_version: "5.0.11" + message: <<EOM +A new configuration option $SecretKey has been added. This key is used +as keying material for cryptographic operations such as MFA-reset tokens +and TOTP secret encryption. When empty (the default), RT falls back to +$DatabasePassword. We recommend setting this to a long, random value +in RT_SiteConfig.pm so that application-level crypto is not coupled to +the database credential. Set it before any user enrolls in MFA: changing it +later (or changing $DatabasePassword while it is empty) makes stored TOTP +secrets undecryptable, so all enrolled users have to reset MFA and re-enroll. +EOM +} ] diff --git a/www/rt50/pkg-plist b/www/rt50/pkg-plist index 8a823111e9c8..a84e96d798b6 100644 --- a/www/rt50/pkg-plist +++ b/www/rt50/pkg-plist @@ -178,6 +178,7 @@ bin/rt-run-scheduled-processes %%SITE_PERL%%/RT/Lifecycle/Ticket.pm %%SITE_PERL%%/RT/Link.pm %%SITE_PERL%%/RT/Links.pm +%%SITE_PERL%%/RT/MFA/TOTP.pm %%SITE_PERL%%/RT/Migrate.pm %%SITE_PERL%%/RT/Migrate/Importer.pm %%SITE_PERL%%/RT/Migrate/Importer/File.pm @@ -397,6 +398,7 @@ sbin/rt-validator sbin/standalone_httpd @group wheel %%PORTDOCS%%%%DOCSDIR%%/GDPR.pod +%%PORTDOCS%%%%DOCSDIR%%/README.md %%PORTDOCS%%%%DOCSDIR%%/UPGRADING-2.0 %%PORTDOCS%%%%DOCSDIR%%/UPGRADING-3.0 %%PORTDOCS%%%%DOCSDIR%%/UPGRADING-3.2 @@ -756,6 +758,10 @@ sbin/standalone_httpd %%DOCSDIR%%/upgrade/4.5.7/schema.SQLite %%DOCSDIR%%/upgrade/4.5.7/schema.mysql %%DOCSDIR%%/upgrade/4.5.8/content +%%DOCSDIR%%/upgrade/5.0.11/content +%%DOCSDIR%%/upgrade/5.0.11/schema.Oracle +%%DOCSDIR%%/upgrade/5.0.11/schema.Pg +%%DOCSDIR%%/upgrade/5.0.11/schema.mysql %%DOCSDIR%%/upgrade/5.0.2/content %%DOCSDIR%%/upgrade/5.0.3/indexes %%DOCSDIR%%/upgrade/5.0.3/schema.Pg @@ -902,10 +908,12 @@ sbin/standalone_httpd %%DATADIR%%/html/Admin/Global/index.html %%DATADIR%%/html/Admin/Groups/GroupRights.html %%DATADIR%%/html/Admin/Groups/History.html +%%DATADIR%%/html/Admin/Groups/MFAPolicy.html %%DATADIR%%/html/Admin/Groups/Members.html %%DATADIR%%/html/Admin/Groups/Memberships.html %%DATADIR%%/html/Admin/Groups/Modify.html %%DATADIR%%/html/Admin/Groups/ModifyLinks.html +%%DATADIR%%/html/Admin/Groups/PasswordPolicy.html %%DATADIR%%/html/Admin/Groups/UserRights.html %%DATADIR%%/html/Admin/Groups/autohandler %%DATADIR%%/html/Admin/Groups/index.html @@ -1336,9 +1344,17 @@ sbin/standalone_httpd %%DATADIR%%/html/Install/Sendmail.html %%DATADIR%%/html/Install/autohandler %%DATADIR%%/html/Install/index.html +%%DATADIR%%/html/NoAuth/Elements/Error %%DATADIR%%/html/NoAuth/Helpers/CustomLogo/dhandler %%DATADIR%%/html/NoAuth/Login.html %%DATADIR%%/html/NoAuth/Logout.html +%%DATADIR%%/html/NoAuth/MFA/Elements/CodeInput +%%DATADIR%%/html/NoAuth/MFA/Enroll.html +%%DATADIR%%/html/NoAuth/MFA/Reset/Request.html +%%DATADIR%%/html/NoAuth/MFA/Reset/dhandler +%%DATADIR%%/html/NoAuth/MFA/Verify.html +%%DATADIR%%/html/NoAuth/ResetPassword/Request.html +%%DATADIR%%/html/NoAuth/ResetPassword/Reset/dhandler %%DATADIR%%/html/NoAuth/RichText/autohandler %%DATADIR%%/html/NoAuth/css/autohandler %%DATADIR%%/html/NoAuth/css/dhandler @@ -1358,7 +1374,9 @@ sbin/standalone_httpd %%DATADIR%%/html/Prefs/CustomDateRanges.html %%DATADIR%%/html/Prefs/DashboardsInMenu.html %%DATADIR%%/html/Prefs/Elements/EditAboutMe +%%DATADIR%%/html/Prefs/Elements/MFAControls %%DATADIR%%/html/Prefs/Elements/ShowAboutMe +%%DATADIR%%/html/Prefs/ExistingPasswordChange.html %%DATADIR%%/html/Prefs/MyRT.html %%DATADIR%%/html/Prefs/Other.html %%DATADIR%%/html/Prefs/QueueList.html @@ -1461,6 +1479,7 @@ sbin/standalone_httpd %%DATADIR%%/html/SelfService/Elements/MyRequests %%DATADIR%%/html/SelfService/Elements/RequestUpdate %%DATADIR%%/html/SelfService/Elements/SearchArticle +%%DATADIR%%/html/SelfService/ExistingPasswordChange.html %%DATADIR%%/html/SelfService/Helpers/Autocomplete/CustomFieldValues %%DATADIR%%/html/SelfService/Helpers/Autocomplete/Principals %%DATADIR%%/html/SelfService/Helpers/Autocomplete/Users |
