Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   agc
Date:           Wed Mar 31 09:04:19 UTC 1999

Modified Files:
        pkgsrc/mk: bsd.pkg.mk mk.conf.example
Log Message:
+ Factor out the real-install target from the rest of the .USE ones.
This makes it possible to do the next step. There were so many .if
make(install) checks that this arguably should be done anyway.

+ In interactive installs, if the effective uid is not zero when "make
install" is attempted, then ${SU_CMD} is invoked (defaults to "su -
root -c", but sudo or priv could be used). This allows running as
non-root for much more time, which is a significant benefit. This also
allows installation of pre-requisite (DEPENDS) packages while building
a package as non-root user.

+ A hook has been added to run ${PRE_ROOT_CMD} before becoming root, so
that root can be given write access to ${WRKDIR} directories, for
example, on -noroot mounted NFS filesystems.




Home | Main Index | Thread Index | Old Index