From owner-svn-ports-all@FreeBSD.ORG Fri Dec 26 19:39:49 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mandree.no-ip.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EA02F31D; Fri, 26 Dec 2014 19:39:48 +0000 (UTC) Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 0D7AF23CEED; Fri, 26 Dec 2014 20:39:20 +0100 (CET) Message-ID: <549DB964.7040108@FreeBSD.org> Date: Fri, 26 Dec 2014 20:39:16 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: svn commit: r375649 - head/mail/mailman References: <201412261907.sBQJ7Mop068020@svn.freebsd.org> <20141226191159.GC93067@ivaldir.etoilebsd.net> In-Reply-To: <20141226191159.GC93067@ivaldir.etoilebsd.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Hqa8jp0WXn6984mdm0neQSik1UUKlJ5uB" Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 19:39:49 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Hqa8jp0WXn6984mdm0neQSik1UUKlJ5uB Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Am 26.12.2014 um 20:11 schrieb Baptiste Daroussin: > On Fri, Dec 26, 2014 at 07:07:22PM +0000, Matthias Andree wrote: >> Author: mandree >> Date: Fri Dec 26 19:07:21 2014 >> New Revision: 375649 >> URL: https://svnweb.freebsd.org/changeset/ports/375649 >> QAT: https://qat.redports.org/buildarchive/r375649/ >> >> Log: >> Back out bapt's "cleanup" commit r371953. >> =20 >> This causes directory permissions to change, and if installation hap= pens >> without scripts, installing the new package causes mailman to become= >> defunct until bin/check_perms is run manually. >> =20 >> Most directories need to have group mailman (or whatever is configur= ed) >> and mode 02775, with exception of the archive/private. >> =20 >> More cleanups to follow later. >> =20 >> Submitted by: flo@ >=20 > Sorry about breaking that in the first place, but what about a proper f= ix? Hi Baptiste, I am still working out the details, as anything I try, for instance, @dir(,,02775) foo does not seem to work properly, the scripts still need to fix up the 140+ directories' permissions in post-install. Apparently the pkg 1.4.1 structure or implementation are not up to the task. The directories seem to always be extracted after the files, and then the permissions aren't set properly. Also, it appears that the pkg-deinstall PKGNAME POST-DEINSTALL is run too early, i. e. before pkg tries to purge the directories. This isn't really POST-INSTALL in my book and causes complaints, too - for a workaround that I needed for pkg_delete (the old stuff). I can remove the offending lines from the script, but that would only mask the issue, not fix it. --Hqa8jp0WXn6984mdm0neQSik1UUKlJ5uB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlSduWcACgkQvmGDOQUufZVTYwCg96b/RTFtxwsKqhhAt4Uk3yL8 Z+YAnid/rr+JWbEjSn4RFYdV6n7TS045 =wuhQ -----END PGP SIGNATURE----- --Hqa8jp0WXn6984mdm0neQSik1UUKlJ5uB--