Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2004 14:22:16 +0200 (CEST)
From:      Christian Laursen <xi@borderworlds.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68166: Update port: mail/mlmmj to 0.8.0 
Message-ID:  <20040621122216.1E69CB89D@borg.borderworlds.dk>
Resent-Message-ID: <200406211230.i5LCUPGo077881@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <stdlib.h>
-+#include <sys/types.h>
- #include <sys/socket.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040621122216.1E69CB89D>