From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 26 03:50:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1DD0CDC6 for ; Tue, 26 Mar 2013 03:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 02173637 for ; Tue, 26 Mar 2013 03:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2Q3o0QO004952 for ; Tue, 26 Mar 2013 03:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2Q3o0mE004951; Tue, 26 Mar 2013 03:50:00 GMT (envelope-from gnats) Resent-Date: Tue, 26 Mar 2013 03:50:00 GMT Resent-Message-Id: <201303260350.r2Q3o0mE004951@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, Tsunehiko Suzuki Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 030FED53 for ; Tue, 26 Mar 2013 03:40:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id CF0145ED for ; Tue, 26 Mar 2013 03:40:02 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2Q3e2XB056547 for ; Tue, 26 Mar 2013 03:40:02 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2Q3e2iG056546; Tue, 26 Mar 2013 03:40:02 GMT (envelope-from nobody) Message-Id: <201303260340.r2Q3e2iG056546@red.freebsd.org> Date: Tue, 26 Mar 2013 03:40:02 GMT From: Tsunehiko Suzuki To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177389: trouble of moderator and digest in qmailadmin+ezmlm-idx X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2013 03:50:01 -0000 >Number: 177389 >Category: ports >Synopsis: trouble of moderator and digest in qmailadmin+ezmlm-idx >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 26 03:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tsunehiko Suzuki >Release: 8.3-RELEASE-p3 >Organization: Chukyo University >Environment: FreeBSD vps2.e-ontap.com 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #2: Wed Jun 13 20:07:56 JST 2012 tss@vps2.e-ontap.com:/usr/obj/usr/src/sys/VPS i386 qmailadmin-1.2.15 + ezmlm-idx-7.1.1 >Description: The functions about "moderator" and "digest" did not work in qmailadmin-1.2.15 + ezmlm-idx-7.1.1. Because the specification of ezmlm-idx were changed. >How-To-Repeat: You can find no moderators in list of moderators even if you add a moderator. >Fix: --- mailinglist.c~ 2009-03-09 10:35:01.000000000 +0900 +++ mailinglist.c 2013-03-25 23:48:29.000000000 +0900 @@ -681,13 +681,15 @@ dup2(handles[1],fileno(stdout)); sprintf(TmpBuf1, "%s/ezmlm-list", EZMLMDIR); if(mod == 1) { - sprintf(TmpBuf2, "%s/%s/mod", RealDir, ActionUser); + sprintf(TmpBuf2, "%s/%s", RealDir, ActionUser); + execl(TmpBuf1, "ezmlm-list", TmpBuf2, "mod", NULL); } else if(mod == 2) { - sprintf(TmpBuf2, "%s/%s/digest", RealDir, ActionUser); + sprintf(TmpBuf2, "%s/%s", RealDir, ActionUser); + execl(TmpBuf1, "ezmlm-list", TmpBuf2, "digest", NULL); } else { sprintf(TmpBuf2, "%s/%s/", RealDir, ActionUser); + execl(TmpBuf1, "ezmlm-list", TmpBuf2, NULL); } - execl(TmpBuf1, "ezmlm-list", TmpBuf2, NULL); exit(127); } else { close(handles[1]); @@ -799,9 +801,9 @@ pid=fork(); if (pid==0) { snprintf(subpath, sizeof(subpath), "%s/ezmlm-sub", EZMLMDIR); - snprintf(listpath, sizeof(listpath), "%s/%s/%s", - RealDir, ActionUser, dir); - execl(subpath, "ezmlm-sub", listpath, email, NULL); + snprintf(listpath, sizeof(listpath), "%s/%s", + RealDir, ActionUser); + execl(subpath, "ezmlm-sub", listpath, dir, email, NULL); exit(127); } else wait(&pid); >Release-Note: >Audit-Trail: >Unformatted: