head	1.3;
access;
symbols
	pkgsrc-2026Q2:1.1.0.2
	pkgsrc-2026Q2-base:1.1;
locks; strict;
comment	@# @;


1.3
date	2026.07.13.10.26.23;	author wiz;	state Exp;
branches;
next	1.2;
commitid	0XxL0dpYTMcrNtNG;

1.2
date	2026.07.06.08.56.35;	author wiz;	state Exp;
branches;
next	1.1;
commitid	BOUcD6kL3FTuwzMG;

1.1
date	2026.05.28.16.13.38;	author ryoon;	state Exp;
branches
	1.1.2.1;
next	;
commitid	EUYRZwoIFNPhcBHG;

1.1.2.1
date	2026.07.17.01.49.05;	author maya;	state Exp;
branches;
next	;
commitid	rscXVOBorui3OWNG;


desc
@@


1.3
log
@dmarc-report-viewer: update to 2.6.0.

## [2.6.0] - 2026-07-08
* Security: Limit maximum uncompressed file size to prevent unbounded memory use (remote DoS).
* Security: Hardened basic auth username and password checks against timing attacks.
* Security: Restrict Whois referral following to avoid non-default Whois ports to limit SSRF.
* Security: Fixed panic in decoding code for mail subjects (remote DoS).
* Fix: Made duplicate check for reports more robust (was more a theoretical issue).
* Fix: Prevent possible subtraction underflow in uptime calculations.
* Feature: Added printing and saving as PDF button to reports UI.
* Feature: Support of optional IMAP sub-folders with configurable depth (see issue #84).
* Feature: Extend DNS client to be able to deal with compressed pointers in responses.
* Updated Cargo dependencies
@
text
@# $NetBSD: Makefile,v 1.2 2026/07/06 08:56:35 wiz Exp $

DISTNAME=	dmarc-report-viewer-2.6.0
CATEGORIES=	mail
MASTER_SITES=	${MASTER_SITE_GITHUB:=cry-inc/}
GITHUB_TAG=	${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/cry-inc/dmarc-report-viewer/
COMMENT=	Lightweight Standalone DMARC Report Viewer with IMAP Client
LICENSE=	mit

# bindgen needs libclang
TOOL_DEPENDS+=	clang-[0-9]*:../../lang/clang

USE_LANGUAGES=	c
USE_TOOLS+=	cmake

.include "cargo-depends.mk"

.include "../../mk/bsd.prefs.mk"
DMARCREPV_HOME=		${VARBASE}/db/dmarcrepv

DMARCREPV_USER?=	dmarcrepv
DMARCREPV_GROUP?=	dmarcrepv

BUILD_DEFS+=		DMARCREPV_USER DMARCREPV_GROUP DMARCREPV_HOME VARBASE

PKG_GROUPS_VARS+=	DMARCREPV_GROUP
PKG_USERS_VARS+=	DMARCREPV_USER

PKG_GROUPS=		${DMARCREPV_GROUP}
PKG_USERS=		${DMARCREPV_USER}:${DMARCREPV_GROUP}

PKG_GECOS.${DMARCREPV_USER}=	DMARC report viewer
PKG_HOME.${DMARCREPV_USER}=	${DMARCREPV_HOME}
PKG_SHELL.${DMARCREPV_USER}=	${SH}

OWN_DIRS+=		${DMARCREPV_HOME}
OWN_DIRS_PERMS+=	${DMARCREPV_HOME} ${DMARCREPV_USER} ${DMARCREPV_GROUP} 0755

RCD_SCRIPTS=		dmarcrepv
FILES_SUBST+=		DMARCREPV_USER=${DMARCREPV_USER}
FILES_SUBST+=		DMARCREPV_HOME=${DMARCREPV_HOME}

.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
@


1.2
log
@dmarc-report-viewer: update to 2.5.2.

## [2.5.2] - 2026-07-04
* Fixed printing and PDF generation for reports (see also issue #89).
* Updated Cargo dependencies
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2026/05/28 16:13:38 ryoon Exp $
d3 1
a3 1
DISTNAME=	dmarc-report-viewer-2.5.2
@


1.1
log
@mail/dmarc-report-viewer: import dmarc-report-viewer-2.5.1

A lightweight selfhosted standalone DMARC report viewer that
automatically fetches input data periodically from an IMAP mailbox.
Ideal for smaller selfhosted mailservers to browse, visualize and
analyze the DMARC reports.

The application is a single fully statically linked executable
written in Rust.  It combines a DMARC report parser with an IMAP
client and an HTTP server.  The embedded HTTP server offers a web
UI for easy access and filtering of the reports.

Packaged by wiz as wip/dmarc-report-viewer.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	dmarc-report-viewer-2.5.1
@


1.1.2.1
log
@Pullup ticket #7181 - requested by taca
mail/dmarc-report-viewer

Revisions pulled up:
- mail/dmarc-report-viewer/Makefile                             1.2-1.3
- mail/dmarc-report-viewer/cargo-depends.mk                     1.2-1.3
- mail/dmarc-report-viewer/distinfo                             1.2-1.3

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Mon Jul  6 08:56:35 UTC 2026

   Modified Files:
   	pkgsrc/mail/dmarc-report-viewer: Makefile cargo-depends.mk distinfo

   Log Message:
   dmarc-report-viewer: update to 2.5.2.

   ## [2.5.2] - 2026-07-04
   * Fixed printing and PDF generation for reports (see also issue #89).
   * Updated Cargo dependencies

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Mon Jul 13 10:26:23 UTC 2026

   Modified Files:
   	pkgsrc/mail/dmarc-report-viewer: Makefile cargo-depends.mk distinfo

   Log Message:
   dmarc-report-viewer: update to 2.6.0.

   ## [2.6.0] - 2026-07-08
   * Security: Limit maximum uncompressed file size to prevent unbounded memory use (remote DoS).
   * Security: Hardened basic auth username and password checks against timing attacks.
   * Security: Restrict Whois referral following to avoid non-default Whois ports to limit SSRF.
   * Security: Fixed panic in decoding code for mail subjects (remote DoS).
   * Fix: Made duplicate check for reports more robust (was more a theoretical issue).
   * Fix: Prevent possible subtraction underflow in uptime calculations.
   * Feature: Added printing and saving as PDF button to reports UI.
   * Feature: Support of optional IMAP sub-folders with configurable depth (see issue #84).
   * Feature: Extend DNS client to be able to deal with compressed pointers in responses.
   * Updated Cargo dependencies
@
text
@d3 1
a3 1
DISTNAME=	dmarc-report-viewer-2.6.0
@


