pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/php-dmarc-srg



Module Name:    pkgsrc
Committed By:   taca
Date:           Mon Jun  9 16:30:32 UTC 2025

Modified Files:
        pkgsrc/mail/php-dmarc-srg: Makefile PLIST distinfo

Log Message:
mail/php-dmarc-srg: update to 2.3

2.3 (2025-03-19)

What's Changed

* Added an overall section to the summary report
* Utils: implemented to the ability to specify a custom email subject line
  for summary reports
* WebUI: added host information to the report view
* Added the ability to use plugins to handle host information requests in
  the report view
* Added the ability to delete domains with reports
* WebUI: added an info button to the stats block for mobile viewing
* WebUI: added robots.txt file
* Added vendor configuration file
* Empty summary reports for deactivated domains are now not generated
* WebUI: improved accessibility of main menu, dialogs, buttons and toolbars
* WebUI: improved work with PHP sessions (refactoring, security enhancement)
* WebUI: improved behavior of ui.ipv4.url and ui.ipv6.url options
* WebUI: improved error messages in the admin panel
* Improved checking for optional dependencies
* Updated README.md
* Fixed working in PHP 8.4
* Utils: fixed environment detection for some configurations
* WebUI: fixed display of long names (organizations and domains)
* WebUI: fixed display report id in mobile view
* Other minor changes and refactoring


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/mail/php-dmarc-srg/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/php-dmarc-srg/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/php-dmarc-srg/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/php-dmarc-srg/Makefile
diff -u pkgsrc/mail/php-dmarc-srg/Makefile:1.7 pkgsrc/mail/php-dmarc-srg/Makefile:1.8
--- pkgsrc/mail/php-dmarc-srg/Makefile:1.7      Sat Feb 22 17:35:32 2025
+++ pkgsrc/mail/php-dmarc-srg/Makefile  Mon Jun  9 16:30:32 2025
@@ -1,14 +1,13 @@
-# $NetBSD: Makefile,v 1.7 2025/02/22 17:35:32 taca Exp $
+# $NetBSD: Makefile,v 1.8 2025/06/09 16:30:32 taca Exp $
 
 DISTNAME=      dmarc-srg-${GITHUB_RELEASE}
 PKGNAME=       ${PHP_PKG_PREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=liuch/}
 GITHUB_PROJECT=        dmarc-srg
 GITHUB_TYPE=   tag
 GITHUB_TAG=    v${GITHUB_RELEASE}
-GITHUB_RELEASE=        2.2.1
+GITHUB_RELEASE=        2.3
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/liuch/dmarc-srg
@@ -34,6 +33,8 @@ EGDIR=                share/examples/${PHP_PKG_PREFIX}
 INSTALLATION_DIRS+=    ${WEBDIR}/config ${EGDIR}
 OWN_DIRS_PERMS+=       ${WEBDIR}/config ${REAL_ROOT_USER} ${APACHE_GROUP} 0750
 CONF_FILES+=           ${EGDIR}/conf.php ${WEBDIR}/config/conf.php
+CONF_FILES+=           ${EGDIR}/vendor_config.php \
+                       ${WEBDIR}/config/vendor_config.php
 PLIST_SUBST+=          EGDIR=${EGDIR} WEBDIR=${WEBDIR}
 PRINT_PLIST_AWK+=      /^${EGDIR:S|/|\\/|g}/ \
                        { gsub(/${EGDIR:S|/|\\/|g}/, "$${EGDIR}") }
@@ -41,13 +42,14 @@ PRINT_PLIST_AWK+=   /^${WEBDIR:S|/|\\/|g}/
                        { gsub(/${WEBDIR:S|/|\\/|g}/, "$${WEBDIR}") }
 
 pre-configure:
