summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2018-12-07Update Usage coment to include --without-xsrcsevan1-3/+3
2018-12-05Add NetBSD support, trivially.schmonz3-6/+25
2018-12-05Add and enable rc.d-boot.schmonz1-1/+2
2018-12-05Initial version of rc.d-boot, a package that runs all rc.conf-enabledschmonz6-0/+104
rc.d scripts at boot time as one "service" in your operating system's normal boot process. Just Darwin so far. Please pitch in for your preferred OS!
2018-12-02pkgtools/pkglint: update to 5.6.8rillig24-302/+564
Changes since 5.6.7: In pkgsrc-wip, if the first line of a file contains an expanded CVS Id, it is not an error but only a note that it should be an unexpanded CVS Id. The autofix for this no longer inserts a new line but replaces the existing line. Several refactorings and small improvements to the existing diagnostics.
2018-12-02pkgtools/pkglint: remove outdated filesrillig2-149/+0
2018-12-02pkgtools/pkglint: update to 5.6.7rillig77-3108/+5740
Changes since 5.6.6: User-defined variables that are not yet added to BUILD_DEFS are only reported once per file. Unnecessary space after variable names is only worth a note instead of a warning. Example: MASTER_SITES = https://cdn.example.org/ All variable names that are defined in the pkgsrc infrastructure are assumed to be available to the package Makefiles. This reduces the number of wrong "used but not defined" warnings, at the expense of Variable names that are used in other variable names are checked whether they are defined somewhere. Example: CFLAGS+= ${CFLAGS.${PARAM}} # PARAM is now checked In SUBST_SED, when the pattern is s,@VAR@,${VAR}, or a slight variant thereof, pkglint suggests to define SUBST_VARS instead, which frees the package author from thinking about how to escape special characters and is generally easier to read. Example: SUBST_SED.class= s,@VAR@,${VAR:Q}, SUBST_VARS.class= VAR Directives like .if !defined(...) are now handled the same whether or not there is a space after before the (...). The check for locally modified files now works independently of the timezone. As always, lots of refactorings have happened under the hood. Many small bugs have been discovered and fixed accordingly.
2018-11-30pkgtools/pkg_regress: update to 0.4rillig2-3/+6
Changes since 0.3: * when a regression test fails, the exit code of pkg_regress is 1 instead of 0.
2018-11-30pkgtools/pkg_regress: use SUBST framework for placeholdersrillig1-11/+10
2018-11-27More macros.wiz1-4/+7
2018-11-25Add a -d option to avoid cleaning after building from source - for debugingmartin3-8/+13
purposes or to speed up builds when the full WORKOBJDIR can be blown away later much more efficently. Bump version. OK: abs@
2018-11-21When failing to install due to OS version mismatch, also print how to ↵jmcneill1-1/+2
override this check.
2018-11-15All Minix supported platforms are ELF.sevan1-2/+2
Confirmed with bsd.own.mk in Minix 3.4RC6 base.
2018-11-14Revbump after cairo 1.16.0 update.kleink2-4/+4
2018-11-13Minix does support shared libraries (tested on 3.4RC6).sevan1-3/+2
2018-11-12Recursive revbump from hardbuzz-2.1.1ryoon2-4/+4
2018-11-11pkgtools/pkglint: make goyacc accessible to the buildrillig1-1/+3
2018-11-10pkgtools/pkglint: fix buildrillig1-7/+7
go-package.mk needs to be included at the bottom of the package Makefile since it defines several make targets that pkglint also defines.
2018-11-10pkgtools/pkglint: don't access the internet during the buildrillig2-26/+39
Pkglint needs goyacc, which is provided by devel/go-tools. But that packages pulls in a lot of dependencies that are not needed for pkglint. This includes a Perl interpreter and various cryptography packages. Instead, during build, pkglint installs the only needed tool of that collection (goyacc). Since go-package.mk assumes that each pkgsrc package only downloads and installs a single project, but pkglint now needs two of them (goyacc and pkglint), most parts of go-package.mk had to be copied here and implemented directly.
2018-11-08pkgtools/pkglint: fix build when PKGSRC_RUN_TEST is not setrillig1-6/+9
2018-11-07pkgtools/pkglint: remove unnecessary filesrillig4-2058/+0
2018-11-07pkgtools/pkglint: update to 5.6.6rillig85-3639/+5845
Changes since 5.6.5: - Removed plist-clash since it had crashed unconditionally whenever it was called. This means that in the last 3 years, nobody can have used it in the originally intended way. - Fixed interactions between the --source, --explain, --show-autofix, --autofix and --only options. - Fixed "defined but not used" and "used but not defined" for variables from the pkgsrc infrastructure. - Lots of small fixes and improvements found by the large pkglint code review (12% done).
2018-11-07Fix build on Tribblix without introducing warnings on NetBSD. Fromschmonz1-5/+3
riastradh@ ("commit!") with help from maya@.
2018-11-04Revbump all Go packages after go111 update.bsiegert1-1/+2
2018-10-29Adjust CC_VERSION check from gcc-8* to gcc-[89]*abs1-2/+2
2018-10-27Fix both stupid errors in PKG_DEVELOPER and gcc-8 checkabs1-2/+2
2018-10-27Avoid build issue with PKG_DEVELOPER and gcc-8abs1-2/+4
2018-10-19pkglint: go-package.mk needs to come before bsd.prefs.mkjperkin1-2/+4
2018-10-09pkgtools/pkglint: update to 5.6.5rillig8-15/+96
Changes since 5.6.4: * GCC_REQD should only contain the major version. For GCC versions up to 4.x, this consists of the first two numbers, such as 4.8, while starting with the 5.x series, the major version is only the first number, such as 7.
2018-10-09pkgtools/pkglint: update to 5.6.4rillig44-780/+1494
Changes since 5.6.3: * Allow += for COMMENT * Sync variable type definitions with reality * Fix check for "used but not defined" variables. This check had been broken since pkgtools/pkglint/files/pkglint.pl r1.776 from 2008-10-18 (3cd071958e63), which missed its 10-year anniversary by just 9 days. After fixing this check, pkglint produces about 800 new warnings spread all over pkgsrc, most of which are real typos. * Detect used variables also in .if and .elif conditions. This is closely related to the above fix and reduces the number of "defined but not used" variables, while at the same time producing new warnings because these variables are used at load time, where some of these variables are not yet defined. * Detect variables for which pkglint doesn't know the exact data type by scanning all files under mk/ at startup. Currently there are about 470 of these variables. No "used but not defined" warnings are issued for these variables anymore. * To speed up pkglint when checking the whole pkgsrc tree at once, the most often needed files are cached to reduce IO load. The checks for USE_TOOLS are optimized now since they were a major bottleneck. Together with other performance improvements this makes pkglint about 50% faster when checking the whole pkgsrc tree including pkgsrc-wip.
2018-10-08Update pkg_chk to 2.0.10abs2-5/+5
Output deprecated warnings to STDERR rather than STDOUT
2018-10-06digest: add the BLAKE2b digest.nia10-10/+552
BLAKE2 is a further development of the SHA-3 finalist BLAKE by its original authors that improves its performance. BLAKE2b is the variant optimized for 64-bit systems. ok riastradh
2018-10-03pkgtools/pkglint: Update to 5.6.3rillig68-1594/+3933
Changes since 5.6.2: * Add check for version patterns 1.5*, which should rather be 1.5.* * Re-enable check for "set -e" and commands that may silently fail because of missing error checking * Lots of internal clean-up and tests
2018-09-29Include /var/spool/dma on DragonFly BSD so report emails work from pbulk.sevan1-1/+2
2018-09-27dfdisk: SUBST in pre-configure doesn't work when NO_CONFIGURE=yestnn1-2/+2
2018-09-27pkg_notify: SUBST in pre-configure doesn't work when NO_CONFIGURE=yestnn1-2/+2
2018-09-21pkgdiff: Remove obsolete SunOS catinstall workaround.jperkin1-5/+2
Fixes manual page installation. Bump PKGREVISION.
2018-09-20pkgin: Update to 0.11.6.jperkin2-7/+7
## Version 0.11.6 (2018-09-20) * Fix -Werror=conversion build issue.
2018-09-20pkgin: Update to 0.11.5.jperkin2-8/+7
## Version 0.11.5 (2018-09-20) * Fix crash when preferred.conf exists but is empty. * Improve preferred.conf handling. * Fix package not available message when attempting to install a non-existent package. * Small performance improvement in newline handling.
2018-09-14pkgclean: Properly replace @SH@ in pkgcleanleot1-2/+1
Most of the times setting NO_CONFIGURE is not needed and can badly interact with SUBST framework like in this case as pointed out by PR pkg/53606. Fixes PR pkg/53606.
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.