Date: 9 Nov 2000 13:14:11 -0000 From: Peter Pentchev <roam@orbitel.bg> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/22717: update port: mail/mailman (no MAINTAINER) Message-ID: <20001109131411.16479.qmail@ringworld.oblivion.bg>
next in thread | raw e-mail | index | archive | help
>Number: 22717 >Category: ports >Synopsis: update port: mail/mailman (no MAINTAINER) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 09 05:20:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Peter Pentchev >Release: FreeBSD 4.2-BETA i386 >Organization: Orbitel JSCo. >Environment: current ports tree >Description: Lim Hui Min's email (Message-Id: <008101c04a45$9da52aa0$8500a8c0@huiminvaio>) to -ports today points out that there has been a security advisory about MailMan 2.0beta6, which is the version in the ports tree. Here's an update patch, which does several things: - updates the port to latest 2.0rc1; - points MASTER_SITES at SourceForge (good portlint, have a cookie); - renames the UNAME and UID vars in the port Makefile - UNAME in particular was confusing bsd.port.mk, which uses a variable of the same name to hold uname(1) output. I consider this update's priority to be medium because of the security issues about mailman; even a ports security advisory may be in order. >How-To-Repeat: read BugTraq archives ;) >Fix: diff -urN ports/mail/mailman/Makefile myports/mail/mailman/Makefile --- ports/mail/mailman/Makefile Mon Oct 9 02:54:27 2000 +++ myports/mail/mailman/Makefile Thu Nov 9 15:03:39 2000 @@ -6,10 +6,10 @@ # PORTNAME= mailman -PORTVERSION= 2.0b6 +PORTVERSION= 2.0rc1 CATEGORIES= mail -MASTER_SITES= http://download.sourceforge.net/mailman/ -DISTNAME= mailman-2.0beta6 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=mailman EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org @@ -21,22 +21,22 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-mail-gid=daemon --with-cgi-gid=nogroup -UNAME?= mailman -UID?= 89 +USERNAME?= mailman +USERID?= 89 MAILMANDIR?= ${PREFIX}/mailman pre-configure: # Add the username, uid, group amd gid - ${SH} ${FILESDIR}/configure.sh ${UNAME} ${UID} ${MAILMANDIR} + ${SH} ${FILESDIR}/configure.sh ${USERNAME} ${USERID} ${MAILMANDIR} # Create the dir and the correct permissions for it. ${MKDIR} ${MAILMANDIR} - ${CHOWN} ${UNAME}:${UNAME} ${MAILMANDIR} + ${CHOWN} ${USERNAME}:${USERNAME} ${MAILMANDIR} ${CHMOD} 2775 ${MAILMANDIR} post-install: - @${CHOWN} -R :${UNAME} ${MAILMANDIR} + @${CHOWN} -R :${USERNAME} ${MAILMANDIR} @echo All related binaries have been installed in ${MAILMANDIR}/bin @echo See ${WRKDIR}/INSTALL for installation instructions \(prefix == ${MAILMANDIR}\). @echo Sample entry for httpd.conf for Apache: diff -urN ports/mail/mailman/distinfo myports/mail/mailman/distinfo --- ports/mail/mailman/distinfo Mon Oct 9 02:54:27 2000 +++ myports/mail/mailman/distinfo Thu Nov 9 14:58:08 2000 @@ -1 +1 @@ -MD5 (mailman-2.0beta6.tgz) = d5eee07318664f430f998306196d7a26 +MD5 (mailman-2.0rc1.tgz) = e37da201e9109a4948cf922a42642dfa diff -urN ports/mail/mailman/pkg-plist myports/mail/mailman/pkg-plist --- ports/mail/mailman/pkg-plist Mon Oct 9 02:54:27 2000 +++ myports/mail/mailman/pkg-plist Thu Nov 9 15:00:15 2000 @@ -165,8 +165,6 @@ mailman/Mailman/pythonlib/__init__.pyc mailman/Mailman/pythonlib/cgi.py mailman/Mailman/pythonlib/cgi.pyc -mailman/Mailman/pythonlib/getpass.py -mailman/Mailman/pythonlib/getpass.pyc mailman/Mailman/pythonlib/nntplib.py mailman/Mailman/pythonlib/nntplib.pyc mailman/Mailman/pythonlib/rfc822.py >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?20001109131411.16479.qmail>