summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2018-09-05pkgtools/pkglint: update to 5.6.2rillig63-1404/+4593
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.
2018-09-05pkgtools/pkglint: remove TODO filerillig1-28/+0
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.
2018-09-01bootstrap-mk-files: Add aarch64 to get correct OBJECT_FMT. Bump to 20180901tnn5-6/+12
2018-08-22Remove clauses 3,4 from TNF-only copyright blocks.maya11-89/+12
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@
2018-08-22Recursive bump for perl5-5.28.0wiz17-28/+34
2018-08-21pkgtools/pkglint: update source files to latest staterillig3-48/+46
2018-08-16pkgtools/pkglint: update to 5.6.1rillig48-628/+1073
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
2018-08-16Document the chroot command and differentiate what happens when the sandboxsevan1-3/+9
script is invoked with any command specified.
2018-08-14pkg_install: Sync with DEFAULT_ACCEPTABLE_LICENSES in mk/license.mkleot1-1/+4
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.
2018-08-12pkgtools/pkglint: update to 5.6.0rillig45-635/+1635
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.
2018-08-09pkgtools/pkglint: make the tests run cleanlyrillig4-5/+5
2018-08-09pkgtools/pkglint: Update to 5.5.16rillig18-43/+319
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
2018-08-07libnbcompat: Explicitly avoid SunOS fts(3C) for now.jperkin1-1/+6
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.
2018-07-28pkgtools/pkglint: hotfix for release 5.5.15rillig6-7/+74
* Fixed detection of redundant variable definitions. * Fixed check for PATH environment variable.
2018-07-28pkgtools/pkglint: update to 5.5.15rillig18-139/+583
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.
2018-07-20Recursive revbump from textproc/icu-62.1ryoon4-7/+8
2018-07-19pkgtools/pkglint: updated to 5.5.14rillig7-9/+87
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
2018-07-12pkgtools/pkglint: Update to 5.5.13rillig29-107/+259
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.
2018-07-04*: Move SUBST_STAGE from post-patch to pre-configurejperkin8-17/+17
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.
2018-07-03pkgin: Update to 0.11.4.jperkin2-7/+7
## 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.
2018-07-03extend PYTHON_VERSIONS_ for Python 3.7adam2-4/+4
2018-06-29pkgin: Update to 0.11.3.jperkin2-7/+7
## Version 0.11.3 (2018-06-29) * Allow -y flag to work with autoremove. * Improve -n flag and autoremove output formatting.
2018-06-20pkgin: Update to 0.11.2.jperkin2-7/+7
## 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.
2018-06-14pkgin: Update to 0.11.1.jperkin2-7/+7
## 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.
2018-06-12Revbump all Go packages after lang/go update.bsiegert1-1/+2
2018-06-08pkgin: Update to 0.11.0.jperkin2-7/+7
## 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.
2018-06-06pkgin: Update to 0.10.2.jperkin2-7/+7
## Version 0.10.2 (2018-06-06) * Fix -f flag when used with install. * Handle empty BUILD_DATE correctly.
2018-06-06x11-links: Update to 1.12.snj3-5/+6
Add recently-bumped libfreetype from NetBSD-current.
2018-06-03texlive2pkg: update version to 1.3markd2-4/+6
Add some more licenses, bump default version to 2018.
2018-05-31pkgin: Update to 0.10.1.jperkin2-7/+7
## 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.
2018-05-28url2pkg: remove trailing whitespacerillig1-3/+3
2018-05-25Simplify.joerg1-4/+1
2018-05-21Removed 92 from PGSQL_VERSIONS_ACCEPTEDadam2-3/+3
2018-05-19pkgtools/pkglint: update to 5.5.12rillig14-24/+108
Changes since 5.5.11: * Improve support for TEST_DEPENDS and USE_TOOLS+= *:test (thanks @leot) * Add checks for ALTERNATIVES files
2018-05-18Fix Perl errorhauke2-5/+5
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE PORTNAME}/
2018-05-17pkgin: Update to version 0.10.0 and take MAINTAINER.jperkin2-17/+10
## 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
2018-05-14Update pkglint to 5.5.11rillig3-4/+64
Changes since 5.5.10: * Read JVMs and compiler languages from mk/* instead of predefined lists. * Support TEST_DEPENDS.
2018-05-10x11-links 1.11maya2-3/+5
Add missing freetype 2.9.1 includes. Fixes e.g. www/firefox build on netbsd-current.
2018-05-06pkg_rolling-replace: avoid top-level make cleangdt2-3/+4
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.
2018-05-01Update pkglint to 5.5.10.rillig13-64/+180
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.
2018-04-30*: remove references to obsolete DragonFly/i386wiz1-2/+2
2018-04-28Update pkglint to 5.5.9rillig20-58/+237
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.
2018-04-25pkg_install-20180425: correctly detect package names in PKG_DBDIRjoerg2-8/+12
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.
2018-04-21Add support for DragonFly BSD.sevan1-4/+17
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.
2018-04-17pkg_install: Update to 20180417.jperkin2-9/+10
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.
2018-04-16Recursive bump for new fribidi dependency in pango.wiz2-4/+4
2018-04-14revbump after icu updateadam4-8/+8
2018-04-12Document the existing --without-src and new --without-xsrc options.simonb1-1/+7
2018-04-12Add a --without-xsrc option similar to the existing --without-srcsimonb1-3/+4
option. Allows for building X packages without needing xsrc in the sandbox. Approved by agc@.
2018-04-08pkgtools/url2pkg: refactor variable alignment coderillig2-7/+8
The new code is more expressive and uses fewer magic numbers.