summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2019-06-30pkgtools/pkglint: update to 5.7.14rillig82-2785/+6134
Changes since 5.7.13: - Removed the -Cextra command line option since it didn't produce useful warnings. - Removed unwarranted warnings about _WRAP_EXTRA_ARGS.CC being used in packages. - Cleaned up the canonical order of variables in package Makefiles. - Added a few commands to those that cannot fail, to reduce the number of "at the left of the | operator" in shell programs. - Fixed warnings about "-ggdb" being an unknown shell command. - Reduced number of warnings about lists being used where a single value is expected. - Replaced unreliable check for invalid CFLAGS and LDFLAGS with a more practical check. - Renamed "RCS tag" to "CVS tag" to make the diagnostics more modern. - Added warning when PKGNAME or PKGVERSION is used in MASTER_SITES. - Reworded warning for missing or superfluous PLIST files. - Lots of other detail changes, refactorings and automatic tests.
2019-06-24R2pkg: update to 0.4.brook4-49/+147
Changes since 0.3: * Fix recursion. * Add both c and c++ to USE_LANGUAGES. * Add maintainer email handling (-M). * Use buildlink3.mk files for dependencies when available.
2019-06-13pkgin: Update to 0.12.0.jperkin2-7/+7
## Version 0.12.0 (2019-06-13) * Fix ordering of database updates, ensuring modification times are only updated once the new data is committed.
2019-06-12x11-links: add some more links to reflect NetBSD currentgutteridge4-6/+10
Add specific versions of libGL and libGLU as found in recent NetBSD current releases.
2019-06-10pkgtools/pkglint: updated to 5.7.13rillig47-1751/+3029
Changes since 5.7.12: * Fixed a warning in the variable permissions that previously said "this variable should not be used at load time in this file, it would be ok in .", with an empty list of alternative files. * Lots of refactoring and new tests.
2019-06-03texlive2pkg: update to 1.5markd2-4/+8
change default version to 2019 add more license mappings.
2019-05-27Revbump all Go packages after go112 update.bsiegert1-1/+2
2019-05-26pkgtools/pkglint: update to 5.7.12rillig22-139/+747
Changes since 5.7.11: * Fixed an alignment bug when pkglint replaced SUBST_SED with SUBST_VARS. * Added many test cases.
2019-05-26pkgtools/pkglint: ignore hidden files during extractionrillig1-2/+2
Fixes pkg/54204.
2019-05-25url2pkg 2.30:maya2-5/+20
- Support for creating much of the necessary makefile for a Rust Cargo package Correct package license
2019-05-23all: replace SUBST_SED with the simpler SUBST_VARSrillig13-58/+58
pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case.
2019-05-22pkgtools/pkglint: update to 5.7.11rillig4-15/+50
Changes since 5.7.10: Fixed wrong warnings about autoconf being an unknown shell command when an included file had defined USE_TOOLS+=autoconf213.
2019-05-21pkgtools/pkglint: update to 5.7.10rillig18-142/+396
Changes since 5.7.9: * Fixed URL checking for MASTER_SITES, especially remove the wrong error message about URLs of the form ${MASTER_SITE:S,^,-,:=subdir/}. * Made warnings about invalid filenames, filename patterns, pathnames and pathname patterns more detailed.
2019-05-21Remove references to Postgresql 9.3adam1-2/+2
2019-05-20pkgin: Update to 0.11.8.jperkin2-8/+7
## Version 0.11.8 (2019-05-20) * Improve SQL strictness, avoiding issues where excessive writes to the SQL error log caused by changes in SQLite 3.27.0 would swamp regular operations.
2019-05-10x11-links: Update to 1.18leot3-5/+13
Changes: 1.18 ---- - Add all missing header files present in include/libdrm of NetBSD-current
2019-05-06pkgtools/pkglint: update to 5.7.9rillig21-99/+486
Changes since 5.7.8: * Buildlink3.mk files are checked for typos in the identifier that is used for BUILDLINK_TREE, to detect copy-and-paste mistakes. * Having a rationale is recommended for some variables, especially those that make a package fail to build or crash at runtime. This check is only active when -Wextra is given, since it is still actively debated whether such a check is actually useful. * Files called Makefile.php can easily be mistaken to be PHP files. Therefore the recommended naming convention is to have auxiliary files called *.mk. There are already many more files called *.mk than those being called Makefile.*. * The check for unquoted sed substitution commands has been made more detailed, but since it is completely disabled, there's nothing to see for now. * The definitions for MASTER_SITE_* are loaded directly from the pkgsrc infrastructure instead of hard-coding them in pkglint.
2019-05-02sun-jdk6, sun-jre6: removewiz3-7/+4
Last update in 2013, remove sun-jdk7/sun-jre7 instead
2019-04-28pkgtools/pkglint: update to 5.7.8rillig7-37/+170
Changes since 5.7.7: Warn about definitions of NOT_FOR_* and ONLY_FOR_* which are missing a rationale. When maintaining such packages it helps a lot to know why the package cannot be built on a particular platform or with a particular compiler or Python version.
2019-04-28pkgtools/pkglint*: Update DESCR to explain differencesgdt2-0/+7
Note that pkglint is current and pkglint4 is old, and that both are present due to go portability issues.
2019-04-27pkgtools/pkglint: update to 5.7.7rillig26-336/+690
Changes since 5.7.6: Warn about packages that override user-settable variables. Packages that define variables with the same value as the default value only get a note instead of the warning since these definitions do not cause any confusion. Do not suppress technical error messages in autofix mode. Do not warn about the package version being greater than the latest from doc/CHANGES if the file defining the package version has been modified locally and is about to be committed.
2019-04-26pkg_rolling-replace: Update to 0.24.6gdt2-4/+4
When trying to extract PKGPATH from what is believed to be the PKGNAME of an installed package, do not abort, but merely error (which is nonfatal with -k). This is helpful, but not sufficient, when dealing with pyNN-foo packages where the default version is depended on but not installed.
2019-04-26fix some whitespace, mostly introduced in the previousmaya2-4/+4
python 3.4 / 3.5 removal commit.
2019-04-26Omit mentions of python 34 and 35, after those were removed.maya2-4/+4
- Includes some whitespace changes, to be handled in a separate commit.
2019-04-25x11-links 1.17: add libgbmmaya3-5/+12
Helps qt5-qtbase PLIST issues (it fails an EGL configure check)
2019-04-25PKGREVISION bump for anything using python without a PYPKGPREFIX.maya2-4/+4
This is a semi-manual PKGREVISION bump.
2019-04-23pkgtools/pkglint: update to 5.7.6rillig22-248/+784
Changes since 5.7.5: * The explanation for distfile hashes is only given when the distfiles actually need to be downloaded. If they are already there, no explanation is necessary. * Makefile lines that are commented and have line continuations are properly parsed. This affects the autofix for variable value realignment. * Variable permissions are not checked in hacks.mk since pkgsrc developers who know about hacks.mk probably know what they are doing. From hacks.mk files, builtin.mk files may be included directly, for the same reason. * Expressions of the form !empty(PKGPATH:Mpattern), when PKGPATH is not a list variable and pattern has no wildcards, can be written in a simpler form, and pkglint autofixes this. For example the above expression is transformed into ${PKGPATH} == pattern. This transformation reduces the amount of double negations (!empty) in the code. * Duplicate warnings about invalid relative ../package have been merged. * TOOLS_ALIASES are properly resolved. The line USE_TOOLS=ggrep makes the tools grep, egrep and fgrep known to pkglint, in the same way as in the pkgsrc infrastructure. * The diagnostics for missing or unnecessary distinfo files have been improved to provide some guidance. * Packages that use MESSAGE_SRC to build the message from multiple files no longer produce a warning for malformed message files. These files are simply skipped.
2019-04-20pkgtools/pkglint: update to 5.7.5rillig63-1441/+2346
Changes since 5.7.4: * Warn about invalid variable uses in directives like .if and .for * Do not warn when a package-settable variable is assigned using the ?= operator before including bsd.prefs.mk. This warning only makes sense for user-settable and system-provided variables. * The parser for variable uses like ${VAR:@v@${v:Q}} is more robust now, which reduces the number of parse errors and leads to more appropriate diagnostics, in cases like ${URL:Mftp://*}, which should really be ${URL:Mftp\://*}. * The valid values for OPSYS are now determined by the files in mk/platform instead of allowing arbitrary identifiers. This catches a few instances where "Solaris" is used instead of the correct "SunOS". * Setting USE_LANGUAGES only has an effect if mk/compiler.mk has not yet been included. In all other cases, pkglint warns now. * Missing entries in doc/CHANGES produce a note now. This will lead to more accurate statistics for the release notes.
2019-04-20x11-links: Update to 1.16leot3-5/+6
Thanks to <maya>! Changes: 1.16 ---- - Add a missing MesaLib header file (include/EGL/eglextchromium.h),
2019-04-16Revbump all Go packages after go112 updatebsiegert1-1/+2
2019-04-15*: remove references to ruby 2.3wiz1-1/+1
2019-04-10libarchive: updated to 3.3.3adam1-2/+2
libarchive 3.3.3: Avoid super-linear slowdown on malformed mtree files Many fixes for building with Visual Studio NO_OVERWRITE doesn't change existing directory attributes New support for Zstandard read and write filters
2019-04-08Remove mova.org from MASTER_SITEScheusov1-2/+1
2019-04-08Remove mova.org from MASTER_SITEScheusov1-2/+1
2019-04-05Bump date for switch to cdn.NetBSD.orgsevan1-2/+2
2019-04-05Switch to using the CDN for fetching the pkg-vulnerabilities files.sevan1-3/+3
No negative responses on tech-pkg. ok gdt bsiegert
2019-04-03pkgtools/pkglint: update to 5.7.4rillig33-610/+1033
Changes since 5.7.3: * Warn about dependency patterns that are missing a version number, such as ${PYPKGPREFIX}-sqlite3:../../databases/py-sqlite3. * Suggest to replace the := assignment operator with the :sh modifier, in some cases where the variable is not obviously used at load time.
2019-04-03Recursive revbump from textproc/icuryoon4-7/+8
2019-03-24pkgtools/pkglint: update to 5.7.3rillig40-2457/+3805
Changes since 5.7.2: PLIST files are checked for non-ASCII characters. Even though pkgsrc sets up the environment with LC_ALL=C, there are still some cases of encoding errors. The case discussed on the tech-pkg mailing list was lang/go112. The checks for variable permissions ("may not be set in this file") have been reworked completely. Many of the variable permissions had different rules for Makefile and Makefile.common. These different rules tried to prevent accidental overwriting of variables. Starting in July 2018, pkglint got a check for redundant variables that is far more accurate than the previous variable permissions. Therefore these fine-grained permissions are no longer necessary. This removes a few hundred wrong warnings about insufficient permissions. The check that adds missing SHA512 hashes to distinfo files has been fixed to work correctly in DIST_SUBDIR cases. Improved the checks regarding tools that are used by a package but not added to USE_TOOLS. For example, the "make" tool is always available, as are all tools that are added to TOOLS_CREATE. Lots of small improvements, as always.
2019-03-23pkgtools/pkg_rolling-replace: 0.24.5gdt2-4/+5
In addition to adding in BUILD_DEPENDS, catch up to long-ago improvements to pkgsrc and also add in TOOL_DEPENDS. Thanks to Hauke Fath for reporting the issue.
2019-03-20x11-links: remove another Xprint stragglerwiz1-2/+1
Found by oster@
2019-03-16Revbump all Go packages after Go 1.12.1 update.bsiegert1-1/+2
2019-03-12pbulk-base: fix double free().wiz2-6/+12
Debugged by dillo & myself. Bump version.
2019-03-10pkgtools/pkglint: update to 5.7.2rillig47-1328/+5707
Changes since 5.7.1: * Fixed detection of GNU_CONFIGURE=yes combined with USE_LANGUAGES missing c. This combination tends to fail in the configure phase. * When the distinfo doesn't contain all hashes for the downloaded distfiles (typically SHA512 is missing) and the distfiles are actually downloaded to ${PKGSRCDIR}/distfiles, pkglint can now add the missing hashes. It only does this if there is at least one existing hash and if all existing hashes are correct. * The check for redundant variables has been improved considerably. Before there were several situations in which pkglint didn't get the redundant variable definitions right because its internal model only mimicked reality. The model has been improved and so have the diagnostics. * Pkglint only warns about wrong permissions (for defining or using a variable) when it knows the type of the variable and the permissions for the current file. Before, it had also warned if the permissions for the current file were not explicitly defined. * CFLAGS and LDFLAGS may be appended in buildlink3.mk files. This had been disallowed before, for no apparent reason. There are several places in pkgsrc where especially CFLAGS.${OPSYS} is appended to. * Cleaned up internal handling of relative paths. Previously pkglint sometimes resolved relative paths using the wrong base directory, which led to all kinds of wrong warnings and strange behavior. * Fixed lots of edge cases when parsing Makefile lines. These cases don't occur often but experience tells that the most fundamental code must be as correct as possible (see the handling of relative paths above). * Lots of refactoring and housekeeping, as always.
2019-03-09all: revbump Go packages, now that they use go112 to buildbsiegert1-1/+2
2019-03-07pkgin: Update to 0.11.7.jperkin5-54/+8
## Version 0.11.7 (2019-03-07) * Switch back to NetBSDfr/pkgin as the upstream repository. * Improve database safety. * Fix clang -Wmissing-noreturn and -Wformat-nonliteral warnings. * Fix some typos in the manual page.
2019-03-05x11-links 1.15: update for not-yet-committed netbsd mesa update.maya3-28/+36
while here, sort files. pointed out by jakllsch, thanks!
2019-03-01Add lib versions, thanks leot@youri1-1/+3
2019-03-01Remove entries that are appropriately in xorg.libxcb.youri1-7/+1
2019-03-01Add xcb-present files and update.youri2-3/+12