./pkgtools/lintpkgsrc, Sanity checks on the complete pkgsrc tree

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.98, Package name: lintpkgsrc-4.98, Maintainer: pkgsrc-users

lintpkgsrc checks various things on the complete pkgsrc tree.


Required to run:
[lang/perl5] [pkgtools/digest]

Required to build:
[pkgtools/cwrappers]

Version history: (Expand)


CVS history: (Expand)


   2022-04-28 00:25:22 by Roland Illig | Files touched by this commit (1)
Log message:
lintpkgsrc: fix Perl warning when parsing variable expressions

When parse-guessing a package Makefile, lintpkgsrc tries to evaluate
variable expressions such as ${VAR:S,from,to,} by passing them through
Perl's eval function.

In a variable expression of the form ${VAR:S,@exec@,${exec},}, this
produced Perl warnings due to the unescaped '@':

	Possible unintended interpolation of @exec in string at
	(eval 63841) line 1.

As a quick fix, skip ':S' modifiers that contain the character '@' for
now.  A proper fix will follow.
   2022-04-28 00:24:16 by Roland Illig | Files touched by this commit (1)
Log message:
lintpkgsrc: fix Perl warning when parsing variable expressions

When parse-guessing a package Makefile, lintpkgsrc tries to evaluate
variable expressions such as ${VAR:S,from,to,} by passing them through
Perl's eval function.

In a variable expression of the form ${VAR:S,@exec@,${exec},}, this
produced Perl warnings due to the unescaped '@':

	Possible unintended interpolation of @exec in string at
	(eval 63841) line 1.

As a quick fix, skip ':S' modifiers that contain the character '@' for
now.  A proper fix will follow.
   2022-01-01 14:27:37 by Roland Illig | Files touched by this commit (2)
Log message:
lintpkgsrc: fix bogus warning for devel/lua-moses

The warning was:

	Bogus: -${DISTNAME:tl:S/-1$//1}
	    (from /.../devel/lua-moses/Makefile)

Previously, lintpkgsrc searched for the package name and version by
looking for '-' followed by a digit.  This was too naive, as in the
above expression, the '-1' does not mark the beginning of the version
number.  Fix this by resorting to 'make show-vars' in all cases in which
the PKGNAME still contains a '$'.

When running 'lintpkgsrc -Dp devel/lua-moses' with a relative directory
as argument, lintpkgsrc tried 'cd /lua-moses' and ignored the failure,
running 'make show-vars' in the current directory instead, which in my
case was the top-level pkgsrc directory.

Bump version.
   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2020-12-17 17:17:45 by Roland Illig | Files touched by this commit (2) | Package updated
Log message:
pkgtools/lintpkgsrc: update to 4.96

Changes since 4.95:

Do not complain about "Bogus: ${_SVN_PKGREVISION:...}" that are
generated by wip/mk/*-package.mk.  Using PKGREVISION to track the
current date of the package is the wrong approach; PKGVERSION_NOREV
should be used instead.  Anyway, this is nothing the average pkgsrc user
should be worried about, so shut up the warning for now.

https://mail-index.netbsd.org/pkgsrc-users/2020/12/16/msg032884.html
   2020-12-17 17:08:44 by Roland Illig | Files touched by this commit (1)
Log message:
lintpkgsrc: remove trailing whitespace
   2020-09-16 04:03:57 by David H. Gutteridge | Files touched by this commit (1)
Log message:
lintpkgsrc: fix grammar in message
   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631)
Log message:
*: bump PKGREVISION for perl-5.32.