Age | Commit message (Collapse) | Author | Files | Lines |
|
Changes since 5.6.1:
* Improved checks that depend on whether bsd.prefs.mk is included or
not.
* Improved checks for tools, whether they may be used at load time
or at run time.
* Improved tokenizer for shell commands. $| is not a variable but a
dollar followed by a pipe.
* Warnings about SUBST context are now shown by default.
* A warning is shown when a SUBST block is declared for *-configure
but the package has defined USE_CONFIGURE=no.
* Don't warn about USE_TOOLS:= ${USE_TOOLS:Ntool}.
* Don't warn about using the ?= operator in buildlink3.mk files before
including bsd.prefs.mk (for some more variables, but not all).
* Report an error for packages from main pkgsrc that have a TODO or
README file. Packages should be simple enough that they don't need
a README file and ready for production so that they don't need a TODO.
* Lots of small bug fixes and new tests.
|
|
In the next version, pkglint will report an error if a package has a
README or a TODO file. The content of the current TODO file is still
available at https://github.com/rillig/pkglint/blob/master/TODO.md.
|
|
|
|
This is based on the decision The NetBSD Foundation made in 2008 to
do so, which was already applied to src.
This change has been applied to code which is likely not in other
repositories.
ok board@, reviewed by riastradh@
|
|
|
|
|
|
Changes since 5.6.0:
* Fix output of relative paths in the diagnostics (thanks @wiz)
* Fix parsing of ${VAR:ts---}; it is now a syntax error
* Load more type definitions from mk/* instead of hard-coding them
* Lots of refactoring to improve test coverage, fixing several
small bugs as they were found
|
|
script is invoked with any command specified.
|
|
Add `cc-by-sa-v4.0', `cc-by-v4.0' and `osl' to *default_acceptable_licenses to
sync it with DEFAULT_ACCEPTABLE_LICENSES of mk/license.mk.
|
|
Changes since 5.5.16:
* Check for negated shell commands (if ! test -z "foo"); they are not
supported by Solaris.
* Don't check variable permissions for infrastructure files. A warning
like "may not be set by any package" doesn't make sense for them.
* Check that PLIST_VARS matches PLIST.*, which is especially useful in
options.mk files.
* Improve checks for options.mk files (for PKG_OPTIONS_SET).
* Prefer options handling with !empty() over checking empty() first.
* Prefer ${MACHINE_ARCH} == i386 over !empty(MACHINE_ARCH:Mi386), for
single-valued variables.
|
|
|
|
Changes since 5.5.15:
* Add checks for options.mk files
* Treat redundant variable definitions as notes, not as warnings
* Check doc/CHANGES-* for typos in the dates (only for 2018 and later)
* Lots of cleanup in the test code
|
|
It is not currently largefile aware, leading to issues described in
PR#53489. This will be resolved upstream but it will take a while for
everyone to catch up.
|
|
* Fixed detection of redundant variable definitions.
* Fixed check for PATH environment variable.
|
|
Changes since 5.5.14:
* Check that the comments in .endif and .endfor lines match the
corresponding conditions.
* Check for redundant variables (e.g. MASTER_SITES for R packages).
* Check for accidentally overwritten variables.
* Miscellaneous code cleanup and refactoring.
|
|
|
|
Changes since 5.5.13:
* Suppress duplicate warnings for unknown options in the same file
* Grab acceptable package versions directly from the infrastructure files
* Note about too deeply indented shell programs
|
|
Changes since 5.5.12:
* Allow underscore in package version.
* Warn about SUBST in post-patch and pre-patch phases.
* Allow multiple SUBST blocks per paragraph.
* Code cleanup.
|
|
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
|
|
## Version 0.11.4 (2018-07-03)
* Fix dependency matching to correctly consider DEPENDS rather than simply
attempting to pull in the highest version. Resolves issues with installing
packages depending on samba and their conflicts against tdb and talloc.
|
|
|
|
## Version 0.11.3 (2018-06-29)
* Allow -y flag to work with autoremove.
* Improve -n flag and autoremove output formatting.
|
|
## Version 0.11.2 (2018-06-20)
* Fix a couple of issues with PKGPATH handling in import and upgrade.
* Fix an occasional memory corruption issue with commands that call
pkg_info for output.
|
|
## Version 0.11.1 (2018-06-14)
* Permit the user to install an older package version.
* Ensure warning and error counters are reset for each phase.
* Print total download size when using -d.
|
|
|
|
## Version 0.11.0 (2018-06-08)
* Fix build on NetBSD/evbarm.
* Skip download checks for packages that are being removed, prevents
erroneous "empty FILE_SIZE" failures.
* Perform in-place upgrades using `pkg_add -DU` rather than removing
and reinstalling. Should be faster and less error-prone.
* Output formatting improvements. Installs are now split between
refresh, upgrade, and install, with package lists formatted to be
easier to read.
|
|
## Version 0.10.2 (2018-06-06)
* Fix -f flag when used with install.
* Handle empty BUILD_DATE correctly.
|
|
Add recently-bumped libfreetype from NetBSD-current.
|
|
Add some more licenses, bump default version to 2018.
|
|
## Version 0.10.1 (2018-06-01)
* Fix BUILD_DATE refresh support for preserved packages.
* Improve provides/requires output to avoid confusion for new users.
|
|
|
|
|
|
|
|
Changes since 5.5.11:
* Improve support for TEST_DEPENDS and USE_TOOLS+= *:test (thanks @leot)
* Add checks for ALTERNATIVES files
|
|
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE PORTNAME}/
|
|
## Version 0.10.0 (2018-05-17)
* Add BUILD_DATE support, packages are now upgraded if the BUILD_DATE
has changed, to ensure rebuilt dependencies are correctly handled.
* Download handling fixes.
* Count packages correctly.
* Ensure the remote database is updated before performing upgrades.
* Internal code cleanups, refactoring, WARNS fixes, etc.
* Support nanosecond resolution on pkgdb mtime.
* Sync progressmeter and pkg_install with upstreams.
* Improve SQL logging.
* Fix -d when used with an upgrade action.
* Fix exit status for various commands and usage.
* Avoid segfault in show-category.
* Improve pkgin database initialisation and upgrade checks.
* Support libarchive 2.x and Minix 3.3.0
* Support PKG_INSTALL_DIR and PKGIN_DBDIR, primarily to support the
new pkgin test suite: https://github.com/joyent/pkgin-test-suite
|
|
Changes since 5.5.10:
* Read JVMs and compiler languages from mk/* instead of predefined lists.
* Support TEST_DEPENDS.
|
|
Add missing freetype 2.9.1 includes.
Fixes e.g. www/firefox build on netbsd-current.
|
|
In some cases, if an installed package's source directory did not
exist, pkg_rr could invoke "make clean" at top-level of pkgsrc. Bug
report and fix by Andreas Gustafsson in PR pkg/53157.
|
|
Changes since 5.5.9:
* Fix wrong pkglint behavior for .include lines that are guarded by
corresponding .if exists(...)
* A little bit of refactoring, as always.
|
|
|
|
Changes since 5.5.8:
* Improved support for the "strip" tool, which has a special definition
and is not directly connected to the STRIP variable.
* Miscellaneous code cleanup and new tests.
|
|
If PKG_DBDIR is /foo and a path like /foobar is given, it is not below
PKG_DBDIR, so don't translate it into a package name look up. The old
logic for giving a path to PKG_DBDIR remains for legacy compat.
|
|
OS is essentially the same as FreeBSD from our configuration point of view, with
the exception of the name of utiliy for nullfs mounts.
Tested on DragonFly 5.3-DEVELOPMENT.
|
|
Fix an issue in pkg_create where we may have been using corrupted owner and
group information. Noticed on macOS where libarchive would complain about
the owner entry being too long. Reviewed by joerg.
Also includes some manual page improvements committed recently.
|
|
|
|
|
|
|
|
option. Allows for building X packages without needing xsrc in the
sandbox.
Approved by agc@.
|
|
The new code is more expressive and uses fewer magic numbers.
|