pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   manu
Date:           Thu Dec 11 00:48:28 UTC 2025

Modified Files:
        pkgsrc/doc: CHANGES-2025
        pkgsrc/mail: Makefile
Added Files:
        pkgsrc/mail/flowerysong-openarc: DESCR Makefile PLIST buildlink3.mk
            distinfo
        pkgsrc/mail/flowerysong-openarc/files: openarc.sh

Log Message:
Add  flowerysong-openarc version 1.3.0

This is a for from mail/openarc maintainer, integrating bugfixes in a
stable release.


To generate a diff of this commit:
cvs rdiff -u -r1.7119 -r1.7120 pkgsrc/doc/CHANGES-2025
cvs rdiff -u -r1.681 -r1.682 pkgsrc/mail/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/flowerysong-openarc/DESCR \
    pkgsrc/mail/flowerysong-openarc/Makefile \
    pkgsrc/mail/flowerysong-openarc/PLIST \
    pkgsrc/mail/flowerysong-openarc/buildlink3.mk \
    pkgsrc/mail/flowerysong-openarc/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/flowerysong-openarc/files/openarc.sh

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

Modified files:

Index: pkgsrc/doc/CHANGES-2025
diff -u pkgsrc/doc/CHANGES-2025:1.7119 pkgsrc/doc/CHANGES-2025:1.7120
--- pkgsrc/doc/CHANGES-2025:1.7119      Wed Dec 10 23:03:44 2025
+++ pkgsrc/doc/CHANGES-2025     Thu Dec 11 00:48:27 2025
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2025,v 1.7119 2025/12/10 23:03:44 wiz Exp $
+$NetBSD: CHANGES-2025,v 1.7120 2025/12/11 00:48:27 manu Exp $
 
 Changes to the packages collection and infrastructure in 2025:
 
@@ -10333,3 +10333,4 @@ Changes to the packages collection and i
        Updated emulators/nono to 1.6.4 [jun 2025-12-11]
        Updated net/openresolv to 3.17.1 [roy 2025-12-10]
        Updated devel/nss to 3.119.1 [wiz 2025-12-10]
+       Added mail/flowerysong-openarc version 1.3.0 [manu 2025-12-11]

Index: pkgsrc/mail/Makefile
diff -u pkgsrc/mail/Makefile:1.681 pkgsrc/mail/Makefile:1.682
--- pkgsrc/mail/Makefile:1.681  Sun Nov 23 20:22:43 2025
+++ pkgsrc/mail/Makefile        Thu Dec 11 00:48:27 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.681 2025/11/23 20:22:43 wiz Exp $
+# $NetBSD: Makefile,v 1.682 2025/12/11 00:48:27 manu Exp $
 #
 
 COMMENT=       Electronic mail utilities
@@ -99,6 +99,7 @@ SUBDIR+=      feed2exec
 SUBDIR+=       fetchmail
 SUBDIR+=       fetchmailconf
 SUBDIR+=       fix-mime-charset
+SUBDIR+=       flowerysong-openarc
 SUBDIR+=       fml
 SUBDIR+=       fml4
 SUBDIR+=       fromto

Added files:

