From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 21 12:30:27 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41A4216A4CE for ; Mon, 21 Jun 2004 12:30:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25BFB43D5A for ; Mon, 21 Jun 2004 12:30:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5LCUPmg077889 for ; Mon, 21 Jun 2004 12:30:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5LCUPGo077881; Mon, 21 Jun 2004 12:30:25 GMT (envelope-from gnats) Resent-Date: Mon, 21 Jun 2004 12:30:25 GMT Resent-Message-Id: <200406211230.i5LCUPGo077881@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christian Laursen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B1AA16A4CE for ; Mon, 21 Jun 2004 12:22:31 +0000 (GMT) Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B00A43D5A for ; Mon, 21 Jun 2004 12:22:30 +0000 (GMT) (envelope-from xi@borderworlds.dk) Received: from ferengi.borderworlds.dk (0x50a69807.arcnxx19.adsl-dhcp.tele.dk [80.166.152.7]) by pfepb.post.tele.dk (Postfix) with ESMTP id 3AF7F5EE04A for ; Mon, 21 Jun 2004 14:22:17 +0200 (CEST) Received: from borg.borderworlds.dk (localhost [127.0.0.1]) by ferengi.borderworlds.dk (Postfix) with ESMTP id 458C5B811 for ; Mon, 21 Jun 2004 14:22:16 +0200 (CEST) Received: by borg.borderworlds.dk (Postfix, from userid 1001) id 1E69CB89D; Mon, 21 Jun 2004 14:22:16 +0200 (CEST) Message-Id: <20040621122216.1E69CB89D@borg.borderworlds.dk> Date: Mon, 21 Jun 2004 14:22:16 +0200 (CEST) From: Christian Laursen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/68166: Update port: mail/mlmmj to 0.8.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Christian Laursen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 12:30:27 -0000 >Number: 68166 >Category: ports >Synopsis: Update port: mail/mlmmj to 0.8.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jun 21 12:30:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Christian Laursen >Release: FreeBSD 5.2.1-RELEASE-p8 i386 >Organization: The Border Worlds >Environment: System: FreeBSD borg.borderworlds.dk 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #27: Wed May 26 16:50:30 CEST 2004 root@borg.borderworlds.dk:/usr/obj/usr/src/sys/BORG i386 >Description: This updates mail/mlmmj to 0.8.0. From the Changelog: 0.8.0 o Added regular expression based access control. o Added wrappers for malloc(), realloc(), free() and strdup(), so we can bail out if any of them fail. 0.7.3 o Implement control/delheaders in where one can specify all the headers to delete in incoming mail to the list. o Add +owner functionality (control/owner). Several addresses possible. o Relicense the whole thing to be MIT instead of GPL 0.7.2 o Make it possible to only let subscribers post o Implement feature to deny posts where the listaddress is not in To: or Cc:. Enabled pr. default, but can be disabled by touching control/tocc o Make mlmmj-sub change uid to the owner of listdir to avoid permission problems. Disable with -U to mlmmj-sub. o More memory debugging >How-To-Repeat: >Fix: Apply the diff below. Notice that patch-mlmmj-maintd and patch-src-init_sockfd.c are empty after applying the diff and should be deleted. --- mlmmj.diff begins here --- diff -urN /usr/ports/mail/mlmmj/Makefile mlmmj/Makefile --- /usr/ports/mail/mlmmj/Makefile Wed Jun 16 22:29:17 2004 +++ mlmmj/Makefile Mon Jun 21 14:13:59 2004 @@ -6,7 +6,7 @@ # PORTNAME= mlmmj -PORTVERSION= 0.7.1 +PORTVERSION= 0.8.0 CATEGORIES= mail MASTER_SITES= http://mlmmj.mmj.dk/files/ diff -urN /usr/ports/mail/mlmmj/distinfo mlmmj/distinfo --- /usr/ports/mail/mlmmj/distinfo Wed Jun 16 22:29:17 2004 +++ mlmmj/distinfo Mon Jun 21 14:13:59 2004 @@ -1,2 +1,2 @@ -MD5 (mlmmj-0.7.1.tar.bz2) = f0b4af8821c6f67dcc3845d060ddb2a6 -SIZE (mlmmj-0.7.1.tar.bz2) = 92156 +MD5 (mlmmj-0.8.0.tar.bz2) = b69d0b621722064caaf56befdac3cca2 +SIZE (mlmmj-0.8.0.tar.bz2) = 89338 diff -urN /usr/ports/mail/mlmmj/files/patch-mlmmj-maintd mlmmj/files/patch-mlmmj-maintd --- /usr/ports/mail/mlmmj/files/patch-mlmmj-maintd Wed Jun 16 22:29:18 2004 +++ mlmmj/files/patch-mlmmj-maintd Thu Jan 1 01:00:00 1970 @@ -1,45 +0,0 @@ ---- src/mlmmj-maintd.c Thu Jun 10 18:11:55 2004 -+++ src/mlmmj-maintd.c Fri Jun 11 12:26:58 2004 -@@ -293,6 +293,8 @@ - return 1; - } - -+ free(dirname); -+ - while((dp = readdir(queuedir)) != NULL) { - if((strcmp(dp->d_name, "..") == 0) || - (strcmp(dp->d_name, ".") == 0)) -@@ -634,7 +636,7 @@ - { - int opt, daemonize = 1; - char *bindir, *listdir = NULL, *mlmmjsend, *mlmmjbounce, *mlmmjunsub; -- char *logstr, *logname, *random = random_str(); -+ char *logstr, *logname, *random; - char uidstr[16]; - struct stat st; - -@@ -697,10 +699,13 @@ - } - - for(;;) { -+ random = random_str(); - logname = concatstr(3, listdir, "maintdlog-", random); -+ free(random); - maintdlogfd = open(logname, O_WRONLY|O_EXCL|O_CREAT, - S_IRUSR|S_IWUSR); - if(maintdlogfd < 0) { -+ free(logname); - log_error(LOG_ARGS, "Could not open maintenance logfile"); - exit(EXIT_FAILURE); - } -@@ -744,6 +749,10 @@ - else - sleep(MAINTD_SLEEP); - } -+ -+ free(mlmmjbounce); -+ free(mlmmjsend); -+ free(mlmmjunsub); - - exit(EXIT_SUCCESS); - } diff -urN /usr/ports/mail/mlmmj/files/patch-src-init_sockfd.c mlmmj/files/patch-src-init_sockfd.c --- /usr/ports/mail/mlmmj/files/patch-src-init_sockfd.c Wed Jun 16 22:29:18 2004 +++ mlmmj/files/patch-src-init_sockfd.c Thu Jan 1 01:00:00 1970 @@ -1,10 +0,0 @@ ---- src/init_sockfd.c.orig Thu May 20 01:19:02 2004 -+++ src/init_sockfd.c Wed Jun 16 22:12:20 2004 -@@ -7,6 +7,7 @@ - */ - - #include -+#include - #include - #include - #include diff -urN /usr/ports/mail/mlmmj/pkg-plist mlmmj/pkg-plist --- /usr/ports/mail/mlmmj/pkg-plist Wed Jun 16 22:29:17 2004 +++ mlmmj/pkg-plist Mon Jun 21 14:13:59 2004 @@ -6,12 +6,14 @@ bin/mlmmj-bounce bin/mlmmj-maintd bin/mlmmj-make-ml.sh +share/mlmmj/listtexts/access share/mlmmj/listtexts/bounce-probe share/mlmmj/listtexts/listhelp share/mlmmj/listtexts/moderation share/mlmmj/listtexts/notintocc share/mlmmj/listtexts/sub-confirm share/mlmmj/listtexts/sub-ok +share/mlmmj/listtexts/subonlypost share/mlmmj/listtexts/unsub-confirm share/mlmmj/listtexts/unsub-ok @dirrm share/mlmmj/listtexts --- mlmmj.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: