Commit graph

5495 commits

Author SHA1 Message Date
brook
93044fb2ef R2pkg: update to version 0.5. 2019-08-01 13:11:08 +00:00
rillig
07a3bdb40f pkgtools/pkglint: fix test for doc/CHANGES removals 2019-07-30 18:31:43 +00:00
rillig
139b0319b0 pkgtools/pkglint: update to 5.7.17
Changes since 5.7.16:

* The warnings for doc/CHANGES are only enabled when the -Cglobal option
  is given. This is to avoid warnings that are unrelated to the package
  that is being checked.
2019-07-30 18:16:13 +00:00
gdt
4123a0828c pkgtools/pkg_rollingreplace: Update to 0.24.7
When running pkg_chk, ignore packages marked "missing", which tend to
be the wrong python version.

This is a temporary kludge, but should allow pkg_rr to run on systems
that have changed python versions.
2019-07-29 14:48:17 +00:00
wiz
1ac2210b6f *: recursive bump for gdk-pixbuf2-2.38.1 2019-07-21 22:23:57 +00:00
rjs
25564f99ff Sync with freetype2 update. 2019-07-21 21:30:14 +00:00
wiz
61114f1daf x11-links: bump bl3.mk dependency. 2019-07-20 21:11:08 +00:00
wiz
7870a149f1 x11-links: update to 0.21
Remove libXTrap reference.
2019-07-20 21:09:48 +00:00
rillig
43c0a3a483 pkgtools/pkglint: update to 5.7.16
Changes since 5.7.15:

* Completely rewrote the code for aligning multiple variable assignment
  lines. It works on the actual lines of the file now instead of the
  parsed lines. This provides more exact diagnostics and also makes the
  handling of these lines easier so that future requirements can be
  implemented more easily.

* Added support for exotic conditions in .if clauses. These conditions
  are not seen in the wild though.

* Fixed wrong diagnostics for ALTERNATIVES files that appear
  conditionally in the PLIST.

* As always: lots of refactorings and newly added tests.
2019-07-14 21:25:47 +00:00
rjs
598fcc8e46 Add libepoxy and libvdpau. 2019-07-10 22:36:49 +00:00
sevan
65b974ebf4 Use the correct prototype - thanks <gutteridge> 2019-07-09 09:43:32 +00:00
sevan
2b7b6e7854 Include strnlen(3) - Needed on Tiger and more recent Intel only Darwin releases. 2019-07-08 20:34:54 +00:00
jaapb
122fe90bf0 Added CeCiLL-B license.
This is a free software license according to the FSF:
https://www.gnu.org/licenses/license-list.en.html#CeCILL-B
2019-07-02 09:28:12 +00:00
rillig
c5f7c96ce2 pkgtools/pkglint: update to 5.7.15
Changes since 5.7.14:

* Added a check for packages that have been removed from the file system
  but not been recorded in doc/CHANGES. This will help produce more
  accurate release statistics.

* Small refactorings, as usual.
2019-07-01 22:25:52 +00:00
rillig
f5cf9c917b pkgtools/pkglint: regen pkglint.0 2019-06-30 21:03:16 +00:00
rillig
b08b5377b3 pkgtools/pkglint: update to 5.7.14
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-30 20:56:18 +00:00
brook
8f84ed939f R2pkg: update to 0.4.
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-24 13:46:04 +00:00
jperkin
03ddd5d987 pkgin: Update to 0.12.0.
## 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-13 13:06:40 +00:00
gutteridge
8d96a149ad x11-links: add some more links to reflect NetBSD current
Add specific versions of libGL and libGLU as found in recent NetBSD
current releases.
2019-06-12 01:04:39 +00:00
rillig
ea699990d4 pkgtools/pkglint: updated to 5.7.13
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-10 19:51:57 +00:00
markd
610d5da7f7 texlive2pkg: update to 1.5
change default version to 2019
add more license mappings.
2019-06-03 10:36:25 +00:00
bsiegert
6b2717c133 Revbump all Go packages after go112 update. 2019-05-27 15:18:17 +00:00
rillig
4658590dac pkgtools/pkglint: update to 5.7.12
Changes since 5.7.11:

* Fixed an alignment bug when pkglint replaced SUBST_SED with
  SUBST_VARS.

* Added many test cases.
2019-05-26 14:05:57 +00:00
rillig
3c5e4bf99b pkgtools/pkglint: ignore hidden files during extraction
Fixes pkg/54204.
2019-05-26 13:52:14 +00:00
maya
8d100b7a13 url2pkg 2.30:
- Support for creating much of the necessary makefile for a Rust Cargo package

