summaryrefslogtreecommitdiff
path: root/mk/check
AgeCommit message (Collapse)AuthorFilesLines
2008-05-13Enable USE_CHECK_SHLIBS_ELF on FreeBSD. Aleksej Saushev PR pkg/38606.tnn1-2/+2
2008-03-09Enable USE_CHECK_SHLIBS_ELF by default on DragonFly and NetBSD.joerg1-1/+6
2008-02-20Removed colons from variable names so they are accessible to "bmakerillig3-10/+10
help".
2008-02-20After being deprecated for 16 months, SKIP_PORTABILITY_CHECK is nowrillig1-5/+7
obsolete.
2008-02-20Removed colons for the sake of "bmake help".rillig1-3/+3
2008-02-13Added a new check for binaries, so that they are installed according torillig2-1/+60
the INSTALL_UNSTRIPPED variable. By default, this check is disabled, so that it does not cause any breakage. NB: The file(1) command needs the explicit locale to prevent translated messages. This file is copied from check-interpreter.mk.
2008-02-13Adjusted the documentation to the source code.rillig1-2/+2
2008-02-10Enable check-fakehome.mk.tnn1-1/+2
2008-02-10Enable fake home directory support. Also add a wrkref check because antnn1-3/+5
embedded path to the HOME directory can be a security problem if, say, the package looks in the HOME directory of an unprivileged user for configuration files. Note that this has the potential to cause some short-term fallout.
2008-02-08Skip ${PREFIX}/emul/linux32/proc.* as welladrianp1-3/+4
2008-02-07Replaced _PKG_SILENT and _PKG_DEBUG with RUN.rillig3-26/+26
2008-02-05No need to walk the whole directory when checking for emptyness.tnn1-3/+3
From Robert Elz.
2008-02-05This is the check part of the fake $HOME code. Not enabled yet.tnn1-0/+40
2008-02-05Convert to ${RUN}tnn2-7/+4
2008-01-23STEP_MSG may be a hidden command.rillig1-5/+3
2008-01-21The package x11/gdm embeds ${exec_prefix} into a macro containing arillig1-2/+3
PATH, in which it is not directly preceded by a quote character: #define GDM_USER_PATH "/usr/bin:/bin:${exec_prefix}" Catch this by complaining about "${" also when it appears after a colon. Since this check is still disabled by default, it will not surprise anyone.
2008-01-16Make the default rpath for USE_CHECK_SHLIBS_ELF a platform variable.joerg1-2/+2
Define the values for NetBSD and DragonFly.
2007-11-30The interpreter check for packages which are their own interpreter,bjs1-2/+6
e.g. lang/perl5, was failing. Adding a check for ${DESTDIR}"$$interp" fixes this.
2007-11-28Print a warning for every file that has /bin/sh as interpreter, but onlyrillig1-1/+6
on Solaris.
2007-11-07Activated the check-interpreter for PKG_DEVELOPERs. I don't remember whyrillig1-1/+5
activating this has taken so long.
2007-10-13Fix the .include lines so that make looks in the right place first.dsl1-9/+9
Remember .include "foo.mk" is looked for (first) in the directory that contains the makefile being processed (like in C), so remove all the ${.PARSEDIR} and ../ sequences that just cause grief.
2007-09-27Even though VARBASE is sometimes below LOCALBASE, some users want torillig1-1/+3
check it. Don't prevent that in CHECK_FILES_STRICT=yes mode.
2007-09-13In bulk builds with a custom PKGSRCDIR, that directory should not appearrillig1-1/+3
in binary packages. This check can be enabled by adding "pkgsrc" to CHECK_WRKREF.
2007-09-12check-files shouldn't complain about files in VARBASE, since they cannotrillig1-1/+4
be represented in the PLIST.
2007-09-05Now it's possible to add custom directories to the check for directoryrillig1-1/+9
references.
2007-08-21Allow the existence of symlinks that point nowhere.jlam1-3/+3
2007-08-21Add actual license and a small description of what this is doing.joerg1-0/+40
2007-08-20Add a cross-compile and DESTDIR safe alternative to ldd forjoerg3-2/+142
check-shlibs. This allows more stricter detection (e.g. it checks whether the package links against a build dependency). It also checks whether the rpath contains wrkdir references (like qt3-libs). It depends on readelf and is only available for ELF systems for now. To test it, add USE_CHECK_SHLIBS_ELF to mk.conf. Supported-by: Google SoC 2007
2007-08-14Fix a number of bugs in the DESTDIR support:joerg1-2/+2
- check-perms.mk was not DESTDIR aware, prefix files before passing it to the directory extraction - PKG_FILELIST_CMD was calling pkg_info, which is fine for normal installation, but fails of course for DESTDIR. Just drop the @ lines from ${_DEPENDS_PLIST} and use that. - To make he former work, ensure that _flavor-generate-metadata is part of _INSTALL_ALL_TARGETS. It was normally a dependency of _flavor-register, but that is skipped for DESTDIR. - Remove ${_DEPENDS_PLIST} when running install-clean.
2007-08-13Prevented the files check from being confused by concurrent instances ofrillig1-1/+3
"make replace". Since these are currently not locked properly, they may remove files from PKG_DBDIR while another package is being installed.
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