svn commit: r375649 - head/mail/mailman

Matthias Andree mandree at FreeBSD.org
Fri Dec 26 19:39:49 UTC 2014


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.
>>   
>>   This causes directory permissions to change, and if installation happens
>>   without scripts, installing the new package causes mailman to become
>>   defunct until bin/check_perms is run manually.
>>   
>>   Most directories need to have group mailman (or whatever is configured)
>>   and mode 02775, with exception of the archive/private.
>>   
>>   More cleanups to follow later.
>>   
>>   Submitted by:	flo@
> 
> Sorry about breaking that in the first place, but what about a proper fix?

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20141226/1eba9d09/attachment.sig>


More information about the svn-ports-head mailing list