Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
This is only performed if PKG_DEVELOPER and RELRO are in use.
After a suggestion during my talk at BSDCan 2017; thanks!
Also, submitted on tech-pkg@ for review mid-June.
As a next step, it seems this can be extended to libraries, just like the
check for SHLIBS does (from which this is inspired).
|
|
Introduce Icon Theme cache handling framework
Icon Theme cache files are used by GTK+ and maintained with the
gtk-update-icon-cache tool. Each Icon Theme package duplicates
its own maintainance scripts: only the specified icon theme directory
differs. With this framework, if packages have ICON_THEMES=yes,
associated icon themes will be detected and their cache files will
be maintained automatically.
Change cache handling behaviour as follows:
* Icon theme caches will be updated if either gtk2+ or gtk3+
gtk-update-icon-cache tool is available.
* With installation of gtk2+ package, not only hicolor icon theme but
also any other icon theme cache files will be updated.
* Prevent removal of icon caches at deinstall, gtk3+ may be installed and
using them.
* Ditto with gtk3+, gtk2+ may not be installed now, so caches must be
maintained by gtk3+.
|
|
If ${_USE_NEW_PKGINSTALL} is "yes", then use the new "pkgtasks",
"init", and "pkgformat/pkg"-scripts frameworks instead of the
existing "pkginstall" framework.
|
|
Assert MAKE_DIRS_PERMS and OWN_DIRS_PERMS have the right number of
words before using a multivariable .for loop over those variables.
This prevents errors in parsing the makefiles.
|
|
regexps that will cause the checks to fail if they match resolved RPATHs.
|
|
than on all of the rpaths. We can't always exclude the rpath being added,
for example when the compiler adds its own behind our back, so this avoids
false positives.
|
|
|
|
|
|
|
|
|
|
tests would pass after the first successful check. Exposes library issues
in a number of packages.
|
|
|
|
paths. These would previously pass the checks as the files would exist
when checking from within the DESTDIR, but were not resolvable at runtime.
|
|
Darwin releases with "sed: RE error: illegal byte sequence".
|
|
|
|
listed in CHECK_WRKREF then these directories will added to the checks
for rpath references.
|
|
This works in a similar way to the ELF checks, but uses otool(1) to list the
library name and its dependencies, and the checks fail if there are WRKDIR
references or if the -install_name of the library does not match $PREFIX, as
well as ensuring that any libraries from pkgsrc are correctly registered as
full dependencies.
Removes support for the user to set USE_CHECK_SHLIBS_ELF, but there were no
reasonable reasons for doing so in the past anyway, and it may be masking
issues in platform files we should fix.
|
|
|
|
|
|
check and calling grep on each of them. Idea for using ":ts|" from Joerg.
Reduces the test runtime by around 50%, depending on platform and package.
|
|
performed all installed files should have their correct mode set, and there are
no INSTALL scripts that currently change file modes under PREFIX after
installation (nor should they ever).
This change considerably speeds up the test. For example in www/firefox-l10n
the time to run the test reduces from 181 seconds (135 seconds of system time)
down to 10 seconds (6 seconds system time) on my SmartOS build systems.
|
|
|
|
proposed/discussed is required for such changes.
|
|
|
|
|
|
x11/kde-workspace4 shows a 25x performance improvement, reducing the
runtime of _check-shlibs from 7m55s to just 18s.
|
|
|
|
issues seen on NetBSD.
|
|
awk array iteration which could result in the wrong library being chosen.
Fixes issue seen with GCC 4.9 where the libgcc from the main GCC package
was found first and caused errors, even though the RPATH correctly had
the gcc49-libs version listed first.
|
|
references to ${WRAPPER_DIR}.
Update the error message when an invalid CHECK_WRKREF option is used.
|
|
|
|
|
|
The change introduced in rev. 1.5 disables portability check.
|
|
under Debian GNU/Linux 7.4.
lang/nawk's length(array) does not work as expected. So length(array) make
array as usual variable.
|
|
|
|
|
|
target, it is unwanted in check-files-clean target.
|
|
|
|
It is used in limited case, and does not exist by default on some platforms.
proposed at over 30 months ago, and no negative feedback (only one request).
|
|
Build depends are target packages that are needed at build-time for,
e.g., static libraries to link against, header files to include, &c.
Tool depends are native packages that are needed at build-time for,
e.g., compilers/linkers/&c. to run.
ok agc
|
|
Noted by Edgar Fuß.
|
|
installed old version's file.
|
|
|
|
can work without further calls for indirect full dependencies.
|
|
Honor dicision of the copyright holder.
|
|
dependency.
|
|
|
|
On DragonFly, packages like devel/doc++ and net/wap-utils were failing the
file check during installation due to a present locale.alias file. Treat
it the same as charset.alias.
|