Commit graph

27 commits

Author SHA1 Message Date
rillig
167f4e9d9c pkgtools/pkglint4: remove more unreliable or outdated checks
CFLAGS and LDFLAGS had been checked for GCC-style flags only. This didn't
make sense since wrong flags would be detected on the exotic platforms
anyway.

The experimental --autofix has been removed.

The check for "# used by" comments in Makefile.common has been removed.
Especially the --autofix could damage files.

The warnings for ICON_THEMES have been removed since they appear in
groups of thousands, and the old pkglint cannot issue warnings "once per
file" simply.
2019-10-06 11:45:05 +00:00
rillig
195ab1e0c0 pkgtools/pkglint4: remove some unreliable checks
The warnings about variable permissions were not understandable enough to
be acted upon. The new pkglint does this better.

The languages that are allowed in USE_LANGUAGES are defined differently
in the pkgsrc infrastructure, thus the old parsing code does not work
anymore. Therefore all identifiers are allowed now.

Dependency patterns like 'package>=1.0<2.0' are no longer marked as
wrong.

The debatable warning about plural names is gone.

The order of variables in simple Makefiles is no longer checked. Some new
variables have been added in the meantime, and keeping the consistent
order is not of utmost importance to those pkgsrc developers who work
with pkglint4. They are experienced enough to know the rules.

Missing manual pages are no longer marked in the PLIST files. It's not
the job of pkgsrc to provide these files.

The warning about unnoticed errors in pipelines like 'find | xargs' has
been removed because the shell parser is unreliable. This is solved
better in the new pkglint.
2019-10-06 11:06:42 +00:00
rillig
95b06139fc pkgtools/pkglint4: remove broken version check
The version number '4.193.0' had always been compared to the string
'pkglint4-4.193.0', which when interpreted as a version number, was:
(16, 11, 7, 12, 9, 14, 20, 4, 0, 193, 0, 0). This was always greater than
the (4, 0, 193, 0, 0).
2019-10-06 10:46:18 +00:00
rillig
a5f3f1aedf pkgtools/pkglint4: update to 4.193.0, remove check for absolute paths
The check for absolute paths is not necessary since it doesn't provide
any benefit. It had been removed from pkgtools/pkglint already.
2019-10-06 10:33:34 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +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
adam
0bc15a6e5c Remove references to Postgresql 9.3 2019-05-21 05:52:31 +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
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
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
adam
e8b7a8609d Removed 92 from PGSQL_VERSIONS_ACCEPTED 2018-05-21 08:12:23 +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
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
wiz
6b593e536e pkglint*: Start sentence with a capital letter
From Thomas Orgis in private mail.
2017-10-02 14:41:21 +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
wiz
44faa0cdcd Remove teTeX* packages and references to them.
teTeX was desupported in 2006, and we have texlive in pkgsrc since 2009.
2017-09-06 16:49:21 +00:00
prlw1
397d0d1852 Revbump for introduction of icon theme handling framework 2017-06-14 16:25:16 +00:00
prlw1
5c827f6f0e Essentially from OBATA Akio in private mail, June 2015:
Introduce Icon Theme cache handling framework

Icon Theme cache files are used by GTK+ and maintained with the
gtk-update-icon-cache tool.  Each Icon Theme package duplicates
its own maintainance scripts: only the specified icon theme directory
differs.  With this framework, if packages have ICON_THEMES=yes,
associated icon themes will be detected and their cache files will
be maintained automatically.

Change cache handling behaviour as follows:
* Icon theme caches will be updated if either gtk2+ or gtk3+
  gtk-update-icon-cache tool is available.
* With installation of gtk2+ package, not only hicolor icon theme but
  also any other icon theme cache files will be updated.
* Prevent removal of icon caches at deinstall, gtk3+ may be installed and
  using them.
* Ditto with gtk3+, gtk2+ may not be installed now, so caches must be
  maintained by gtk3+.
2017-06-14 16:23:09 +00:00
adam
f7716a4492 Removed databases/postgresql91 2017-05-24 19:51:12 +00:00
wiz
2ea9b05c83 Remove some dead code, python-3.3 is no more. 2016-10-03 12:25:36 +00:00
wiz
73716d23de Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:38:30 +00:00
wiz
0ea9ee7bd5 USE_CROSSBASE is deprecated, remove it.
Bump version.
2016-06-19 18:03:05 +00:00
rillig
fdff3e7423 Don't look in pkgtools/pkglint for a newer version, use pkgtools/pkglint4
Bumped version.
2016-02-02 08:02:29 +00:00
rillig
fbf5f5542a Updated pkglint4 to 1.161
Changes since 4.160:

* Changed OWNER
* Made the package work with PKGSRC_RUN_TEST=yes
2016-01-29 23:01:46 +00:00
dholland
30409597c8 Add Bitrig and MirBSD to the list of oses. 2015-12-30 04:18:13 +00:00
wiz
622c7e4497 Bump php default version to 55 to follow pkgsrc.
Bump version.
2015-12-10 08:23:15 +00:00
rillig
217c926dfb Reimported pkglint-4.518 from pkgtools/pkglint as pkglint4
The Perl version of pkglint (pkglint<5.0) runs on all platforms that
are supported by pkgsrc. Not so the Go version (pkglint>=5.0).

To support development of packages on all platforms, this version is
provided, and it will be supported equally. Its output differs a bit
from pkglint>=5.0, but the basic checks are the same.
2015-11-25 16:42:21 +00:00