Age | Commit message (Collapse) | Author | Files | Lines |
|
for pathnames relative to ${PREFIX}.
|
|
the _file_ is executable, not the _interpreter_.
|
|
warning if its first line starts with "#!", and the following word is
not an existing file. The package devel/apr installs some *.exp files
that start with "#!", but are not intended to be executed.
|
|
|
|
that the interpreter of "#!"-style scripts exists. It is disabled by
default, and can be enabled by setting CHECK_INTERPRETER=yes. As for the
other check-* targets, CHECK_INTERPRETER_SKIP is a list of shell globs
that can be used to to skip certain files.
Ok'ed by jlam.
|
|
to the following line.
|
|
is added, to CHECK_FILES_SKIP.
|
|
over time.
|
|
mkfontscale, ttmkfdir, etc., to the list of skipped files. We don't
care about these because they're constantly being regenerated, sometimes
during the package's install phase.
|
|
|
|
out due to CHECK_FILES_SKIP as "The following files are in the PLIST but
not in ${PREFIX}:". Report those files separately.
|
|
the last commit prevents them from matching the filenames within
the directories. Add wildcards so that they work as before.
|
|
of files. This prevents it from incorrectly report errors for
files with a name that is a prefix of a file in the CHECK_FILES_SKIP
list.
|
|
${PREFIX}, which happens if ${PKG_DBDIR} is under ${PREFIX}, e.g.
/usr/pkg/.pkgdb. This makes CHECK_FILES usable in my FreeBSD bootstrap
setup.
|
|
typically under ${PREFIX}.
|
|
${PREFIX}, so prepend the words with ${PREFIX} in that case when
setting CHECK_FILES_SKIP.
|
|
REQD_FILES, REQD_FILES_PERMS, REQD_FILES_MODE
REQD_DIRS, REQD_DIRS_PERMS
These are the same as the CONF_* variables, except the files and
directories listed in REQD_* are always copied over, created or removed
(taking into account if there are user modifications from the originals,
etc.) regardless of the value of PKG_CONFIG.
The implementation involved pushing the knowledge of PKG_CONFIG,
PKG_RCD_SCRIPTS, PKG_CREATE_USERGROUP, and PKG_REGISTER_SHELLS into
the individual helper scripts. The helper scripts are now always
invoked by the +INSTALL and +DEINSTALL scripts. The +DIRS and +FILES
script have been enhanced to understand a new "f" flag that means
"force" to ignore the value of PKG_CONFIG and PKG_RCD_SCRIPTS.
Lastly, the +FILES script has been taught a new "r" flag just for rc.d
scripts and the +RCD_SCRIPTS script is now unnecessary.
|
|
removed by any package.
|
|
in ${PREFIX} but are not in the PLIST and also if files are in the
PLIST but not in ${PREFIX}. We now flag both types of PLIST problems
as errors.
|
|
within a target.
|
|
|
|
PKGSRC_USE_TOOLS go away. There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
|
|
default for PKG_DEVELOPER yet...
|
|
implementation out of bsd.pkg.mk -- if NO_PKG_REGISTER is defined,
then don't bother with the file-checks because we don't care about
cleaning up afterwards if we can't uninstall the package.
|
|
tools that are used in the targets. Also, replace "diff" with ${DIFF}.
|
|
so that it's a list of options, or "no". The valid options are:
work check files for ${WRKDIR}
tools check files for ${TOOLS_DIR}
where "work" supersedes "tools". The default CHECK_WRKREF is "no"
unless PKG_DEVELOPER is defined, in which case it's "tools".
|
|
bsd.pkg.mk into bsd.pkg.check.mk file.
|
|
a new bsd.pkg.check.mk file. This new file will eventually collect
all of the various "check" targets that are run at install-time.
While here, change the implementation of check-files so that it is
not so monolithic.
Change the meaning of the CHECK_FILES variables so that if it's not
"no", then the file checks are run. Also, allow these checks to be
run if the user explicitly sets CHECK_FILES in /etc/mk.conf, even if
PKG_DEVELOPER is not defined.
|