Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2001 06:38:59 +0100 (CET)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        ache@freebsd.org, sf@freebsd.org
Subject:   ports/24919: Updated port: mail/elm+ME - 2.4ME+88 (critical)
Message-ID:  <200102070538.f175cx750825@gits.dyndns.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102070538.f175cx750825>