From owner-freebsd-ports Tue Feb 6 21:40:22 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 88B4B37B491 for ; Tue, 6 Feb 2001 21:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f175e1T55413; Tue, 6 Feb 2001 21:40:01 -0800 (PST) (envelope-from gnats) Received: from balzac.cybercable.fr (balzac.cybercable.fr [212.198.0.198]) by hub.freebsd.org (Postfix) with SMTP id 6485F37B401 for ; Tue, 6 Feb 2001 21:39:04 -0800 (PST) Received: (qmail 11492149 invoked from network); 7 Feb 2001 05:39:02 -0000 Received: from d165.dhcp212-231.cybercable.fr (HELO gits.dyndns.org) ([212.198.231.165]) (envelope-sender ) by balzac.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 7 Feb 2001 05:39:02 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.1/8.11.1) id f175cx750825; Wed, 7 Feb 2001 06:38:59 +0100 (CET) (envelope-from root) Message-Id: <200102070538.f175cx750825@gits.dyndns.org> Date: Wed, 7 Feb 2001 06:38:59 +0100 (CET) From: Cyrille Lefevre Reply-To: clefevre@citeweb.net To: FreeBSD-gnats-submit@freebsd.org Cc: ache@freebsd.org, sf@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/24919: Updated port: mail/elm+ME - 2.4ME+88 (critical) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24919 >Category: ports >Synopsis: Updated port: mail/elm+ME - 2.4ME+88 (critical) >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Feb 06 21:40:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Cyrille Lefevre >Release: FreeBSD 4.2-STABLE i386 >Organization: ACME >Environment: FreeBSD gits 4.2-STABLE FreeBSD 4.2-STABLE #2: Wed Dec 6 17:17:38 CET 2000 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386 >Description: last instant problem while I was making this new release port. yesterday, mi@aldan.algebra.com reports to me that the current port of elm+ME (2.4.87) is broken as a lambda user. the current work around is to chmod 1777 /var/mail. the symptom is : Can't create lock file! Need write permission in "/var/mail/". this was due by enabling d_savegrpmboxid in config.sh through pre-configure script. I didn't see that bcoz I'm always connected as a super-user. maybe this problem have to be submited to the -security-notification mailing list ? in this new port, the problem is solved by replacing some occurence of setgid(2) by setegid(2) in lib/localmbx.c. Makefile port version bumped. post-patch temporaly added until fix from elm maintainer. distinfo updated. files/elm.mimetypes minor update. files/patch-ai (lib/headers.c) deleted, no more needed. scripts/pre-configure updated. d_savegrpmboxid left on regarding setgid(2) vs. setegid(2) patch added to Makefile. >How-To-Repeat: n/a >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/elm+ME/Makefile,v retrieving revision 1.64 diff -u -r1.64 Makefile --- Makefile 2001/01/31 17:16:05 1.64 +++ Makefile 2001/02/07 05:06:27 @@ -6,7 +6,7 @@ # PORTNAME= elm+ME -PORTVERSION= 2.4.87 +PORTVERSION= 2.4.88 PORTEPOCH= 1 CATEGORIES= mail DISTNAME= ${PORTNAME:S/+ME//}-${PORTVERSION:R}ME+${PORTVERSION:E} @@ -62,6 +62,16 @@ DESTLIBDIR= ${PREFIX}/lib/${PORTNAME:S/+ME//} MIMETYPES= elm.mimetypes + +# +# Post-patch +# + +# d_savegrpmboxid is currently broken using setgid(2) instead of setegid(2). +# will probably be fixed in the next release, for instance, fake a patch. +# the alternative would be to disable this option in pre-configure script. +post-patch: + @${PERL} -pi.bsd -e 's,setgid,setegid,' ${WRKSRC}/lib/localmbx.c # # Post-configure Index: distinfo =================================================================== RCS file: /home/ncvs/ports/mail/elm+ME/distinfo,v retrieving revision 1.36 diff -u -r1.36 distinfo --- distinfo 2001/01/31 17:16:05 1.36 +++ distinfo 2001/02/07 00:58:27 @@ -1 +1 @@ -MD5 (elm-2.4ME+87.tar.gz) = 26d6cac03fdb6ba5cd3385d77695acb6 +MD5 (elm-2.4ME+88.tar.gz) = 96704eae50aace159a752caafb9bcd44 Index: files/elm.mimetypes =================================================================== RCS file: /home/ncvs/ports/mail/elm+ME/files/elm.mimetypes,v retrieving revision 1.2 diff -u -r1.2 elm.mimetypes --- files/elm.mimetypes 2001/01/31 17:16:07 1.2 +++ files/elm.mimetypes 2001/02/07 00:51:35 @@ -129,9 +129,11 @@ # ---- ------- ----------- --------- # # message rfc822 [RFC2045,RFC2046] +eml message/rfc822 # partial [RFC2045,RFC2046] # external-body [RFC2045,RFC2046] # news [RFC 1036, Henry Spencer] +nws message/news # http [RFC2616] # delivery-status [RFC1894] # disposition-notification [RFC2298] Index: scripts/pre-configure =================================================================== RCS file: /home/ncvs/ports/mail/elm+ME/scripts/pre-configure,v retrieving revision 1.26 diff -u -r1.26 pre-configure --- scripts/pre-configure 2001/01/31 17:16:07 1.26 +++ scripts/pre-configure 2001/02/07 04:24:27 @@ -162,7 +162,7 @@ execmail='' libswanted='sun nls c_s' noaddlib='yes' -c_date='Sun Jan 7 05:51:19 CET 2001' +c_date='Wed Feb 7 02:17:00 CET 2001' d_ascii='undef' d_broke_ctype='undef' d_calendar='define' @@ -204,7 +204,7 @@ d_8bitmime='define' d_binarymime='undef' d_dsn='define' -defsystemcharset='US-ASCII' +defsystemcharset='ISO-8859-1' d_mmdf='undef' d_newauto='define' d_noaddfrom='define' @@ -251,7 +251,7 @@ editoropts='' hostname='' phostname='hostname' -mydomain='' +mydomain='tld.invalid' autohostname='define' i_memory='define' i_time='define' >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message