Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
the owner of all installed files is a non-root user. This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.
(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
unprivileged.mk. These two variables are lists of other bmake
variables that define package-specific users and groups. Packages
that have user-settable variables for users and groups, e.g. apache
and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
and ${UNPRIVILEGED_GROUP}.
(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
|
|
ftp://asim.lip6.fr/outgoing/packages/i386/3.1/20070114.1132/broken.html
(latest 3.1/i386 bulk build of 2006Q4).
Feel free to fix them...
|
|
INSTALL/DEINSTALL script creation within pkgsrc.
If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts. If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:
INSTALL_SRC= ${PKGDIR}/INSTALL
DEINSTALL_SRC= # emtpy
As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts. By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).
In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework. The only public variables relating to the templates are:
INSTALL_SRC INSTALL_TEMPLATE
DEINSTALL_SRC DEINSTALL_TEMPLATE
HEADER_TEMPLATE
The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
|
|
instead.
|
|
lines starting with "@" disappear from the PLIST file.
|
|
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in
http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
|
|
|
|
had been omitted.
Noted by Wouter Schoot in PR pkg/28677
|
|
by the Debian project.
|
|
|
|
|
|
${PKGNAME}, so that the WRKSRC definition is immune from any subsequent
PKGREVISION changes. With thanks to jmc for the nudge.
|
|
|
|
Remove `-p' from mkdir arguments, it is already part of ${MKDIR}.
While here substitute a couple of ${PREFIX} by `%D' in
`@exec ${MKDIR} ...' lines and add a couple of missing `%D' in such lines too!
|
|
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
|
|
Make the print-PLIST target output ${MKDIR} also.
|
|
defs.${OPSYS}.mk files.
|
|
|
|
|
|
+ move the patch digest/checksum values from files/patch-sum to distinfo
|
|
|
|
@PREFIX@ in DEINSTALL/INSTALL scripts.
|
|
XXX need to teach pkglint to be more picky about this
|
|
|
|
name. This may caused problems on some machines with non-standard network
setup.
Pointed out by Jon Buller and by Dan MacMahill.
|
|
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
|
|
sysutils/amanda-common/pkg/INSTALL.
|
|
Pointed out to me by Hubert Feyrer in private e-mail.
|
|
No longer modify /etc/aliases and httpd.conf (fixes PR 10126).
Also, jitterbug does not depend on apache any longer.
|
|
Pointed out by Hubert Feyrer and leftovers.txt
|
|
This way to obtain the fully qualified domain name of the machine
only generates warnings.
|
|
|
|
A block of garbage was imported by someone in version 1.6 and somebody else
removed the wrong pieces in version 1.7. And if someone (or somebody else)
wants to replace awk by ${AWK}, please test thoroughly before committing.
Thomas Klausner (wiz@netbsd.org) pointed me to this broken Makefile.
|
|
|
|
|
|
|
|
package. Pointed out by David Brownlee.
|
|
host names. Make this fail-safe in case host has no working domain name server.
Fixes "make show-downlevel" lossage, mentionned by Thomas Klausner
<wiz@danbala.ifoer.tuwien.ac.at> in private email.
|
|
hostname, without requiring the environment variable JB_FQHOSTNAME to be set.
Should also work on Solaris.
|
|
which may be defined in /etc/mk.conf
Use a complicated echo & sed combination, rather than hostname -s, which
doesn't work on Solaris.
|
|
o do not require $JB_PACKAGE to be set to a bug category; if $JB_PACKAGE
is not set, the default category "test" is used
o the above will also fix the error messages on nbftp occuring in
update-distfiles (hi veego!)
o make proper use of "DEINSTALL" and "MESSAGE" files so that installing
(and deinstalling) of jitterbug from pkgsrc/as binary makes no difference
o when echoing the defaults for JB_USER, JB_USERID, etc, use the actual
variables, not hardcoded values
o ownership of jitterbig.config fixed (@JB_USER@ instead of root)
|
|
|