From owner-freebsd-ports@FreeBSD.ORG Fri Apr 20 19:23:23 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50B3E16A40E for ; Fri, 20 Apr 2007 19:23:23 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 13FD513C4C2 for ; Fri, 20 Apr 2007 19:23:23 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id A1243217A2F; Fri, 20 Apr 2007 15:23:24 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 20 Apr 2007 15:23:23 -0400 X-Sasl-enc: SUiUsDOMFE4yj6Aq+g1MnMDrst9m45n5OLGFijvoaX0O 1177097002 Received: from [10.1.10.132] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id 6350C17EA2; Fri, 20 Apr 2007 15:23:22 -0400 (EDT) In-Reply-To: <94592079D5FE1208BC6F7D03@utd59514.utdallas.edu> References: <200704200842.48793.david@vizion2000.net> <94592079D5FE1208BC6F7D03@utd59514.utdallas.edu> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/signed; micalg=sha1; boundary="Apple-Mail-1--926178776"; protocol="application/pkcs7-signature" Message-Id: From: Jeffrey Goldberg Date: Fri, 20 Apr 2007 14:23:14 -0500 To: Paul Schmehl X-Mailer: Apple Mail (2.752.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org, Jean Milanez Melo , List_Mailman Org Subject: Re: Mailman GID problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 19:23:23 -0000 --Apple-Mail-1--926178776 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Apr 20, 2007, at 1:44 PM, Paul Schmehl wrote: > *If* what you say is true [...] which I am increasingly doubtful of. > then this should fix it: > > --- pkg-install.orig Fri Apr 20 13:42:17 2007 > +++ pkg-install Fri Apr 20 13:42:47 2007 > @@ -43,6 +43,7 @@ > (umask 002 && /bin/mkdir -p "%%MAILMANDIR%%") || exit 1 > /usr/sbin/chown -R "%%USER%%:%%GROUP%%" "%%MAILMANDIR%%" || exit 1 > /bin/chmod g+s "%%MAILMANDIR%%" || exit 1 > + /usr/sbin/chown -R "nobody" "%%MAILMANDIR%%/data" || exit 1 > fi > ;; Can you tell me where to find the unprocessed version of pkg- install? What is in work/ has already been processed by sed, and I didn't see anything obvious in files/ I know I should read the porters' handbook, but at this point I'm just poking around to try to get some sense of how the pieces come together. I'm beginning to think that the fix will be as simple as --- Makefile.orig Fri Apr 20 14:17:08 2007 +++ Makefile Fri Apr 20 14:18:14 2007 @@ -88,7 +88,7 @@ .if defined(WITH_SENDMAIL) || defined(WITH_EXIM3) || defined(WITH_EXIM4) BROKEN= choose only one MTA integration .endif -MAIL_GID?= nobody +MAIL_GID?= mailman .endif .if defined(WITH_CHINESE) But I haven't tested. And I don't know what the original reason was for using "nobody", so I may very well be talking nonsense. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ --Apple-Mail-1--926178776--