Correct package license
2019-05-25 03:58:49 +00:00
rillig
c7ff05f63e all: replace SUBST_SED with the simpler SUBST_VARS
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-23 19:22:54 +00:00
rillig
0493e834c1 pkgtools/pkglint: update to 5.7.11
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-22 16:07:16 +00:00
rillig
d2484940b5 pkgtools/pkglint: update to 5.7.10
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-21 17:59:48 +00:00
adam
0bc15a6e5c Remove references to Postgresql 9.3 2019-05-21 05:52:31 +00:00
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
rillig
6d4e6832e4 pkgtools/pkglint: update to 5.6.11
Changes since 5.6.10:

* Improved the wording of several warnings

* Fixed parsing of complicated dependency patterns such as
  {ssh{,6}-[0-9]*,openssh-[0-9]*}. Pkglint still doesn't understand
  them but at least it doesn't mark them as "unknown" anymore.

* Lots of refactoring, as usual. This is the last part of the big
  refactoring, therefore future changes to pkglint are expected to be
  smaller than in the previous 3 months.
2019-01-13 19:55:52 +00:00
dholland
b315a9c4a1 termcap.h also requires the change from PR 33037. 2019-01-12 07:55:28 +00:00
jaapb
8545387f93 Added xcb-input files to pkgtools/x11-links and increased version. 2019-01-09 11:29:02 +00:00
triaxx
38fecd811a libnbcompat: fix PR pkg/33037
Thanks Stuart and sorry for the long time.
2018-12-31 11:25:08 +00:00
schmonz
10a3258c58 Subst @PKGNAME@ in previous. Ride version bump. 2018-12-28 20:28:02 +00:00
schmonz
bd924c2115 Add support for Linux sysvinit, both Debian and Red Hat styles. Improve
systemd detection. Tested on CentOS 6 (Red Hat init) and 7 (systemd),
Devuan (Debian init), and Debian 9 (systemd).

Add RCDBOOT_STYLE to BUILD_DEFS.

Bump version.
2018-12-28 20:24:02 +00:00
schmonz
8373e14a9a Add support for OpenBSD's take on rc.d. There's no boot-time dynamic
dependency ordering, so we compute the order of such rc.d scripts as are
present at install time (via a new "list" action in sbin/rc.d-boot).
Anything added or removed later is the sysadmin's job. I guess this is
what OpenBSD sysadmins expect.

While here, make "stop" run the commands in reverse order, like NetBSD
does on shutdown.

