Age | Commit message (Collapse) | Author | Files | Lines |
|
_CHECK_WRKREF_FILELIST_CMD is a command which prints PLIST paths
converted to absolute path. _CHECK_WRKREF_FILELIST_CMD can run
anywhere, so cd ${DESTDIR} before that is pointless. To access files,
_CHECK_WRKREF_FILELIST_CMD's output needs to be s/^/${DESTDIR}/ when
destdir is used.
Reviewed By: joerg
|
|
|
|
The info messages can be omitted. At least for ELF binaries, the code is
sufficiently stable.
|
|
|
|
This way it doesn't have to be installed for make checksum etc.
to run.
|
|
|
|
|
|
help".
|
|
obsolete.
|
|
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
|
|
From Robert Elz.
|
|
|
|
|
|
|
|
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.
|
|
Define the values for NetBSD and DragonFly.
|
|
e.g. lang/perl5, was failing. Adding a check for ${DESTDIR}"$$interp"
fixes this.
|
|
on Solaris.
|
|
activating this has taken so long.
|
|
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.
|
|
check it. Don't prevent that in CHECK_FILES_STRICT=yes mode.
|
|
in binary packages. This check can be enabled by adding "pkgsrc" to
CHECK_WRKREF.
|
|
be represented in the PLIST.
|
|
references.
|
|
|
|
|
|
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
|
|
- 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.
|
|
"make replace". Since these are currently not locked properly, they may
remove files from PKG_DBDIR while another package is being installed.
|
|
|
|
|
|
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.
|
|
|
|
p|p) is the same as p)
|
|
tech-pkg.
|
|
|
|
|
|
|
|
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).
|
|
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.
|
|
Split check-vulnerable into a general an a flavor-specific part, for
consistence with all the other targets.
|
|
|
|
|
|
|