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  3 15:12:20 UTC 2024

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

Log Message:
mail/php-dmarc-srg: add version 2.1 package

DmarcSrg

A php parser, viewer and summary report generator for incoming DMARC reports.

Features

* View a table of parsed reports.
* Easily identify potential DMARC related issues through colors.
* Filter report list by domain, month, reporting organization and more.
* View DKIM/SPF details for each report.
* Password protection of the web interface (can be disabled).
* Receiving and processing incoming DMARC reports from specified mailboxes.
* Receiving and processing incoming DMARC reports from specified server
  local directories.
* Uploading and processing incoming DMARC reports by using the web
  interface.
* Ability to configure deletion of old reports from the database and
  mailboxes.
* Generation of summary reports for the last week, last month or last N days
  and sending them to the specified mailbox.
* Uses AJAX calls to the backend; no external Javascript libraries are
  needed.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/php-dmarc-srg/DESCR \
    pkgsrc/mail/php-dmarc-srg/Makefile pkgsrc/mail/php-dmarc-srg/PLIST \
    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.

Added files:

Index: pkgsrc/mail/php-dmarc-srg/DESCR
diff -u /dev/null pkgsrc/mail/php-dmarc-srg/DESCR:1.1
--- /dev/null   Mon Jun  3 15:12:20 2024
+++ pkgsrc/mail/php-dmarc-srg/DESCR     Mon Jun  3 15:12:19 2024
@@ -0,0 +1,22 @@
+DmarcSrg
+
+A php parser, viewer and summary report generator for incoming DMARC reports.
+
+Features
+
+* View a table of parsed reports.
+* Easily identify potential DMARC related issues through colors.
+* Filter report list by domain, month, reporting organization and more.
+* View DKIM/SPF details for each report.
+* Password protection of the web interface (can be disabled).
+* Receiving and processing incoming DMARC reports from specified mailboxes.
+* Receiving and processing incoming DMARC reports from specified server
+  local directories.
+* Uploading and processing incoming DMARC reports by using the web
+  interface.
+* Ability to configure deletion of old reports from the database and
+  mailboxes.
+* Generation of summary reports for the last week, last month or last N days
+  and sending them to the specified mailbox.
+* Uses AJAX calls to the backend; no external Javascript libraries are
+  needed.
Index: pkgsrc/mail/php-dmarc-srg/Makefile
diff -u /dev/null pkgsrc/mail/php-dmarc-srg/Makefile:1.1
--- /dev/null   Mon Jun  3 15:12:20 2024
+++ pkgsrc/mail/php-dmarc-srg/Makefile  Mon Jun  3 15:12:19 2024
@@ -0,0 +1,51 @@
+# $NetBSD: Makefile,v 1.1 2024/06/03 15:12:19 taca Exp $
+
+DISTNAME=      dmarc-srg-${GITHUB_RELEASE}
+PKGNAME=       ${PHP_PKG_PREFIX}-${DISTNAME}
+CATEGORIES=    mail
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=liuch/}
+GITHUB_TYPE=   tag
+GITHUB_TAG=    v${GITHUB_RELEASE}
+GITHUB_RELEASE=        2.1
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/liuch
+COMMENT=       Viewer and summary report generator for DMARC reports
+LICENSE=       gnu-gpl-v3
+
+DEPENDS+=      ${PHP_PKG_PREFIX}-pdo_mysql>=${PHP_BASE_VERS}:../../databases/php-pdo_mysql
+DEPENDS+=      ${PHP_PKG_PREFIX}-mbstring>=${PHP_BASE_VERS}:../../converters/php-mbstring
+DEPENDS+=      ${PHP_PKG_PREFIX}-zip>=${PHP_BASE_VERS}:../../archivers/php-zip
+
+PHP_VERSIONS_ACCEPTED= 81 82 83
+
+USE_LANGUAGES= # none
+USE_TOOLS+=    pax
+NO_BUILD=      yes
+WRKSRC=                ${WRKDIR}/${DISTNAME}
+BUILD_DEFS+=   APACHE_GROUP
+
+WEBBASE=       dmarc-srg
+WEBDIR=                share/${PHP_PKG_PREFIX}/${WEBBASE}
+EGDIR=         share/examples/${PHP_PKG_PREFIX}/${WEBBASE}
+
+INSTALLATION_DIRS+=    ${WEBDIR}/config ${EGDIR}
+CONF_FILES_PERMS+=     ${EGDIR}/conf.php ${WEBDIR}/config/conf.php \
+                       ${BINOWN} ${APACHE_GROUP} 0640
+PLIST_SUBST+=          EGDIR=${EGDIR} WEBDIR=${WEBDIR}
+PRINT_PLIST_AWK+=      /^${EGDIR:S|/|\\/|g}/ \
+                       { gsub(/${EGDIR:S|/|\\/|g}/, "$${EGDIR}") }
+PRINT_PLIST_AWK+=      /^${WEBDIR:S|/|\\/|g}/ \
+                       { gsub(/${WEBDIR:S|/|\\/|g}/, "$${WEBDIR}") }
+
+pre-configure:
+       ${MV} ${WRKSRC}/config/conf.sample.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
+
+.include "../../lang/php/phpversion.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/php-dmarc-srg/PLIST
diff -u /dev/null pkgsrc/mail/php-dmarc-srg/PLIST:1.1
--- /dev/null   Mon Jun  3 15:12:20 2024
+++ pkgsrc/mail/php-dmarc-srg/PLIST     Mon Jun  3 15:12:19 2024
@@ -0,0 +1,129 @@
+@comment $NetBSD: PLIST,v 1.1 2024/06/03 15:12:19 taca Exp $
+${EGDIR}/conf.php
+${WEBDIR}/LICENSE
+${WEBDIR}/README.md
+${WEBDIR}/classes/Admin.php
+${WEBDIR}/classes/Auth.php
+${WEBDIR}/classes/Common.php
+${WEBDIR}/classes/Config.php
+${WEBDIR}/classes/Core.php
+${WEBDIR}/classes/Database/DatabaseConnector.php
+${WEBDIR}/classes/Database/DatabaseController.php
+${WEBDIR}/classes/Database/DomainMapperInterface.php
+${WEBDIR}/classes/Database/Mariadb/Connector.php
+${WEBDIR}/classes/Database/Mariadb/DomainMapper.php
+${WEBDIR}/classes/Database/Mariadb/ReportLogMapper.php
+${WEBDIR}/classes/Database/Mariadb/ReportMapper.php
+${WEBDIR}/classes/Database/Mariadb/SettingMapper.php
+${WEBDIR}/classes/Database/Mariadb/StatisticsMapper.php
+${WEBDIR}/classes/Database/Mariadb/UpgraderMapper.php
+${WEBDIR}/classes/Database/Mariadb/UserMapper.php
+${WEBDIR}/classes/Database/ReportLogMapperInterface.php
+${WEBDIR}/classes/Database/ReportMapperInterface.php
+${WEBDIR}/classes/Database/SettingMapperInterface.php
+${WEBDIR}/classes/Database/StatisticsMapperInterface.php
+${WEBDIR}/classes/Database/UpgraderMapperInterface.php
+${WEBDIR}/classes/Database/UserMapperInterface.php
+${WEBDIR}/classes/DateTime.php
+${WEBDIR}/classes/Directories/Directory.php
+${WEBDIR}/classes/Directories/DirectoryList.php
+${WEBDIR}/classes/Domains/Domain.php
+${WEBDIR}/classes/Domains/DomainList.php
+${WEBDIR}/classes/ErrorHandler.php
+${WEBDIR}/classes/Exception/AuthException.php
+${WEBDIR}/classes/Exception/DatabaseException.php
+${WEBDIR}/classes/Exception/DatabaseExceptionFactory.php
+${WEBDIR}/classes/Exception/DatabaseFatalException.php
+${WEBDIR}/classes/Exception/DatabaseNotFoundException.php
+${WEBDIR}/classes/Exception/ForbiddenException.php
+${WEBDIR}/classes/Exception/LogicException.php
+${WEBDIR}/classes/Exception/MailboxException.php
+${WEBDIR}/classes/Exception/RuntimeException.php
+${WEBDIR}/classes/Exception/SoftException.php
+${WEBDIR}/classes/Log/LogLevel.php
+${WEBDIR}/classes/Log/LoggerAwareInterface.php
+${WEBDIR}/classes/Log/LoggerInterface.php
+${WEBDIR}/classes/Log/PhpSystemLogger.php
+${WEBDIR}/classes/Mail/MailAttachment.php
+${WEBDIR}/classes/Mail/MailBody.php
+${WEBDIR}/classes/Mail/MailBox.php
+${WEBDIR}/classes/Mail/MailBoxes.php
+${WEBDIR}/classes/Mail/MailMessage.php
+${WEBDIR}/classes/Mail/Mailer.php
+${WEBDIR}/classes/Mail/MailerInternal.php
+${WEBDIR}/classes/Mail/MailerPhpMailer.php
+${WEBDIR}/classes/RemoteFilesystems/RemoteFilesystem.php
+${WEBDIR}/classes/RemoteFilesystems/RemoteFilesystemList.php
+${WEBDIR}/classes/Report/Report.php
+${WEBDIR}/classes/Report/ReportData.php
+${WEBDIR}/classes/Report/ReportFetcher.php
+${WEBDIR}/classes/Report/ReportList.php
+${WEBDIR}/classes/Report/SummaryReport.php
+${WEBDIR}/classes/ReportFile/ReportFile.php
+${WEBDIR}/classes/ReportFile/ReportGZFileCutFilter.php
+${WEBDIR}/classes/ReportLog/ReportLog.php
+${WEBDIR}/classes/ReportLog/ReportLogItem.php
+${WEBDIR}/classes/Settings/Setting.php
+${WEBDIR}/classes/Settings/SettingInteger.php
+${WEBDIR}/classes/Settings/SettingString.php
+${WEBDIR}/classes/Settings/SettingStringSelect.php
+${WEBDIR}/classes/Settings/SettingsList.php
+${WEBDIR}/classes/Sources/DirectorySource.php
+${WEBDIR}/classes/Sources/MailboxSource.php
+${WEBDIR}/classes/Sources/RemoteFilesystemSource.php
+${WEBDIR}/classes/Sources/Source.php
+${WEBDIR}/classes/Sources/SourceAction.php
+${WEBDIR}/classes/Sources/UploadedFilesSource.php
+${WEBDIR}/classes/Statistics.php
+${WEBDIR}/classes/Status.php
+${WEBDIR}/classes/TextTable.php
+${WEBDIR}/classes/Users/AdminUser.php
+${WEBDIR}/classes/Users/DbUser.php
+${WEBDIR}/classes/Users/User.php
+${WEBDIR}/classes/Users/UserList.php
+${WEBDIR}/composer.json
+${WEBDIR}/composer.lock
+${WEBDIR}/index.php
+${WEBDIR}/init.php
+${WEBDIR}/public/admin.php
+${WEBDIR}/public/css/main.css
+${WEBDIR}/public/css/mainmenu.css
+${WEBDIR}/public/css/notification.css
+${WEBDIR}/public/css/widgets.css
+${WEBDIR}/public/domains.php
+${WEBDIR}/public/files.php
+${WEBDIR}/public/index.php
+${WEBDIR}/public/js/admin.js
+${WEBDIR}/public/js/common.js
+${WEBDIR}/public/js/domains.js
+${WEBDIR}/public/js/files.js
+${WEBDIR}/public/js/list.js
+${WEBDIR}/public/js/login.js
+${WEBDIR}/public/js/logs.js
+${WEBDIR}/public/js/main.js
+${WEBDIR}/public/js/notification.js
+${WEBDIR}/public/js/report.js
+${WEBDIR}/public/js/settings.js
+${WEBDIR}/public/js/status.js
+${WEBDIR}/public/js/summary.js
+${WEBDIR}/public/js/users.js
+${WEBDIR}/public/js/widgets.js
+${WEBDIR}/public/list.php
+${WEBDIR}/public/login.php
+${WEBDIR}/public/logout.php
+${WEBDIR}/public/logs.php
+${WEBDIR}/public/report.php
+${WEBDIR}/public/settings.php
+${WEBDIR}/public/status.php
+${WEBDIR}/public/summary.php
+${WEBDIR}/public/users.php
+${WEBDIR}/template.html
+${WEBDIR}/utils/check_config.php
+${WEBDIR}/utils/database_admin.php
+${WEBDIR}/utils/domains_admin.php
+${WEBDIR}/utils/fetch_reports.php
+${WEBDIR}/utils/mailbox_cleaner.php
+${WEBDIR}/utils/reportlog_cleaner.php
+${WEBDIR}/utils/reports_cleaner.php
+${WEBDIR}/utils/summary_report.php
+${WEBDIR}/utils/users_admin.php
Index: pkgsrc/mail/php-dmarc-srg/distinfo
diff -u /dev/null pkgsrc/mail/php-dmarc-srg/distinfo:1.1
--- /dev/null   Mon Jun  3 15:12:20 2024
+++ pkgsrc/mail/php-dmarc-srg/distinfo  Mon Jun  3 15:12:19 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/06/03 15:12:19 taca Exp $
+
+BLAKE2s (dmarc-srg-2.1.tar.gz) = daebe45d86a1087277bc62d6a3dd003939f2e91627dd4445ed2812fdde56ce41
+SHA512 (dmarc-srg-2.1.tar.gz) = d2569e8d9593d76c751042e7eb36dfb2d903788f9f8ad92acd62949ab62bf55ae2dea5be2e37a3bd64726e9de76a7a0916d7c4ff1f91a126b1b3cea3105ff898
+Size (dmarc-srg-2.1.tar.gz) = 168814 bytes



Home | Main Index | Thread Index | Old Index