-       ${MV} ${WRKSRC}/config/conf.sample.php ${WRKDIR}
+       ${MV} ${WRKSRC}/config/conf.sample.php ${WRKDIR}/conf.php
+       ${MV} ${WRKSRC}/config/vendor_config.php ${WRKDIR}
 
 do-install:
        cd ${WRKSRC} && ${FIND} . -type f \! -name '*.orig' -print | \
                pax -rw ${DESTDIR}${PREFIX}/${WEBDIR}
-       ${INSTALL_DATA} ${WRKDIR}/conf.sample.php \
-               ${DESTDIR}${PREFIX}/${EGDIR}/conf.php
+       ${INSTALL_DATA} ${WRKDIR}/conf.php ${WRKDIR}/vendor_config.php \
+               ${DESTDIR}${PREFIX}/${EGDIR}
 
 .include "../../lang/php/phpversion.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/mail/php-dmarc-srg/PLIST
diff -u pkgsrc/mail/php-dmarc-srg/PLIST:1.1 pkgsrc/mail/php-dmarc-srg/PLIST:1.2
--- pkgsrc/mail/php-dmarc-srg/PLIST:1.1 Mon Jun  3 15:12:19 2024
+++ pkgsrc/mail/php-dmarc-srg/PLIST     Mon Jun  9 16:30:32 2025
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2024/06/03 15:12:19 taca Exp $
+@comment $NetBSD: PLIST,v 1.2 2025/06/09 16:30:32 taca Exp $
 ${EGDIR}/conf.php
+${EGDIR}/vendor_config.php
 ${WEBDIR}/LICENSE
 ${WEBDIR}/README.md
 ${WEBDIR}/classes/Admin.php
@@ -10,8 +11,10 @@ ${WEBDIR}/classes/Core.php
 ${WEBDIR}/classes/Database/DatabaseConnector.php
 ${WEBDIR}/classes/Database/DatabaseController.php
 ${WEBDIR}/classes/Database/DomainMapperInterface.php
+${WEBDIR}/classes/Database/HostMapperInterface.php
 ${WEBDIR}/classes/Database/Mariadb/Connector.php
 ${WEBDIR}/classes/Database/Mariadb/DomainMapper.php
+${WEBDIR}/classes/Database/Mariadb/HostMapper.php
 ${WEBDIR}/classes/Database/Mariadb/ReportLogMapper.php
 ${WEBDIR}/classes/Database/Mariadb/ReportMapper.php
 ${WEBDIR}/classes/Database/Mariadb/SettingMapper.php
@@ -29,6 +32,7 @@ ${WEBDIR}/classes/Directories/Directory.
 ${WEBDIR}/classes/Directories/DirectoryList.php
 ${WEBDIR}/classes/Domains/Domain.php
 ${WEBDIR}/classes/Domains/DomainList.php
+${WEBDIR}/classes/ErrorCodes.php
 ${WEBDIR}/classes/ErrorHandler.php
 ${WEBDIR}/classes/Exception/AuthException.php
 ${WEBDIR}/classes/Exception/DatabaseException.php
@@ -40,6 +44,7 @@ ${WEBDIR}/classes/Exception/LogicExcepti
 ${WEBDIR}/classes/Exception/MailboxException.php
 ${WEBDIR}/classes/Exception/RuntimeException.php
 ${WEBDIR}/classes/Exception/SoftException.php
+${WEBDIR}/classes/Hosts/Host.php
 ${WEBDIR}/classes/Log/LogLevel.php
 ${WEBDIR}/classes/Log/LoggerAwareInterface.php
 ${WEBDIR}/classes/Log/LoggerInterface.php
@@ -52,8 +57,11 @@ ${WEBDIR}/classes/Mail/MailMessage.php
 ${WEBDIR}/classes/Mail/Mailer.php
 ${WEBDIR}/classes/Mail/MailerInternal.php
 ${WEBDIR}/classes/Mail/MailerPhpMailer.php
+${WEBDIR}/classes/Plugins/PluginInterface.php
+${WEBDIR}/classes/Plugins/PluginManager.php
 ${WEBDIR}/classes/RemoteFilesystems/RemoteFilesystem.php
 ${WEBDIR}/classes/RemoteFilesystems/RemoteFilesystemList.php
