Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
as a fatal error as this greatly confuses mk/scripts/mkdatabase.
Update to version 3.97.
|
|
be used in variable-expansion version, e.g. `test' vs `${TEST}' in
settings of TEST_TARGET and ALL_TARGET. Gets rid of warning about
"test" in TEST_TARGET setting from lang/perl5/module.mk.
Bump package version.
Reviewed by wiz.
|
|
Use of uninitialized value in pattern match (m//) at /usr/pkg/bin/lintpkgsrc line 747.
Patch from Nicolas Joly in PR 27875.
|
|
|
|
|
|
- Renamed PORTSDIR to PKGSRCDIR
- Added warning option -Wno-workdir
- Fixed some places where absolute and relative pathnames had
been used incorrectly.
Clean up Makefile.
|
|
Include each .include'd file only once. Solves the 'Out of memory!'
problem for big packages, and avoids repeated warnings about problems
coming from bl3 or Makefile.common files.
From Roland Illig in private mail.
|
|
as it's only used internally by bsd.prefs.mk.
* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
than the old method of stripping off the last two components of
${.CURDIR}. PKGSRCDIR may now be used after bsd.prefs.mk is defined.
* Change all references to _PKGSRCDIR to PKGSRCDIR.
|
|
- added options for enabling/disabling specific checks
- added options for enabling/disabling specific warnings
- improved the --help message
and corresponding man page updates.
From Roland Illig with slight fixes by me.
|
|
When comparing two version numbers vector the shorter one needs to be
extended with 0. Cf. src/usr.sbin/pkg_install/lib/str.c:vtest().
Previously lintpkgsrc considered that 'png-1.2.6', which version vector is
[1,0,2,0,6], is "less" than 'png-1.2.6rc1', which version vector is
[1,0,2,0,6,-1,1]. No wonder lintpksrc -V considered the package png-1.2.6
being vulnerable wrt the 'png<1.2.6rc1' entry in pkg-vulnerabilities files.
While here teach lintpkgsrc about the 'alpha' and 'beta' version elements.
|
|
First two chunks of diff: Fix for perl-5.6.1; addresses PR 26718.
Remainder:
- made $category a local variable of checkfile_Makefile
- redefined the meaning of the return value of the check_* subs
(siehe Zeile 37 des Patches)
Welcome to 3.89.
|
|
more oop; move line functions into own module.
|
|
|
|
- replaced literal "1" and "0" by "true" and "false" where appropriate
No functional change, thus no PKGREVISION bump.
|
|
Fix some bugs wrt MESSAGE and PLIST checking.
From Roland Illig in private mail.
|
|
let's not suggest using -ko.
Welcome to 3.87.
|
|
Bump to 3.86.
|
|
set. Welcome to 3.85!
|
|
Parse Make .{if,endif,else,elif,include} directives which
contain a space between the . and the directive. Fix an include
path issue which this threw up. Now 'lintpkgsrc -d' correctly
extracts the PKGNAMEs for the gcc3 packages.
It still doesn't understand 'dewey' versions with alpha chars, or
some of the more interesting makefile constructs, but it looks closer
to reality.
|
|
- made the program compile with "use strict"
- completely rewrote some subs to make the code more readable
- converted the global ("local") variables into local ("my") ones ;-)
- limited the scope of variables where possible
- added file and line number to the error messages where possible
Patch contributed by Roland Illig in private mail.
|
|
Changes:
- Handle a rarely used patch format correctly
- Do not output superflouus linebreaks anymore
- Check the contents of the COMMENT field only if it exists
- Handle invalid dependency specifications correctly
- Correctly handle Makefile variables ordering
- Output complete filename of absolute filenames
- Added a new scheme for loading text files into memory so that the
location of an error or warning can be given exactly (file + line) to
the user.
- Refactored the checkfile_patches_patch subprogram to use the new text
file processing and to make clearer what is checked.
|
|
- Rework undefined variable handling. Fixes issue introduces in 3.80
- Never run a pkg_info in pkgdistdir. Avoids a serious misfeature of
pkg_info whereby it looks for a package in the current directory
by default.
|
|
- Append appropriate dirs to path - should fix pkg/23534
- Undefined variables evaluate to blank not UNDEFINED - should fix pkg/24475
- Handle ${C and ${S constructs that use separators other than /
- Slightly more debugging
- die if uname fails
|
|
== functional changes ==
- prints the various "OK: ..." messages only when called with "-v".
- prints a summary after pkgsrc category checks
- fixed a bug for commented category entries (in line 1718)
- removed the option "-q". It has become unnecessary
== refactoring ==
- more consistent naming scheme for variables and functions
- replaced some "local" with "my" when possible
- clustered the variables that are processed by the ${SED} commands
- provided function prototypes for argument checking
- replaced the old perror by log_{error,warning,info}.
- Avoided the (implicit or explicit) use of $_ in many places
Patch contributed by Roland Illig via private mail.
|
|
* use strict mode (already found one error... hi wiz!)
* add -q (quiet) flag
* Identifie if patch files don't patch any or more than one file
|
|
It's misleading to have uninstalled rc.d scripts in ${FILESDIR}
marked executable just because they were inadvertently committed
that way; they need to be processed by the install machinery in
order to work.
Since we set desired permissions at install time, it's generally
best to avoid having "executable" files in pkgsrc (with the notable
exception of pkglocate, which runs in place).
For files not yet committed, please correct the permissions before
committing. For files already in the repository, you'll need help
from an administrator.
|
|
|
|
Use real value of PKGNAME, suppress bogus warnings when PKGNAME is created
from altering DISTNAME with make modifiers (e.g., S or C).
|
|
also needs escapement treatment so that the eval doesn't barf. Since
_ver is the only thing left, do that one, too. This makes 3.74.
|
|
This way, sources are extracted first as any other package, allowing for
local patches.
|
|
Should use RCD_SCRIPTS mechanism (which can automatically
install to ${RCD_SCRIPTS_EXAMPLEDIR}) which automatically
registers the rc.d script(s) in the PLIST.
New version is 3.73.
|
|
Use more portable Cwd::cwd() instead of $ENV{'PWD'}
|
|
the -dirs packages. Suggest usage of USE_DIRS instead.
|
|
PREFIX/doc or if it registers configuration files in PREFIX/etc (because it
does not honour PKG_SYSCONFDIR properly).
|
|
|
|
nroff, nor do we need to depend on textproc/groff.
Regen .0 pages under SunOS and AIX as for audit-packages.
|
|
to always check for a terminating dollar sign. Welcome to 3.68.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Closes second part of PR 23126.
Welcome to 3.65!.
|
|
bump to 3.64.
|
|
perl 5.6.1 realpath() cannot handle files, only directories.
Handle this case, with the only downside that if the last component in
an include path is a symlink the 'performance boost' duplicate check
may not work. Reported by Todd Vierling
|
|
lintpkgsrc - handle the buildlink include fest:
- Using realpath() to fix exclude of duplicate includes speeds
up 'lintpkgsrc -rp' on a PIII-500 from 40 minutes to 3
- Excluding buildlink[^/]*.mk files unless -d is specified further
speeds up to just under 1 minute
|