Bug 93269 - [maintainer update] courier/pkg-plist fixup for pkg_create directroy permissions bugs.
Summary: [maintainer update] courier/pkg-plist fixup for pkg_create directroy permissi...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sam Lawrance
Depends on:
Reported: 2006-02-13 08:10 UTC by Yarema
Modified: 2006-02-14 12:00 UTC (History)
0 users

See Also:

file.diff (6.26 KB, patch)
2006-02-13 08:10 UTC, Yarema
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yarema 2006-02-13 08:10:07 UTC
pkg_create does not seem to restore empty directories even when
listed with @dirrm nor can it be relied upon to always restore
correct ownership and permissions.  Hence all the
'@exec install -o %%MAILOWN%% -g %%MAILGRP%% -m 0??? -d ' and
'@exec chmod 0??? %D' fixups in courier/pkg-plist.
With the new patch courier installs with identical permissions
via pkg_add or make install.

New file: courier/files/sharedindexupdate.in
and Makefile adjustments to install this new file.

	@${REINPLACE_CMD} -e 's|^PROG=\./|PROG=exec ./|g' \

to save some RAM instead of having a parent /bin/sh proc for each
configured module hanging around for no apparent good reason.

How-To-Repeat: 	cd /usr/ports/mail/courier && make install package
Comment 1 Sam Lawrance freebsd_committer 2006-02-14 08:54:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lawrance

Comment 2 Sam Lawrance freebsd_committer 2006-02-14 12:00:44 UTC
State Changed
From-To: open->closed

Committed, thanks!