+${WEBDIR}/classes/Report/OverallReport.php
 ${WEBDIR}/classes/Report/Report.php
 ${WEBDIR}/classes/Report/ReportData.php
 ${WEBDIR}/classes/Report/ReportFetcher.php
@@ -63,6 +71,7 @@ ${WEBDIR}/classes/ReportFile/ReportFile.
 ${WEBDIR}/classes/ReportFile/ReportGZFileCutFilter.php
 ${WEBDIR}/classes/ReportLog/ReportLog.php
 ${WEBDIR}/classes/ReportLog/ReportLogItem.php
+${WEBDIR}/classes/Session.php
 ${WEBDIR}/classes/Settings/Setting.php
 ${WEBDIR}/classes/Settings/SettingInteger.php
 ${WEBDIR}/classes/Settings/SettingString.php
@@ -85,6 +94,7 @@ ${WEBDIR}/composer.json
 ${WEBDIR}/composer.lock
 ${WEBDIR}/index.php
 ${WEBDIR}/init.php
+${WEBDIR}/plugins/Host/ExampleHostPlugin/ExampleHostPlugin_.php
 ${WEBDIR}/public/admin.php
 ${WEBDIR}/public/css/main.css
 ${WEBDIR}/public/css/mainmenu.css
@@ -92,6 +102,7 @@ ${WEBDIR}/public/css/notification.css
 ${WEBDIR}/public/css/widgets.css
 ${WEBDIR}/public/domains.php
 ${WEBDIR}/public/files.php
+${WEBDIR}/public/hosts.php
 ${WEBDIR}/public/index.php
 ${WEBDIR}/public/js/admin.js
 ${WEBDIR}/public/js/common.js
@@ -113,6 +124,7 @@ ${WEBDIR}/public/login.php
 ${WEBDIR}/public/logout.php
 ${WEBDIR}/public/logs.php
 ${WEBDIR}/public/report.php
+${WEBDIR}/public/robots.txt
 ${WEBDIR}/public/settings.php
 ${WEBDIR}/public/status.php
 ${WEBDIR}/public/summary.php

Index: pkgsrc/mail/php-dmarc-srg/distinfo
diff -u pkgsrc/mail/php-dmarc-srg/distinfo:1.2 pkgsrc/mail/php-dmarc-srg/distinfo:1.3
--- pkgsrc/mail/php-dmarc-srg/distinfo:1.2      Mon Nov 11 15:39:56 2024
+++ pkgsrc/mail/php-dmarc-srg/distinfo  Mon Jun  9 16:30:32 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2024/11/11 15:39:56 taca Exp $
+$NetBSD: distinfo,v 1.3 2025/06/09 16:30:32 taca Exp $
 
-BLAKE2s (dmarc-srg-2.2.1.tar.gz) = 3524acb3393b2f1fcd12386d042544c70020a171a0d9715f50d72069cd1e62fa
-SHA512 (dmarc-srg-2.2.1.tar.gz) = 844ab46d0e0a7e79333718a67733d7ffaa099d187caeb3a5ac81f1f486ba698ad3f017a384d9971f746becd397e07f18226e848b2caa6205a92257da97620548
-Size (dmarc-srg-2.2.1.tar.gz) = 173153 bytes
+BLAKE2s (dmarc-srg-2.3.tar.gz) = e7dd5ecd5926841d95df0d1c19b292f876187b8b21202f03b2173f954743a00b
+SHA512 (dmarc-srg-2.3.tar.gz) = fbadac432772207d53dc5874061aaaa28dd01046409c2d0b0c135789aabf67aef6d8af3e1fecaa6dd481fb8f611e7b11d4a7dc2044d3b0d3cecf80093a6afa23
+Size (dmarc-srg-2.3.tar.gz) = 189181 bytes



Home | Main Index | Thread Index | Old Index