Commit graph

5266 commits

Author SHA1 Message Date
jperkin
189127ddc1 pkgin: Update to 0.11.8.
## 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-20 12:26:06 +00:00
leot
475061f4a2 x11-links: Update to 1.18
Changes:
1.18
----
 - Add all missing header files present in include/libdrm of NetBSD-current
2019-05-10 16:25:14 +00:00
rillig
3955e90918 pkgtools/pkglint: update to 5.7.9
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-06 20:27:17 +00:00
wiz
49b1bb13c3 sun-jdk6, sun-jre6: remove
Last update in 2013, remove sun-jdk7/sun-jre7 instead
2019-05-02 08:36:09 +00:00
rillig
8b00047de2 pkgtools/pkglint: update to 5.7.8
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-28 18:13:53 +00:00
gdt
2e77121e33 pkgtools/pkglint*: Update DESCR to explain differences
Note that pkglint is current and pkglint4 is old, and that both are
present due to go portability issues.
2019-04-28 13:38:23 +00:00
rillig
f530ae598c pkgtools/pkglint: update to 5.7.7
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-27 19:33:56 +00:00
gdt
3c20c936cf pkg_rolling-replace: Update to 0.24.6
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-26 18:14:15 +00:00
maya
7820bc7a2f fix some whitespace, mostly introduced in the previous
python 3.4 / 3.5 removal commit.
2019-04-26 14:12:31 +00:00
maya
5901ac0824 Omit mentions of python 34 and 35, after those were removed.
- Includes some whitespace changes, to be handled in a separate commit.
2019-04-26 13:13:41 +00:00
maya
53cf01f6ba x11-links 1.17: add libgbm
Helps qt5-qtbase PLIST issues (it fails an EGL configure check)
2019-04-25 09:03:06 +00:00
maya
f34a8c24a3 PKGREVISION bump for anything using python without a PYPKGPREFIX.
This is a semi-manual PKGREVISION bump.
2019-04-25 07:32:34 +00:00
rillig
409d4a7d32 pkgtools/pkglint: update to 5.7.6
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-23 21:20:49 +00:00
rillig
0dd63a53db pkgtools/pkglint: update to 5.7.5
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-20 17:43:24 +00:00
leot
ef4bd496a6 x11-links: Update to 1.16
Thanks to <maya>!

Changes:
1.16
----
 - Add a missing MesaLib header file (include/EGL/eglextchromium.h),
2019-04-20 15:06:14 +00:00
bsiegert
65fc216b57 Revbump all Go packages after go112 update 2019-04-16 18:41:08 +00:00
wiz
0db6be632e *: remove references to ruby 2.3 2019-04-15 06:11:32 +00:00
adam
eae608d908 libarchive: updated to 3.3.3
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-10 08:24:03 +00:00
cheusov
a2ea3284af Remove mova.org from MASTER_SITES 2019-04-08 21:39:54 +00:00
cheusov
f69a45c7e1 Remove mova.org from MASTER_SITES 2019-04-08 21:38:39 +00:00
sevan
fdc3a15828 Bump date for switch to cdn.NetBSD.org 2019-04-05 22:53:29 +00:00
sevan
f2e9355c35 Switch to using the CDN for fetching the pkg-vulnerabilities files.
No negative responses on tech-pkg.
ok gdt bsiegert
2019-04-05 21:36:35 +00:00
rillig
129bbfcb2b pkgtools/pkglint: update to 5.7.4
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-03 21:49:51 +00:00
ryoon
6fc378bce9 Recursive revbump from textproc/icu 2019-04-03 00:32:25 +00:00
rillig
80648a0e93 pkgtools/pkglint: update to 5.7.3
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-24 13:58:38 +00:00
gdt
10c674be3c pkgtools/pkg_rolling-replace: 0.24.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-23 17:20:31 +00:00
wiz
2a5f2e5b26 x11-links: remove another Xprint straggler
Found by oster@
2019-03-20 21:06:39 +00:00
bsiegert
df61d022ce Revbump all Go packages after Go 1.12.1 update. 2019-03-16 08:35:37 +00:00
wiz
3cebc398f4 pbulk-base: fix double free().
Debugged by dillo & myself.

Bump version.
2019-03-12 15:37:51 +00:00
rillig
57d50087a5 pkgtools/pkglint: update to 5.7.2
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-10 19:01:50 +00:00
bsiegert
7455fa5a88 all: revbump Go packages, now that they use go112 to build 2019-03-09 10:05:01 +00:00
jperkin
55d2a14083 pkgin: Update to 0.11.7.
## 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-07 11:08:38 +00:00
maya
bda6af82d8 x11-links 1.15: update for not-yet-committed netbsd mesa update.
while here, sort files.

pointed out by jakllsch, thanks!
2019-03-05 19:56:50 +00:00
youri
f85519d5dc Add lib versions, thanks leot@ 2019-03-01 17:43:12 +00:00
youri
c37e48b81d Remove entries that are appropriately in xorg.libxcb. 2019-03-01 17:23:47 +00:00
youri
83e665d4c5 Add xcb-present files and update. 2019-03-01 15:42:25 +00:00
rillig
3e4a5c276f pkgtools/pkglint: update to 5.7.1
Changes since 5.7.0:

* Removed a line of code that was meant only for development, not for
  production use, from util.go.
2019-02-21 23:44:55 +00:00
rillig
08b33df96c pkgtools/pkglint: update to 5.7.0
Changes since 5.6.12:

