Date: 6 Aug 2000 17:07:21 -0000 From: guy@rucus.ru.ac.za To: FreeBSD-gnats-submit@freebsd.org Subject: ports/20442: New port - ezmlm-web Message-ID: <20000806170721.86845.qmail@rucus.ru.ac.za>
next in thread | raw e-mail | index | archive | help
>Number: 20442 >Category: ports >Synopsis: New port - ezmlm-web >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 06 10:10:03 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Guy Antony Halse >Release: FreeBSD 3.4-RELEASE i386 >Organization: Rhodes University Computer Users Society >Environment: >Description: ezmlm-web provides a convinient, GUI method for users to configure and maintain ezmlm-idx mailing lists. It allows one to create, reconfigure and delete mailing lists, as well as manage subscriber lists. It supports all the features of ezmlm-idx 4.0, and has full support for virtual domains, multiple access levels. It can also be configured to use different languages. >How-To-Repeat: >Fix: # 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: # # /usr/ports/mail/ezmlm-web/ # /usr/ports/mail/ezmlm-web/files # /usr/ports/mail/ezmlm-web/files/md5 # /usr/ports/mail/ezmlm-web/Makefile # /usr/ports/mail/ezmlm-web/patches # /usr/ports/mail/ezmlm-web/patches/patch-aa # /usr/ports/mail/ezmlm-web/pkg # /usr/ports/mail/ezmlm-web/pkg/COMMENT # /usr/ports/mail/ezmlm-web/pkg/PLIST # /usr/ports/mail/ezmlm-web/pkg/DESCR # /usr/ports/mail/ezmlm-web/pkg/MESSAGE # echo c - /usr/ports/mail/ezmlm-web/ mkdir -p /usr/ports/mail/ezmlm-web/ > /dev/null 2>&1 echo c - /usr/ports/mail/ezmlm-web/files mkdir -p /usr/ports/mail/ezmlm-web/files > /dev/null 2>&1 echo x - /usr/ports/mail/ezmlm-web/files/md5 sed 's/^X//' >/usr/ports/mail/ezmlm-web/files/md5 << 'END-of-/usr/ports/mail/ezmlm-web/files/md5' XMD5 (ezmlm-web-2.0.tar.gz) = 749a164c260f80857574f4dc1c0bb226 END-of-/usr/ports/mail/ezmlm-web/files/md5 echo x - /usr/ports/mail/ezmlm-web/Makefile sed 's/^X//' >/usr/ports/mail/ezmlm-web/Makefile << 'END-of-/usr/ports/mail/ezmlm-web/Makefile' X# New ports collection makefile for: ezmlm-web X# Date Created: 18 May 2000 X# Whom: Guy Antony Halse <guy@rucus.ru.za.za> X# X# $FreeBSD$ X# X XPORTNAME= ezmlm-web XPORTVERSION= 2.0 XCATEGORIES= mail www XMASTER_SITES= ftp://rucus.ru.ac.za/pub/mail/ezmlm/ XDISTNAME= ezmlm-web-${PORTVERSION} X XMAINTAINER= guy-ezmlm@rucus.ru.ac.za X XBUILD_DEPENDS= ${EZMLM_DIR}/bin/ezmlm-idx:${PORTSDIR}/mail/ezmlm-idx \ X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Ezmlm.pm:${PORTSDIR}/mail/p5-Mail-Ezmlm XRUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13 \ X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools X XCGI_BIN?= ${LOCALBASE}/share/apache/cgi-bin XEZMLM_DIR?= ${LOCALBASE} X XUSE_PERL5= YES XPLIST_SUB= CGI_BIN=${CGI_BIN} EZMLM_DIR=${EZMLM_DIR} X Xdo-build: X @cd ${WRKSRC}; ${MAKE} index; ${MV} index ezmlm-web X Xdo-install: X @${ECHO} Installing script and configuration to ${EZMLM_DIR} X @${INSTALL_SCRIPT} ${WRKSRC}/ezmlm-web.cgi ${EZMLM_DIR}/bin X @${INSTALL_DATA} ${WRKSRC}/ezmlmwebrc ${EZMLM_DIR}/etc/ezmlm X @${INSTALL_PROGRAM} -o alias -g qmail -m 4755 ${WRKSRC}/ezmlm-web ${CGI_BIN} X @${ECHO} Installing cgi binary to ${CGI_BIN} X @${MKDIR} ${PREFIX}/share/ezmlm-web X.for file in CHANGES README index.c htaccess.sample webusers.sample X @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/ezmlm-web X.endfor X Xpost-install: X @${SED} s!%%PREFIX%%!${PREFIX}!g ${PKGDIR}/MESSAGE | ${CAT} X X.include <bsd.port.mk> END-of-/usr/ports/mail/ezmlm-web/Makefile echo c - /usr/ports/mail/ezmlm-web/patches mkdir -p /usr/ports/mail/ezmlm-web/patches > /dev/null 2>&1 echo x - /usr/ports/mail/ezmlm-web/patches/patch-aa sed 's/^X//' >/usr/ports/mail/ezmlm-web/patches/patch-aa << 'END-of-/usr/ports/mail/ezmlm-web/patches/patch-aa' X--- ezmlm-web.cgi.orig Sat Jan 29 13:36:02 2000 X+++ ezmlm-web.cgi Thu May 18 13:43:27 2000 X@@ -1,4 +1,10 @@ X #!/usr/bin/perl -wT X+ X+# X+# MODIFIED FOR FREEBSD PORTS X+# Guy Antony Halse <guy@rucus.ru.ac.za> X+# X+ X #=========================================================================== X # ezmlm-web.cgi - version 2.0 - 29/01/2000 X # $Id: ezmlm-web.cgi,v 1.1 2000/01/29 11:35:40 guy Exp $ X@@ -76,8 +82,8 @@ X require "$opt_C"; # Command Line X } elsif(-e "$HOME_DIR/.ezmlmwebrc") { X require "$HOME_DIR/.ezmlmwebrc"; # User X-} elsif(-e "/etc/ezmlm/ezmlmwebrc") { X- require "/etc/ezmlm/ezmlmwebrc"; # System X+} elsif(-e "/usr/local/etc/ezmlm/ezmlmwebrc") { X+ require "/usr/local/etc/ezmlm/ezmlmwebrc"; # System X } elsif(-e "./ezmlmwebrc") { X require "./ezmlmwebrc"; # Install X } else { X@@ -604,8 +610,8 @@ X my ($qmail, $listname, $options, $i); X X # Some taint checking ... X- $qmail = $1 if $q->param('inlocal') =~ /-?([\w.+:]+)$/; X- $listname = $q->param('list'); $listname =~ s/ /_/; # In case some git tries to put a space in the file name X+ $qmail = $1 if $q->param('inlocal') =~ /(?:$USER-)?([^\<\>\\\/\s]+)$/; X+ $listname = $q->param('list'); $listname =~ s/ /_/g; # In case some git tries to put a space in the file name X X # Sanity Checks ... X return 1 if ($listname eq '' || $qmail eq ''); END-of-/usr/ports/mail/ezmlm-web/patches/patch-aa echo c - /usr/ports/mail/ezmlm-web/pkg mkdir -p /usr/ports/mail/ezmlm-web/pkg > /dev/null 2>&1 echo x - /usr/ports/mail/ezmlm-web/pkg/COMMENT sed 's/^X//' >/usr/ports/mail/ezmlm-web/pkg/COMMENT << 'END-of-/usr/ports/mail/ezmlm-web/pkg/COMMENT' XCGI script that lets you manage ezmlm-idx mailing lists through the web END-of-/usr/ports/mail/ezmlm-web/pkg/COMMENT echo x - /usr/ports/mail/ezmlm-web/pkg/PLIST sed 's/^X//' >/usr/ports/mail/ezmlm-web/pkg/PLIST << 'END-of-/usr/ports/mail/ezmlm-web/pkg/PLIST' Xshare/ezmlm-web/CHANGES Xshare/ezmlm-web/README Xshare/ezmlm-web/index.c Xshare/ezmlm-web/htaccess.sample Xshare/ezmlm-web/webusers.sample X@dirrm share/ezmlm-web X@cwd / X%%EZMLM_DIR%%/bin/ezmlm-web.cgi X%%EZMLM_DIR%%/etc/ezmlm/ezmlmwebrc X%%CGI_BIN%%/ezmlm-web END-of-/usr/ports/mail/ezmlm-web/pkg/PLIST echo x - /usr/ports/mail/ezmlm-web/pkg/DESCR sed 's/^X//' >/usr/ports/mail/ezmlm-web/pkg/DESCR << 'END-of-/usr/ports/mail/ezmlm-web/pkg/DESCR' Xezmlm-web provides a convinient, GUI method for users to configure and Xmaintain ezmlm-idx mailing lists. It allows one to create, reconfigure and Xdelete mailing lists, as well as manage subscriber lists. It supports all Xthe features of ezmlm-idx 4.0, and has full support for virtual domains, Xmultiple access levels. It can also be configured to use different languages. END-of-/usr/ports/mail/ezmlm-web/pkg/DESCR echo x - /usr/ports/mail/ezmlm-web/pkg/MESSAGE sed 's/^X//' >/usr/ports/mail/ezmlm-web/pkg/MESSAGE << 'END-of-/usr/ports/mail/ezmlm-web/pkg/MESSAGE' X XNB!! By default no security is enabled on ezmlm-web. X XThe effectively means that at the moment, anyone can go to X http://<your host>/cgi-bin/ezmlm-web Xand alter any of your primary mailing lists. X XIf this is not what you want (and it probably isn't :), you need to Xeither create a <File> directive in you apache configuration, or Xuse a .htaccess file, or provide some other means of security. X XHave a look at the README file in %%PREFIX%%/share/ezmlm-web for Xmore information. There are also some sample files there. END-of-/usr/ports/mail/ezmlm-web/pkg/MESSAGE exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000806170721.86845.qmail>