Commit graph

5092 commits

Author SHA1 Message Date
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
adam
0439033294 plist-utils: update to 20170813
20170813:
Deal with ${PYSITELIB}.
2017-09-30 13:23:05 +00:00
wiz
eef80df883 emacs22*, emacs23*, emacs24*: remove unmaintained emacs versions
As announced in
https://mail-index.netbsd.org/pkgsrc-users/2017/09/11/msg025563.html

This still leaves emacs20, emacs21, and the current version, emacs25.
2017-09-29 12:40:26 +00:00
maya
33ebf687dc revbump for requiring ICU 59.x 2017-09-18 09:52:56 +00:00