Added mail/openarc 20180921 ARC is a technology proposal, put forward by a consortium of organizations, intended to allow a chain of message handlers (typically email operators) to confirm handling by trusted upstream handlers in an attempt to confirm the valid use of certain identifiers in the message. ARC is still experimental, and its specification may change. This package is intended for use by operators willing to take part in the experiment and provide their feedback to the development team.diff -r1.2343 -r1.2344 pkgsrc/doc/CHANGES-2023
(manu)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | $NetBSD: CHANGES-2023,v 1.2343 2023/04/21 00:44:18 manu Exp $ | 1 | $NetBSD: CHANGES-2023,v 1.2344 2023/04/21 00:49:56 manu Exp $ | |
2 | 2 | |||
3 | Changes to the packages collection and infrastructure in 2023: | 3 | Changes to the packages collection and infrastructure in 2023: | |
4 | 4 | |||
5 | Updated devel/R-cli to 3.5.0 [mef 2023-01-01] | 5 | Updated devel/R-cli to 3.5.0 [mef 2023-01-01] | |
6 | Updated devel/R-purrr to 1.0.0 [mef 2023-01-01] | 6 | Updated devel/R-purrr to 1.0.0 [mef 2023-01-01] | |
7 | Updated www/R-webfakes to 1.1.6 [mef 2023-01-01] | 7 | Updated www/R-webfakes to 1.1.6 [mef 2023-01-01] | |
8 | Updated devel/R-pkgcache to 2.0.4 [mef 2023-01-01] | 8 | Updated devel/R-pkgcache to 2.0.4 [mef 2023-01-01] | |
9 | Updated devel/R-repr to 1.1.4 [mef 2023-01-01] | 9 | Updated devel/R-repr to 1.1.4 [mef 2023-01-01] | |
10 | Updated databases/R-dbplyr to 2.2.1 [mef 2023-01-01] | 10 | Updated databases/R-dbplyr to 2.2.1 [mef 2023-01-01] | |
11 | Updated archivers/R-zip to 2.2.2 [mef 2023-01-01] | 11 | Updated archivers/R-zip to 2.2.2 [mef 2023-01-01] | |
12 | Updated misc/R-pillar to 1.8.1 [mef 2023-01-01] | 12 | Updated misc/R-pillar to 1.8.1 [mef 2023-01-01] | |
13 | Updated math/R-tibble to 3.1.8 [mef 2023-01-01] | 13 | Updated math/R-tibble to 3.1.8 [mef 2023-01-01] | |
14 | Updated databases/R-RSQLite to 2.2.20 [mef 2023-01-01] | 14 | Updated databases/R-RSQLite to 2.2.20 [mef 2023-01-01] | |
@@ -3369,13 +3369,14 @@ Changes to the packages collection and i | @@ -3369,13 +3369,14 @@ Changes to the packages collection and i | |||
3369 | Updated net/syncthing to 1.23.4 [triaxx 2023-04-20] | 3369 | Updated net/syncthing to 1.23.4 [triaxx 2023-04-20] | |
3370 | Updated textproc/py-rdflib to 6.3.2 [adam 2023-04-20] | 3370 | Updated textproc/py-rdflib to 6.3.2 [adam 2023-04-20] | |
3371 | Updated devel/py-jaraco.path to 3.5.0 [adam 2023-04-20] | 3371 | Updated devel/py-jaraco.path to 3.5.0 [adam 2023-04-20] | |
3372 | Updated lang/qore to 1.14.2 [nros 2023-04-20] | 3372 | Updated lang/qore to 1.14.2 [nros 2023-04-20] | |
3373 | Updated textproc/qore-json-module to 1.8.2 [nros 2023-04-20] | 3373 | Updated textproc/qore-json-module to 1.8.2 [nros 2023-04-20] | |
3374 | Updated databases/qore-openldap-module to 1.2.3 [nros 2023-04-20] | 3374 | Updated databases/qore-openldap-module to 1.2.3 [nros 2023-04-20] | |
3375 | Updated textproc/qore-xml-module to 1.8.0 [nros 2023-04-20] | 3375 | Updated textproc/qore-xml-module to 1.8.0 [nros 2023-04-20] | |
3376 | Updated textproc/qore-yaml-module to 0.7.3 [nros 2023-04-20] | 3376 | Updated textproc/qore-yaml-module to 0.7.3 [nros 2023-04-20] | |
3377 | Updated textproc/icu to 73.1nb1 [wiz 2023-04-20] | 3377 | Updated textproc/icu to 73.1nb1 [wiz 2023-04-20] | |
3378 | Updated shells/oh-my-posh to 14.31.2 [schmonz 2023-04-20] | 3378 | Updated shells/oh-my-posh to 14.31.2 [schmonz 2023-04-20] | |
3379 | Updated www/p5-Playwright to 1.324 [schmonz 2023-04-20] | 3379 | Updated www/p5-Playwright to 1.324 [schmonz 2023-04-20] | |
3380 | Added misc/chatgpt-shell-cli version 0.0.20230420 [schmonz 2023-04-20] | 3380 | Added misc/chatgpt-shell-cli version 0.0.20230420 [schmonz 2023-04-20] | |
3381 | Added databases/openldap-autogroup 2.6.4 [manu 2023-04-21] | 3381 | Added databases/openldap-autogroup 2.6.4 [manu 2023-04-21] | |
3382 | Added mail/openarc 20180921 [manu 2023-04-21] |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.595 2023/03/08 23:45:10 nikita Exp $ | 1 | # $NetBSD: Makefile,v 1.596 2023/04/21 00:49:56 manu Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | COMMENT= Electronic mail utilities | 4 | COMMENT= Electronic mail utilities | |
5 | 5 | |||
6 | SUBDIR+= GNUMail | 6 | SUBDIR+= GNUMail | |
7 | SUBDIR+= OSBF-lua | 7 | SUBDIR+= OSBF-lua | |
8 | SUBDIR+= Pantomime | 8 | SUBDIR+= Pantomime | |
9 | SUBDIR+= R-mime | 9 | SUBDIR+= R-mime | |
10 | SUBDIR+= akonadi | 10 | SUBDIR+= akonadi | |
11 | SUBDIR+= alpine | 11 | SUBDIR+= alpine | |
12 | SUBDIR+= amavisd-milter | 12 | SUBDIR+= amavisd-milter | |
13 | SUBDIR+= amavisd-new | 13 | SUBDIR+= amavisd-new | |
14 | SUBDIR+= anomy-sanitizer | 14 | SUBDIR+= anomy-sanitizer | |
@@ -179,26 +179,27 @@ SUBDIR+= mush | @@ -179,26 +179,27 @@ SUBDIR+= mush | |||
179 | SUBDIR+= mutt | 179 | SUBDIR+= mutt | |
180 | SUBDIR+= neomutt | 180 | SUBDIR+= neomutt | |
181 | SUBDIR+= netbiff | 181 | SUBDIR+= netbiff | |
182 | SUBDIR+= newmail | 182 | SUBDIR+= newmail | |
183 | SUBDIR+= newspipe | 183 | SUBDIR+= newspipe | |
184 | SUBDIR+= nmh | 184 | SUBDIR+= nmh | |
185 | SUBDIR+= nmzmail | 185 | SUBDIR+= nmzmail | |
186 | SUBDIR+= nopop3d | 186 | SUBDIR+= nopop3d | |
187 | SUBDIR+= notmuch | 187 | SUBDIR+= notmuch | |
188 | SUBDIR+= notmuch-emacs | 188 | SUBDIR+= notmuch-emacs | |
189 | SUBDIR+= nullmailer | 189 | SUBDIR+= nullmailer | |
190 | SUBDIR+= oe2mbx | 190 | SUBDIR+= oe2mbx | |
191 | SUBDIR+= offlineimap | 191 | SUBDIR+= offlineimap | |
192 | SUBDIR+= openarc | |||
192 | SUBDIR+= opendkim | 193 | SUBDIR+= opendkim | |
193 | SUBDIR+= opendmarc | 194 | SUBDIR+= opendmarc | |
194 | SUBDIR+= p5-App-Siesh | 195 | SUBDIR+= p5-App-Siesh | |
195 | SUBDIR+= p5-Catalyst-View-Email | 196 | SUBDIR+= p5-Catalyst-View-Email | |
196 | SUBDIR+= p5-Email-Abstract | 197 | SUBDIR+= p5-Email-Abstract | |
197 | SUBDIR+= p5-Email-Address | 198 | SUBDIR+= p5-Email-Address | |
198 | SUBDIR+= p5-Email-Address-List | 199 | SUBDIR+= p5-Email-Address-List | |
199 | SUBDIR+= p5-Email-Address-XS | 200 | SUBDIR+= p5-Email-Address-XS | |
200 | SUBDIR+= p5-Email-Date | 201 | SUBDIR+= p5-Email-Date | |
201 | SUBDIR+= p5-Email-Date-Format | 202 | SUBDIR+= p5-Email-Date-Format | |
202 | SUBDIR+= p5-Email-Find | 203 | SUBDIR+= p5-Email-Find | |
203 | SUBDIR+= p5-Email-Folder | 204 | SUBDIR+= p5-Email-Folder | |
204 | SUBDIR+= p5-Email-FolderType | 205 | SUBDIR+= p5-Email-FolderType |
ARC is a technology proposal, put forward by a consortium of organizations,
intended to allow a chain of message handlers (typically email operators)
to confirm handling by trusted upstream handlers in an attempt to confirm
the valid use of certain identifiers in the message.
ARC is still experimental, and its specification may change. This package
is intended for use by operators willing to take part in the experiment and
provide their feedback to the development team.
# $NetBSD: Makefile,v 1.1 2023/04/21 00:49:56 manu Exp $
GITHUB_PROJECT= OpenARC
GITHUB_TAG= 355ee2a1ca85acccce494478991983b54f794f4e
DISTNAME= openarc-20180921
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GITHUB:=trusteddomainproject/}
DIST_SUBDIR= ${GITHUB_PROJECT}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/trusteddomainproject/OpenARC
COMMENT= Open source ARC library, MTA filter implementation and tools
LICENSE= modified-bsd
RCD_SCRIPTS= openarc
USE_LIBTOOL= yes
USE_TOOLS+= aclocal autoconf automake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-milter=${BUILDLINK_PREFIX.libmilter}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
INSTALLATION_DIRS= ${EGDIR}
pre-configure:
set -e; cd ${WRKSRC}; \
libtoolize; aclocal; autoheader; automake -a --foreign -i; autoconf
post-install:
${INSTALL_DATA} ${WRKSRC}/openarc/openarc.conf.sample \
${DESTDIR}${EGDIR}/
.include "../../security/openssl/buildlink3.mk"
BUILDLINK_API_DEPENDS.libmilter+= libmilter>=8.13.0
.include "../../mail/libmilter/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2023/04/21 00:49:56 manu Exp $
include/openarc/arc.h
lib/libopenarc.la
lib/pkgconfig/openarc.pc
man/man5/openarc.conf.5
man/man8/openarc.8
sbin/openarc
share/doc/openarc/LICENSE
share/doc/openarc/LICENSE.Sendmail
share/doc/openarc/RELEASE_NOTES
share/doc/openarc/draft-andersen-arc-05.txt
share/doc/openarc/index.html
share/doc/openarc/openarc
share/doc/openarc/openarc.conf.sample
share/doc/openarc/openarc.conf.simple
share/doc/openarc/openarc.service
share/doc/openarc/openarc.spec.in
share/doc/openarc/openarc.xml
share/examples/openarc/openarc.conf.sample
# $NetBSD: buildlink3.mk,v 1.1 2023/04/21 00:49:56 manu Exp $
BUILDLINK_TREE+= openarc
.if !defined(OPENARC_BUILDLINK3_MK)
OPENARC_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.openarc+= openarc>=1.1.3nb2
BUILDLINK_ABI_DEPENDS.openarc?= openarc>=1.3.1nb6
BUILDLINK_PKGSRCDIR.openarc?= ../../mail/openarc
.include "../../security/openssl/buildlink3.mk"
.include "../../mail/libmilter/buildlink3.mk"
.endif # OPENARC_BUILDLINK3_MK
BUILDLINK_TREE+= -openarc
$NetBSD: distinfo,v 1.1 2023/04/21 00:49:56 manu Exp $
SHA1 (OpenARC/openarc-20180921-355ee2a1ca85acccce494478991983b54f794f4e.tar.gz) = 2d3da6808e7ac6570df1a6dfa6be20204dfde152
RMD160 (OpenARC/openarc-20180921-355ee2a1ca85acccce494478991983b54f794f4e.tar.gz) = 0fce32633c541fcc7d14d80190dd6262fddf35da
SHA512 (OpenARC/openarc-20180921-355ee2a1ca85acccce494478991983b54f794f4e.tar.gz) = edf006b4c8312ea93f478a228a498cd00394c9ec9682cd918e15629ef77974c530033a2de466d7e3d30eefa5d0ad12514f18a914fb69ccfc4b8306ee147c917c
Size (OpenARC/openarc-20180921-355ee2a1ca85acccce494478991983b54f794f4e.tar.gz) = 150982 bytes
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: openarc.sh,v 1.1 2023/04/21 00:49:56 manu Exp $
#
# PROVIDE: openarc
# REQUIRE: DAEMON
# BEFORE: mail
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
name="openarc"
rcvar=$name
command="@PREFIX@/sbin/openarc"
pidfile="@VARBASE@/run/openarc/${name}.pid"
command_args="-P ${pidfile} -c @PKG_SYSCONFDIR@/openarc.conf"
required_files="@PKG_SYSCONFDIR@/openarc.conf"
start_precmd="openarc_precmd"
openarc_precmd()
{
if [ ! -d @VARBASE@/run/openarc ]; then
@MKDIR@ @VARBASE@/run/openarc
@CHMOD@ 0750 @VARBASE@/run/openarc
fi
if [ -f @VARBASE@/run/openarc/${name}.sock ]; then
@RM@ -f @VARBASE@/run/openarc/${name}.sock
fi
}
if [ -f /etc/rc.subr ]; then
load_rc_config $name
run_rc_command "$1"
else
echo -n " ${name}"
${command} ${openarc_flags} ${command_args}
fi
$NetBSD: patch-libopenarc_arc.c,v 1.1 2023/04/21 00:49:56 manu Exp $
Fix buffer overrun
From upstream
https://github.com/trusteddomainproject/OpenARC/pull/117
--- libopenarc/arc.c.orig 2021-03-30 15:33:39.683325974 +0200
+++ libopenarc/arc.c 2021-03-30 15:34:50.693955186 +0200
@@ -2329,8 +2329,12 @@
while (end > hdr && isascii(*(end - 1)) && isspace(*(end - 1)))
end--;
+ /* don't allow incredibly large field names */
+ if (end - hdr > ARC_MAXHEADER)
+ return ARC_STAT_SYNTAX;
+
/* don't allow a field name containing a semicolon */
semicolon = memchr(hdr, ';', hlen);
if (semicolon != NULL && colon != NULL && semicolon < colon)
return ARC_STAT_SYNTAX;
@@ -2676,8 +2680,9 @@
for (h = msg->arc_hhead; h != NULL; h = h->hdr_next)
{
char hnbuf[ARC_MAXHEADER + 1];
+ assert(h->hdr_namelen <= ARC_MAXHEADER);
memset(hnbuf, '\0', sizeof hnbuf);
strncpy(hnbuf, h->hdr_text, h->hdr_namelen);
if (strcasecmp(hnbuf, ARC_AR_HDRNAME) == 0 ||