Index: pkgsrc/mail/flowerysong-openarc/DESCR
diff -u /dev/null pkgsrc/mail/flowerysong-openarc/DESCR:1.1
--- /dev/null   Thu Dec 11 00:48:28 2025
+++ pkgsrc/mail/flowerysong-openarc/DESCR       Thu Dec 11 00:48:27 2025
@@ -0,0 +1,8 @@
+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.
Index: pkgsrc/mail/flowerysong-openarc/Makefile
diff -u /dev/null pkgsrc/mail/flowerysong-openarc/Makefile:1.1
--- /dev/null   Thu Dec 11 00:48:28 2025
+++ pkgsrc/mail/flowerysong-openarc/Makefile    Thu Dec 11 00:48:27 2025
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1 2025/12/11 00:48:27 manu Exp $
+DISTNAME=      OpenARC-1.3.0
+PKGNAME=       flowerysong-${DISTNAME:tl}
+CATEGORIES=    mail
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=flowerysong/}
+GITHUB_TAG=    refs/tags/v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/flowerysong/OpenARC
+COMMENT=       Open source ARC library, MTA filter implementation and tools
+LICENSE=       modified-bsd
+
+RCD_SCRIPTS=   openarc
+
+WRKSRC=                ${WRKDIR}/${DISTNAME}
+
+USE_LIBTOOL=   yes
+USE_TOOLS+=    aclocal autoconf automake pkg-config
+
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=       --with-milter=${BUILDLINK_PREFIX.libmilter}
+
+SUBST_CLASSES+=                        interpreter
+SUBST_STAGE.interpreter=       pre-configure
+SUBST_MESSAGE.interpreter=     Substituting /usr/bin/env python3 interpreter
+SUBST_FILES.interpreter=       contrib/openarc-keygen
+SUBST_SED.interpreter+=        -e "s,\#! */usr/bin/env *python3,\#!${PYTHONBIN},"
+
+EGDIR=         ${PREFIX}/share/examples/${PKGBASE}
+
+INSTALLATION_DIRS=     ${EGDIR}
+
+pre-configure:
+       cd ${WRKSRC} && autoreconf -fiv
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/openarc/openarc.conf.sample \
+               ${DESTDIR}${EGDIR}/
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/libidn2/buildlink3.mk"
+.include "../../textproc/jansson/buildlink3.mk"
+.include "../../mail/libmilter/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/flowerysong-openarc/PLIST
diff -u /dev/null pkgsrc/mail/flowerysong-openarc/PLIST:1.1
--- /dev/null   Thu Dec 11 00:48:28 2025
+++ pkgsrc/mail/flowerysong-openarc/PLIST       Thu Dec 11 00:48:27 2025
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2025/12/11 00:48:27 manu Exp $
+bin/openarc-keygen
+include/openarc/arc.h
+lib/libopenarc.la
+lib/pkgconfig/openarc.pc
+man/man1/openarc-keygen.1
+man/man5/openarc.conf.5
+man/man8/openarc.8
+sbin/openarc
+share/doc/openarc/CHANGELOG.md
+share/doc/openarc/LICENSE
+share/doc/openarc/LICENSE.Sendmail
+share/doc/openarc/README.md
+share/doc/openarc/openarc
+share/doc/openarc/openarc.conf.sample
+share/doc/openarc/openarc.service
+share/doc/openarc/openarc.spec.in
+share/doc/openarc/openarc.xml
+share/examples/flowerysong-openarc/openarc.conf.sample
Index: pkgsrc/mail/flowerysong-openarc/buildlink3.mk
diff -u /dev/null pkgsrc/mail/flowerysong-openarc/buildlink3.mk:1.1
--- /dev/null   Thu Dec 11 00:48:28 2025
+++ pkgsrc/mail/flowerysong-openarc/buildlink3.mk       Thu Dec 11 00:48:27 2025
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2025/12/11 00:48:27 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>=20180921nb2
+BUILDLINK_PKGSRCDIR.openarc?=  ../../mail/openarc
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mail/libmilter/buildlink3.mk"
+.endif # OPENARC_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -openarc
Index: pkgsrc/mail/flowerysong-openarc/distinfo
diff -u /dev/null pkgsrc/mail/flowerysong-openarc/distinfo:1.1
--- /dev/null   Thu Dec 11 00:48:28 2025
+++ pkgsrc/mail/flowerysong-openarc/distinfo    Thu Dec 11 00:48:27 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/12/11 00:48:27 manu Exp $
+
+BLAKE2s (OpenARC-1.3.0.tar.gz) = 6b9b960ef480505db318c63667060d735828c047b49bf7ef598a81b34e707260
+SHA512 (OpenARC-1.3.0.tar.gz) = a70fd2e2754d20625a051969238373db7b3251dc86a0b13c0417cd607f37b92c2adc5577d4ab946ebbc45223adaf8d3994ee234506a257918e724fdf3731ad12
+Size (OpenARC-1.3.0.tar.gz) = 135616 bytes

Index: pkgsrc/mail/flowerysong-openarc/files/openarc.sh
diff -u /dev/null pkgsrc/mail/flowerysong-openarc/files/openarc.sh:1.1
--- /dev/null   Thu Dec 11 00:48:28 2025
+++ pkgsrc/mail/flowerysong-openarc/files/openarc.sh    Thu Dec 11 00:48:28 2025
@@ -0,0 +1,39 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: openarc.sh,v 1.1 2025/12/11 00:48:28 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



Home | Main Index | Thread Index | Old Index