Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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.
|
|
|
|
|
|
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
|
|
CONFIGURE_ARGS.
|
|
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
|
|
|
|
|
|
And care for sendmail path for IRIX though IRIX has never tested
yatsvrs to work.
Bump PKGREVISION.
|
|
- Add fallback sendmail path, should fix some buld build problem.
- Add -x option which enable XTND command support to yatd(8).
Bump PKGREVISION.
|
|
NetBSD-current systems.
|
|
|
|
Noted by wiz@ and thanks much.
|
|
by mistake.
- Bump PKGREVISION.
|
|
which have shadow password (SunOS at least).
- Reduce warning with GCC 3.3.1.
- Bump package revision.
|
|
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
|
|
|
|
|
|
|
|
slight formatting changes.
|
|
|
|
|
|
Fix security hole bug for KILL/KILL9 function.
Under specific condition, kill(2) would be called with its first
arguement (pid) 0 or 1. It would cause killing parent process,
inetd(8).
The bug was fixed as bellow.
* Avoid using atoi(3).
* More strict error checking with sscanf(3).
|
|
o Utilize PKG_SYSCONFDIR and nuke own CONFDIR variable.
Suggested by private mail from Johnny Lam <jlam@jgrind.org>.
Thanks jlam!
|
|
Note: Since OLDCONFDIR is some backword compatibility, it shouldn't
depend on PKG_SYSCONFDIR.
|
|
|