summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.check.mk
AgeCommit message (Collapse)AuthorFilesLines
2006-01-24The CHECK_INTERPRETER_SKIP patterns may be either for absolute pathnames orrillig1-3/+5
for pathnames relative to ${PREFIX}.
2006-01-21Whether a missing interpreter is a warning or an error depends on whetherrillig1-2/+2
the _file_ is executable, not the _interpreter_.
2006-01-21Depending on whether a file is executable or not, it is an error or arillig1-3/+7
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.
2006-01-12Documented CHECK_INTERPRETER in the header comment.rillig1-1/+4
2006-01-12Added the target check-interpreter to bsd.pkg.check.mk, which checksrillig1-1/+46
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.
2006-01-09Add a missing trailing backslash to continuatificate a shell snippetschmonz1-2/+2
to the following line.
2006-01-07Add R's index files, that are regenerated when a local modulemarkd1-1/+7
is added, to CHECK_FILES_SKIP.
2005-12-30Skip charset.alias as it's another generated index file that changesjlam1-1/+4
over time.
2005-12-29Add some X11 font database files that are generated by mkfontdir,jlam1-1/+6
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.
2005-12-29Add comments for the skipped files for CHECK_FILES.jlam1-2/+18
2005-09-30It is confusing to report the files mentioned in the PLIST but filteredkristerw1-8/+23
out due to CHECK_FILES_SKIP as "The following files are in the PLIST but not in ${PREFIX}:". Report those files separately.
2005-09-25Some of the names listed in CHECK_FILES_SKIP are for directories, andkristerw1-5/+5
the last commit prevents them from matching the filenames within the directories. Add wildcards so that they work as before.
2005-09-25Use ${GREP} -vx instead of ${GREP} -v when filtering the listkristerw1-2/+2
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.
2005-09-03Skip checking files in the refcount directory in case it's underjlam1-1/+2
${PREFIX}, which happens if ${PKG_DBDIR} is under ${PREFIX}, e.g. /usr/pkg/.pkgdb. This makes CHECK_FILES usable in my FreeBSD bootstrap setup.
2005-08-20Don't skip files that are under REQD_DIRS directories, as those arejlam1-3/+3
typically under ${PREFIX}.
2005-08-20The various bsd.pkginstall.mk variables can be paths relative tojlam1-3/+3
${PREFIX}, so prepend the words with ${PREFIX} in that case when setting CHECK_FILES_SKIP.
2005-08-19Define new variables for package Makefile use:jlam1-3/+3
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.
2005-08-19perllocal.pod is like info/dir... we don't care if it's created orjlam1-1/+2
removed by any package.
2005-08-15Alter the check-files target for ${PREFIX} to check for if files arejlam1-19/+38
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.
2005-08-15Minor nit... use ${.TARGET} instead of specifying the file name againjlam1-2/+2
within a target.
2005-07-28Fix swapped words, found by Leonard Schmidt via tech-pkg.wiz1-2/+2
2005-07-15Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by makingjlam1-2/+2
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.
2005-06-23CHECK_FILES is not ready for prime time, so do not enable it bykristerw1-2/+1
default for PKG_DEVELOPER yet...
2005-06-23Put back behavior that was lost in the initial split of the check-filesjlam1-1/+7
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.
2005-06-23Add a PKGSRC_USE_TOOLS definition to bsd.pkg.check.mk that notes thejlam1-7/+10
tools that are used in the targets. Also, replace "diff" with ${DIFF}.
2005-06-23Drop CHECK_WRKREF_IS_TEXT_FILE and modify the semantics of CHECK_WRKREFjlam1-16/+22
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".
2005-06-23Split out the check-wrkref implementation and related variables fromjlam1-1/+77
bsd.pkg.mk into bsd.pkg.check.mk file.
2005-06-23Split out the check-files implementation and related variables intojlam1-0/+253
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.