From 1a0e27ea517cb1a0ebbf37412a2af9fed9245f71 Mon Sep 17 00:00:00 2001 From: gshapiro Date: Tue, 15 May 2001 06:45:00 +0000 Subject: Update to listmanager 2.108 and reenable. v2.108 Released May 07, 2001 17:10 (PST) - try to avoid deadlock in LogBounces() by setting a timeout on the OpenDB() call - add config parameter "umask" [suggested by gshapiro@gshapiro.net] - don't set Reply-To: header in NewPending() [suggested by gshapiro@gshapiro.net] - "mailqueue" is now restricted by the "memberlist" command [suggested by gshapiro@gshapiro.net] - make use of the "domain" setting on preselected lists using the mail interface [requested by gshapiro@gshapiro.net] - trim spaces off of possible signature terminators in IdentifyMessage() [suggested by gshapiro@gshapiro.net] - LIBMSK: reimplement Absolute() The following resulted from a code audit by Greg Shapiro of Sendmail, Inc. , whose help is greatly appreciated: - SECURITY: shed privileges when -C is used on the command line - SECURITY: add a popen() wrapper to shed privileges when the command being executed isn't sendmail - SECURITY: bounce requests or mail referring to addresses containing bogus characters, to prevent remote attacks - SECURITY: add some boundary checking in a few places I'd missed - SECURITY: be paranoid and call sendmail with "--" before arguments provided remotely to prevent remote attacks - SECURITY: verify access permissions with lm_access() to prevent unauthorized file giveaways and overwrites - SECURITY: be pedantic about list names to prevent nasty operations - SECURITY: add and begin using lm_safefopen() --- mail/listmanager/Makefile | 15 ++++++++++----- mail/listmanager/distinfo | 9 +++++---- mail/listmanager/pkg-plist | 9 +++++---- 3 files changed, 20 insertions(+), 13 deletions(-) (limited to 'mail') diff --git a/mail/listmanager/Makefile b/mail/listmanager/Makefile index 94d5f480ce2d..58750a4bf1cf 100644 --- a/mail/listmanager/Makefile +++ b/mail/listmanager/Makefile @@ -6,18 +6,16 @@ # PORTNAME= listmanager -PORTVERSION= 2.107 -PORTREVISION= 1 +PORTVERSION= 2.108 CATEGORIES= mail MASTER_SITES= http://www.listmanager.org/ DISTNAME= ${PORTNAME} EXTRACT_SUFX= .freebsd35 -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} help.tar.gz listmanager.8 ack +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} INSTALL help.tar.gz listmanager.8 ack +DIST_SUBDIR= ${PORTNAME} MAINTAINER= gshapiro@FreeBSD.org -FORBIDDEN= "Security problem. New version due shortly." - EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= ${WRKDIR} @@ -37,8 +35,15 @@ do-install: @${MKDIR} ${PREFIX}/share/listmanager/synchfiles ${TOUCH} ${PREFIX}/etc/listmanager.cf ${INSTALL_DATA} ${WRKSRC}/help/* ${PREFIX}/share/listmanager/help + ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/listmanager ${INSTALL_MAN} ${WRKSRC}/listmanager.8 ${PREFIX}/man/man8 ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${PREFIX}/sbin/listmanager ${CHMOD} 4510 ${PREFIX}/sbin/listmanager +post-install: + @${ECHO} "************************************************************" + @${ECHO} "* Please read ${PREFIX}/share/listmanager/INSTALL for " + @${ECHO} "* information on installing listmanager without using a " + @${ECHO} "* set-user-id root binary. " + @${ECHO} "************************************************************" .include diff --git a/mail/listmanager/distinfo b/mail/listmanager/distinfo index 0a390ec349b2..ddaf1862c373 100644 --- a/mail/listmanager/distinfo +++ b/mail/listmanager/distinfo @@ -1,4 +1,5 @@ -MD5 (listmanager.freebsd35) = ecb4d3d3c11f890a957c8b9c503b7c65 -MD5 (help.tar.gz) = ebe42dbd6d3a529f2aa136d3c70aa22d -MD5 (listmanager.8) = 7bd9021c1d4b1d1c9c397de36b1ef6e5 -MD5 (ack) = 9c35b02b889c69278f7cac1c6b22bab3 +MD5 (listmanager/listmanager.freebsd35) = c11a9860de2fd8393c708b3aecaf0df0 +MD5 (listmanager/INSTALL) = daab4be48e990a66b58e09fece5bb993 +MD5 (listmanager/help.tar.gz) = 55473e6dd480392fa783874723627fcc +MD5 (listmanager/listmanager.8) = d321176b26b8ddb2a539a69a7bf640a7 +MD5 (listmanager/ack) = 9c35b02b889c69278f7cac1c6b22bab3 diff --git a/mail/listmanager/pkg-plist b/mail/listmanager/pkg-plist index ee4b755960e8..ca94bb6be319 100644 --- a/mail/listmanager/pkg-plist +++ b/mail/listmanager/pkg-plist @@ -1,5 +1,6 @@ etc/listmanager.cf sbin/listmanager +share/listmanager/INSTALL share/listmanager/help/ACLs share/listmanager/help/Addresses share/listmanager/help/Archiving @@ -25,7 +26,7 @@ share/listmanager/help/archived share/listmanager/help/archivelist share/listmanager/help/archroll share/listmanager/help/auto-subscribe -share/listmanager/help/bounceint +share/listmanager/help/bounceinterval share/listmanager/help/bouncereset share/listmanager/help/check-addrs share/listmanager/help/config @@ -38,7 +39,7 @@ share/listmanager/help/deferred share/listmanager/help/describe share/listmanager/help/describe-to share/listmanager/help/destroy -share/listmanager/help/dig-from-req +share/listmanager/help/dig-from-rqt share/listmanager/help/digdb share/listmanager/help/digest share/listmanager/help/digfreq @@ -70,7 +71,6 @@ share/listmanager/help/hidden share/listmanager/help/import share/listmanager/help/include share/listmanager/help/invalid -share/listmanager/help/invite-only share/listmanager/help/listdata share/listmanager/help/lists share/listmanager/help/locked @@ -92,6 +92,8 @@ share/listmanager/help/merge share/listmanager/help/metoo share/listmanager/help/mflags share/listmanager/help/mime +share/listmanager/help/mime-digests +share/listmanager/help/mime-moderation share/listmanager/help/mnemonic share/listmanager/help/moderated share/listmanager/help/mpassword @@ -104,7 +106,6 @@ share/listmanager/help/noownermail share/listmanager/help/nosend share/listmanager/help/notify share/listmanager/help/notify-renew -share/listmanager/help/old-moderation share/listmanager/help/options share/listmanager/help/oversized share/listmanager/help/owner -- cgit