* Many of the -C and -W command line options have been removed since
  they are not used in practice. The -Wall and -Call options continue
  to work though; these are the only options mentioned in the pkgsrc
  guide.

* When a PLIST file contains redundant libtool libraries (.la and the
  corresponding .so), there is only a single warning per file.

* Warnings about the package COMMENT are now strictly ordered from left
  to right.

* The hashes for all distfiles must now contain the SHA512 hash. This
  hash has been added to many distfiles in 2015. It's time now to
  enforce it on all other distfiles as well.

* Makefile fragments that are included inside an .elif exists(...)
  are not reported as missing.

* The check for redundant variables and accidentally overwritten
  variables has been improved. Now the warning occurs at the later
  definition. This especially applies to cases where a file is included
  and after that, some of its variables are overridden. Variables in
  unrelated files are no longer marked as redundant.

* When a package contains multiple definitions of a single variable
  (typical for Makefile.common), the later definition overrides the
  earlier definition. That way, the location of DISTINFO_FILE and
  PATCHDIR is resolved correctly.
2019-02-21 22:49:03 +00:00
christos
c8e32a0c28 PR/52982: Eitan Adler: fix incorrect bounds computation.
XXX: really we need to sync with the libc glob.c
2019-02-20 14:44:24 +00:00
wiz
5547fd6f4f Revert previous for now. 2019-02-10 21:35:01 +00:00
wiz
40b6e19ea9 mk: allow Affero GPL by default
This follows a recent TNF board decision.
2019-02-06 14:38:02 +00:00
markd
dd04bea0db texlive2pkg: update to 1.4
more license mappings
2019-02-02 01:55:52 +00:00
agc
cc6c917ed9 Update digest package to version 20190127
Remove some gcc-isms in a macro in keccak.c, provided by Erno Palonheimo
in PR pkg/53771
2019-01-27 22:50:55 +00:00
dholland
af41b60ce9 Remove pointless/vacuous logic clause. 2019-01-26 21:12:54 +00:00
dholland
17ffb3a223 Use BROKEN_ON_PLATFORM for unsupported things meant to be fixed eventually. 2019-01-26 21:11:48 +00:00
rillig
94af8e5f77 pkgtools/pkglint: update to 5.6.12
Changes since 5.6.11:

* In buildlink3.mk files, print the paths relative
  to the line, not to the pkgsrc root.

* When explaining that a variable cannot be set/used because of wrong
  permissions, list the permissions. This provides more transparency
  than just stating that the desired action is not allowed.

* When pkglint checks a pkgsrc-wip package, don't warn about malformed
  lines in doc/CHANGES-* since pkgsrc-wip users typically cannot do
  anything about these errors.

* In profiling mode, not only the code coverage and the performance
  statistics are dumped, the whole heap is also dumped to see which
  parts of pkglint consume the most heap memory. Pkglint now needs
  less heap memory than before, which mainly affects full scans.

* The checks for absolute pathnames have gone. They were of questionable
  value since pkglint has failed to give proper advice on how to fix
  them properly, at least for the last 12 years.

* The check that pkgsrc-wip packages should only use exact CVS Ids
  (the unexpanded variant) has been disabled again. It occurred about
  16000 times but even fixing it wouldn't improve anything since it
  was mostly a formatting issue without any practical consequences.

* Warn about trailing variable modifiers like in ${VAR:S,from,to,extra}.

* Properly parse ${VAR:!command!}.

* Suggest to replace SUBST_SED with SUBST_VARS where possible, even
  with complicated shell quoting. Pkglint can autofix most of these
  overly verbose cases.

* Load builtin.mk whenever the corresponding buildlink3.mk file is
  included. This fixes several warnings about undefined variables
  (especially for packages using OpenSSL).

* Parse .for lines like bmake does since 2015, splitting words like
  in brk_string.

* Optionally show a warning even if it cannot be autofixed by pkglint.
  This is useful for the SUBST_VARS replacement since even when
  pkglint cannot automatically replace the code, there are still cases
  where it can warn at least.

* As always, several refactorings.
2019-01-26 16:31:33 +00:00
agc
f44279d1fb Update mksandbox to version 1.8
Fix in PR pkg/53896 from silas@nocafe.net for mksandbox to fully
support relative pathnames.
2019-01-25 20:08:21 +00:00
bsiegert
066e1db646 Revbump Go packages after lang/go111 update. 2019-01-24 10:00:33 +00:00
wiz
dd197d9a8f pkgin: fix some clang build errors on NetBSD-current 2019-01-15 09:49:40 +00:00
jmmv
d09daef189 Update pkg_comp to 2.1:
Changes in version 2.1
======================

**Released on 2019-01-14.**

* Issue 3: Added a new `PBULK_LOG` setting to point at a location that
  holds all build logs, and made the `build` command print out details
  about such logs on success and failure.

* Issue 4: Fixed the installable bootstrap kit generated during a build
  to not leak pkg_comp-internal paths.

* Issue 10: Fixed generation of pkg_summary so that it includes all
  packages and not only those that were explicitly given to the `auto`
  or `build` commands after a clean rebuild of the sandbox.

* PR 20: Fixed the default Git repository from jsonn's to NetBSD's as
  it has moved upstream.

* Added a new `PKG_DEVELOPER` setting to enable pkgsrc development
  from within the sandbox.
2019-01-14 10:53:37 +00:00