From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 13 20:00:50 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 7AC3516A4CE for ; Sun, 13 Jun 2004 20:00:50 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D61843D46 for ; Sun, 13 Jun 2004 20:00:50 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5DK0jMP065379 for ; Sun, 13 Jun 2004 20:00:45 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5DK0jmO065371; Sun, 13 Jun 2004 20:00:45 GMT (envelope-from gnats) Resent-Date: Sun, 13 Jun 2004 20:00:45 GMT Resent-Message-Id: <200406132000.i5DK0jmO065371@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 6497216A4CE for ; Sun, 13 Jun 2004 19:54:53 +0000 (GMT) Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D2CA43D1F for ; Sun, 13 Jun 2004 19:54:52 +0000 (GMT) (envelope-from xi@borderworlds.dk) Received: from ferengi.borderworlds.dk (0x50a69807.arcnxx19.adsl-dhcp.tele.dk [80.166.152.7]) by pfepa.post.tele.dk (Postfix) with ESMTP id 094B847FEA3 for ; Sun, 13 Jun 2004 21:54:48 +0200 (CEST) Received: from borg.borderworlds.dk (localhost [127.0.0.1]) by ferengi.borderworlds.dk (Postfix) with ESMTP id 169A3B824 for ; Sun, 13 Jun 2004 21:54:48 +0200 (CEST) Received: by borg.borderworlds.dk (Postfix, from userid 1001) id E892DB89D; Sun, 13 Jun 2004 21:54:47 +0200 (CEST) Message-Id: <20040613195447.E892DB89D@borg.borderworlds.dk> Date: Sun, 13 Jun 2004 21:54:47 +0200 (CEST) From: Christian Laursen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/67911: New port: mail/mlmmj Mailing list managing made joyful 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: Sun, 13 Jun 2004 20:00:50 -0000 >Number: 67911 >Category: ports >Synopsis: New port: mail/mlmmj Mailing list managing made joyful >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 13 20:00:44 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 is an attempt at implementing a mailing list manager with the same functionality as the brilliant ezmlm, but with a decent license and mail server independency. >How-To-Repeat: >Fix: --- mlmmj.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mlmmj # mlmmj/files # mlmmj/files/patch-mlmmj-maintd # mlmmj/files/patch-mlmmj-make-ml.sh # mlmmj/Makefile # mlmmj/distinfo # mlmmj/pkg-descr # mlmmj/pkg-plist # echo c - mlmmj mkdir -p mlmmj > /dev/null 2>&1 echo c - mlmmj/files mkdir -p mlmmj/files > /dev/null 2>&1 echo x - mlmmj/files/patch-mlmmj-maintd sed 's/^X//' >mlmmj/files/patch-mlmmj-maintd << 'END-of-mlmmj/files/patch-mlmmj-maintd' X--- src/mlmmj-maintd.c Thu Jun 10 18:11:55 2004 X+++ src/mlmmj-maintd.c Fri Jun 11 12:26:58 2004 X@@ -293,6 +293,8 @@ X return 1; X } X X+ free(dirname); X+ X while((dp = readdir(queuedir)) != NULL) { X if((strcmp(dp->d_name, "..") == 0) || X (strcmp(dp->d_name, ".") == 0)) X@@ -634,7 +636,7 @@ X { X int opt, daemonize = 1; X char *bindir, *listdir = NULL, *mlmmjsend, *mlmmjbounce, *mlmmjunsub; X- char *logstr, *logname, *random = random_str(); X+ char *logstr, *logname, *random; X char uidstr[16]; X struct stat st; X X@@ -697,10 +699,13 @@ X } X X for(;;) { X+ random = random_str(); X logname = concatstr(3, listdir, "maintdlog-", random); X+ free(random); X maintdlogfd = open(logname, O_WRONLY|O_EXCL|O_CREAT, X S_IRUSR|S_IWUSR); X if(maintdlogfd < 0) { X+ free(logname); X log_error(LOG_ARGS, "Could not open maintenance logfile"); X exit(EXIT_FAILURE); X } X@@ -744,6 +749,10 @@ X else X sleep(MAINTD_SLEEP); X } X+ X+ free(mlmmjbounce); X+ free(mlmmjsend); X+ free(mlmmjunsub); X X exit(EXIT_SUCCESS); X } END-of-mlmmj/files/patch-mlmmj-maintd echo x - mlmmj/files/patch-mlmmj-make-ml.sh sed 's/^X//' >mlmmj/files/patch-mlmmj-make-ml.sh << 'END-of-mlmmj/files/patch-mlmmj-make-ml.sh' Xdiff -urN mlmmj-0.7.1.orig/src/mlmmj-make-ml.sh mlmmj-0.7.1/src/mlmmj-make-ml.sh X--- mlmmj-0.7.1.orig/src/mlmmj-make-ml.sh Sun Jun 6 20:26:51 2004 X+++ src/mlmmj-make-ml.sh Sat Jun 12 15:39:29 2004 X@@ -5,6 +5,7 @@ X X VERSION="0.1" X DEFAULTDIR="/var/spool/mlmmj" X+PREFIX="%%PREFIX%%" X X USAGE="mlmmj-make-ml "$VERSION" X "$0" [OPTIONS] X@@ -74,8 +75,11 @@ X FQDN=`domainname` X fi X X-echo -n "The path to the directory with the texts for the list? [] : " X+echo -n "The path to the directory with the texts for the list? [$PREFIX/share/mlmmj/listtexts] : " X read TEXTPATH X+if [ -z "$TEXTPATH" ]; then X+ TEXTPATH="$PREFIX/share/mlmmj/listtexts" X+fi X if [ -z "$TEXTPATH" -o ! -d "$TEXTPATH" ]; then X echo "**NOTE** Could not copy the texts for the list" X echo "Please manually copy the files from the listtexts/ directory" END-of-mlmmj/files/patch-mlmmj-make-ml.sh echo x - mlmmj/Makefile sed 's/^X//' >mlmmj/Makefile << 'END-of-mlmmj/Makefile' X# New ports collection makefile for: mlmmj X# Date created: 12 june 2004 X# Whom: Christian Laursen X# X# $FreeBSD$ X# X XPORTNAME= mlmmj XPORTVERSION= 0.7.1 XCATEGORIES= mail XMASTER_SITES= http://mlmmj.mmj.dk/files/ X XMAINTAINER= xi@borderworlds.dk XCOMMENT= Mailing list managing made joyful X XUSE_BZIP2= yes XUSE_REINPLACE= yes X XHAS_CONFIGURE= yes XCONFIGURE_ARGS+= --prefix=${PREFIX} X Xpost-patch: X @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/mlmmj-make-ml.sh X Xpost-install: X @${MKDIR} ${PREFIX}/share/mlmmj/listtexts X @${INSTALL_DATA} ${WRKSRC}/listtexts/* ${PREFIX}/share/mlmmj/listtexts X X.include END-of-mlmmj/Makefile echo x - mlmmj/distinfo sed 's/^X//' >mlmmj/distinfo << 'END-of-mlmmj/distinfo' XMD5 (mlmmj-0.7.1.tar.bz2) = f0b4af8821c6f67dcc3845d060ddb2a6 XSIZE (mlmmj-0.7.1.tar.bz2) = 92156 END-of-mlmmj/distinfo echo x - mlmmj/pkg-descr sed 's/^X//' >mlmmj/pkg-descr << 'END-of-mlmmj/pkg-descr' XThis is an attempt at implementing a mailing list manager with the same Xfunctionality as the brilliant ezmlm, but with a decent license and mail server Xindependency. X XWWW: http://mlmmj.mmj.dk/ X X- Christian Xxi@borderworlds.dk END-of-mlmmj/pkg-descr echo x - mlmmj/pkg-plist sed 's/^X//' >mlmmj/pkg-plist << 'END-of-mlmmj/pkg-plist' Xbin/mlmmj-send Xbin/mlmmj-recieve Xbin/mlmmj-process Xbin/mlmmj-sub Xbin/mlmmj-unsub Xbin/mlmmj-bounce Xbin/mlmmj-maintd Xbin/mlmmj-make-ml.sh Xshare/mlmmj/listtexts/bounce-probe Xshare/mlmmj/listtexts/listhelp Xshare/mlmmj/listtexts/moderation Xshare/mlmmj/listtexts/notintocc Xshare/mlmmj/listtexts/sub-confirm Xshare/mlmmj/listtexts/sub-ok Xshare/mlmmj/listtexts/unsub-confirm Xshare/mlmmj/listtexts/unsub-ok X@dirrm share/mlmmj/listtexts X@dirrm share/mlmmj END-of-mlmmj/pkg-plist exit --- mlmmj.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: