From: Simon J Mudd (no email)
Date: Mon Oct 15 2001 - 06:11:31 EDT
(Dominik Mierzejewski) writes:
> On Monday, 15 October 2001, Simon J Mudd wrote:
> [snip]
> > I have been building Postfix rpms for some time and try to keep them
> > up to date and as error free as possible, but I do this in my own time.
>
> I tried building your RPM today and noticed you require to build it
> as root. This is wrong, the only packages that must be built by root
> are the ones doing mknod (like dev package).
This is not _wrong_, it is a deliberate decision I've made which I
have explained to several people who have pointed out this _omision_
to me.
To install postfix I prefer to use Wietse's INSTALL.sh which ensures
that the correct files are installed in the correct positions and that
the files have the correct user and group ownership set.
To run INSTALL.sh requires root privileges as you notice. If I do not
use INSTALL.sh to do the install but do it by hand I have to ensure
that any changes to the way Wietse installs file is reflected in my
install script. IMO This is a maintenance nightmare.
Now if the root specific parts where removed from INSTALL.sh and the
root specific functionality were separately identified I'd be happy to
change the way that I use the spec file to build the package.
> Postfix installation requires certain owners and permissions on its
> files - fine, do it in the %files section then. I'll to patch
> INSTALL.sh not to do any chowns and chgrps, but list these files in
> the %files section instead, and send it to you.
OK. I'll have a look and if I like the changes I'll modify the RPM.
Simon
-- Simon J Mudd, Madrid SPAIN. email: Tel: +34-91-408 4878, Mobile: +34-605-085 219 - To unsubscribe, send mail to with content (not subject): unsubscribe postfix-users
|
|
|