pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail
Module Name: pkgsrc
Committed By: roy
Date: Tue Mar 31 20:37:47 UTC 2020
Modified Files:
pkgsrc/mail: Makefile
Added Files:
pkgsrc/mail/mlmmj: DESCR Makefile PLIST distinfo
pkgsrc/mail/mlmmj/patches:
patch-reduce-subscription-confirmation-address-length.diff
Log Message:
Import mlmmj-1.3.0 from wip
To generate a diff of this commit:
cvs rdiff -u -r1.546 -r1.547 pkgsrc/mail/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/mlmmj/DESCR pkgsrc/mail/mlmmj/Makefile \
pkgsrc/mail/mlmmj/PLIST pkgsrc/mail/mlmmj/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/mail/mlmmj/patches/patch-reduce-subscription-confirmation-address-length.diff
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/Makefile
diff -u pkgsrc/mail/Makefile:1.546 pkgsrc/mail/Makefile:1.547
--- pkgsrc/mail/Makefile:1.546 Mon Mar 30 10:13:55 2020
+++ pkgsrc/mail/Makefile Tue Mar 31 20:37:47 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.546 2020/03/30 10:13:55 nia Exp $
+# $NetBSD: Makefile,v 1.547 2020/03/31 20:37:47 roy Exp $
#
COMMENT= Electronic mail utilities
@@ -168,6 +168,7 @@ SUBDIR+= mimedefang
SUBDIR+= mimp
SUBDIR+= mini_sendmail
SUBDIR+= minimalist
+SUBDIR+= mlmmj
SUBDIR+= mopher
SUBDIR+= mpop
SUBDIR+= msmtp
Added files:
Index: pkgsrc/mail/mlmmj/DESCR
diff -u /dev/null pkgsrc/mail/mlmmj/DESCR:1.1
--- /dev/null Tue Mar 31 20:37:47 2020
+++ pkgsrc/mail/mlmmj/DESCR Tue Mar 31 20:37:47 2020
@@ -0,0 +1,6 @@
+Mlmmj is a simple and slim mailing list manager (MLM) inspired by
+ezmlm. It works with many different Mail Transport Agents (MTAs)
+and is simple for a system adminstrator to install, configure and
+integrate with other software. As it uses very few resources, and
+requires no daemons, it is ideal for installation on systems where
+resources are limited, such as Virtual Private Servers (VPSes).
Index: pkgsrc/mail/mlmmj/Makefile
diff -u /dev/null pkgsrc/mail/mlmmj/Makefile:1.1
--- /dev/null Tue Mar 31 20:37:47 2020
+++ pkgsrc/mail/mlmmj/Makefile Tue Mar 31 20:37:47 2020
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2020/03/31 20:37:47 roy Exp $
+
+DISTNAME= mlmmj-1.3.0
+PKGREVISION= 1
+CATEGORIES= mail
+MASTER_SITES= http://mlmmj.org/releases/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= uebayasi%NetBSD.org@localhost
+HOMEPAGE= http://mlmmj.org/
+COMMENT= Mailing list management made joyful
+LICENSE= mit
+
+GNU_CONFIGURE= yes
+USE_TOOLS= gmake
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/mlmmj/PLIST
diff -u /dev/null pkgsrc/mail/mlmmj/PLIST:1.1
--- /dev/null Tue Mar 31 20:37:47 2020
+++ pkgsrc/mail/mlmmj/PLIST Tue Mar 31 20:37:47 2020
@@ -0,0 +1,197 @@
+@comment $NetBSD: PLIST,v 1.1 2020/03/31 20:37:47 roy Exp $
+bin/mlmmj-bounce
+bin/mlmmj-list
+bin/mlmmj-maintd
+bin/mlmmj-make-ml
+bin/mlmmj-make-ml.sh
+bin/mlmmj-process
+bin/mlmmj-receive
+bin/mlmmj-recieve
+bin/mlmmj-send
+bin/mlmmj-sub
+bin/mlmmj-unsub
+man/man1/mlmmj-bounce.1
+man/man1/mlmmj-list.1
+man/man1/mlmmj-maintd.1
+man/man1/mlmmj-make-ml.1
+man/man1/mlmmj-process.1
+man/man1/mlmmj-receive.1
+man/man1/mlmmj-send.1
+man/man1/mlmmj-sub.1
+man/man1/mlmmj-unsub.1
+share/mlmmj/text.skel/ast/confirm
+share/mlmmj/text.skel/ast/deny
+share/mlmmj/text.skel/ast/deny-post
+share/mlmmj/text.skel/ast/digest
+share/mlmmj/text.skel/ast/faq
+share/mlmmj/text.skel/ast/finish
+share/mlmmj/text.skel/ast/finish-sub
+share/mlmmj/text.skel/ast/gatekeep-sub
+share/mlmmj/text.skel/ast/help
+share/mlmmj/text.skel/ast/list
+share/mlmmj/text.skel/ast/moderate-post
+share/mlmmj/text.skel/ast/notify
+share/mlmmj/text.skel/ast/probe
+share/mlmmj/text.skel/ast/prologue
+share/mlmmj/text.skel/ast/wait-post
+share/mlmmj/text.skel/ast/wait-sub
+share/mlmmj/text.skel/cs/confirm
+share/mlmmj/text.skel/cs/deny
+share/mlmmj/text.skel/cs/deny-post
+share/mlmmj/text.skel/cs/digest
+share/mlmmj/text.skel/cs/faq
+share/mlmmj/text.skel/cs/finish
+share/mlmmj/text.skel/cs/finish-sub
+share/mlmmj/text.skel/cs/gatekeep-sub
+share/mlmmj/text.skel/cs/help
+share/mlmmj/text.skel/cs/list
+share/mlmmj/text.skel/cs/moderate-post
+share/mlmmj/text.skel/cs/notify
+share/mlmmj/text.skel/cs/probe
+share/mlmmj/text.skel/cs/prologue
+share/mlmmj/text.skel/cs/wait-post
+share/mlmmj/text.skel/cs/wait-sub
+share/mlmmj/text.skel/de/confirm
+share/mlmmj/text.skel/de/deny
+share/mlmmj/text.skel/de/deny-post
+share/mlmmj/text.skel/de/digest
+share/mlmmj/text.skel/de/faq
+share/mlmmj/text.skel/de/finish
+share/mlmmj/text.skel/de/finish-sub
+share/mlmmj/text.skel/de/gatekeep-sub
+share/mlmmj/text.skel/de/help
+share/mlmmj/text.skel/de/list
+share/mlmmj/text.skel/de/moderate-post
+share/mlmmj/text.skel/de/notify
+share/mlmmj/text.skel/de/probe
+share/mlmmj/text.skel/de/prologue
+share/mlmmj/text.skel/de/wait-post
+share/mlmmj/text.skel/de/wait-sub
+share/mlmmj/text.skel/en/confirm
+share/mlmmj/text.skel/en/deny
+share/mlmmj/text.skel/en/deny-post
+share/mlmmj/text.skel/en/digest
+share/mlmmj/text.skel/en/faq
+share/mlmmj/text.skel/en/finish
+share/mlmmj/text.skel/en/finish-sub
+share/mlmmj/text.skel/en/gatekeep-sub
+share/mlmmj/text.skel/en/help
+share/mlmmj/text.skel/en/list
+share/mlmmj/text.skel/en/moderate-post
+share/mlmmj/text.skel/en/notify
+share/mlmmj/text.skel/en/probe
+share/mlmmj/text.skel/en/prologue
+share/mlmmj/text.skel/en/wait-post
+share/mlmmj/text.skel/en/wait-sub
+share/mlmmj/text.skel/fi/confirm
+share/mlmmj/text.skel/fi/deny
+share/mlmmj/text.skel/fi/deny-post
+share/mlmmj/text.skel/fi/digest
+share/mlmmj/text.skel/fi/faq
+share/mlmmj/text.skel/fi/finish
+share/mlmmj/text.skel/fi/finish-sub
+share/mlmmj/text.skel/fi/gatekeep-sub
+share/mlmmj/text.skel/fi/help
+share/mlmmj/text.skel/fi/list
+share/mlmmj/text.skel/fi/moderate-post
+share/mlmmj/text.skel/fi/notify
+share/mlmmj/text.skel/fi/probe
+share/mlmmj/text.skel/fi/prologue
+share/mlmmj/text.skel/fi/wait-post
+share/mlmmj/text.skel/fi/wait-sub
+share/mlmmj/text.skel/fr/confirm
+share/mlmmj/text.skel/fr/deny
+share/mlmmj/text.skel/fr/deny-post
+share/mlmmj/text.skel/fr/digest
+share/mlmmj/text.skel/fr/faq
+share/mlmmj/text.skel/fr/finish
+share/mlmmj/text.skel/fr/finish-sub
+share/mlmmj/text.skel/fr/gatekeep-sub
+share/mlmmj/text.skel/fr/help
+share/mlmmj/text.skel/fr/list
+share/mlmmj/text.skel/fr/moderate-post
+share/mlmmj/text.skel/fr/notify
+share/mlmmj/text.skel/fr/probe
+share/mlmmj/text.skel/fr/prologue
+share/mlmmj/text.skel/fr/wait-post
+share/mlmmj/text.skel/fr/wait-sub
+share/mlmmj/text.skel/gr/confirm
+share/mlmmj/text.skel/gr/deny
+share/mlmmj/text.skel/gr/deny-post
+share/mlmmj/text.skel/gr/digest
+share/mlmmj/text.skel/gr/faq
+share/mlmmj/text.skel/gr/finish
+share/mlmmj/text.skel/gr/finish-sub
+share/mlmmj/text.skel/gr/gatekeep-sub
+share/mlmmj/text.skel/gr/help
+share/mlmmj/text.skel/gr/list
+share/mlmmj/text.skel/gr/moderate-post
+share/mlmmj/text.skel/gr/notify
+share/mlmmj/text.skel/gr/probe
+share/mlmmj/text.skel/gr/prologue
+share/mlmmj/text.skel/gr/wait-post
+share/mlmmj/text.skel/gr/wait-sub
+share/mlmmj/text.skel/it/confirm
+share/mlmmj/text.skel/it/deny
+share/mlmmj/text.skel/it/deny-post
+share/mlmmj/text.skel/it/digest
+share/mlmmj/text.skel/it/faq
+share/mlmmj/text.skel/it/finish
+share/mlmmj/text.skel/it/finish-sub
+share/mlmmj/text.skel/it/gatekeep-sub
+share/mlmmj/text.skel/it/help
+share/mlmmj/text.skel/it/list
+share/mlmmj/text.skel/it/moderate-post
+share/mlmmj/text.skel/it/notify
+share/mlmmj/text.skel/it/probe
+share/mlmmj/text.skel/it/prologue
+share/mlmmj/text.skel/it/wait-post
+share/mlmmj/text.skel/it/wait-sub
+share/mlmmj/text.skel/pt/confirm
+share/mlmmj/text.skel/pt/deny
+share/mlmmj/text.skel/pt/deny-post
+share/mlmmj/text.skel/pt/digest
+share/mlmmj/text.skel/pt/faq
+share/mlmmj/text.skel/pt/finish
+share/mlmmj/text.skel/pt/finish-sub
+share/mlmmj/text.skel/pt/gatekeep-sub
+share/mlmmj/text.skel/pt/help
+share/mlmmj/text.skel/pt/list
+share/mlmmj/text.skel/pt/moderate-post
+share/mlmmj/text.skel/pt/notify
+share/mlmmj/text.skel/pt/probe
+share/mlmmj/text.skel/pt/prologue
+share/mlmmj/text.skel/pt/wait-post
+share/mlmmj/text.skel/pt/wait-sub
+share/mlmmj/text.skel/sk/confirm
+share/mlmmj/text.skel/sk/deny
+share/mlmmj/text.skel/sk/deny-post
+share/mlmmj/text.skel/sk/digest
+share/mlmmj/text.skel/sk/faq
+share/mlmmj/text.skel/sk/finish
+share/mlmmj/text.skel/sk/finish-sub
+share/mlmmj/text.skel/sk/gatekeep-sub
+share/mlmmj/text.skel/sk/help
+share/mlmmj/text.skel/sk/list
+share/mlmmj/text.skel/sk/moderate-post
+share/mlmmj/text.skel/sk/notify
+share/mlmmj/text.skel/sk/probe
+share/mlmmj/text.skel/sk/prologue
+share/mlmmj/text.skel/sk/wait-post
+share/mlmmj/text.skel/sk/wait-sub
+share/mlmmj/text.skel/zh-cn/confirm
+share/mlmmj/text.skel/zh-cn/deny
+share/mlmmj/text.skel/zh-cn/deny-post
+share/mlmmj/text.skel/zh-cn/digest
+share/mlmmj/text.skel/zh-cn/faq
+share/mlmmj/text.skel/zh-cn/finish
+share/mlmmj/text.skel/zh-cn/finish-sub
+share/mlmmj/text.skel/zh-cn/gatekeep-sub
+share/mlmmj/text.skel/zh-cn/help
+share/mlmmj/text.skel/zh-cn/list
+share/mlmmj/text.skel/zh-cn/moderate-post
+share/mlmmj/text.skel/zh-cn/notify
+share/mlmmj/text.skel/zh-cn/probe
+share/mlmmj/text.skel/zh-cn/prologue
+share/mlmmj/text.skel/zh-cn/wait-post
+share/mlmmj/text.skel/zh-cn/wait-sub
Index: pkgsrc/mail/mlmmj/distinfo
diff -u /dev/null pkgsrc/mail/mlmmj/distinfo:1.1
--- /dev/null Tue Mar 31 20:37:47 2020
+++ pkgsrc/mail/mlmmj/distinfo Tue Mar 31 20:37:47 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/03/31 20:37:47 roy Exp $
+
+SHA1 (mlmmj-1.3.0.tar.bz2) = e11652dfe1b74f87034914eb79302944cfb89b4f
+RMD160 (mlmmj-1.3.0.tar.bz2) = 6353f546342593adc76d17e178f702dc340a1586
+SHA512 (mlmmj-1.3.0.tar.bz2) = c704d89f8a96c0ffc751a744ffdefb5e4304ab74be89292f06ce0c337b8ff1cc5a91737c8b1bd96fe3e993338986fa42bf360cfefc508e1eac74ab88ffda2494
+Size (mlmmj-1.3.0.tar.bz2) = 292519 bytes
+SHA1 (patch-reduce-subscription-confirmation-address-length.diff) = e350db1b63319db94df658d7e31f492af96d0761
Index: pkgsrc/mail/mlmmj/patches/patch-reduce-subscription-confirmation-address-length.diff
diff -u /dev/null pkgsrc/mail/mlmmj/patches/patch-reduce-subscription-confirmation-address-length.diff:1.1
--- /dev/null Tue Mar 31 20:37:47 2020
+++ pkgsrc/mail/mlmmj/patches/patch-reduce-subscription-confirmation-address-length.diff Tue Mar 31 20:37:47 2020
@@ -0,0 +1,88 @@
+$NetBSD: patch-reduce-subscription-confirmation-address-length.diff,v 1.1 2020/03/31 20:37:47 roy Exp $
+
+From cb0788bc35c471a87fc75aca6d4e405fdbaccfd8 Mon Sep 17 00:00:00 2001
+From: Geert Stappers <stappers%stappers.it@localhost>
+Date: Thu, 25 May 2017 09:17:55 +0200
+Subject: [PATCH] Reduce subscription confirmation address length to fit RFC
+ 5321
+
+The local part of mailing list subscription confirmation addresses
+formed of:
+
+ mailing-list-name "+confsub-" 16-random-hex "-" sender-address
+
+can get very long, especially if sender-address is long.
+However, RFC limits it at 64 characters.
+
+Closes http://mlmmj.org/bugs/bug.php?id=63
+
+Reported-by: mgorny%gentoo.org@localhost
+---
+ src/mlmmj-sub.c | 2 +-
+ src/mlmmj-unsub.c | 2 +-
+ src/strgen.c | 23 +----------------------
+ 3 files changed, 3 insertions(+), 24 deletions(-)
+
+diff --git a/src/mlmmj-sub.c b/src/mlmmj-sub.c
+index 3335817..5c8c1ae 100644
+--- src/mlmmj-sub.c
++++ src/mlmmj-sub.c
+@@ -413,7 +413,7 @@ void generate_subconfirm(const char *listdir, const char *listaddr,
+ do {
+ myfree(confirmfilename);
+ myfree(randomstr);
+- randomstr = random_plus_addr(subaddr);
++ randomstr = random_str();
+ confirmfilename = concatstr(3, listdir, "/subconf/",
+ randomstr);
+
+diff --git a/src/mlmmj-unsub.c b/src/mlmmj-unsub.c
+index 0fa42a1..8e13f3c 100644
+--- src/mlmmj-unsub.c
++++ src/mlmmj-unsub.c
+@@ -171,7 +171,7 @@ void generate_unsubconfirm(const char *listdir, const char *listaddr,
+ do {
+ myfree(confirmfilename);
+ myfree(randomstr);
+- randomstr = random_plus_addr(subaddr);
++ randomstr = random_str();
+ confirmfilename = concatstr(3, listdir, "/unsubconf/",
+ randomstr);
+
+diff --git a/src/strgen.c b/src/strgen.c
+index f13db47..673f44a 100644
+--- src/strgen.c
++++ src/strgen.c
+@@ -40,31 +40,10 @@
+
+ char *random_str()
+ {
+- size_t len = 17;
++ size_t len = 17; /* sixteen hex digits plus terminating zero */
+ char *dest = mymalloc(len);
+
+ snprintf(dest, len, "%08x%08x", random_int(), random_int());
+-
+- return dest;
+-}
+-
+-char *random_plus_addr(const char *addr)
+-{
+- size_t len = strlen(addr) + 128;
+- char *dest = mymalloc(len);
+- char *atsign;
+- char *tmpstr;
+-
+- tmpstr = mymalloc(len);
+- snprintf(tmpstr, len, "%s", addr);
+-
+- atsign = strchr(tmpstr, '@');
+- MY_ASSERT(atsign);
+- *atsign = '=';
+-
+- snprintf(dest, len, "%08x%08x-%s", random_int(), random_int(), tmpstr);
+-
+- myfree(tmpstr);
+
+ return dest;
+ }
Home |
Main Index |
Thread Index |
Old Index