Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2014 20:39:16 +0100
From:      Matthias Andree <mandree@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r375649 - head/mail/mailman
Message-ID:  <549DB964.7040108@FreeBSD.org>
In-Reply-To: <20141226191159.GC93067@ivaldir.etoilebsd.net>
References:  <201412261907.sBQJ7Mop068020@svn.freebsd.org> <20141226191159.GC93067@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



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