summaryrefslogtreecommitdiff
path: root/mk/check
AgeCommit message (Collapse)AuthorFilesLines
2007-07-23When using check-perms, also depend on sysutils/checkperms.joerg1-1/+3
2007-04-14Teach pkgsrc about HP-UX.tnn1-2/+2
2007-03-24Made this check work again. The regular expression did not match relativeheinz1-6/+7
paths from .PLIST. Changed the working directory to ${DESTDIR}${PREFIX} so files can be accessed correctly. Extended the relative paths to absolute paths again for better clarity. Improved (IMHO) some wording.
2007-03-24More DESTDIR fixes in warnng/error messagesheinz1-5/+5
2007-03-24Removed unnecessary shell code:heinz1-2/+2
p|p) is the same as p)
2007-03-20Fix check-interpreter when using USE_DESTDIR. From Klaus Heinz onjoerg1-3/+3
tech-pkg.
2007-03-18Typo.rillig1-2/+2
2007-03-16Added the variable declarations for the "show-all" target.rillig5-5/+25
2007-03-16Don't check files in ${PACKAGES} and ${DISTDIR}.rillig1-1/+5
2007-03-15For all those who are interested in the inner workings of pkgsrc, thererillig1-1/+5
is a new target "show-all" that fits to the existing "debug", "show-tools", "show-vars" targets. It prints a list of the variables that make up the public interface to pkgsrc. Running this target is especially useful if you want to do some things, you know that they must have been implemented but you don't know what it is called. It also shows the "class" of a variable (user-defined, package-defined, system-defined).
2007-03-15The CHECK_WRKREF variable has changed type: It is now a list ofrillig1-16/+18
directory aliases. That makes it possible to check for references into TOOLS_DIR and WRKSRC, but to leave out the other infrastructure directories. On IRIX, x11/gtk2 failed to build because of an unknown library -lharfbuzz. That library turned out to be an internal dependency of graphics/cairo, which had made it into the installed libpangocairo.la file. With this change, that bug would have been caught earlier.
2007-03-09Renamed some more flavor-specific targets to have the form _flavor-*.rillig1-12/+17
Split check-vulnerable into a general an a flavor-specific part, for consistence with all the other targets.
2007-03-08Documented how to use checkperms in bulk builds.rillig1-1/+5
2007-03-02Remove support for obsolete and unused NO_PKG_REGISTER.wiz1-16/+1
2007-01-07Fixed the mismatch between absolute and relative paths.rillig1-4/+4
2007-01-06Moved the code that installs check-files on the hook from install.mk torillig1-1/+5
check-files.mk, for two reasons: 1. It belongs there. 2. Now check-files is run before check-perms and check-interpreter.
2007-01-06Reformatted the help text to be more human-readable instead ofrillig1-7/+15
pkglint-readable.
2007-01-02Removed the need to define the PKGSRCDIR environment variable.rillig5-18/+20
2006-12-31Made the portability check more portable by not using a hard-codedrillig2-6/+6
"/dev/stderr" in the AWK programs. That device file doesn't exist on IRIX, and it isn't required by POSIX either.
2006-12-15Remove trailing tabs.martti1-2/+2
2006-12-12Made all .include lines look the same.rillig1-7/+7
2006-12-12On Solaris 5.9, the ksh cannot handle null bytes in the input. It'srillig1-2/+13
documented in a SunSolve document, but that document is not accessible to the public. There's no better way than to start a subshell executing sed(1) in this case. This makes the test even slower on these machines, and is not even guaranteed to work in all cases. That's life.
2006-11-17On Interix, the -c option of checkperms is disabled, as checkperms doesrillig1-2/+6
not know about Interix yet. This is a temporary work-around for PR 34968.
2006-11-13Instead of $0 and $1 .. $NF, the function check_test_eqeq should testrillig1-5/+6
the string in the ''line'' variable. This will make koffice build again.
2006-11-12Added a missing line continuation in the code for CHECK_FILES_STRICT.rillig1-2/+2
Apparently no one has been using that code since June 2006.
2006-11-12Moved the test whether this check should be enabled to this file.rillig1-13/+7
Removed the dependency to NO_PKG_REGISTER. Renamed the check-interpreter target to _check-interpreter.
2006-11-12Added the CHECK_PERMS_AUTOFIX variable, which allows packages to sayrillig1-8/+17
that the file permissions should be fixed automatically. Moved the test whether this check should be enabled from ../install/install.mk to here. Renamed the target from check-perms to _check-perms.
2006-11-12Improved the formatting of the comment and made the code a littlerillig1-21/+22
shorter.
2006-11-12Moved the check for whether check-wrkref should be run fromrillig1-2/+6
install/install.mk to check/check-wrkref.mk. Renamed the check-wrkref target to _check-wrkref.
2006-11-12Improved the readability of the header comment.rillig1-24/+25
CHECK_WRKREF may be set to "wrkobjdir" to check for references to WRKOBJDIR. Added some error checking. Removed the dependency on NO_PKG_REGISTER.
2006-11-11Fixed the comment.rillig1-2/+2
2006-11-11Moved the check whether check-shlibs should be run fromrillig1-2/+7
install/install.mk to check/check-shlibs.mk. Renamed check-shlibs to _check-shlibs. Since it had been declared as "private" before, this will not break anything.
2006-11-11Added the usual header comment.rillig1-22/+26
Removed the special case handling of NO_PKG_REGISTER. What does checking for shared libraries have to do with whether the package is registered in the package database or not? Removed the check on CHECK_SHLIBS_SUPPORTED, which will be reintroduced soon.
2006-11-11Improved a comment.rillig1-3/+3
2006-11-10Fixed the warning from GNU awk that in strings, \$ is the same as arillig1-2/+2
plain $.
2006-11-10Refined the pattern for lines containing bad macros. White-space isrillig1-2/+2
allowed between the "#" and the "define", and the value must be of the form "${varname}/...", that is, starting with a double quote, followed by "${" and a variable name, and directly behind the closing brace must be a slash. This should catch most false positives while still being useful.
2006-11-09Added documentation.rillig1-8/+26
2006-11-09This is also an FAQ of autoconf, so provide a link to there.rillig1-1/+4
2006-11-09Documented the ksh-compatible form of the SKIP_FILTER.rillig1-2/+4
2006-11-09Added a little comment.rillig1-1/+9
The program now exits with the correct exit status in case of errors.
2006-11-09Greatly simplified the code and added documentation.rillig1-32/+31
2006-11-09Fixed the SKIP_FILTER command so that NetBSD's ksh can handle it as well.rillig2-5/+7
2006-11-09Rewrote check-portability in awk instead of shell, since the shell has arillig4-78/+147
huge performance problem: When reading files, it calls read(2) for every single byte. awk instead reads a whole line at a time. For the lang/php5 package, the execution time changed from (7.8 real 4.5 user 3.1 sys) to (1.6 real 1.5 user 0.4 sys).
2006-11-09Added a function cs_explain() to check-subr.sh that prints anrillig3-6/+51
explanation for an error message, nicely formatted. Added explanations for the checks in check-portability.sh.
2006-11-09Added another sentence that explains how to disable this check forrillig1-7/+10
individual files.
2006-11-09Added an explanation how to fix the errors reported by this check.rillig1-1/+31
2006-11-09Made the code simpler.rillig1-8/+4
2006-11-09Moved the portability checks from the configure/ directory to checks/,rillig6-1/+321
since according to the comment in check/bsd.check.mk, they belong there. Added a new check for all C and C++ header files to make sure they don't contain strings like ${prefix} or ${exec_prefix}, which is currently a problem with sysutils/dbus and has been noticed in PR 35019. This check is disabled by default since I don't know anything about possible false positives, but I plan to enable it for PKG_DEVELOPERs after some testing. Added two names for hooks that are placed in the configure and in the build phase. Now the checks look more like becoming something one could call a framework, sharing a common structure and a documented interface.
2006-11-05Look into DESTDIR when checking for WRKDIR references.joerg1-2/+2
2006-11-02Adjusted the check-perms target to the recent update ofrillig1-11/+11
sysutils/checkperms. Regular files are now checked if they needlessly have the executable bit set.