Bump version.
2018-12-26 00:43:55 +00:00
schmonz
e075b5e65a Add OpenBSD support. Mostly just works, except that we disagree on the
meaning of "rc.conf" (it's their "defaults/rc.conf", not to be edited).
If we're on OpenBSD and there's an /etc/rc.conf.local, source it.

Bump version.
2018-12-26 00:29:07 +00:00
rillig
ef8cffa82b pkgtools/pkglint: fix alternatives check
The alternatives implementation may have command line arguments.
2018-12-21 19:46:48 +00:00
rillig
31fb2a6890 pkgtools/pkglint: mention the update to 5.6.10 in Makefile
The actual update has been this morning.
2018-12-21 14:24:18 +00:00
rillig
e95dc72903 pkgtools/pkglint: update to 5.6.10
Changes since 5.6.9:

* ALTERNATIVES files are correctly checked now. Before, pkglint had
  suggested to remove the @PREFIX/ from the alternative, which was
  wrong and simply didn't work.

* Diagnostics about variable assignments are ordered to report the
  left-hand side first and then everything to the right of the
  assignment operator.

* The pkglint output is escaped properly to avoid sending unwanted
  escape sequences to the terminal.

* The items in .for loops are parsed taking "double" and 'single'
  quotes into account since bmake does it in the same way since 2015.

* In DESCR files, overly long lines are only warned about if they
  contain a space and therefore can be made shorter.

* In DESCR files, text like ${PREFIX} only gets a note if it refers
  to a commonly known pkgsrc variable. This avoids distraction when
  a package mentions ${prefix}/bin or ${template.property}.

* Lots of refactorings and small changes.
2018-12-21 08:05:24 +00:00
bsiegert
dcd9b75b1e Revbump all Go packages after go111 update. 2018-12-19 15:46:59 +00:00
schmonz
f1fa34d35d Explicitly NOT_FOR_PLATFORM where not yet supported. 2018-12-17 03:03:47 +00:00
rillig
af1b81cfcf pkgtools/pkglint: update to 5.6.9
Changes since 5.6.8:

* In addition to the pkglint binary, the whole pkglint code is installed as
  a library, so that other packages can use the code for doing their own
  checks on pkgsrc packages, Makefiles, shell programs, or the other file
  types from pkgsrc.

* BUILDLINK_*.* may be used in all files.

* Lots of refactorings
2018-12-17 00:15:39 +00:00
schmonz
e58aa8c6bc Add FreeBSD support, trivially. 2018-12-16 05:41:01 +00:00
schmonz
c98ce863f3 Support Linux with systemd. Set LICENSE (2-clause-bsd). Bump version. 2018-12-12 02:08:10 +00:00
adam
16dd5de231 revbump after updating textproc/icu 2018-12-09 18:51:58 +00:00
sevan
24dd0a77b3 Update Usage coment to include --without-xsrc 2018-12-07 12:40:39 +00:00
schmonz
5eddacc673 Add NetBSD support, trivially. 2018-12-05 19:49:26 +00:00
schmonz
cdd79c5114 Add and enable rc.d-boot. 2018-12-05 19:23:46 +00:00
schmonz
b8579bb49b Initial version of rc.d-boot, a package that runs all rc.conf-enabled
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-05 19:23:04 +00:00
rillig
4e935973df pkgtools/pkglint: update to 5.6.8
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-02 23:12:43 +00:00
rillig
d9226828c9 pkgtools/pkglint: remove outdated files 2018-12-02 02:06:23 +00:00
rillig
1d7db786e8 pkgtools/pkglint: update to 5.6.7
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-12-02 01:57:48 +00:00
rillig
5cf7cc4899 pkgtools/pkg_regress: update to 0.4
Changes since 0.3:

* when a regression test fails, the exit code of pkg_regress is 1
  instead of 0.
2018-11-30 19:07:37 +00:00
rillig
37fc828b14 pkgtools/pkg_regress: use SUBST framework for placeholders 2018-11-30 18:42:12 +00:00
wiz
e8632959d4 More macros. 2018-11-27 10:36:52 +00:00
martin
802773c4a4 Add a -d option to avoid cleaning after building from source - for debuging
purposes or to speed up builds when the full WORKOBJDIR can be blown
away later much more efficently.
Bump version. OK: abs@
2018-11-25 20:17:26 +00:00
jmcneill
3162aa74ab When failing to install due to OS version mismatch, also print how to override this check. 2018-11-21 14:15:32 +00:00
sevan
b964779078 All Minix supported platforms are ELF.
Confirmed with bsd.own.mk in Minix 3.4RC6 base.
2018-11-15 00:50:44 +00:00
kleink
f1a683c990 Revbump after cairo 1.16.0 update. 2018-11-14 22:20:58 +00:00
sevan
fab9b3d9db Minix does support shared libraries (tested on 3.4RC6). 2018-11-13 21:06:48 +00:00
ryoon
b86dfe6873 Recursive revbump from hardbuzz-2.1.1 2018-11-12 03:51:07 +00:00
rillig
896ceafaeb pkgtools/pkglint: make goyacc accessible to the build 2018-11-11 20:55:23 +00:00
rillig
ca069a9348 pkgtools/pkglint: fix build
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-10 11:45:29 +00:00
rillig
123aacb46c pkgtools/pkglint: don't access the internet during the build
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-10 11:41:40 +00:00
rillig
709e705010 pkgtools/pkglint: fix build when PKGSRC_RUN_TEST is not set 2018-11-08 19:41:32 +00:00
rillig
90b9c2e198 pkgtools/pkglint: remove unnecessary files 2018-11-07 21:04:53 +00:00
rillig
6c78147abf pkgtools/pkglint: update to 5.6.6
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-07 20:58:22 +00:00
schmonz
98cc9b28c3 Fix build on Tribblix without introducing warnings on NetBSD. From
riastradh@ ("commit!") with help from maya@.
2018-11-07 00:39:07 +00:00
bsiegert
ac232c7df5 Revbump all Go packages after go111 update. 2018-11-04 18:37:54 +00:00
abs
5881379402 Adjust CC_VERSION check from gcc-8* to gcc-[89]* 2018-10-29 14:41:56 +00:00
abs
2e450e9bad Fix both stupid errors in PKG_DEVELOPER and gcc-8 check 2018-10-27 21:03:09 +00:00
abs
20f3333cdd Avoid build issue with PKG_DEVELOPER and gcc-8 2018-10-27 21:01:29 +00:00
jperkin
7e2faa77fb pkglint: go-package.mk needs to come before bsd.prefs.mk 2018-10-19 15:17:26 +00:00
rillig
3ad10c3c9f pkgtools/pkglint: update to 5.6.5
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-09 23:17:17 +00:00
rillig
230558eea6 pkgtools/pkglint: update to 5.6.4
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
  (3cd071958e), 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-09 19:12:13 +00:00
abs
0a2addac81 Update pkg_chk to 2.0.10
Output deprecated warnings to STDERR rather than STDOUT
2018-10-08 10:35:15 +00:00
nia
61c7f725de digest: add the BLAKE2b digest.
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-06 14:32:45 +00:00
rillig
4cf358f8b1 pkgtools/pkglint: Update to 5.6.3
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-10-03 22:27:53 +00:00
sevan
b7de4676b7 Include /var/spool/dma on DragonFly BSD so report emails work from pbulk. 2018-09-29 18:59:29 +00:00
tnn
dae444bbea dfdisk: SUBST in pre-configure doesn't work when NO_CONFIGURE=yes 2018-09-27 23:02:57 +00:00
tnn
6fbfbe9be8 pkg_notify: SUBST in pre-configure doesn't work when NO_CONFIGURE=yes 2018-09-27 23:00:48 +00:00
jperkin
a280608f24 pkgdiff: Remove obsolete SunOS catinstall workaround.
Fixes manual page installation.  Bump PKGREVISION.
2018-09-21 12:40:26 +00:00
jperkin
6caec73804 pkgin: Update to 0.11.6.
## Version 0.11.6 (2018-09-20)

 * Fix -Werror=conversion build issue.
2018-09-20 12:45:19 +00:00
jperkin
5ed874ab8e pkgin: Update to 0.11.5.
## 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-20 10:13:54 +00:00
leot
7a7e6e02ab pkgclean: Properly replace @SH@ in pkgclean
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-14 16:31:28 +00:00
rillig
0cd23c95f5 pkgtools/pkglint: update to 5.6.2
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-05 17:56:22 +00:00
rillig
03f184edf4 pkgtools/pkglint: remove TODO file
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-05 17:01:03 +00:00
tnn
6209732ca1 bootstrap-mk-files: Add aarch64 to get correct OBJECT_FMT. Bump to 20180901 2018-09-01 21:56:04 +00:00
maya
6c25dec844 Remove clauses 3,4 from TNF-only copyright blocks.
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-22 20:48:36 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
rillig
fa9b3fdffd pkgtools/pkglint: update source files to latest state 2018-08-21 19:21:41 +00:00
rillig
3505d7d933 pkgtools/pkglint: update to 5.6.1
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-16 20:41:42 +00:00
sevan
46cb3a599f Document the chroot command and differentiate what happens when the sandbox
script is invoked with any command specified.
2018-08-16 15:40:50 +00:00
leot
8102f20bb9 pkg_install: Sync with DEFAULT_ACCEPTABLE_LICENSES in mk/license.mk
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-14 13:21:07 +00:00
rillig
99caa446db pkgtools/pkglint: update to 5.6.0
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-12 16:31:56 +00:00
rillig
365416742f pkgtools/pkglint: make the tests run cleanly 2018-08-09 20:21:42 +00:00
rillig
323d0c0b74 pkgtools/pkglint: Update to 5.5.16
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-09 20:08:12 +00:00
jperkin
f3f7e13dd2 libnbcompat: Explicitly avoid SunOS fts(3C) for now.
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-08-07 12:04:36 +00:00
rillig
630782f1dc pkgtools/pkglint: hotfix for release 5.5.15
* Fixed detection of redundant variable definitions.
* Fixed check for PATH environment variable.
2018-07-28 20:44:45 +00:00
rillig
45e0be2d13 pkgtools/pkglint: update to 5.5.15
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-28 18:31:23 +00:00
ryoon
b9c1e1d533 Recursive revbump from textproc/icu-62.1 2018-07-20 03:33:47 +00:00
rillig
d59c283a96 pkgtools/pkglint: updated to 5.5.14
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-19 06:38:15 +00:00
rillig
0ccdbc3361 pkgtools/pkglint: Update to 5.5.13
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-12 16:23:36 +00:00
jperkin
5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
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-04 13:40:07 +00:00
jperkin
96981b31f1 pkgin: Update to 0.11.4.
## 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-03 17:39:35 +00:00
adam
a31bce9748 extend PYTHON_VERSIONS_ for Python 3.7 2018-07-03 05:03:01 +00:00
jperkin
84d4dd6d8a pkgin: Update to 0.11.3.
## Version 0.11.3 (2018-06-29)

 * Allow -y flag to work with autoremove.
 * Improve -n flag and autoremove output formatting.
2018-06-29 11:27:56 +00:00
jperkin
06bfddc114 pkgin: Update to 0.11.2.
## 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-20 09:29:51 +00:00
jperkin
bb71c45c74 pkgin: Update to 0.11.1.
## 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-14 11:47:13 +00:00
bsiegert
d22fe57854 Revbump all Go packages after lang/go update. 2018-06-12 17:50:20 +00:00
jperkin
164b346a9f pkgin: Update to 0.11.0.
## 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-08 21:59:58 +00:00
jperkin
b8f578aefd pkgin: Update to 0.10.2.
## Version 0.10.2 (2018-06-06)

 * Fix -f flag when used with install.
 * Handle empty BUILD_DATE correctly.
2018-06-06 11:10:06 +00:00
snj
a70226a00c x11-links: Update to 1.12.
Add recently-bumped libfreetype from NetBSD-current.
2018-06-06 03:13:49 +00:00
markd
dbfbd21fb5 texlive2pkg: update version to 1.3
Add some more licenses, bump default version to 2018.
2018-06-03 01:38:32 +00:00
jperkin
ec220ba5b0 pkgin: Update to 0.10.1.
## 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-31 23:23:33 +00:00
rillig
758ca18c6a url2pkg: remove trailing whitespace 2018-05-28 20:18:01 +00:00
joerg
5a2fa64d46 Simplify. 2018-05-25 13:08:49 +00:00
adam
e8b7a8609d Removed 92 from PGSQL_VERSIONS_ACCEPTED 2018-05-21 08:12:23 +00:00
rillig
ea78dd51f1 pkgtools/pkglint: update to 5.5.12
Changes since 5.5.11:
* Improve support for TEST_DEPENDS and USE_TOOLS+= *:test (thanks @leot)
* Add checks for ALTERNATIVES files
2018-05-19 12:58:24 +00:00
hauke
ebb2a2f39e Fix Perl error
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE PORTNAME}/
2018-05-18 09:42:33 +00:00
jperkin
95ba313e30 pkgin: Update to version 0.10.0 and take MAINTAINER.
## 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-17 13:55:23 +00:00
rillig
ce27e5d877 Update pkglint to 5.5.11
Changes since 5.5.10:
* Read JVMs and compiler languages from mk/* instead of predefined lists.
* Support TEST_DEPENDS.
2018-05-14 20:25:48 +00:00
maya
d8e46f8490 x11-links 1.11
Add missing freetype 2.9.1 includes.
Fixes e.g. www/firefox build on netbsd-current.
2018-05-10 03:46:52 +00:00
gdt
28bf35b8c1 pkg_rolling-replace: avoid top-level make clean
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-06 18:06:18 +00:00
rillig
4f39f7beaf Update pkglint to 5.5.10.
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-05-01 23:30:11 +00:00
wiz
2dcfcfb7b3 *: remove references to obsolete DragonFly/i386 2018-04-30 10:41:35 +00:00
rillig
e3a129c57e Update pkglint to 5.5.9
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-28 23:32:52 +00:00
joerg
3d1452b99c pkg_install-20180425: correctly detect package names in PKG_DBDIR
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-25 12:20:53 +00:00
sevan
4bd1bd8223 Add support for DragonFly BSD.
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-21 19:40:50 +00:00
jperkin
80b9bc0769 pkg_install: Update to 20180417.
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-17 12:52:35 +00:00
wiz
8ee21bdcf0 Recursive bump for new fribidi dependency in pango. 2018-04-16 14:33:44 +00:00
adam
299d329d51 revbump after icu update 2018-04-14 07:33:52 +00:00
simonb
b6b45abbd1 Document the existing --without-src and new --without-xsrc options. 2018-04-12 02:11:24 +00:00
simonb
874ce22b9f Add a --without-xsrc option similar to the existing --without-src
option.  Allows for building X packages without needing xsrc in the
sandbox.

Approved by agc@.
2018-04-12 02:08:47 +00:00
rillig
4fb0a3154a pkgtools/url2pkg: refactor variable alignment code
The new code is more expressive and uses fewer magic numbers.
2018-04-08 20:13:54 +00:00
gson
a56e6cdcf6 pkgtools/pkg_rolling-replace: update MAINTAINER
Mail to ngoffee bounces, and gdt has agreed to take on maintainership.
2018-04-07 11:04:30 +00:00
rillig
e0a582d629 pkgtools/pkglint: update to 5.5.8
Changes since 5.5.7:
* Enable the check for variable order in Makefiles by default.
2018-04-06 21:04:22 +00:00
sevan
fd36e12c89 X509_get_extended_key_usage and X509_get_extension_flags definitions are also
needed for LibreSSL.


Tested on OpenBSD/amd64 6.3
2018-04-05 21:19:32 +00:00
wiz
77b8275bd5 x11-links: Add missing libXf86dga entries
From David A. Holland in PR 53115.

Sort file while here.
Bump version to 1.10 and depend on it.
2018-03-30 22:10:17 +00:00
bsiegert
429ee23e50 Revbump all Go packages after 1.10.1 update.
ok wiz@ for committing during freeze
2018-03-30 11:56:19 +00:00
sevan
08fcbf11f4 regen catalog files using mandoc. 2018-03-27 22:38:04 +00:00
sevan
86a6aac4d8 Switch from nroff to using mandoc for updating catalog file in the update-catpages
target. This results in closer resemblence to the actual mdoc manuals.

Reviewed by <wiz>
2018-03-27 22:29:38 +00:00
joerg
bf560209d6 cwrappers-20180325: append the append list for -shared support 2018-03-25 20:45:25 +00:00
rillig
63279d80a4 pkgtools/pkglint: remove duplicate files
The definitions from globaldata.go had been moved to pkgsrc.go. Having
these definitions twice led to compile errors.

While here, the file package_test.go doesn't need to be patched anymore
since it gets its @VERSION@ from the constants defined in pkglint.go.
2018-03-25 07:37:39 +00:00
sevan
5210fe357c Bump version for commits earlier this week.
pkg_install-20180325
- pkg_add(1): Documentation fixes
- pkg_delete: Add missing -A to usage()
2018-03-25 03:56:28 +00:00
rillig
e124a6faff Update pkglint to 5.5.7
Changes since 5.5.6:

* When pkglint warns about files that are accidentally executable, it
  offers to fix the file permissions.

* Warn about ${HOMEPAGE:=repository/}, since the := modifier should
  only be used with MASTER_SITES.

* When the distinfo file is missing, suggest setting NO_CHECKSUM.

* Several refactorings.
2018-03-24 14:32:49 +00:00
sevan
c34b2e0d6f List options alphabetically. 2018-03-21 17:32:44 +00:00
sevan
3486b6c44a Document -h option. 2018-03-21 17:26:58 +00:00
sevan
218c21e89e Add missing -A to usage() 2018-03-21 14:35:35 +00:00
mrg
4fe94d4cd2 fix the xorgproto list to include everything in all the subdirs they
may exist in.  i rebuilt the contents from the other xorg*proto
files here, which should make them functionally equivalent.

fixes builds of eg, devel/imake and devel/pango with native x11.

bump version to 1.09.
2018-03-14 02:11:04 +00:00
mrg
b82a4265b4 fake up xorgproto support for native xsrc. it has some failings
but is likely sufficient:

- add xorgproto support to x11-links, bump version
- add a builtin.mk for xorgproto.  check for the list of packages
  that xorgproto covers, eliding the few that native xsrc never
  installed, and making sure xproto is last.  use the
  BUILTIN_VERSION_SCRIPT method to convert Version: 7.0.31 into
  the necessary 2018.1.

the missing packages are a problem, but since we've never had a
report about it, it's not a big problem.

the things newer xorgproto has that are wanted may be a problem,
but probably only for X11_TYPE!=native builds that don't really
need these.


longer term native xsrc will get xorgproto (and maybe even for
netbsd-8), though i'm not sure it will help any unless we make
our native xsrc install a fake xorgproto.pc that pkgsrc can
find an use -- currently xorgproto installs .pc files for all
the replaced packages, but not one for itself, so the hack of
finding xproto version and switching may still be needed.

ok @wiz.
2018-03-13 02:06:12 +00:00
wiz
c57215a7b2 Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
wiz
380b6ec244 xorgproto: use xorgproto instead of separate *proto packages
Remove now obsolete packages.
2018-03-07 11:57:28 +00:00
rillig
4aa500ca36 pkgtools/pkglint: update to 5.5.6
Changes since 5.5.5:

* Only offer explanations if an explainable diagnostic has actually
  been logged.

* Clean up code.

* Improve a few diagnostics.

* In any Makefile, treat documented variables as used. This prevents
  warning about defined but unused variables.

* Add support for some variables not previously known to pkglint.
2018-03-04 20:34:32 +00:00
bsiegert
9ab6e4ca7b Revbump all Go packages after Go 1.10 update. 2018-03-04 15:52:12 +00:00
wiz
473fe8c29c x11-links: update to 1.07
Remove fontcacheproto
2018-03-02 15:14:12 +00:00
ginsbach
c0031b705a pkg_install-20180226:
- add option to include IGNORE_URL pkg_install.conf entries in audit
  but flagged as "ignored".
- bump version to 20180226
2018-02-26 23:45:01 +00:00
adam
c359234621 plist-utils: updated to 20180222
20180222:
Also sort the first line (@comment $NetBSD$) as it should be on top.
2018-02-23 06:31:34 +00:00
dholland
ea5db57469 verifypc 1.7: adapt to a change in the log format produced by pkg-config,
and while here, fix PR 50482 (verifypc uses invalid ASCII literal in script).

also tidy some pkglint.
2018-02-20 02:55:15 +00:00
rillig
371a1183ae pkgtools/pkglint: update to 5.5.5
Changes since 5.5.3:

- Removed check for PERL5_PACKLIST, since it was not fixable by the
  package author.

- Completely rewrote the check for ordering variables in simple
  package Makefiles. Now it reports the variables in the correct order
  instead of just saying "this above that" for a few variables.

- Lots of code cleanup and documentation.
2018-02-19 12:40:38 +00:00
wiz
05aea20e3a Fix typo in status message. 2018-02-19 12:03:00 +00:00
kamil
432700fb0d pkg_install: Recognize the happy license as acceptable
Noted by <wiz>
2018-02-05 00:07:56 +00:00
rillig
deaf48767a pkgtools/pkglint: update to 5.5.3
Changes since 5.5.2:

* Fixed lots of bugs regarding autofixing variable assignments in
  continuation lines.
* Fixed checking of MESSAGE files, which also get fixed now.
* In variable assignments, commented assignments are aligned too.
* Fixed a crash when checking an empty patch file.
* The :Q modifier is only checked on predefined variables, to prevent
  the --autofix mode from removing :Q from user-defined variables.
* Fixed lots of bugs in PLIST autofixing: relevant lines had been
  removed, and the sorting was not correct.
2018-01-28 23:21:16 +00:00
rillig
e795354040 pkgtools/pkglint: update HOMEPAGE 2018-01-28 13:40:22 +00:00
wiz
ab8ef791c0 pkg_chk: Replace PKG_SYSCONFDIR.
From Vicente Chaves in PR 52955.

Bump version.
2018-01-27 23:17:22 +00:00
rillig
c77d3c5335 pkgtools/*: Realign variables in Makefiles
Mainly done by pkglint, manually reviewed and improved in some few cases.
2018-01-27 19:07:46 +00:00
rillig
51008f3dc3 pkgtools/pkglint: Update to 5.5.2
Changes since 5.5.1:

* Fixed command line parsing for the --only option.
* Improved alignment of variable values in Makefiles.
* Code cleanup: better abstraction in the tests.
2018-01-27 18:50:36 +00:00
rillig
31a3a6b80c pkglint: Update to 5.5.1
Changes since 5.5:

* Allow filtering log messages by keyword (--only)
* In --autofix and --show-autofix mode, show only fixable diagnostics
* When called with --source, show the source below the diagnostics
* Don't warn about USE_LANGUAGES in ../../mk/compiler.mk
* Fix autofix for .gz in PLIST
2018-01-13 23:56:14 +00:00
jperkin
d14efc79ff R2pkg: Add missing RCSID. 2018-01-13 09:10:33 +00:00
rillig
5e7481dcd2 pkglint: Update to 5.5
Changes since 5.4.26:

SUBST blocks are now checked correctly even if they contain conditionals
like .if ... .elif ... .endif.

AUTO_MKDIRS is only suggested for those directories that actually appear
in the PLIST since other directories are not affected by this variable.
2018-01-10 00:39:52 +00:00
rillig
902c8a49a5 Updated pkglint to 5.4.26.
Changes since 5.4.25:

* When autofixing a patch, fix the corresponding distinfo file as well.

* Properly parse ${VARNAME:[\#]};
  the # was interpreted as a comment before.

* Don't add unnecessary :Q to PKG_OPTIONS and related variables.

* Don't warn about missing manual pages. While Debian and other
  distributions do this work, pkgsrc keeps the packages as original as
  possible.

* Autofix redundant ".gz" for manual pages in PLISTs.
2018-01-07 17:08:15 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
rillig
5438820cf3 Update url2pkg-2.29: Fix generation of Perl packages.
The WriteMakefile subroutine was not exported properly.
2018-01-07 11:20:18 +00:00
rillig
f726ad139c Updated pkglint to 5.4.25.
Changes since 5.4.24:

* More specific warning for "exitcode with pipe shell commands"
* Don't warn that the echo in "echo | sed" could fail
* Allow packages to define custom make targets
* Don't warn about a misplaced LICENSE when a package doesn't define it
* Skip .git directories
* Reduce number of hicolor-icon-theme error messages in PLIST files
* Remove MKCRYPTO, USE_CRYPTO, CRYPTO variable definitions
2018-01-07 01:13:21 +00:00
maya
6e5f1de0c2 pkglint 5.4.24: remove references to crypto restrictions.
Discussed with rillig.
2018-01-02 08:13:15 +00:00
rillig
b381c6e2f3 Sort PLIST files.
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
2018-01-01 22:29:15 +00:00
rillig
e93a88ba30 Updated pkglint to 5.4.23.
Changes since 5.4.22:
Only autofix PLIST sorting in simple cases. Before this version, pkglint
sorted the PLIST even when it contained unresolved variable references like
${IMAKE_MAN_DIR}, which resulted in strange and unintuitive orders. These
complicated files are left for human inspection.
2018-01-01 21:55:36 +00:00
rillig
e012ab11fa Updated pkglint to 5.4.22.
Changes since 5.4.21:
* Refactoring: moved packages line and linechecks back into main
* Fixed panic when autofixing package Makefiles
* Removed apache22
* Added a bit of inline documentation
2018-01-01 18:04:15 +00:00
wiz
67ea766c4c apache22: remove, it was eol'd in June 2017
Remove packages that only work with apache22.
Remove apache22 references.
2018-01-01 10:23:04 +00:00
maya
db62d15871 pkg_select: fix buffer overflow
expanding the macro with ++len for size meant our memset to zero was
one bigger than the above allocated size.

while here simplify the problematic macro - malloc+memset zero is calloc.

bump pkgrevision
2017-12-29 17:55:13 +00:00
plunky
6c5789b15b fix crashes due to SSP being enabled 2017-12-29 11:59:13 +00:00
adam
e556320744 Fix for wrong interpreter 2017-12-15 10:54:59 +00:00
leot
fa5ee20e7a lintpkgsrc: Update pkgtools/lintpkgsrc to 4.94
pkgsrc changes:
 - Use SUBST_VARS instead of SUBST_SED to adjust the several variables in
   files/lintpkgsrc.pl and avoid some make contortionism in the remaining
   SUBST_SED

Changes:
 - PKG_SYSCONFDIR can be different to ${PREFIX}/etc, instruct lintpkgsrc
   about that to possibly pick mk.conf when an /etc/mk.conf file is not
   available

Discussed on pkgsrc-changes@ with <adam> and <jperkin>.
Thanks to both <adam> and <jperkin> for feedback, suggestions and review!
2017-12-15 09:17:04 +00:00
adam
81ff27f0e0 lintpkgsrc: updated to 4.93
4.93:
Allow alternative location of mk.conf: if /etc/mk.conf does not exist, try PREFIX/etc/mk.conf.
2017-12-14 14:11:40 +00:00
jmmv
96e67ea1f2 Fix typo in reference to pkgbuild-user.
Problem found by Ian D. Leroux and reported via private email... a few
months ago.  My bad.
2017-12-09 20:55:48 +00:00
adam
8977d31a36 Revbump after textproc/icu update 2017-11-30 16:45:00 +00:00
khorben
5338e497d9 Bump cwrappers after reverting the last patch 2017-11-08 04:04:42 +00:00
joerg
6e1d9540d8 Revert: Tokenize the contents of "append_executable"
It's unnecessary and violates the design principles of the
configuration.
2017-11-07 22:26:38 +00:00
khorben
9e7295805a Bump revision to reflect the fixes for PKGSRC_MKPIE 2017-11-07 16:51:44 +00:00
khorben
32f6f2ea74 Tokenize the contents of "append_executable"
This configuration parameter is used when linking executables, through
cc(1) or ld(1) for instance.

This allows passing multiple arguments via the "append_executable"
option, like "-fPIC -pie" for instance.

Committing this before joerg@'s approval since a call for testing
PKGSRC_MKPIE has just been issued, and this helps with some packages.
2017-11-07 16:50:52 +00:00
khorben
ee812ef964 Teach the wrapper for ld(1) about more cases
Building relocatable and omagic files are now recognized. They were
previously recognized as executables, which may require a different
behaviour in some environments (like when enforcing PIE).

Committing this before joerg@'s approval since a call for testing
PKGSRC_MKPIE has just been issued, and this helps with some packages.
2017-11-07 16:49:22 +00:00
jperkin
0a2e49d194 pkg_install: Bump version to 20171030 for netpgpverify fixes. 2017-10-30 12:03:50 +00:00
khorben
320e058829 Set the correct operation mode in the wrapper for as(1)
This notably fixes building lang/g95 with PKGSRC_MKPIE=yes.

Reviewed by joerg@
2017-10-27 20:59:59 +00:00
maya
7bada3c053 pkg_install: Fix OpenSSL 1.1.0 build
OpenSSL 1.1.0 makes xkusage and ex_flags opaque.

Use X509_check_ca rather than a custom and nearly identical implementation.
This is available since OpenSSL 0.9.8 (even in RHEL5).

This is also done because we cannot implement it identically under
OpenSSL 1.1.0 due to missing getters.

Test EXFLAG_XKUSAGE rather than zero xkusage test no usage to avoid openssl
1.1.0 getter returning a different code on this case.

Use getter for xkusage in the non-zero test case.

Provide fallback definitions for getters.

PR pkg/52298, PR pkg/52648
2017-10-24 15:54:31 +00:00
jlam
317e8a18a7 rc.subr: Fix SERVERS rc.d script to not REQUIRE mountcritremote.
The distributed rc.d scripts are "barrier" scripts that are used
by other rc.d scripts to hook into different points of the startup
process by either using REQUIRE or BEFORE.  The barrier scripts
should not depend on other, non-barrier scripts.  This change makes
the distributed scripts usable by a simple "rcorder /etc/rc.d/*",
whereas it was failing before due to lack of "mountcritremote".

Bump the package version to 20171024.
2017-10-24 14:07:59 +00:00
ryoon
c0c6815977 Some files are moved. Fix build 2017-10-17 03:32:28 +00:00
rillig
54c14efe1e Updated pkglint4 to 4.164
Removed support for kde3, since it has been removed from pkgsrc.
2017-10-08 23:25:06 +00:00
rillig
ccb81e9920 Updated pkglint to 5.4.21
Changes since 5.4.20:

* Removed obsolete kde3 check
* Removed obsolete WindowMaker variables
* Removed postgresql91
* Removed teTeX
* Removed old Emacs versions 22, 23, 24
* Allow db6
* Allow c++11 in USE_LANGUAGES
* New check for GNOME icon themes
* Added CHECK_RELRO variables
* Refactoring: new package linechecks
* Refactoring: regex.Pattern
2017-10-08 22:31:13 +00:00
wiz
6b593e536e pkglint*: Start sentence with a capital letter
From Thomas Orgis in private mail.
2017-10-02 14:41:21 +00:00