ports/70979: Update port: mail/mlmmj to 1.0.0-RC2
Christian Laursen
xi at borderworlds.dk
Thu Aug 26 08:30:30 UTC 2004
>Number: 70979
>Category: ports
>Synopsis: Update port: mail/mlmmj to 1.0.0-RC2
>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: Thu Aug 26 08:30:29 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Christian Laursen
>Release: FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
The Border Worlds
>Environment:
System: FreeBSD borg.borderworlds.dk 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #28: Thu Jul 1 12:24:53 CEST 2004 root at borg.borderworlds.dk:/usr/obj/usr/src/sys/BORG i386
>Description:
Update mlmmj to version 1.0.0-RC2 and add knobs to install the perl admin
and user webinterfaces and the php user webinterface.
Changes in 1.0.0-RC2:
o Do not allow mails from <> going to the list
o Fix mailing to +owner again by adding missing 'break;' to switch in
mlmmj-send
o perl-admin updates from Christian Laursen
o php-user updates from Christoph Thiel
o Use Delivered-To: instead of To: when available
Changes in 1.0.0-RC1:
o Add web-interface. Thanks Christian Laursen for new perl-admin!
o Dump the customheaders before any Mime headers
o Implement +get-N functionality, so it's possible to send a mail to
foolist+get-101 at domain.tld to retrieve mail 101 from that list. It's
deliberately only possible to request one mail at a time.
o Make sure that only either root or the listdir owner can execute the
binaries when it has something to do with lists.
o Don't leave bounces-help@ mails lying around in queue/
o Remove unanchored ".*" from beginning of regexp
>How-To-Repeat:
>Fix:
--- mlmmj.diff begins here ---
diff -urN /usr/ports/mail/mlmmj/Makefile mlmmj/Makefile
--- /usr/ports/mail/mlmmj/Makefile Mon Aug 23 15:09:35 2004
+++ mlmmj/Makefile Thu Aug 26 10:20:31 2004
@@ -6,13 +6,44 @@
#
PORTNAME= mlmmj
-PORTVERSION= 0.8.3
+PORTVERSION= 1.0.0.r2
CATEGORIES= mail
MASTER_SITES= http://mlmmj.mmj.dk/files/
+DISTNAME= mlmmj-1.0.0-RC2
MAINTAINER= xi at borderworlds.dk
COMMENT= Mailing list managing made joyful
+.if defined(WITH_PHP_WEBINTERFACE)
+USE_PHP= yes
+WANT_PHP_WEB= yes
+.endif
+
+.if defined(WITH_PERL_WEBINTERFACE)
+RUN_DEPENDS+= ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
+ ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
+ ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
+ ${SITE_PERL}/CGI/FastTemplate.pm:${PORTSDIR}/www/p5-CGI-FastTemplate
+.endif
+
+.if defined(WITH_PERL_WEBINTERFACE)
+PLIST_SUB+= PERLWEB=""
+.else
+PLIST_SUB+= PERLWEB="@comment "
+.endif
+
+.if defined(WITH_PHP_WEBINTERFACE)
+PLIST_SUB+= PHPWEB=""
+.else
+PLIST_SUB+= PHPWEB="@comment "
+.endif
+
+.if !defined(WITH_PERL_WEBINTERFACE) && !defined(WITH_PHP_WEBINTERFACE)
+PLIST_SUB+= WEB="@comment "
+.else
+PLIST_SUB+= WEB=""
+.endif
+
USE_BZIP2= yes
USE_REINPLACE= yes
@@ -25,5 +56,23 @@
post-install:
@${MKDIR} ${PREFIX}/share/mlmmj/listtexts
@${INSTALL_DATA} ${WRKSRC}/listtexts/* ${PREFIX}/share/mlmmj/listtexts
+.if defined(WITH_PERL_WEBINTERFACE)
+ @${MKDIR} ${PREFIX}/www/mlmmj/perl-admin
+ @${INSTALL_DATA} ${WRKSRC}/contrib/web/perl-admin/README ${PREFIX}/www/mlmmj/perl-admin
+ @${MKDIR} ${PREFIX}/www/mlmmj/perl-admin/htdocs
+ @${INSTALL_SCRIPT} ${WRKSRC}/contrib/web/perl-admin/htdocs/* ${PREFIX}/www/mlmmj/perl-admin/htdocs
+ @${MKDIR} ${PREFIX}/www/mlmmj/perl-admin/templates
+ @${INSTALL_DATA} ${WRKSRC}/contrib/web/perl-admin/templates/* ${PREFIX}/www/mlmmj/perl-admin/templates
+ @${MKDIR} ${PREFIX}/www/mlmmj/perl-admin/conf
+ @${INSTALL_DATA} ${WRKSRC}/contrib/web/perl-admin/conf/* ${PREFIX}/www/mlmmj/perl-admin/conf
+ @${MKDIR} ${PREFIX}/www/mlmmj/perl-user
+ @${INSTALL_SCRIPT} ${WRKSRC}/contrib/web/perl-user/mlmmj.cgi ${PREFIX}/www/mlmmj/perl-user
+ @${INSTALL_DATA} ${WRKSRC}/contrib/web/perl-user/config.pl ${PREFIX}/www/mlmmj/perl-user
+ @${INSTALL_DATA} ${WRKSRC}/contrib/web/perl-user/example.html ${PREFIX}/www/mlmmj/perl-user
+.endif
+.if defined(WITH_PHP_WEBINTERFACE)
+ @${MKDIR} ${PREFIX}/www/mlmmj/php-user
+ @${INSTALL_DATA} ${WRKSRC}/contrib/web/php-user/* ${PREFIX}/www/mlmmj/php-user
+.endif
.include <bsd.port.mk>
diff -urN /usr/ports/mail/mlmmj/distinfo mlmmj/distinfo
--- /usr/ports/mail/mlmmj/distinfo Mon Aug 23 15:09:35 2004
+++ mlmmj/distinfo Thu Aug 26 10:20:31 2004
@@ -1,2 +1,2 @@
-MD5 (mlmmj-0.8.3.tar.bz2) = 384a7b407613062ff09e996320f68aaf
-SIZE (mlmmj-0.8.3.tar.bz2) = 92659
+MD5 (mlmmj-1.0.0-RC2.tar.bz2) = 0d58324ad4d3cabdc752ed3de456bb2b
+SIZE (mlmmj-1.0.0-RC2.tar.bz2) = 99040
diff -urN /usr/ports/mail/mlmmj/pkg-plist mlmmj/pkg-plist
--- /usr/ports/mail/mlmmj/pkg-plist Mon Aug 23 15:09:35 2004
+++ mlmmj/pkg-plist Thu Aug 26 10:20:31 2004
@@ -18,5 +18,31 @@
share/mlmmj/listtexts/subonlypost
share/mlmmj/listtexts/unsub-confirm
share/mlmmj/listtexts/unsub-ok
+%%PERLWEB%%www/mlmmj/perl-admin/htdocs/edit.cgi
+%%PERLWEB%%www/mlmmj/perl-admin/htdocs/index.cgi
+%%PERLWEB%%www/mlmmj/perl-admin/htdocs/save.cgi
+%%PERLWEB%%www/mlmmj/perl-admin/htdocs/dot.htaccess
+%%PERLWEB%%www/mlmmj/perl-admin/templates/index.html
+%%PERLWEB%%www/mlmmj/perl-admin/templates/edit_boolean.html
+%%PERLWEB%%www/mlmmj/perl-admin/templates/edit.html
+%%PERLWEB%%www/mlmmj/perl-admin/templates/edit_list.html
+%%PERLWEB%%www/mlmmj/perl-admin/templates/save.html
+%%PERLWEB%%www/mlmmj/perl-admin/templates/edit_string.html
+%%PERLWEB%%www/mlmmj/perl-admin/conf/config.pl
+%%PERLWEB%%www/mlmmj/perl-admin/conf/tunables.pl
+%%PERLWEB%%www/mlmmj/perl-admin/README
+%%PERLWEB%%www/mlmmj/perl-user/config.pl
+%%PERLWEB%%www/mlmmj/perl-user/example.html
+%%PERLWEB%%www/mlmmj/perl-user/mlmmj.cgi
+%%PHPWEB%%www/mlmmj/php-user/README
+%%PHPWEB%%www/mlmmj/php-user/example.html
+%%PHPWEB%%www/mlmmj/php-user/mlmmj.php
@dirrm share/mlmmj/listtexts
@dirrm share/mlmmj
+%%PERLWEB%%@dirrm www/mlmmj/perl-admin/htdocs
+%%PERLWEB%%@dirrm www/mlmmj/perl-admin/templates
+%%PERLWEB%%@dirrm www/mlmmj/perl-admin/conf
+%%PERLWEB%%@dirrm www/mlmmj/perl-admin
+%%PERLWEB%%@dirrm www/mlmmj/perl-user
+%%PHPWEB%%@dirrm www/mlmmj/php-user
+%%WEB%%@dirrm www/mlmmj
--- mlmmj.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list