The NetBSD Project

CVS log for pkgsrc/pkgtools/pkglint/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkglint

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.600 / (download) - annotate - [select for diffs], Fri Oct 11 23:30:02 2019 UTC (4 days, 10 hours ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.599: +2 -2 lines
Diff to previous 1.599 (colored) to selected 1.338 (colored)

pkgtools/pkglint: update to 19.3.1

Changes since 19.3.0:

* In buildlink3.mk files, the package identifier doesn't have to match
  the PKGBASE from the package Makefile exactly. The PKGBASE may have a
  leading "lib" (for libiconv and libgettext), as well as a trailing
  number (for emacs20 and netatalk22).

* GITHUB_RELEASE is added to the variables that should appear in a fixed
  order in the package Makefile.

* In the MASTER_SITE URLs, the transport protocol is irrelevant for
  matching direct URLs to the predefined MASTER_SITE_* variables.

Revision 1.599 / (download) - annotate - [select for diffs], Tue Oct 1 21:37:59 2019 UTC (2 weeks ago) by rillig
Branch: MAIN
Changes since 1.598: +2 -3 lines
Diff to previous 1.598 (colored) to selected 1.338 (colored)

pkgtools/pkglint: update to 19.3.0

Changes since 5.7.24:

* There is no need to ask the dummy MAINTAINER from url2pkg whether
  committing changes is ok.

* When autofixing a condition like !empty(PKGPATH:Mliteral), don't
  generate unnecessary parentheses around ${PKGPATH} == literal.

* In a _VARGROUPS section, the public variables should be listed
  before the private variables, to put important things first.

* When pkglint suggests to be run again with the -e, -fs or -F options,
  repeat the whole command line, to allow for copy-and-paste.

* The checks for PKGPATH are fixed and enhanced. It is not a relative
  path like in ../../category/package, but relative to the pkgsrc root.

* Unintended file globbing in sed commands such as s,.*,any, gets a
  warning.

* MASTER_SITES should normally end with a slash, in rare cases an
  equals sign or a colon are correct, too.

* Detect redundant directories in INSTALLATION_DIRS.

Revision 1.598 / (download) - annotate - [select for diffs], Thu Sep 26 20:10:51 2019 UTC (2 weeks, 5 days ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.597: +2 -1 lines
Diff to previous 1.597 (colored) to selected 1.338 (colored)

Revbump all Go packages after 1.12.10 update.

ok wiz@ for PMC

Revision 1.597 / (download) - annotate - [select for diffs], Thu Sep 12 21:15:48 2019 UTC (4 weeks, 5 days ago) by rillig
Branch: MAIN
Changes since 1.596: +2 -2 lines
Diff to previous 1.596 (colored) to selected 1.338 (colored)

pkgtools/pkglint: update to 5.7.24

Changes since 5.7.23:

* Improved the _VARGROUPS check for ignored variables
* Removed wrong warnings for variable expressions like ${VAR:Dyes:Uno}
* Used correct terminology for the :Q modifier (it's not an operator)

Revision 1.596 / (download) - annotate - [select for diffs], Sun Sep 8 22:47:47 2019 UTC (5 weeks, 2 days ago) by rillig
Branch: MAIN
Changes since 1.595: +2 -2 lines
Diff to previous 1.595 (colored) to selected 1.338 (colored)

pkgtools/pkglint: update to 5.7.23

Changes since 5.7.22:

* Added a warning for lines that look empty but are actually follow-up
  lines from a previous line.

* Added notes for unusual placement of the continuation backslash. It
  should always be preceded by a single space or tab, or be in column
  73.

* Improved check for needlessly complicated !empty(PKGPATH:Mcat/pkg)
  that is transformed into the simpler ${PKGPATH} == cat/pkg, even if
  the package name contains hyphens, dots, plus or slashes.

* Added check for the _VARGROUPS section since that section contains
  many redundancies that can easily be checked. For example, in
  mk/compiler/gcc.mk the _VARGROUPS section is 67 lines long and
  contains far more than 100 variables. It's tedious to manually check
  this file for internal consistency. That's better left to pkglint.

* The empty variable is no longer flagged as "used but not defined".
  It appears in expressions like ${:Ustring}.

* When --source is combined with --explain, don't unnecessarily
  repeat the source code for a single line if there are several
  diagnostics. Instead, even omit the empty line between the diagnostics
  for the same line.

Revision 1.595 / (download) - annotate - [select for diffs], Sun Aug 25 21:47:11 2019 UTC (7 weeks, 2 days ago) by rillig
Branch: MAIN
Changes since 1.594: +2 -2 lines
Diff to previous 1.594 (colored) to selected 1.338 (colored)

pkgtools/pkglint: update to 5.7.22

Changes since 5.7.21:

* The files from wip/mk do not belong to the main pkgsrc infrastructure.
  Therefore, when loading the package Makefile to look for defined but
  unused variables, parsing doesn't stop in these files.

Revision 1.594 / (download) - annotate - [select for diffs], Wed Aug 21 16:45:16 2019 UTC (7 weeks, 6 days ago) by rillig
Branch: MAIN
Changes since 1.593: +2 -2 lines
Diff to previous 1.593 (colored) to selected 1.338 (colored)

pkgtools/pkglint: update to 5.7.21

Changes since 5.7.20:

* PKG_OPTIONS that are handled using patterns are correctly identified.

* Simple R packages should follow the canonical variable order.

* Fixed some edge cases for aligning variable assignments.

* Improved detection of allowed values for USE_LANGUAGES.

Revision 1.593 / (download) - annotate - [select for diffs], Fri Aug 16 21:00:17 2019 UTC (8 weeks, 4 days ago) by rillig
Branch: MAIN
Changes since 1.592: +2 -3 lines
Diff to previous 1.592 (colored) to selected 1.338 (colored)

pkgtools/pkglint: update to 5.7.20

Changes since 5.7.19:

* Fixed warning about unknown C++ standard versions, which had appeared
  after the code in mk/compiler.mk changed.

Revision 1.592 / (download) - annotate - [select for diffs], Wed Aug 14 15:45:46 2019 UTC (2 months ago) by bsiegert
Branch: MAIN
Changes since 1.591: +2 -1 lines
Diff to previous 1.591 (colored) to selected 1.338 (colored)

Recursive bump of all packages using Go after Go 1.12.8 update.

Revision 1.591 / (download) - annotate - [select for diffs], Fri Aug 2 18:55:07 2019 UTC (2 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.590: +2 -2 lines
Diff to previous 1.590 (colored) to selected 1.338 (colored)

pkgtools/pkglint: update to 5.7.19

Changes since 5.7.18:

* The tricky construct for generating case-items from a Make variable
  no longer produces parse errors. Example:

  case $$expr in ${PATTERNS:@p@ (${p}) action ;; @} esac

Revision 1.590 / (download) - annotate - [select for diffs], Thu Aug 1 22:38:49 2019 UTC (2 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.589: +2 -2 lines
Diff to previous 1.589 (colored) to selected 1.338 (colored)

pkgtools/pkglint: update to 5.7.18

Changes since 5.7.17:

* Added "R" to the list of valid secondary categories.

Revision 1.589 / (download) - annotate - [select for diffs], Tue Jul 30 18:16:13 2019 UTC (2 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.588: +2 -2 lines
Diff to previous 1.588 (colored) to selected 1.338 (colored)

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.

Revision 1.588 / (download) - annotate - [select for diffs], Sun Jul 14 21:25:47 2019 UTC (3 months ago) by rillig
Branch: MAIN
Changes since 1.587: +2 -2 lines
Diff to previous 1.587 (colored) to selected 1.338 (colored)

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.

Revision 1.587 / (download) - annotate - [select for diffs], Mon Jul 1 22:25:52 2019 UTC (3 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.586: +2 -2 lines
Diff to previous 1.586 (colored) to selected 1.338 (colored)

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.

Revision 1.586 / (download) - annotate - [select for diffs], Sun Jun 30 20:56:18 2019 UTC (3 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.585: +2 -2 lines
Diff to previous 1.585 (colored) to selected 1.338 (colored)

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.

Revision 1.585 / (download) - annotate - [select for diffs], Mon Jun 10 19:51:57 2019 UTC (4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.584: +2 -3 lines
Diff to previous 1.584 (colored) to selected 1.338 (colored)

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.

Revision 1.584 / (download) - annotate - [select for diffs], Mon May 27 15:18:29 2019 UTC (4 months, 2 weeks ago) by bsiegert
Branch: MAIN
Changes since 1.583: +2 -1 lines
Diff to previous 1.583 (colored) to selected 1.338 (colored)

Revbump all Go packages after go112 update.

Revision 1.583 / (download) - annotate - [select for diffs], Sun May 26 14:06:42 2019 UTC (4 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.582: +2 -2 lines
Diff to previous 1.582 (colored) to selected 1.338 (colored)

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.

Revision 1.582 / (download) - annotate - [select for diffs], Sun May 26 13:52:14 2019 UTC (4 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.581: +2 -2 lines
Diff to previous 1.581 (colored) to selected 1.338 (colored)

pkgtools/pkglint: ignore hidden files during extraction

Fixes pkg/54204.

Revision 1.581 / (download) - annotate - [select for diffs], Wed May 22 16:07:16 2019 UTC (4 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.580: +2 -2 lines
Diff to previous 1.580 (colored) to selected 1.338 (colored)

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.

Revision 1.580 / (download) - annotate - [select for diffs], Tue May 21 17:59:48 2019 UTC (4 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.579: +2 -2 lines
Diff to previous 1.579 (colored) to selected 1.338 (colored)

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.

Revision 1.579 / (download) - annotate - [select for diffs], Mon May 6 20:27:17 2019 UTC (5 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.578: +2 -2 lines
Diff to previous 1.578 (colored) to selected 1.338 (colored)

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.

Revision 1.578 / (download) - annotate - [select for diffs], Sun Apr 28 18:13:53 2019 UTC (5 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.577: +2 -2 lines
Diff to previous 1.577 (colored) to selected 1.338 (colored)

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.

Revision 1.577 / (download) - annotate - [select for diffs], Sat Apr 27 19:33:56 2019 UTC (5 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.576: +2 -2 lines
Diff to previous 1.576 (colored) to selected 1.338 (colored)

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.

Revision 1.576 / (download) - annotate - [select for diffs], Tue Apr 23 21:20:49 2019 UTC (5 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.575: +2 -2 lines
Diff to previous 1.575 (colored) to selected 1.338 (colored)

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.

Revision 1.575 / (download) - annotate - [select for diffs], Sat Apr 20 17:43:24 2019 UTC (5 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.574: +2 -3 lines
Diff to previous 1.574 (colored) to selected 1.338 (colored)

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.

Revision 1.574 / (download) - annotate - [select for diffs], Tue Apr 16 18:41:18 2019 UTC (6 months ago) by bsiegert
Branch: MAIN
Changes since 1.573: +2 -1 lines
Diff to previous 1.573 (colored) to selected 1.338 (colored)

Revbump all Go packages after go112 update

Revision 1.573 / (download) - annotate - [select for diffs], Wed Apr 3 21:49:51 2019 UTC (6 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.572: +2 -2 lines
Diff to previous 1.572 (colored) to selected 1.338 (colored)

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.

Revision 1.572 / (download) - annotate - [select for diffs], Sun Mar 24 13:58:38 2019 UTC (6 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.571: +2 -3 lines
Diff to previous 1.571 (colored) to selected 1.338 (colored)

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.

Revision 1.571 / (download) - annotate - [select for diffs], Sat Mar 16 08:35:48 2019 UTC (7 months ago) by bsiegert
Branch: MAIN
Changes since 1.570: +2 -1 lines
Diff to previous 1.570 (colored) to selected 1.338 (colored)

Revbump all Go packages after Go 1.12.1 update.

Revision 1.570 / (download) - annotate - [select for diffs], Sun Mar 10 19:01:50 2019 UTC (7 months ago) by rillig
Branch: MAIN
Changes since 1.569: +3 -3 lines
Diff to previous 1.569 (colored) to selected 1.338 (colored)

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.

Revision 1.569 / (download) - annotate - [select for diffs], Sat Mar 9 10:05:10 2019 UTC (7 months, 1 week ago) by bsiegert
Branch: MAIN
Changes since 1.568: +2 -1 lines
Diff to previous 1.568 (colored) to selected 1.338 (colored)

all: revbump Go packages, now that they use go112 to build

Revision 1.568 / (download) - annotate - [select for diffs], Thu Feb 21 23:44:55 2019 UTC (7 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.567: +2 -2 lines
Diff to previous 1.567 (colored) to selected 1.338 (colored)

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.

Revision 1.567 / (download) - annotate - [select for diffs], Thu Feb 21 22:49:03 2019 UTC (7 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.566: +2 -2 lines
Diff to previous 1.566 (colored) to selected 1.338 (colored)

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.

Revision 1.566 / (download) - annotate - [select for diffs], Sat Jan 26 16:31:33 2019 UTC (8 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.565: +2 -3 lines
Diff to previous 1.565 (colored) to selected 1.338 (colored)

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.

Revision 1.565 / (download) - annotate - [select for diffs], Thu Jan 24 10:00:42 2019 UTC (8 months, 3 weeks ago) by bsiegert
Branch: MAIN
Changes since 1.564: +2 -1 lines
Diff to previous 1.564 (colored) to selected 1.338 (colored)

Revbump Go packages after lang/go111 update.

Revision 1.564 / (download) - annotate - [select for diffs], Sun Jan 13 19:55:52 2019 UTC (9 months ago) by rillig
Branch: MAIN
Changes since 1.563: +2 -2 lines
Diff to previous 1.563 (colored) to selected 1.338 (colored)

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.

Revision 1.563 / (download) - annotate - [select for diffs], Fri Dec 21 14:24:18 2018 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base
Branch point for: pkgsrc-2018Q4
Changes since 1.562: +2 -3 lines
Diff to previous 1.562 (colored) to selected 1.338 (colored)

pkgtools/pkglint: mention the update to 5.6.10 in Makefile

The actual update has been this morning.

Revision 1.562 / (download) - annotate - [select for diffs], Wed Dec 19 15:47:10 2018 UTC (9 months, 3 weeks ago) by bsiegert
Branch: MAIN
Changes since 1.561: +2 -1 lines
Diff to previous 1.561 (colored) to selected 1.338 (colored)

Revbump all Go packages after go111 update.

Revision 1.561 / (download) - annotate - [select for diffs], Mon Dec 17 00:15:39 2018 UTC (9 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.560: +12 -7 lines
Diff to previous 1.560 (colored) to selected 1.338 (colored)

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

Revision 1.560 / (download) - annotate - [select for diffs], Sun Dec 2 23:12:43 2018 UTC (10 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.559: +2 -2 lines
Diff to previous 1.559 (colored) to selected 1.338 (colored)

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.

Revision 1.559 / (download) - annotate - [select for diffs], Sun Dec 2 01:57:48 2018 UTC (10 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.558: +2 -2 lines
Diff to previous 1.558 (colored) to selected 1.338 (colored)

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.

Revision 1.558 / (download) - annotate - [select for diffs], Sun Nov 11 20:55:23 2018 UTC (11 months ago) by rillig
Branch: MAIN
Changes since 1.557: +3 -1 lines
Diff to previous 1.557 (colored) to selected 1.338 (colored)

pkgtools/pkglint: make goyacc accessible to the build

Revision 1.557 / (download) - annotate - [select for diffs], Sat Nov 10 11:45:29 2018 UTC (11 months ago) by rillig
Branch: MAIN
Changes since 1.556: +7 -7 lines
Diff to previous 1.556 (colored) to selected 1.338 (colored)

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.

Revision 1.556 / (download) - annotate - [select for diffs], Sat Nov 10 11:41:40 2018 UTC (11 months ago) by rillig
Branch: MAIN
Changes since 1.555: +33 -26 lines
Diff to previous 1.555 (colored) to selected 1.338 (colored)

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.

Revision 1.555 / (download) - annotate - [select for diffs], Thu Nov 8 19:41:32 2018 UTC (11 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.554: +9 -6 lines
Diff to previous 1.554 (colored) to selected 1.338 (colored)

pkgtools/pkglint: fix build when PKGSRC_RUN_TEST is not set

Revision 1.554 / (download) - annotate - [select for diffs], Wed Nov 7 20:58:22 2018 UTC (11 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.553: +12 -4 lines
Diff to previous 1.553 (colored) to selected 1.338 (colored)

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).

Revision 1.553 / (download) - annotate - [select for diffs], Sun Nov 4 18:38:05 2018 UTC (11 months, 1 week ago) by bsiegert
Branch: MAIN
Changes since 1.552: +2 -1 lines
Diff to previous 1.552 (colored) to selected 1.338 (colored)

Revbump all Go packages after go111 update.

Revision 1.552 / (download) - annotate - [select for diffs], Fri Oct 19 15:17:26 2018 UTC (11 months, 3 weeks ago) by jperkin
Branch: MAIN
Changes since 1.551: +4 -2 lines
Diff to previous 1.551 (colored) to selected 1.338 (colored)

pkglint: go-package.mk needs to come before bsd.prefs.mk

Revision 1.551 / (download) - annotate - [select for diffs], Tue Oct 9 23:17:17 2018 UTC (12 months ago) by rillig
Branch: MAIN
Changes since 1.550: +2 -2 lines
Diff to previous 1.550 (colored) to selected 1.338 (colored)

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.

Revision 1.550 / (download) - annotate - [select for diffs], Tue Oct 9 19:12:13 2018 UTC (12 months ago) by rillig
Branch: MAIN
Changes since 1.549: +2 -2 lines
Diff to previous 1.549 (colored) to selected 1.338 (colored)

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
  (3cd071958e63), 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.

Revision 1.549 / (download) - annotate - [select for diffs], Wed Oct 3 22:27:53 2018 UTC (12 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.548: +2 -2 lines
Diff to previous 1.548 (colored) to selected 1.338 (colored)

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

Revision 1.548 / (download) - annotate - [select for diffs], Wed Sep 5 17:56:22 2018 UTC (13 months, 1 week ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.547: +2 -2 lines
Diff to previous 1.547 (colored) to selected 1.338 (colored)

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.

Revision 1.547 / (download) - annotate - [select for diffs], Thu Aug 16 20:41:42 2018 UTC (13 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.546: +2 -2 lines
Diff to previous 1.546 (colored) to selected 1.338 (colored)

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

Revision 1.546 / (download) - annotate - [select for diffs], Sun Aug 12 16:31:56 2018 UTC (14 months ago) by rillig
Branch: MAIN
Changes since 1.545: +2 -2 lines
Diff to previous 1.545 (colored) to selected 1.338 (colored)

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.

Revision 1.545 / (download) - annotate - [select for diffs], Thu Aug 9 20:21:42 2018 UTC (14 months ago) by rillig
Branch: MAIN
Changes since 1.544: +2 -2 lines
Diff to previous 1.544 (colored) to selected 1.338 (colored)

pkgtools/pkglint: make the tests run cleanly

Revision 1.544 / (download) - annotate - [select for diffs], Thu Aug 9 20:08:12 2018 UTC (14 months ago) by rillig
Branch: MAIN
Changes since 1.543: +2 -2 lines
Diff to previous 1.543 (colored) to selected 1.338 (colored)

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

Revision 1.543 / (download) - annotate - [select for diffs], Sat Jul 28 18:31:23 2018 UTC (14 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.542: +2 -2 lines
Diff to previous 1.542 (colored) to selected 1.338 (colored)

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.

Revision 1.542 / (download) - annotate - [select for diffs], Thu Jul 19 06:38:15 2018 UTC (14 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.541: +2 -2 lines
Diff to previous 1.541 (colored) to selected 1.338 (colored)

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

Revision 1.541 / (download) - annotate - [select for diffs], Thu Jul 12 16:23:36 2018 UTC (15 months ago) by rillig
Branch: MAIN
Changes since 1.540: +2 -3 lines
Diff to previous 1.540 (colored) to selected 1.338 (colored)

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.

Revision 1.540 / (download) - annotate - [select for diffs], Tue Jun 12 17:50:26 2018 UTC (16 months ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.539: +2 -1 lines
Diff to previous 1.539 (colored) to selected 1.338 (colored)

Revbump all Go packages after lang/go update.

Revision 1.539 / (download) - annotate - [select for diffs], Sat May 19 12:58:24 2018 UTC (16 months, 4 weeks ago) by rillig
Branch: MAIN
Changes since 1.538: +2 -2 lines
Diff to previous 1.538 (colored) to selected 1.338 (colored)

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

Revision 1.538 / (download) - annotate - [select for diffs], Mon May 14 20:25:48 2018 UTC (17 months ago) by rillig
Branch: MAIN
Changes since 1.537: +2 -2 lines
Diff to previous 1.537 (colored) to selected 1.338 (colored)

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.

Revision 1.537 / (download) - annotate - [select for diffs], Tue May 1 23:30:11 2018 UTC (17 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.536: +2 -2 lines
Diff to previous 1.536 (colored) to selected 1.338 (colored)

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.

Revision 1.536 / (download) - annotate - [select for diffs], Sat Apr 28 23:32:52 2018 UTC (17 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.535: +2 -3 lines
Diff to previous 1.535 (colored) to selected 1.338 (colored)

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.

Revision 1.535 / (download) - annotate - [select for diffs], Fri Apr 6 21:04:22 2018 UTC (18 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.534: +2 -3 lines
Diff to previous 1.534 (colored) to selected 1.338 (colored)

pkgtools/pkglint: update to 5.5.8

Changes since 5.5.7:
* Enable the check for variable order in Makefiles by default.

Revision 1.534 / (download) - annotate - [select for diffs], Fri Mar 30 11:56:25 2018 UTC (18 months, 2 weeks ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.533: +2 -1 lines
Diff to previous 1.533 (colored) to selected 1.338 (colored)

Revbump all Go packages after 1.10.1 update.

ok wiz@ for committing during freeze

Revision 1.533 / (download) - annotate - [select for diffs], Sun Mar 25 07:37:39 2018 UTC (18 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.532: +2 -2 lines
Diff to previous 1.532 (colored) to selected 1.338 (colored)

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.

Revision 1.532 / (download) - annotate - [select for diffs], Sat Mar 24 14:32:49 2018 UTC (18 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.531: +2 -2 lines
Diff to previous 1.531 (colored) to selected 1.338 (colored)

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.

Revision 1.531 / (download) - annotate - [select for diffs], Sun Mar 4 20:34:32 2018 UTC (19 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.530: +2 -3 lines
Diff to previous 1.530 (colored) to selected 1.338 (colored)

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.

Revision 1.530 / (download) - annotate - [select for diffs], Sun Mar 4 15:52:18 2018 UTC (19 months, 1 week ago) by bsiegert
Branch: MAIN
Changes since 1.529: +2 -1 lines
Diff to previous 1.529 (colored) to selected 1.338 (colored)

Revbump all Go packages after Go 1.10 update.

Revision 1.529 / (download) - annotate - [select for diffs], Mon Feb 19 12:40:38 2018 UTC (19 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.528: +2 -2 lines
Diff to previous 1.528 (colored) to selected 1.338 (colored)

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.

Revision 1.528 / (download) - annotate - [select for diffs], Sun Jan 28 23:21:16 2018 UTC (20 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.527: +2 -2 lines
Diff to previous 1.527 (colored) to selected 1.338 (colored)

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.

Revision 1.527 / (download) - annotate - [select for diffs], Sun Jan 28 13:40:22 2018 UTC (20 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.526: +2 -2 lines
Diff to previous 1.526 (colored) to selected 1.338 (colored)

pkgtools/pkglint: update HOMEPAGE

Revision 1.526 / (download) - annotate - [select for diffs], Sat Jan 27 18:50:36 2018 UTC (20 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.525: +2 -2 lines
Diff to previous 1.525 (colored) to selected 1.338 (colored)

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.

Revision 1.525 / (download) - annotate - [select for diffs], Sat Jan 13 23:56:14 2018 UTC (21 months ago) by rillig
Branch: MAIN
Changes since 1.524: +2 -2 lines
Diff to previous 1.524 (colored) to selected 1.338 (colored)

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

Revision 1.524 / (download) - annotate - [select for diffs], Wed Jan 10 00:39:52 2018 UTC (21 months ago) by rillig
Branch: MAIN
Changes since 1.523: +2 -2 lines
Diff to previous 1.523 (colored) to selected 1.338 (colored)

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.

Revision 1.523 / (download) - annotate - [select for diffs], Sun Jan 7 17:08:15 2018 UTC (21 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.522: +2 -2 lines
Diff to previous 1.522 (colored) to selected 1.338 (colored)

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.

Revision 1.522 / (download) - annotate - [select for diffs], Sun Jan 7 01:13:21 2018 UTC (21 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.521: +2 -2 lines
Diff to previous 1.521 (colored) to selected 1.338 (colored)

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

Revision 1.521 / (download) - annotate - [select for diffs], Tue Jan 2 08:13:15 2018 UTC (21 months, 1 week ago) by maya
Branch: MAIN
Changes since 1.520: +2 -2 lines
Diff to previous 1.520 (colored) to selected 1.338 (colored)

pkglint 5.4.24: remove references to crypto restrictions.

Discussed with rillig.

Revision 1.520 / (download) - annotate - [select for diffs], Mon Jan 1 21:55:36 2018 UTC (21 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.519: +2 -2 lines
Diff to previous 1.519 (colored) to selected 1.338 (colored)

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.

Revision 1.519 / (download) - annotate - [select for diffs], Mon Jan 1 18:04:15 2018 UTC (21 months, 1 week ago) by rillig
Branch: MAIN
Changes since 1.518: +2 -2 lines
Diff to previous 1.518 (colored) to selected 1.338 (colored)

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

Revision 1.518 / (download) - annotate - [select for diffs], Sun Oct 8 22:31:13 2017 UTC (2 years ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.517: +2 -3 lines
Diff to previous 1.517 (colored) to selected 1.338 (colored)

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

Revision 1.517 / (download) - annotate - [select for diffs], Thu Jul 27 11:21:25 2017 UTC (2 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-
Changes since 1.516: +2 -2 lines
Diff to previous 1.516 (colored) to selected 1.338 (colored)

c++11 is valid for USE_LANGUAGES.

Bump PKGREVISION.

Revision 1.516 / (download) - annotate - [select for diffs], Sat Jul 22 19:32:41 2017 UTC (2 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.515: +4 -1 lines
Diff to previous 1.515 (colored) to selected 1.338 (colored)

Sprinkle CHECK_RELRO_SKIP on go packages.

go14 has no relro support AFAICT.

go-1.8.3 has if you use -buildmode=pie, but it claims it's not supported
on Linux.

Disable relro checking for go packages until bsiegert has time to
look at this.

Revision 1.515 / (download) - annotate - [select for diffs], Sun May 14 14:36:06 2017 UTC (2 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.514: +2 -2 lines
Diff to previous 1.514 (colored) to selected 1.338 (colored)

Allow db6 in BDB_* variables.
Bump PKGREVISION.

Revision 1.514 / (download) - annotate - [select for diffs], Thu Apr 13 15:12:05 2017 UTC (2 years, 6 months ago) by bsiegert
Branch: MAIN
Changes since 1.513: +2 -1 lines
Diff to previous 1.513 (colored) to selected 1.338 (colored)

Revbump all Go packages after the Go 1.8.1 update.

Revision 1.513 / (download) - annotate - [select for diffs], Wed Apr 5 19:17:19 2017 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.512: +2 -2 lines
Diff to previous 1.512 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.20.

Changes since 5.4.19:
* Updated allowed Python versions to include py36.

Revision 1.512 / (download) - annotate - [select for diffs], Fri Mar 17 22:43:34 2017 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base
Branch point for: pkgsrc-2017Q1
Changes since 1.511: +3 -7 lines
Diff to previous 1.511 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.19.

Changes since 5.4.18:

* Added generated Go yacc source files to CVS, since starting with Go 1.8
  the yacc tool is no longer part of the core distribution. The dependency
  on yacc would pull in all the Go tools, which are quite a few, and some
  of these do not currently build since they depend on go-crypto. See
  https://mail-index.netbsd.org/tech-pkg/2017/03/17/msg017900.html

Revision 1.511 / (download) - annotate - [select for diffs], Thu Mar 16 20:03:22 2017 UTC (2 years, 7 months ago) by bsiegert
Branch: MAIN
Changes since 1.510: +3 -2 lines
Diff to previous 1.510 (colored) to selected 1.338 (colored)

pkglint 5.4.18.

Changes:
 - go tool yacc -> goyacc to fix building with Go 1.8 (PR pkg/52081).

Revision 1.510 / (download) - annotate - [select for diffs], Wed Jan 18 23:05:43 2017 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.509: +2 -2 lines
Diff to previous 1.509 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.17.

Changes since 5.4.16:

* allow multiple definitions for MASTER_SITES in the package Makefile,
  without triggering a warning about wrong ordering.
  See https://mail-index.netbsd.org/tech-pkg/2017/01/18/msg017698.html

Revision 1.509 / (download) - annotate - [select for diffs], Tue Jan 17 22:37:27 2017 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.508: +2 -2 lines
Diff to previous 1.508 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.16.

Changes since 5.4.15:

* updated vardefs from mk/defaults/mk.conf from v1.118 (2006) to v1.269
  Gone:
  * PKG_SUFX
  * USETBL
  * PKGSRC_SHOW_PATCH_ERRORMSG
  * USE_XPKGWEDGE
  * PKGVULNDIR
  Adjusted:
  * USE_GAMESGROUP
  * BIN_INSTALL_FLAG -> BIN_INSTALL_FLAGS

* fixed license parsing to be more realistic
  (the previous version didn't handle parentheses correctly)

* lots of housekeeping
  * moved some code to separate packages, allowing re-use
  * separated Line checks into LineChecker type
  * separated MkLine checks into MkLineChecker type
  * made Line an interface, for further refactorings

Revision 1.508 / (download) - annotate - [select for diffs], Wed Jan 11 23:20:13 2017 UTC (2 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.507: +2 -1 lines
Diff to previous 1.507 (colored) to selected 1.338 (colored)

Fix build under Mac OS X where "pax" doesn't seem to automatically
create the target directory. We therefore do that manually.

Revision 1.507 / (download) - annotate - [select for diffs], Sun Jan 1 16:41:37 2017 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.506: +2 -2 lines
Diff to previous 1.506 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.15.

Changes since 5.4.14:

* Definitions for CONF_FILES should always come in pairs (pkg/37284)

Revision 1.506 / (download) - annotate - [select for diffs], Sun Jan 1 15:15:47 2017 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.505: +10 -9 lines
Diff to previous 1.505 (colored) to selected 1.338 (colored)

Cleaned up and refactored code.

The getopt and pkgver code have been extracted to separate packages to make
them reusable.

Several other functions have been moved to make the structure easier to
understand:

* dir.go and main.go have been moved to pkglint.go
* utility functions from pkglint.go have been moved to mkline.go

Now pkglint.go contains only high-level code.

Revision 1.505 / (download) - annotate - [select for diffs], Sun Jan 1 14:47:45 2017 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.504: +2 -2 lines
Diff to previous 1.504 (colored) to selected 1.338 (colored)

Fix build warning on DragonFly.

Fixes pkg/51713

Revision 1.504 / (download) - annotate - [select for diffs], Sat Dec 17 13:35:32 2016 UTC (2 years, 9 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.503: +2 -2 lines
Diff to previous 1.503 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.14.

Changes since 5.4.13:

* Pkglint can fix $(VARIABLES) in parentheses to ${VARIABLES} in braces
  automatically

Revision 1.503 / (download) - annotate - [select for diffs], Tue Dec 13 00:58:06 2016 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.502: +2 -3 lines
Diff to previous 1.502 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.13.

Changes since 5.4.12:

* Added check for unintended # comments, especially in HOMEPAGE
* Added check for quotes in COMMENT
* Fixed hardcoded package versions for PHP, Python, Lua, etc.
* Code cleanup in the tests

Revision 1.502 / (download) - annotate - [select for diffs], Sun Dec 4 16:30:00 2016 UTC (2 years, 10 months ago) by bsiegert
Branch: MAIN
Changes since 1.501: +2 -1 lines
Diff to previous 1.501 (colored) to selected 1.338 (colored)

Revbump Go packages after 1.7.4 update.

Revision 1.501 / (download) - annotate - [select for diffs], Sun Dec 4 15:28:36 2016 UTC (2 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.500: +3 -3 lines
Diff to previous 1.500 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.12.

Changes since 5.4.11:

* warn when PKGSRC_COMPILER is compared with "==", since it may be a chain
  of compilers
* warn about listing Python .egg-info files directly in PLIST files, since
  lang/python/egg.mk takes care of this
* code cleanup: unify Error{0,1,2,3} into Errorf to make understanding the
  code easier; use interface{} for MkLine data; use regular expression
  instead of handwritten matching code, since one line is easier to read
  than 50

Revision 1.500 / (download) - annotate - [select for diffs], Mon Nov 14 01:08:23 2016 UTC (2 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.499: +2 -2 lines
Diff to previous 1.499 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.11.

Changes since 5.4.10:

* Replaced regular expression with hand-written matching code, since
  it is 30 times as fast.
* Reduced number of syscalls by remembering os.Lstat results and
  CVS/Entries.
* Reduced number of syscalls by querying the current user only once.
* Added warning for comparing ${PKGSRC_COMPILER} == "clang", which
  should rather be ${PKGSRC_COMPILER:Mclang}.
* Added variable definitions for NOT_PAX_ASLR_SAFE and NOT_PAX_MPROTECT_SAFE.

Revision 1.499 / (download) - annotate - [select for diffs], Tue Nov 1 21:40:25 2016 UTC (2 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.498: +2 -3 lines
Diff to previous 1.498 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.10.

Changes since 5.4.9:

* Check for mismatch between conditional and unconditional includes
  of other files (mostly depending on PKG_OPTIONS or OPSYS)
* Check that PLIST files contain "man" instead of "${PKGMANDIR}"

Revision 1.498 / (download) - annotate - [select for diffs], Sat Oct 29 08:59:48 2016 UTC (2 years, 11 months ago) by bsiegert
Branch: MAIN
Changes since 1.497: +2 -1 lines
Diff to previous 1.497 (colored) to selected 1.338 (colored)

Revbump packages depending on Go after the Go 1.7.3 update.

Revision 1.497 / (download) - annotate - [select for diffs], Fri Sep 30 18:27:37 2016 UTC (3 years ago) by reed
Branch: MAIN
Changes since 1.496: +2 -2 lines
Diff to previous 1.496 (colored) to selected 1.338 (colored)

pkglint has hardcoded php55 referenced a couple times.
That package was removedi and caused pkglint errors like:
ERROR: ../../lang/php/ext.mk:25: Cannot read
"./../../lang/php55/Makefile.common".

So update to later php56.

I don't understand why the ChecklinesDistinfo function in distinfo.go
has an exception for the php patches directory but changed there too.

I received an okay on packages@ list.

Note that the make check for the pkglint package failed for me
but the pkglint worked for me in my tests of some php using packages.

Increase version of pkglint.

Revision 1.496 / (download) - annotate - [select for diffs], Sat Sep 17 23:58:04 2016 UTC (3 years ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.495: +2 -3 lines
Diff to previous 1.495 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.9.

Changes since 5.4.8:

* Disallow lib/charset.alias in PLIST. This file may only be installed
  by converters/libiconv. (That package is currently broken, since
  it only touches that file when installing from source, not from a
  binary package. But pkglint is prepared for it to be fixed.)

Revision 1.495 / (download) - annotate - [select for diffs], Sat Sep 10 19:47:20 2016 UTC (3 years, 1 month ago) by bsiegert
Branch: MAIN
Changes since 1.494: +2 -1 lines
Diff to previous 1.494 (colored) to selected 1.338 (colored)

Revbump all Go packages after the Go 1.7.1 update.

Revision 1.494 / (download) - annotate - [select for diffs], Tue Sep 6 19:23:03 2016 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.493: +2 -3 lines
Diff to previous 1.493 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.8.

Changes since 5.4.7:

* Added cputime as an allowed keyword for UNLIMIT_RESOURCES.

Revision 1.493 / (download) - annotate - [select for diffs], Sat Aug 20 09:21:46 2016 UTC (3 years, 1 month ago) by bsiegert
Branch: MAIN
Changes since 1.492: +2 -1 lines
Diff to previous 1.492 (colored) to selected 1.338 (colored)

Revbump packages using Go for Go 1.7 release.

Revision 1.492 / (download) - annotate - [select for diffs], Sun Jul 10 21:24:47 2016 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.491: +2 -2 lines
Diff to previous 1.491 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.7.

Changes since 5.4.6:

* Allow conditionals of the form "${var1}" == "${var2}"
* Check for indentation of .include directives
* Check arbitrarily complex license conditions
* General code cleanup

Revision 1.491 / (download) - annotate - [select for diffs], Sun Jul 10 11:37:27 2016 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.490: +2 -2 lines
Diff to previous 1.490 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.6.

Changes since 5.4.5:

* Fixed shell command parser to correctly parse redirections
* Added type definitions for several variables
* Allowed version numbers to be single digits

Revision 1.490 / (download) - annotate - [select for diffs], Sat Jul 9 13:16:43 2016 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.489: +2 -2 lines
Diff to previous 1.489 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.5.

Changes since 5.4.4:

* Removed autofix for variables in BUILDLINK_TREE, since that change
  affects multiple variables in the file and therefore cannot be done
  automatically
* Fixed PLIST sorting to not lose lines

Revision 1.489 / (download) - annotate - [select for diffs], Sat Jul 9 09:43:48 2016 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.488: +2 -2 lines
Diff to previous 1.488 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.4.

Changes since 5.4.3:

* Improved detection for undocumented patches from Git
* Added warning about unnecessary space after variable names
* Lots of internal housekeeping

Revision 1.488 / (download) - annotate - [select for diffs], Thu Jul 7 12:09:26 2016 UTC (3 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.487: +6 -3 lines
Diff to previous 1.487 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.3.

Changes since 5.4.2:

* Variables like ${VAR_${OTHER_VAR}} are no longer checked for
  use/define mismatch
* The check for plural variable names has been removed
* The type of variables called *DESTDIR is no longer guessed to be a
  directory name
* The check for unknown shell commands is disabled in Makefile
  sections that depend on OPSYS
* The experimental hand-written shell parser has been replaced with
  a Yacc-generated one
* Meta packages don't need a LICENSE
* When PKGNAME is defined in terms of ${DISTNAME:S/from/to/:tl}, more
  modifiers (like :tl) are handled properly
* When the MAINTAINER or OWNER of a package is not the current user,
  a warning is printed for modified files
* The check for share/applications/*.desktop has been disabled, since
  pkglint would need to inspect the file's actual contents to see
  whether desktopdb.mk must be included or not
* SUBST_CLASSES may also be SUBST_CLASSES.NetBSD
* Loosened the usage restrictions for several variables, e.g. many
  variables that may be appended in a Makefile may also be set
  unconditionally
* PKG_OPTIONS_VAR must be of the form PKG_OPTIONS.*

Revision 1.487 / (download) - annotate - [select for diffs], Sun Jun 19 18:03:29 2016 UTC (3 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.486: +2 -2 lines
Diff to previous 1.486 (colored) to selected 1.338 (colored)

USE_CROSSBASE is deprecated, remove it.

Bump version.

Revision 1.486 / (download) - annotate - [select for diffs], Fri Jun 10 19:42:41 2016 UTC (3 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.485: +2 -2 lines
Diff to previous 1.485 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.1.

Changes since 5.4.0:

* PKG_SKIP_REASON is no longer marked as deprecated, since it still
  has its value
* When PKG_SKIP_REASON is defined depending on OPSYS, suggest to
  use NOT_FOR_PLATFORM instead.
* Check for ROOT_USER/ROOT_GROUP being used in special file
  permissions; using REAL_ROOT_USER/REAL_ROOT_GROUP is better.

Revision 1.485 / (download) - annotate - [select for diffs], Sun Jun 5 11:24:32 2016 UTC (3 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.484: +3 -3 lines
Diff to previous 1.484 (colored) to selected 1.338 (colored)

Updated pkglint to 5.4.0.

Changes since 5.3.7:

* Replaced the -D... debug options with a single -d
* Omitted duplicate diagnostics
* Marked the :Q operator unnecessary for some variables
* Improved detection of whether bsd.prefs.mk has been included,
  which fixed unwarranted warnings about load time evaluation of
  some variables like ${ECHO} and ${SED}
* Improved detection for $(VAR) with round parentheses
* Fixed allowed locations for several variables
* Improved detection for used variables (still not perfect)
* Added warning that MASTER_SITES should not be used in HOMEPAGE
* Fixed warning about manual patches not being in distinfo
* Added a check for missing MASTER_SITE_* variables
* Added a check for unfinished url2pkg work
* Fixed several wrong warnings

Revision 1.484 / (download) - annotate - [select for diffs], Sun Apr 10 16:59:37 2016 UTC (3 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.483: +2 -2 lines
Diff to previous 1.483 (colored) to selected 1.338 (colored)

USE_DESTDIR is gone.

Revision 1.483 / (download) - annotate - [select for diffs], Sun Mar 13 13:40:10 2016 UTC (3 years, 7 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.482: +2 -3 lines
Diff to previous 1.482 (colored) to selected 1.338 (colored)

Updated pkglint to 5.3.6.

Changes since 5.3.5:

* Warn about !empty(${VARNAME}), which should be !empty(VARNAME)
* Distinguish ${VARNAME} == "value" and ${VARNAME:Mpattern}
* Corrected isQuotingNecessary for some variable types
* Generally, parse files from mk/, since they define variables
  used by packages. This avoids wrong warnings about possible
  spelling mistakes.
* Warn about $(VARNAME) (with parentheses instead of braces)
* Warn about missing final @ in ${VAR:@var@...@}
* Updated list of hardware architectures
* Enabled CPU profiling on NetBSD

Revision 1.482 / (download) - annotate - [select for diffs], Tue Feb 23 20:18:12 2016 UTC (3 years, 7 months ago) by bsiegert
Branch: MAIN
Changes since 1.481: +2 -1 lines
Diff to previous 1.481 (colored) to selected 1.338 (colored)

Revbump packages that build-depend on Go after 1.6 update.

They all build, I checked :)

Revision 1.481 / (download) - annotate - [select for diffs], Sun Jan 31 17:18:54 2016 UTC (3 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.480: +2 -2 lines
Diff to previous 1.480 (colored) to selected 1.338 (colored)

Updated pkglint to 5.3.5

Changes since 5.3.4:

* Added parser for Makefile conditionals
* Variables that are matched using the :M modifier are checked whether
  the matched value is sensible
* Reworded and explained warning for variable ordering in packages
* Fixed bug in Tree.String
* Fixed a few variable types

Revision 1.480 / (download) - annotate - [select for diffs], Wed Jan 27 21:55:50 2016 UTC (3 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.479: +2 -2 lines
Diff to previous 1.479 (colored) to selected 1.338 (colored)

Updated pkglint to 5.3.4

Changes since 5.3.3:

* Added some unit tests
* Fixed the Makefile parser to recognize seldomly-used variable modifiers
  like :S///S/// without intermediate colon or :ts\n
* Cleaned up some unit tests
* Combined diagnostics that span multiple lines into single-line ones

Revision 1.479 / (download) - annotate - [select for diffs], Tue Jan 26 21:10:42 2016 UTC (3 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.478: +2 -2 lines
Diff to previous 1.478 (colored) to selected 1.338 (colored)

Updated pkglint to 5.3.3

Changes since 5.3.2:

* The -e, -fs, -F options are advertised even when no warnings and errors
  occurred. In such a case, there were only notes, and some of these can
  also be autofixed.
* Special handling for autoconf{,213} tools, since mentioning these in
  USE_TOOLS makes available more than just one tool command.
* Downgrades from 1.0nb17 to 1.0 are no longer flagged as warnings.
* Files in /wip/mk/ are scanned like all other files, to prevent warnings
  about undefined or unused variables.

Revision 1.478 / (download) - annotate - [select for diffs], Sun Jan 24 02:03:28 2016 UTC (3 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.477: +9 -9 lines
Diff to previous 1.477 (colored) to selected 1.338 (colored)

Updated pkglint to 5.3.2

Changes since 5.3.1:

Alignment of variable values is no longer checked by single line, but by
the complete block (e.g. SUBST_*).  Pkglint now checks that all variables
belonging to a block are indented consistently, so that their values are
aligned nicely.

Since pkglint does not report warnings, but only notes, and since it can
fix them automatically, the burden on the package developers will be very
low. Especially, since these notes are only printed when pkglint is called
with the -Wspace or -Wall options.

Also, pkglint supports running its unit tests now.

Revision 1.477 / (download) - annotate - [select for diffs], Mon Jan 18 15:33:44 2016 UTC (3 years, 8 months ago) by fhajny
Branch: MAIN
Changes since 1.476: +2 -1 lines
Diff to previous 1.476 (colored) to selected 1.338 (colored)

Revbump all Go packages after the go-1.5.3 security update (hint: static
linking).

Revision 1.476 / (download) - annotate - [select for diffs], Sat Jan 16 16:29:03 2016 UTC (3 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.475: +2 -2 lines
Diff to previous 1.475 (colored) to selected 1.338 (colored)

Updated pkglint to 5.3.1

Changes since 5.3:

* disabled CPU profiling on NetBSD, since it crashes without any output;
  see https://github.com/golang/go/issues/13914

Revision 1.475 / (download) - annotate - [select for diffs], Tue Jan 12 01:02:48 2016 UTC (3 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.474: +3 -3 lines
Diff to previous 1.474 (colored) to selected 1.338 (colored)

Updated pkglint to 5.3

Changes since 5.2.2.2:

* Makefile variables

The warnings about missing permissions sound more natural than before
and give a hint for alternative operators (e.g. set-default instead
of append), or an alternative file where setting this variable is
allowed instead (e.g. PKGREVISION may not be set in Makefile.common,
but in Makefile it is ok).

Warnings about "unknown" allowed permissions are not shown anymore,
since they didn't provide any benefit. To see them again, pkglint must
be run with the -Dunchecked option.

User-defined variables may be used by builtin.mk. They may also be
used during load time, not only during run time, under the assumption
that in most cases the bsd.prefs.mk has already been loaded.

Some individual variables may be defined or used in places where this
was not allowed before. CHECK_BUILTIN.*, BUILDLINK_TARGETS,
TOOLS_DEPENDS.*, BUILDLINK_DEPMETHOD.*, SUBST_CLASSES.

A new parser for Makefile expressions detects and reports more
mistakes than bmake itself. Currently it is only used to check the
basic syntax; more applications are possible.

* PLIST

In PLIST files, conditionals of the form ${PLIST.*} are recognized and
are not part of the pathname. This allows pkglint to better check for
missing manual pages and correctly sorted PLIST files.

In --autofix mode, pkglint can sort PLIST files, which makes these
rather annoying warnings easy to fix.

No more warnings for man pages whose filename doesn't match exactly
the section, e.g. man/man3/exit.3c.

* Patches

The code for checking patch files has been completely rewritten, so
that it is easier understandable and well-structured. As an additional
benefit, it also became faster. Support for context diffs has been
dropped to a minimum, since they are not popular anymore.

Pkglint no longer warns about missing trailing whitespace in a line,
since all patch programs can handle these lines. It also doesn't
request empty lines between multiple diffs in a single file, since
that is simply not necessary.

Pkglint is picky when a patch file continues after the diff with some
text that still looks like a diff, since that means the patch doesn't
do what it looks like on first sight
(example: audio/faad2/patches/patch-au).

* Distinfo

When a patch file listed in distinfo cannot be found in the
filesystem, this is reported clearly instead of complaining about
missing SHA512 hashes (example: audio/libopus).

The inter-package distinfo check that verifies whether a distfile has
different hashes has been enabled. It had been disabled before, but
unintentionally so.

* Misc

- The check for COMMENT has been updated to reflect the changed
  default value from url2pkg.
- BUILDLINK_API_DEPENDS.* may be set in buildlink3.mk, even if the
  package is not the current one. (The other variables may be only set
  for the current package.)
- In shell commands, the escape sequence \. (and similar ones, which
  are often seen in sed(1) commands) no longer produces a warning,
  since the different shells handle these escape sequences
  consistently. (It is the echo(1) implementations that actually
  differ, therefore this warning was superfluous.)
- Compiler flags in backticks (typically `pkg-config --cflags`) are
  properly recognized.
- Internal pkglint errors when parsing shell commands have been fixed.
- No more warnings about PKGCONFIG_FILE.* being defined but unused.
- Dependencies of the form pkgbase>=1.0<5.0 are recognized.
- Diagnostics use quotes more often to indicate the placeholders.
- The type of GENERATE_PLIST has been changed from List of ShellWord
  to ShellCommands, since that is what the variable is really about.
- The type ShellCommand used to mean "a shell command line in a
  Makefile", which was confusing. Now it means what the name says,
  which reduces the wrong warnings for variables like CC (example:
  x11/kdebase3/options.mk).
- Improved buildlink3.mk checks to generate more helpful diagnostics.
- Fixed the parsing of dependency patterns, so that all but the most
  exotic ones are properly recognized.
- Fixed the parsing of shell variables of the form ${var%.c}.
- Updated the check for the default COMMENT from url2pkg.
- Many more small improvements.
- Performance has improved again, though only a little bit.
- Unit test coverage has increased from 64.2 % to 78.9 %.

This fixes most of the points mentioned in PR pkg/46570.

Revision 1.474 / (download) - annotate - [select for diffs], Wed Dec 30 04:16:56 2015 UTC (3 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.473: +2 -2 lines
Diff to previous 1.473 (colored) to selected 1.338 (colored)

Add Bitrig and MirBSD to the list of OSes.

Revision 1.473 / (download) - annotate - [select for diffs], Thu Dec 10 08:23:15 2015 UTC (3 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.472: +2 -2 lines
Diff to previous 1.472 (colored) to selected 1.338 (colored)

Bump php default version to 55 to follow pkgsrc.
Bump version.

Revision 1.472 / (download) - annotate - [select for diffs], Sat Dec 5 15:51:15 2015 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.471: +2 -2 lines
Diff to previous 1.471 (colored) to selected 1.338 (colored)

Updated pkglint to 5.2.2.

Changes since 5.2.1:
* Fixed wrong error messages about "Unknown Makefile line format"

Revision 1.471 / (download) - annotate - [select for diffs], Sat Dec 5 15:16:29 2015 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.470: +2 -2 lines
Diff to previous 1.470 (colored) to selected 1.338 (colored)

Updated pkglint to 5.2.1.

Changes since 5.2:
* Fixed wrong warning about patches/CVS being an unrecorded patch
* pkgsrc-wip also needs NetBSD as RCS Id, instead of Id
* Code cleanup: grouped the checklineMk functions into one file

Revision 1.470 / (download) - annotate - [select for diffs], Sat Dec 5 08:54:08 2015 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.469: +2 -2 lines
Diff to previous 1.469 (colored) to selected 1.338 (colored)

Updated pkglint to 5.2.

Changes since 5.1:

* Fixed distinfo check for unrecorded patch files (thanks, wiz)
* Command line options parser accepts abbreviations (--a instead of --autofix)
* Realistic unit tests using temporary files
* General code cleanup (using gometalinter)

Revision 1.469 / (download) - annotate - [select for diffs], Wed Dec 2 21:46:46 2015 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.468: +2 -2 lines
Diff to previous 1.468 (colored) to selected 1.338 (colored)

Updated pkglint to 5.1.

Changes since 5.0:
* Fixed --autofix mode (it hadn't been enabled before)
* The --autofix mode now advertises itself when it can do something
* The --autofix mode now adds missing empty lines to patch files
  (only in the leading text section, not in the actual patch content)
* Made --autofix code simpler ({prepend,append}{Before,After} was not
  really needed)
* Fixed unit tests to report invalid command lines
* Added some more unit tests

Revision 1.468 / (download) - annotate - [select for diffs], Wed Nov 25 16:53:18 2015 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.467: +2 -1 lines
Diff to previous 1.467 (colored) to selected 1.338 (colored)

Explicitly added conflict with pkglint4

Revision 1.467 / (download) - annotate - [select for diffs], Wed Nov 25 13:29:07 2015 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.466: +16 -44 lines
Diff to previous 1.466 (colored) to selected 1.338 (colored)

Updated pkglint to 5.0

Notable changes include:
* The whole code has been rewritten in Go
* It is much faster, especially in recursive mode
* The code has unit tests, providing examples of use
* Some new explanations for existing warnings
* Some adjustments to previous warnings

Revision 1.466 / (download) - annotate - [select for diffs], Tue Nov 24 14:17:23 2015 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.465: +2 -2 lines
Diff to previous 1.465 (colored) to selected 1.338 (colored)

Updated pkglint to 4.158

This mainly fixes wrong patch detection when checking distinfo.

Revision 1.465 / (download) - annotate - [select for diffs], Mon Oct 19 09:43:59 2015 UTC (3 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.464: +2 -2 lines
Diff to previous 1.464 (colored) to selected 1.338 (colored)

Bump version for recent fixes.

Revision 1.464 / (download) - annotate - [select for diffs], Fri Jul 3 09:52:04 2015 UTC (4 years, 3 months ago) by abs
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.463: +2 -2 lines
Diff to previous 1.463 (colored) to selected 1.338 (colored)

Update pkglint to 4.156 - "8" is also a valid USE_JAVA2 value

Revision 1.463 / (download) - annotate - [select for diffs], Sun Jun 14 18:18:34 2015 UTC (4 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.462: +2 -3 lines
Diff to previous 1.462 (colored) to selected 1.338 (colored)

Fix some perl-5.22 warnings.
Bump version.

Revision 1.462 / (download) - annotate - [select for diffs], Fri Jun 12 10:50:56 2015 UTC (4 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.461: +2 -1 lines
Diff to previous 1.461 (colored) to selected 1.338 (colored)

Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.

Revision 1.461 / (download) - annotate - [select for diffs], Sun May 3 15:20:23 2015 UTC (4 years, 5 months ago) by bsiegert
Branch: MAIN
Changes since 1.460: +2 -2 lines
Diff to previous 1.460 (colored) to selected 1.338 (colored)

Add BOOTSTRAP_PKG and USE_GCC_RUNTIME variables to makevars. Patch from
Olivier Duclos on tech-pkg.
Bump package version.

Revision 1.460 / (download) - annotate - [select for diffs], Wed Mar 11 19:09:38 2015 UTC (4 years, 7 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.459: +1 -4 lines
Diff to previous 1.459 (colored) to selected 1.338 (colored)

Removed the comment about updating the version from the Makefile

I had used the pkglint_current tag in the past to summarize the changes
whenever I bumped the version number. In the last 7 years, this hasn't
been done, so there seems to be no need for it.

Revision 1.459 / (download) - annotate - [select for diffs], Wed Mar 11 19:05:58 2015 UTC (4 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.458: +2 -2 lines
Diff to previous 1.458 (colored) to selected 1.338 (colored)

Fixed a wrong warning for the HOMEPAGE variable

WARN: Makefile:9: Please use ${MASTER_SITE_GITHUB:=glmark2/glmark2}
      instead of "https://github.com/glmark2/glmark2".

This warning is wrong because HOMEPAGE is neither a plural variable nor
does it contain a "fetch URL".

To fix this, there is a new data type FetchURL, which has one more check
than the existing data type URL, namely the MASTER_SITES abbreviation.
The existing definitions in makevars.map have been updated accordingly
to the appropriate data types.

Note: This patch is not perfect, since ideally only variables of type
"List of FetchURL" should be suggested to be replaced with MASTER_SITES,
but since currently all these variables are actually "List of FetchURL"
and not simply "FetchURL", this should be fine.

Revision 1.458 / (download) - annotate - [select for diffs], Mon Mar 9 06:24:09 2015 UTC (4 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.457: +4 -4 lines
Diff to previous 1.457 (colored) to selected 1.338 (colored)

Add GITHUB_*. Bump version.

Revision 1.457 / (download) - annotate - [select for diffs], Sun Feb 1 18:33:27 2015 UTC (4 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.456: +2 -2 lines
Diff to previous 1.456 (colored) to selected 1.338 (colored)

Allow https in sites.mk.
Bump version.

Revision 1.456 / (download) - annotate - [select for diffs], Thu Jan 1 06:10:10 2015 UTC (4 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.455: +2 -2 lines
Diff to previous 1.455 (colored) to selected 1.338 (colored)

Add BROKEN_ON_PLATFORM and BROKEN_EXCEPT_ON_PLATFORM and bump version.

Revision 1.455 / (download) - annotate - [select for diffs], Sat Dec 6 22:21:30 2014 UTC (4 years, 10 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.454: +2 -2 lines
Diff to previous 1.454 (colored) to selected 1.338 (colored)

Don't complain about exact (non-range, non-wildcard) dependencies.
Now that mail/qmail-run "looks fine", replace it with another of
my errant packages as a test case. Bump version.

Revision 1.454 / (download) - annotate - [select for diffs], Sun Nov 23 15:30:07 2014 UTC (4 years, 10 months ago) by mef
Branch: MAIN
Changes since 1.453: +2 -2 lines
Diff to previous 1.453 (colored) to selected 1.338 (colored)

Add emacs25, xemacs21[45]nox for makevars.map
Thanks wiz@ for OK. I don't believe we need emacs25nox ;-(

Revision 1.453 / (download) - annotate - [select for diffs], Thu Oct 9 14:06:50 2014 UTC (5 years ago) by wiz
Branch: MAIN
Changes since 1.452: +1 -3 lines
Diff to previous 1.452 (colored) to selected 1.338 (colored)

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.452 / (download) - annotate - [select for diffs], Thu Oct 9 13:55:00 2014 UTC (5 years ago) by wiz
Branch: MAIN
Changes since 1.451: +2 -2 lines
Diff to previous 1.451 (colored) to selected 1.338 (colored)

Bump version.

Revision 1.451 / (download) - annotate - [select for diffs], Mon Sep 8 12:03:32 2014 UTC (5 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.450: +2 -2 lines
Diff to previous 1.450 (colored) to selected 1.338 (colored)

Allow '+' in another place checking for package names. Needed e.g. for gtk2+.

Bump version.

Revision 1.450 / (download) - annotate - [select for diffs], Thu Aug 7 20:35:34 2014 UTC (5 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.449: +2 -2 lines
Diff to previous 1.449 (colored) to selected 1.338 (colored)

Add PYTHON_VERSIONED_DEPENDENCIES. Bump version.

Revision 1.449 / (download) - annotate - [select for diffs], Wed Jun 25 17:51:55 2014 UTC (5 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.448: +2 -2 lines
Diff to previous 1.448 (colored) to selected 1.338 (colored)

Add LIBTOOL_REQD. Bump version.

Revision 1.448 / (download) - annotate - [select for diffs], Thu Jun 19 07:22:02 2014 UTC (5 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.447: +2 -2 lines
Diff to previous 1.447 (colored) to selected 1.338 (colored)

Sync mysql version list with reality.
From John Nemeth.

Bump version.

Revision 1.447 / (download) - annotate - [select for diffs], Tue Jun 10 15:13:44 2014 UTC (5 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.446: +2 -2 lines
Diff to previous 1.446 (colored) to selected 1.338 (colored)

pkglint-4.142: Remove apache13 and apache2 values.

Revision 1.446 / (download) - annotate - [select for diffs], Tue Jun 10 13:55:07 2014 UTC (5 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.445: +2 -2 lines
Diff to previous 1.445 (colored) to selected 1.338 (colored)

pkglint-4.141: PAM_ACCEPTED and PAM_TYPE are gone

Revision 1.445 / (download) - annotate - [select for diffs], Sat May 31 15:56:59 2014 UTC (5 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.444: +2 -2 lines
Diff to previous 1.444 (colored) to selected 1.338 (colored)

Remove giflib/libungif special cases. Bump version.

Revision 1.444 / (download) - annotate - [select for diffs], Fri May 30 08:32:26 2014 UTC (5 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.443: +2 -3 lines
Diff to previous 1.443 (colored) to selected 1.338 (colored)

Bump version instead of PKGREVISION.
Noted by Wen Heping.

Revision 1.443 / (download) - annotate - [select for diffs], Thu May 29 23:37:15 2014 UTC (5 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.442: +2 -1 lines
Diff to previous 1.442 (colored) to selected 1.338 (colored)

Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.

Revision 1.442 / (download) - annotate - [select for diffs], Tue May 6 09:32:53 2014 UTC (5 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.441: +2 -2 lines
Diff to previous 1.441 (colored) to selected 1.338 (colored)

Add REPLACE_LUA. Bump version.

Revision 1.441 / (download) - annotate - [select for diffs], Fri Mar 14 09:49:54 2014 UTC (5 years, 7 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.440: +2 -2 lines
Diff to previous 1.440 (colored) to selected 1.338 (colored)

Bump PKGREVISION to refrect recent changes.

Revision 1.440 / (download) - annotate - [select for diffs], Sun Mar 2 09:03:11 2014 UTC (5 years, 7 months ago) by obache
Branch: MAIN
Changes since 1.439: +3 -5 lines
Diff to previous 1.439 (colored) to selected 1.338 (colored)

No need to define fake DISTNAME and empty MASTER_SITES and DISTFILES now.
Just define PKGNAME and use it.

Revision 1.439 / (download) - annotate - [select for diffs], Mon Feb 17 14:33:42 2014 UTC (5 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.438: +2 -2 lines
Diff to previous 1.438 (colored) to selected 1.338 (colored)

dd REPLACE_CSH. Bump version.

Revision 1.438 / (download) - annotate - [select for diffs], Mon Jan 13 01:54:52 2014 UTC (5 years, 9 months ago) by cheusov
Branch: MAIN
Changes since 1.437: +2 -2 lines
Diff to previous 1.437 (colored) to selected 1.338 (colored)


pkglint now warns about broken dependencies like >=x.y.*
Version->4.135

Revision 1.437 / (download) - annotate - [select for diffs], Sun Jan 5 11:26:06 2014 UTC (5 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.436: +2 -2 lines
Diff to previous 1.436 (colored) to selected 1.338 (colored)

Skip :build and :run from tools to recognize 'perl:run' etc.
Allow https in one more place.
Bump version.

Revision 1.436 / (download) - annotate - [select for diffs], Thu Oct 24 06:23:35 2013 UTC (5 years, 11 months ago) by dholland
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.435: +3 -3 lines
Diff to previous 1.435 (colored) to selected 1.338 (colored)

pkglint is written in perl; it should depend on perl and not just some
perl modules. (fix USE_TOOLS to have perl:run instead of just perl)

Revision 1.435 / (download) - annotate - [select for diffs], Sat Oct 12 18:09:59 2013 UTC (6 years ago) by rillig
Branch: MAIN
Changes since 1.434: +2 -8 lines
Diff to previous 1.434 (colored) to selected 1.338 (colored)

- Added check for unused license files
- Improved allowed filenames for patches
- Added license for pkglint itself
- Cleaned up Makefile and TODO

Revision 1.434 / (download) - annotate - [select for diffs], Thu Sep 12 11:18:41 2013 UTC (6 years, 1 month ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.433: +5 -1 lines
Diff to previous 1.433 (colored) to selected 1.338 (colored)

Use CATMAN_SECTION_SUFFIX in packages which perform their own catman
page installation.

Revision 1.433 / (download) - annotate - [select for diffs], Thu Aug 15 17:57:44 2013 UTC (6 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.432: +2 -2 lines
Diff to previous 1.432 (colored) to selected 1.338 (colored)

Recognize apache24. Noted by Patrick Welche.
Bump version.

Revision 1.432 / (download) - annotate - [select for diffs], Mon Jul 15 08:09:34 2013 UTC (6 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.431: +2 -3 lines
Diff to previous 1.431 (colored) to selected 1.338 (colored)

Bump version for deprecated USE_GNU_READLINE.

Revision 1.431 / (download) - annotate - [select for diffs], Fri May 31 12:41:46 2013 UTC (6 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.430: +2 -1 lines
Diff to previous 1.430 (colored) to selected 1.338 (colored)

Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.

Revision 1.430 / (download) - annotate - [select for diffs], Sun May 26 18:09:23 2013 UTC (6 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.429: +2 -2 lines
Diff to previous 1.429 (colored) to selected 1.338 (colored)

rillig clarified:
"u" means "use at runtime", i.e. the variable may not be available
during preprocessing.
"t" wasn't used at all (my error -- wiz)

Bump version.

Revision 1.429 / (download) - annotate - [select for diffs], Mon May 6 02:53:24 2013 UTC (6 years, 5 months ago) by obache
Branch: MAIN
Changes since 1.428: +2 -2 lines
Diff to previous 1.428 (colored) to selected 1.338 (colored)

pkglint-4.129

* explain when desktop-file-utils is required.
* error missing {hicolor,gnome}-icon-theme.

Revision 1.428 / (download) - annotate - [select for diffs], Tue Mar 26 15:11:36 2013 UTC (6 years, 6 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.427: +2 -2 lines
Diff to previous 1.427 (colored) to selected 1.338 (colored)

Respond to wiz's code review:

* In test, match the "make makesum" warning more loosely.
* In test, find packages to run against in $PKGSRCDIR explicitly.
* Bump version.

This is the last commit in a set developed for my "Rehabilitating
pkglint" talk at pkgsrcCon 2013.

Reviewed-at-pkgsrcCon-and-approved-during-the-freeze-by: wiz

Revision 1.427 / (download) - annotate - [select for diffs], Tue Mar 26 15:10:31 2013 UTC (6 years, 6 months ago) by schmonz
Branch: MAIN
Changes since 1.426: +2 -1 lines
Diff to previous 1.426 (colored) to selected 1.338 (colored)

Bag-compare all vartypes_basictypes, not just two.

pkglint greps itself (really) to generate this list of types. Test
exhaustively for all types in the list today, so that the tested
code can become more civilized tomorrow. Adds a test-time dependency
on Test::Deep for cmp_bag().

Revision 1.426 / (download) - annotate - [select for diffs], Tue Mar 26 15:09:35 2013 UTC (6 years, 6 months ago) by schmonz
Branch: MAIN
Changes since 1.425: +8 -3 lines
Diff to previous 1.425 (colored) to selected 1.338 (colored)

Subst paths for both test and install.

In the configure stage, tell pkglint to find *.map in ${FILESDIR}.
That lets tests run even when pkglint isn't installed (which means
it also makes the tests less wrong when pkglint is installed!).

In the install stage, tell pkglint to find *.map under ${PREFIX},
as before (no functional change to the installed package).

Specify USE_TOOLS=perl to quell pkglint. :-)

Revision 1.425 / (download) - annotate - [select for diffs], Tue Mar 26 15:08:28 2013 UTC (6 years, 6 months ago) by schmonz
Branch: MAIN
Changes since 1.424: +10 -6 lines
Diff to previous 1.424 (colored) to selected 1.338 (colored)

Extract PkgLint::* to files, then inline them.

These bits of non-main functionality are distracting to the casual
reader, and also to your intrepid refactorer. Since we recently
added some characterization tests that run the pkglint executable
against real packages, we can safely extract bits of code to separate
files and prove nothing broke in the move.

Instead of installing the new Perl modules where pkglint can find
them at runtime, I've added a build step to inline them right back
where they used to be (same order and everything). This is a little
annoying, but less annoying than suddenly needing to deal with Perl
runtime paths just for these few tiny modules. Also, loading modules
at runtime would affect pkglint's performance, and I don't yet have
performance tests to prove that this would be fine (or not), so I
can't safely do it.

No functional change intended.

Revision 1.424 / (download) - annotate - [select for diffs], Sat Jan 19 22:51:11 2013 UTC (6 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.423: +8 -3 lines
Diff to previous 1.423 (colored) to selected 1.338 (colored)

Make it possible to easily write automated tests:

* minimally adapt pkglint(1) into a "modulino" for testability
* verify it still runs normally as a program
* create a test script with a few very simple test cases
* hook it up to 'make test'
* verify that the tests really fail if I go breaking the code under test

Meta-addresses PR pkg/46570. New BUILD_DEPENDS, but no functional
change, so no PKGREVISION bump. Approved by wiz@.

Revision 1.423 / (download) - annotate - [select for diffs], Tue Dec 11 14:57:59 2012 UTC (6 years, 10 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.422: +2 -2 lines
Diff to previous 1.422 (colored) to selected 1.338 (colored)

Update to 4.127

* Add sun-{jre,jdk}7 support

Revision 1.422 / (download) - annotate - [select for diffs], Tue Nov 20 11:41:29 2012 UTC (6 years, 10 months ago) by abs
Branch: MAIN
Changes since 1.421: +1 -2 lines
Diff to previous 1.421 (colored) to selected 1.338 (colored)

Add openjdk7 & openjdk7-bin to other JVM lists

Revision 1.421 / (download) - annotate - [select for diffs], Wed Oct 3 22:17:18 2012 UTC (7 years ago) by wiz
Branch: MAIN
Changes since 1.420: +2 -3 lines
Diff to previous 1.420 (colored) to selected 1.338 (colored)

Bump version for python25 removal changes.

Revision 1.420 / (download) - annotate - [select for diffs], Wed Oct 3 21:57:15 2012 UTC (7 years ago) by wiz
Branch: MAIN
Changes since 1.419: +2 -1 lines
Diff to previous 1.419 (colored) to selected 1.338 (colored)

Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.

Revision 1.419 / (download) - annotate - [select for diffs], Sun Sep 16 20:03:50 2012 UTC (7 years, 1 month ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.418: +2 -2 lines
Diff to previous 1.418 (colored) to selected 1.338 (colored)


Update documentation for {PYTHON,RUBY,PHP}_VERSION_REQD variables, move them
to "user variables" section.  pkglint is now aware of them.  Bump pkglint
version.  Oked by wiz@

Revision 1.418 / (download) - annotate - [select for diffs], Sat Sep 15 10:55:15 2012 UTC (7 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.417: +2 -2 lines
Diff to previous 1.417 (colored) to selected 1.338 (colored)

Do not warn about setting PKG_DESTDIR_SUPPORT any longer, it is now
set by default by the infrastructure.
Remove highly obsolete TODO entry about destdir.
Bump version.

Revision 1.417 / (download) - annotate - [select for diffs], Tue Sep 11 23:19:38 2012 UTC (7 years, 1 month ago) by asau
Branch: MAIN
Changes since 1.416: +1 -2 lines
Diff to previous 1.416 (colored) to selected 1.338 (colored)

"user-destdir" is default these days

Revision 1.416 / (download) - annotate - [select for diffs], Sun Aug 26 13:47:16 2012 UTC (7 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.415: +2 -2 lines
Diff to previous 1.415 (colored) to selected 1.338 (colored)

Improve expand_permission some more. Should fix the
Use of uninitialized value in concatenation (.) or string at /usr/pkg/bin/pkglint line 4777.
warnings.
Bump version.

Revision 1.415 / (download) - annotate - [select for diffs], Sun Aug 5 09:55:54 2012 UTC (7 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.414: +2 -2 lines
Diff to previous 1.414 (colored) to selected 1.338 (colored)

If I get to fix the bugs, I might as well OWN it.

Revision 1.414 / (download) - annotate - [select for diffs], Fri Aug 3 09:07:21 2012 UTC (7 years, 2 months ago) by asau
Branch: MAIN
Changes since 1.413: +2 -2 lines
Diff to previous 1.413 (colored) to selected 1.338 (colored)

Recognize make syntax (make variable) in one more place.

Revision 1.413 / (download) - annotate - [select for diffs], Wed Aug 1 22:19:00 2012 UTC (7 years, 2 months ago) by asau
Branch: MAIN
Changes since 1.412: +2 -2 lines
Diff to previous 1.412 (colored) to selected 1.338 (colored)

Don't enforce purely aesthetic changes.

Revision 1.412 / (download) - annotate - [select for diffs], Sun Jul 22 01:01:40 2012 UTC (7 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.411: +2 -2 lines
Diff to previous 1.411 (colored) to selected 1.338 (colored)

Recognize emacs24nox; bump version.

Revision 1.411 / (download) - annotate - [select for diffs], Tue Jul 17 19:25:21 2012 UTC (7 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.410: +2 -2 lines
Diff to previous 1.410 (colored) to selected 1.338 (colored)

Really bump version for comment-missing-error change.

Revision 1.410 / (download) - annotate - [select for diffs], Sun Jul 15 11:08:18 2012 UTC (7 years, 3 months ago) by marino
Branch: MAIN
Changes since 1.409: +2 -2 lines
Diff to previous 1.409 (colored) to selected 1.338 (colored)

pkgtools/pkglint: Add "ada" as valid value for USE_LANGUAGES

The mk/compiler/gcc.mk was recently updated to handle USE_LANGUAGES+= ada
which requires the use of the lang/gcc-aux compiler.

Revision 1.409 / (download) - annotate - [select for diffs], Sat Jul 14 20:32:37 2012 UTC (7 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.408: +2 -2 lines
Diff to previous 1.408 (colored) to selected 1.338 (colored)

Update to 4.117:
Recognize another possible permission.
Reported by Bug Hunting.

Revision 1.408 / (download) - annotate - [select for diffs], Tue Jul 10 10:53:27 2012 UTC (7 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.407: +2 -2 lines
Diff to previous 1.407 (colored) to selected 1.338 (colored)

Two more bugfixes, version++

Revision 1.407 / (download) - annotate - [select for diffs], Tue Jul 10 10:27:34 2012 UTC (7 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.406: +2 -2 lines
Diff to previous 1.406 (colored) to selected 1.338 (colored)

Bump version again for more fixes.

Revision 1.406 / (download) - annotate - [select for diffs], Tue Jul 10 09:39:26 2012 UTC (7 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.405: +2 -2 lines
Diff to previous 1.405 (colored) to selected 1.338 (colored)

Do not parse Makefiles in files/ or patches/
Addresses another part of PR 46570 by David Holland.
Bump version.

Revision 1.405 / (download) - annotate - [select for diffs], Mon Jul 9 21:58:33 2012 UTC (7 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.404: +2 -2 lines
Diff to previous 1.404 (colored) to selected 1.338 (colored)

Bump version again for more games fixes.

Revision 1.404 / (download) - annotate - [select for diffs], Mon Jul 9 18:14:35 2012 UTC (7 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.403: +2 -2 lines
Diff to previous 1.403 (colored) to selected 1.338 (colored)

Allow "." in package names (needed e.g. for gst-plugins0.10-base).
Check package patterns in DEPENDS.
Requested by diro in PR 46570.
Bump version.

Revision 1.403 / (download) - annotate - [select for diffs], Mon Jul 9 17:37:48 2012 UTC (7 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.402: +3 -2 lines
Diff to previous 1.402 (colored) to selected 1.338 (colored)

Update to 4.111.

Revision 1.402 / (download) - annotate - [select for diffs], Fri Jul 6 09:29:00 2012 UTC (7 years, 3 months ago) by obache
Branch: MAIN
Changes since 1.401: +2 -2 lines
Diff to previous 1.401 (colored) to selected 1.338 (colored)

adjust to current default php/python srcdir.

Revision 1.401 / (download) - annotate - [select for diffs], Sat Jun 2 12:24:55 2012 UTC (7 years, 4 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.400: +2 -2 lines
Diff to previous 1.400 (colored) to selected 1.338 (colored)


Do not treat variable GNU_PROGRAM_PREFIX as a special one.
Dump version.

Revision 1.400 / (download) - annotate - [select for diffs], Sun Apr 8 04:42:39 2012 UTC (7 years, 6 months ago) by sbd
Branch: MAIN
Changes since 1.399: +2 -2 lines
Diff to previous 1.399 (colored) to selected 1.338 (colored)

Update the pattern used for checking option name to allow the plus (+)
character (e.g. as in "c++")
Bump version number.

Revision 1.399 / (download) - annotate - [select for diffs], Sat Mar 10 11:00:24 2012 UTC (7 years, 7 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base
Branch point for: pkgsrc-2012Q1
Changes since 1.398: +2 -2 lines
Diff to previous 1.398 (colored) to selected 1.338 (colored)


Add missing clang, hp and pcc to ONLY_FOR_COMPILER.
Dump package version.

Revision 1.398 / (download) - annotate - [select for diffs], Thu Mar 1 22:42:31 2012 UTC (7 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.397: +2 -2 lines
Diff to previous 1.397 (colored) to selected 1.338 (colored)

Reset maintainer, he resigned.

Revision 1.397 / (download) - annotate - [select for diffs], Fri Jan 6 01:26:44 2012 UTC (7 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.396: +2 -2 lines
Diff to previous 1.396 (colored) to selected 1.338 (colored)

Add openjdk7* to recognized java versions. From B.ICT A.P. deBROUWER Jr.
in PR 45789.
Bump version.

Revision 1.396 / (download) - annotate - [select for diffs], Mon Nov 28 16:50:35 2011 UTC (7 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.395: +2 -2 lines
Diff to previous 1.395 (colored) to selected 1.338 (colored)

Bump version for NOT_FOR_COMPILER improvement.

Revision 1.395 / (download) - annotate - [select for diffs], Sat Nov 26 18:38:05 2011 UTC (7 years, 10 months ago) by ryoon
Branch: MAIN
Changes since 1.394: +2 -2 lines
Diff to previous 1.394 (colored) to selected 1.338 (colored)

Update to 4.104

* Allow value "6" and "7" in USE_JAVA2.

Revision 1.394 / (download) - annotate - [select for diffs], Tue Aug 16 23:13:34 2011 UTC (8 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.393: +2 -2 lines
Diff to previous 1.393 (colored) to selected 1.338 (colored)

Avoid use of qw as parentheses. Silences a warning with perl-5.14.
Bump version to 4.103.

Revision 1.393 / (download) - annotate - [select for diffs], Mon Aug 1 11:58:14 2011 UTC (8 years, 2 months ago) by tron
Branch: MAIN
Changes since 1.392: +2 -2 lines
Diff to previous 1.392 (colored) to selected 1.338 (colored)

Update "pkglint" package to version 4.102. Changes since version 4.101:
Allow "@" as a character for directories in "${WRKSRC}". This stop bogus
warnings for the "phpmyadmin" package which contains directory names
like "locale/sr@latin/LC_MESSAGES".

Change suggested by Thomas Klausner in private e-mail.

Revision 1.392 / (download) - annotate - [select for diffs], Sat Jun 18 10:45:32 2011 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.391: +2 -2 lines
Diff to previous 1.391 (colored) to selected 1.338 (colored)

Recognize PY_PATCHLIST and add py27 and py31 to python versions.
Welcome to pkglint-4.101!

Revision 1.391 / (download) - annotate - [select for diffs], Wed Jun 15 22:22:28 2011 UTC (8 years, 4 months ago) by cheusov
Branch: MAIN
Changes since 1.390: +3 -2 lines
Diff to previous 1.390 (colored) to selected 1.338 (colored)


Support for variable SUPERSEDES
Bump version

Revision 1.390 / (download) - annotate - [select for diffs], Thu May 26 20:31:47 2011 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.389: +2 -2 lines
Diff to previous 1.389 (colored) to selected 1.338 (colored)

Warn that one should NOT use jpeg, giflib, or libungif directly, but go through
mk/{jpeg,giflib}.buildlink3.mk instead. Bump version.

Revision 1.389 / (download) - annotate - [select for diffs], Mon May 23 10:59:36 2011 UTC (8 years, 4 months ago) by cheusov
Branch: MAIN
Changes since 1.388: +2 -2 lines
Diff to previous 1.388 (colored) to selected 1.338 (colored)


fix. pkglint doesn't treat files ending with .mk under patches/ directory
   as Makefiles. Version bumped. Oked by wiz@

Revision 1.388 / (download) - annotate - [select for diffs], Tue Feb 1 09:08:01 2011 UTC (8 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.387: +2 -2 lines
Diff to previous 1.387 (colored) to selected 1.338 (colored)

Make a missing LICENSE an error.

Be more permissive wrt what characters are allowed in patch file names.

Bump version to 4.97.

Revision 1.387 / (download) - annotate - [select for diffs], Sun Jan 23 08:30:05 2011 UTC (8 years, 8 months ago) by obache
Branch: MAIN
Changes since 1.386: +2 -2 lines
Diff to previous 1.386 (colored) to selected 1.338 (colored)

Allow emacs24, emacs23 and emacs23nox to EMACS_VERSIONS_ACCEPTED and
EMACS_VERSION_REQD.

Revision 1.386 / (download) - annotate - [select for diffs], Mon Jan 17 09:13:59 2011 UTC (8 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.385: +2 -2 lines
Diff to previous 1.385 (colored) to selected 1.338 (colored)

Allow fortran77 in USE_LANGUAGES.

Revision 1.385 / (download) - annotate - [select for diffs], Tue Oct 26 22:32:39 2010 UTC (8 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.384: +2 -2 lines
Diff to previous 1.384 (colored) to selected 1.338 (colored)

Put LICENSE into MAINTAINER section, where other documentation puts it.
Bump version.

Revision 1.384 / (download) - annotate - [select for diffs], Thu Mar 11 20:54:19 2010 UTC (9 years, 7 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.383: +5 -2 lines
Diff to previous 1.383 (colored) to selected 1.338 (colored)

Updated pkglint to 4.93.

Changes since 4.92:
- Changes for the changing pkgsrc infrastructure
- Added basic support for LICENSE expressions

Revision 1.383 / (download) - annotate - [select for diffs], Sat Jan 16 23:42:32 2010 UTC (9 years, 9 months ago) by jnemeth
Branch: MAIN
Changes since 1.382: +2 -2 lines
Diff to previous 1.382 (colored) to selected 1.338 (colored)

Bump version simply because it hasn't been bumped for some time and many
changes have been made in the meantime.  These way people will know that
there are updates that don't give bogus warnings.

Revision 1.382 / (download) - annotate - [select for diffs], Tue Sep 15 08:16:24 2009 UTC (10 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.381: +1 -2 lines
Diff to previous 1.381 (colored) to selected 1.338 (colored)

Don't prevent others from increasing the version number, since I don't
follow recent pkgsrc developments as carefully as necessary.

Revision 1.381 / (download) - annotate - [select for diffs], Thu Apr 9 00:48:13 2009 UTC (10 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.380: +1 -2 lines
Diff to previous 1.380 (colored) to selected 1.338 (colored)

Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.

Revision 1.380 / (download) - annotate - [select for diffs], Sun Mar 22 05:47:25 2009 UTC (10 years, 6 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.379: +2 -2 lines
Diff to previous 1.379 (colored) to selected 1.338 (colored)

Updated pkglint to 4.91.

Important changes since 4.90:
- Fixed some issues with "package has been downgraded" warnings.
- The doc/CHANGES-* files can be checked individually now.
- Emit a warning if a package does not define PKG_DESTDIR_SUPPORT.
- In patch files, warnings about absolute pathnames, CPP macros and the
  like are only emitted if the line starts with a "+". If the -Wextra
  option is given, the context lines (starting with a " ") are also
  checked.
- Added support for the new buildlink3.mk format.

Revision 1.379 / (download) - annotate - [select for diffs], Tue Nov 18 19:43:32 2008 UTC (10 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.378: +2 -2 lines
Diff to previous 1.378 (colored) to selected 1.338 (colored)

Updated pkglint to 4.90.

Changes since 4.89:
- Packages are checked whether they are being downgraded.
- Several small fixes and improvements.

Revision 1.378 / (download) - annotate - [select for diffs], Mon Oct 20 10:13:12 2008 UTC (10 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.377: +2 -2 lines
Diff to previous 1.377 (colored) to selected 1.338 (colored)

Updated pkglint to 4.89.

Changes since 4.88:
- Fixed the remaining PLIST_VARS warnings.
- Adjusted pkglint to work together with Perl 5.10.0.

Revision 1.377 / (download) - annotate - [select for diffs], Thu Oct 9 16:19:23 2008 UTC (11 years ago) by rillig
Branch: MAIN
Changes since 1.376: +2 -2 lines
Diff to previous 1.376 (colored) to selected 1.338 (colored)

Updated pkglint to 4.88.

Changes since 4.87:
- Added support for PLIST_VARS and PLIST.*, which had been added in April.
  That's a long time ago ...

Revision 1.376 / (download) - annotate - [select for diffs], Sat Aug 30 06:54:10 2008 UTC (11 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.375: +3 -3 lines
Diff to previous 1.375 (colored) to selected 1.338 (colored)

Fixed two pkglint warnings.

Revision 1.375 / (download) - annotate - [select for diffs], Fri Jul 25 14:15:44 2008 UTC (11 years, 2 months ago) by dillo
Branch: MAIN
Changes since 1.374: +2 -2 lines
Diff to previous 1.374 (colored) to selected 1.338 (colored)

Update to 4.87:
- Add explanation for "Unquoted shell variable" warning.

Patch by rillig.

Revision 1.374 / (download) - annotate - [select for diffs], Wed May 21 20:16:19 2008 UTC (11 years, 4 months ago) by abs
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper-base, cwrapper
Changes since 1.373: +2 -2 lines
Diff to previous 1.373 (colored) to selected 1.338 (colored)

update pkglint to 4.86 - necessary bu not sufficient to handle OWNER in
Makefiles. As a first pass make MAINTAINER optional and add an optional
OWNER directly after it in the same section. This will pass valid
OWNER/MAINTAINER combinations but not reject some invalid ones.
Full fix (hopefully) coming soon...

Revision 1.373 / (download) - annotate - [select for diffs], Thu Mar 6 08:54:12 2008 UTC (11 years, 7 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkglint-current
Changes since 1.372: +2 -2 lines
Diff to previous 1.372 (colored) to selected 1.338 (colored)

Updated pkglint to 4.85.

Changes since 4.84:
- Fixed the splitting of PKGNAME into PKGBASE and PKGVERSION.
- Added a warning about usage of LOCALBASE in packages, provided by jlam.

Revision 1.372 / (download) - annotate - [select for diffs], Thu Feb 21 12:24:43 2008 UTC (11 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.371: +2 -2 lines
Diff to previous 1.371 (colored) to selected 1.338 (colored)

Updated pkglint to 4.84.

Changes since 4.82:
- Whenever a Makefile.common is included by another file, that file should
  be mentioned in the Makefile.common.
- Added spell checker for .if directives.
- Added warnings for uncommented patches (only for -Wstyle).
- Added spell checker for invalid macro names, like __NetBSD_Version.
- Deprecated INSTALLATION_DIRS_FROM_PLIST in favor of AUTO_MKDIRS.
- Many more small things.

Revision 1.371 / (download) - annotate - [select for diffs], Thu Feb 21 12:17:16 2008 UTC (11 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.370: +2 -1 lines
Diff to previous 1.370 (colored) to selected 1.338 (colored)

I don't want others to update the pkglint version number.

Revision 1.370 / (download) - annotate - [select for diffs], Wed Feb 13 20:14:49 2008 UTC (11 years, 8 months ago) by reed
Branch: MAIN
Changes since 1.369: +2 -2 lines
Diff to previous 1.369 (colored) to selected 1.338 (colored)

Add to explanation for empty PLIST: not needed for meta packages.

Revision 1.369 / (download) - annotate - [select for diffs], Fri Jan 4 15:59:47 2008 UTC (11 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.368: +6 -12 lines
Diff to previous 1.368 (colored) to selected 1.338 (colored)

Updated pkglint to 4.82.

Changes since 4.81:
- Moved lintpkgsrc to its own package.
- Less internal errors when parsing shell code.
- White-space checks in PLIST.

Revision 1.368 / (download) - annotate - [select for diffs], Sat Dec 22 11:21:47 2007 UTC (11 years, 9 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.367: +2 -2 lines
Diff to previous 1.367 (colored) to selected 1.338 (colored)

Updated pkglint to 4.81.

Changes since 4.80:
- Stricter CVS Id check
- REQD_FILES_PERMS, META_PACKAGE, PKGSRC_COMPILER
- Warning if info pages are installed into share/info.

Revision 1.367 / (download) - annotate - [select for diffs], Fri Dec 7 11:47:52 2007 UTC (11 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.366: +3 -3 lines
Diff to previous 1.366 (colored) to selected 1.338 (colored)

Updated pkglint to 4.80.

Important changes since 4.79:
- Fixed some internal errors.
- Adjusted pkglint to changes in the pkgsrc infrastructure: SUBST_VARS.*,
  PKG_USERS_VARS, PKG_GROUPS_VARS.
- Improved the parser for shell code.
- Cleaned up the handling of the :Q operator, so that pkglint warns about
  it places where it is not required.
- ${RUN} has deprecated ${_PKG_SILENT}${_PKG_DEBUG}.

Revision 1.366 / (download) - annotate - [select for diffs], Tue Nov 20 21:46:20 2007 UTC (11 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.365: +1 -3 lines
Diff to previous 1.365 (colored) to selected 1.338 (colored)

Removed USE_TOOLS+=perl:run, since Perl is not used as a tool, only as a
dependency which is included automatically by the various Perl modules.

I wonder why the PERL5 variable is still defined without perl being in
USE_TOOLS.

Revision 1.365 / (download) - annotate - [select for diffs], Sun Oct 7 12:59:14 2007 UTC (12 years ago) by kano
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.364: +2 -2 lines
Diff to previous 1.364 (colored) to selected 1.338 (colored)

fix obsolete URLs for www.NetBSD.org

close PR pkg/37071
reviewd by xtraeme@

Revision 1.364 / (download) - annotate - [select for diffs], Sat Sep 29 13:39:22 2007 UTC (12 years ago) by rillig
Branch: MAIN
Changes since 1.363: +4 -2 lines
Diff to previous 1.363 (colored) to selected 1.338 (colored)

Honour the setting of MANINSTALL.

Revision 1.363 / (download) - annotate - [select for diffs], Thu Aug 23 09:47:37 2007 UTC (12 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.362: +2 -2 lines
Diff to previous 1.362 (colored) to selected 1.338 (colored)

xorg-dirs is gone. Bump to 4.79.

Revision 1.362 / (download) - annotate - [select for diffs], Thu Jul 26 17:07:59 2007 UTC (12 years, 2 months ago) by abs
Branch: MAIN
Changes since 1.361: +2 -2 lines
Diff to previous 1.361 (colored) to selected 1.338 (colored)

Update pkglint to 4.78:
- lintpkgsrc.pl - less brokenly parse the contents of make conditionals
  like "if empty(FOO)". Specifically handle the case where FOO
  contains a :M modifier or a variable expansion.
  Fixes 'lintpkgsrc -r' incorrectly deleting ruby18-base-1.8.6nb1 each time
  Mmm... lintpkgsrc.pl needs to die

Revision 1.361 / (download) - annotate - [select for diffs], Tue Apr 24 15:32:12 2007 UTC (12 years, 5 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.360: +2 -2 lines
Diff to previous 1.360 (colored) to selected 1.338 (colored)

Update to 4.77. (hi Roland!)
Teach pkglint about OSF1 and HPUX.

Revision 1.360 / (download) - annotate - [select for diffs], Sun Apr 15 23:02:04 2007 UTC (12 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.359: +3 -3 lines
Diff to previous 1.359 (colored) to selected 1.338 (colored)

Before using any variables in .if conditionaly, bsd.prefs.mk should be
included. In the special case of the BATCH variable, this does not make
a difference, since it is set via an environment variable.

Revision 1.359 / (download) - annotate - [select for diffs], Fri Mar 9 03:02:35 2007 UTC (12 years, 7 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.358: +2 -2 lines
Diff to previous 1.358 (colored) to selected 1.338 (colored)

INSTALLATION_DIRS_FROM_PLIST is more comfortable than specifying
INSTALLATION_DIRS explicitly. It also removes some redundancy.

Revision 1.358 / (download) - annotate - [select for diffs], Tue Feb 20 12:38:32 2007 UTC (12 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.357: +2 -2 lines
Diff to previous 1.357 (colored) to selected 1.338 (colored)

pkglint-4.76; teach emacs22{,nox}.

Revision 1.357 / (download) - annotate - [select for diffs], Tue Jan 30 18:41:26 2007 UTC (12 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.356: +3 -2 lines
Diff to previous 1.356 (colored) to selected 1.338 (colored)

Oops, I forgot to add the dependency to p5-enum.

That makes pkglint go to version 4.75.

Revision 1.356 / (download) - annotate - [select for diffs], Sat Jan 6 13:31:26 2007 UTC (12 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.355: +6 -3 lines
Diff to previous 1.355 (colored) to selected 1.338 (colored)

No substitutions are needed for the pkglint manual page.

Re-added a post-install selftest to detect syntax errors in pkglint.pl.

Revision 1.355 / (download) - annotate - [select for diffs], Wed Dec 27 15:52:16 2006 UTC (12 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.354: +2 -2 lines
Diff to previous 1.354 (colored) to selected 1.338 (colored)

PostgreSQL-7.4 support is about to be removed.

Revision 1.354 / (download) - annotate - [select for diffs], Fri Dec 15 17:38:40 2006 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.353: +11 -13 lines
Diff to previous 1.353 (colored) to selected 1.338 (colored)

DESTDIR support.

Revision 1.353 / (download) - annotate - [select for diffs], Wed Nov 1 09:14:45 2006 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.352: +2 -2 lines
Diff to previous 1.352 (colored) to selected 1.338 (colored)

Add PKG_DESTDIR_SUPPORT to variable list. Bump to 4.73.

Revision 1.352 / (download) - annotate - [select for diffs], Mon Oct 23 09:19:31 2006 UTC (12 years, 11 months ago) by abs
Branch: MAIN
Changes since 1.351: +2 -2 lines
Diff to previous 1.351 (colored) to selected 1.338 (colored)

Update to 4.72: check for .tbz as well as .tgz

Revision 1.351 / (download) - annotate - [select for diffs], Mon Oct 2 19:35:43 2006 UTC (13 years ago) by abs
Branch: MAIN
Changes since 1.350: +2 -2 lines
Diff to previous 1.350 (colored) to selected 1.338 (colored)

Update pkgtools/pkglint to 4.71 - lintpkgsrc changes:
  - Handle 'badly named' patch files
  - In the event of a distint checksum mismatch, report the affected file
    as well as package
  - If we need to call out to make to parse a makefile and it returns any
    errors, ensure we prefix the error output with the Makefile path
  - run through perltidy. Ugly, but consistent

Revision 1.350 / (download) - annotate - [select for diffs], Wed Sep 27 15:10:45 2006 UTC (13 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.349: +2 -2 lines
Diff to previous 1.349 (colored) to selected 1.338 (colored)

De-recognise XFree86. Update to 4.70.

Revision 1.349 / (download) - annotate - [select for diffs], Sat Sep 16 15:43:01 2006 UTC (13 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.348: +2 -2 lines
Diff to previous 1.348 (colored) to selected 1.338 (colored)

Updated pkglint to 4.69.

Changes since 4.68:
- Improved the checks for BUILD_DEFS.
- Improved the shell word parser.
- Improved the heuristics for detecting absolute pathnames.
- The :M* operator is only required with GNU configure scripts.

Committed during the freeze to have a unique version number that includes
the features from the last days.

Revision 1.348 / (download) - annotate - [select for diffs], Fri Aug 4 18:41:11 2006 UTC (13 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.347: +2 -2 lines
Diff to previous 1.347 (colored) to selected 1.338 (colored)

Updated pkglint to 4.68.

Changes since 4.67:
- Adjusted to the ongoing changes in the pkgsrc infrastructure.
- Many small improvements in the makevars.map file.
- Stricter checking of dependency patterns, to catch foo-*.
- Small improvement on the use of stack space due to complicated regular
  expressions.
- Many more absolute pathnames are found in patch files, no matter which
  type of file is patched.
- All user-defined variables that are used should be added to BUILD_DEFS.
- All packages that set GNU_CONFIGURE are assumed to need a C compiler.
- Instead of ${TOOL}, tool may be used directly, since the tool wrappers
  are installed very early in the build process.
- Removed the --debug option.
... and many more.

Revision 1.347 / (download) - annotate - [select for diffs], Sat Jul 15 07:02:11 2006 UTC (13 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.346: +2 -2 lines
Diff to previous 1.346 (colored) to selected 1.338 (colored)

Updated pkglint to 4.67.

Changes since 4.66:
- Fixed the stack overflow in Perl in long variable assignment lines.
- Improved the SUBST check.
- For all files in bin/ and sbin/, pkglint now complains if the package
  does not have a manual page, too. (Only with -Wextra)
- Lists of pathnames may be used in .for loops, since they are _assumed_
  to not contain any additional white-space.
- Some more small improvements.

Revision 1.346 / (download) - annotate - [select for diffs], Thu Jul 6 21:14:19 2006 UTC (13 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.345: +2 -2 lines
Diff to previous 1.345 (colored) to selected 1.338 (colored)

In URLs, the "NetBSD" should be capitalized as such, i.e. "NetBSD.org",
not "netbsd.org".

Revision 1.345 / (download) - annotate - [select for diffs], Sun Jul 2 09:47:17 2006 UTC (13 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.344: +2 -2 lines
Diff to previous 1.344 (colored) to selected 1.338 (colored)

Updated pkglint to 4.66.

This change includes all the things I thought of during the freeze of
2006Q2.

Some variables have disappeared from pkgsrc without notice. Marked them
deprecated to help the package authors at least a bit.

Renamed some ACL abbreviations in makevars.map and adjusted the variable
definitions.

Added the command line options -Dtrace, -Dunchecked and -Dunused.

Some variables may contain unexpected white-space and therefore should
not be used in .for loops.

The -Dmisc option replaces the --verbose option (and the log_info
subroutine), which does not exist any longer. This eliminates all
instances of "OK:" from the output, which I didn't like from the
beginning. The -Dmisc option also takes over many warnings that have
been issued by --debug before.

Improved the check for absolute pathnames. Especially, everything that
follows ${DESTDIR} or $(DESTDIR) in a Makefile is considered an absolute
pathname. This reveals many wrong uses of DESTDIR (as defined by the GNU
coding standards), for example $(DESTDIR)/$(prefix), which should be
$(DESTDIR)$(prefix) instead.

Almost every use of a make(1) variable is checked for spelling mistakes.
Before, only the definitions of variables have been checked.

Restricted the use of variables to specific files, which are defined in
makevars.map. This catches especially buildlink3.mk files with
unexpected side effects.

In shell commands, neither "echo" nor "echo -n" or "${ECHO} -n" should
be used. Since the INSTALL_*_DIR commands can only handle one directory
at a time, suggest to use INSTALLATION_DIRS instead.

Greatly improved the checks for dependency specifications, especially to
find foo-*, which should rather be foo-[0-9]*.

Fixed the incorrect handling of LICENSE_FILE (now using $line->text
instead of $line).

Improved the wording of the "plural names" warnings, so that for known
variables it is "The += operator should only be used with lists." now.

In buildlink3.mk files the uppercase and lowercase names of the package
should correspond with the package name. This catches many
copy-and-paste mistakes. Fixed many null pointer exceptions as well. In
addition, every buildlink3.mk file needs a definition of
BUILDLINK_API_DEPENDS.

In patch files, absolute pathnames and unportable macro names are
checked not only in added lines, but also in the context lines.

In the pkgsrc root directory and the category directories, the Makefiles
are checked like every other Makefile, too.

Fixed the place where the global variables for the package context are
defined and later undefined.

Variables that are mentioned in EVAL_PREFIX may be used in the current
file and are not flagged as "used but not defined".

When parsing shell words in Makefiles, recognize $<, $@, $^ and $/.
(The latter is used extensively by openoffice to represent a directory
separator.)

Fixed some minor bugs:
* $makevar had been defined unintentionally by using the -> operator.

Revision 1.344 / (download) - annotate - [select for diffs], Thu Jun 22 07:53:09 2006 UTC (13 years, 3 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.343: +2 -2 lines
Diff to previous 1.343 (colored) to selected 1.338 (colored)

Updated pkglint to 4.65.

Changes since 4.64:
- Many refinements of quoting checks and variable type definitions.
- Improved the wording of diagnostics and added some explanations.
- Adjusted pkglint to the many recent changes in the infrastructure part.
- Improved detection of absolute pathnames.

Updated during the freeze because the version number has not changed for
two weeks, but many features were added. Therefore the old version
number was not reliable for determining the real functionality of
pkglint exactly.

Revision 1.343 / (download) - annotate - [select for diffs], Fri Jun 9 10:27:09 2006 UTC (13 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.342: +2 -2 lines
Diff to previous 1.342 (colored) to selected 1.338 (colored)

I prefer #none over #empty in USE_LANGUAGES.

Revision 1.342 / (download) - annotate - [select for diffs], Tue Jun 6 05:36:40 2006 UTC (13 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.341: +2 -2 lines
Diff to previous 1.341 (colored) to selected 1.338 (colored)

Updated pkglint to 4.64.

Changes since 4.63:

- Many diagnostics for the :Q operator have been wrong. They are currently
  left out, but will be re-added later. In the mean time, no diagnostics
  are better than wrong ones.
- Made defining the permissions for variables easier by providing a way to
  define "permission constants".

Revision 1.341 / (download) - annotate - [select for diffs], Sat Jun 3 06:09:40 2006 UTC (13 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.340: +2 -2 lines
Diff to previous 1.340 (colored) to selected 1.338 (colored)

Updated pkglint to 4.63.

Changes since 4.62:
- Improved checking of variable permissions.
- Improved detection of unused variables, for spell checking.
- Added warnings for variables that are used at load time but should not.
- Much code cleanup.

Revision 1.340 / (download) - annotate - [select for diffs], Tue May 16 22:18:59 2006 UTC (13 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.339: +2 -2 lines
Diff to previous 1.339 (colored) to selected 1.338 (colored)

Updated pkglint to 4.62.

Changes since 4.61:
- Bug fixes.

Revision 1.339 / (download) - annotate - [select for diffs], Sat May 13 11:58:25 2006 UTC (13 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.338: +2 -2 lines
Diff to previous 1.338 (colored)

Updated pkglint to 4.61.

Changes since 4.60:
- Added ACL-based checks that restrict the files which may define
  variables.
- Many, many small improvements.

Revision 1.338 / (download) - annotate - [selected], Wed May 10 15:42:03 2006 UTC (13 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.337: +2 -2 lines
Diff to previous 1.337 (colored)

clean up after doing a quick-install.

Revision 1.337 / (download) - annotate - [select for diffs], Fri Apr 21 10:37:51 2006 UTC (13 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.336: +2 -2 lines
Diff to previous 1.336 (colored) to selected 1.338 (colored)

Updated pkglint to 4.60.

Changes since 4.59:
- For many variables the :Q operator is not needed (by definition), for
  example some pathnames, user names, group names.
- Improved the diagnostics for planned package updates.
- Various catch-ups to recent changes in the infrastructure, among them
  BUILDLINK_ABI_DEPENDS and gettext.mk.
- When the PLIST contains a libtool archive, the *.a and *.so files don't
  have to be mentioned explicitly.

Revision 1.336 / (download) - annotate - [select for diffs], Wed Apr 12 20:25:06 2006 UTC (13 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.335: +18 -18 lines
Diff to previous 1.335 (colored) to selected 1.338 (colored)

Removed superfluous :Q operators.

Revision 1.335 / (download) - annotate - [select for diffs], Tue Mar 14 14:24:14 2006 UTC (13 years, 7 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.334: +2 -2 lines
Diff to previous 1.334 (colored) to selected 1.338 (colored)

Updated pkglint to 4.59.

Changes since 4.58:
- Improved checking of patch files.
- Adjusted the variable names to the recent pkgsrc changes.
- Print a note if the pkglint version does not match the one from the
  checked pkgsrc tree.

Revision 1.334 / (download) - annotate - [select for diffs], Wed Mar 1 22:19:13 2006 UTC (13 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.333: +3 -2 lines
Diff to previous 1.333 (colored) to selected 1.338 (colored)

Updated pkglint to 4.58.

Changes since 4.57:
- New parser for patch files.
- New command line options -Wplist-depr and -Wstyle.
- Variable assignments are no longer allowed in variables that should only
  contain identifiers.
- builtin.mk files must not be included directly.
- Better checks for sed commands.
- Some commands like ktrace should never appear in Makefiles.
- The package version is compared to the requested update in file doc/TODO.

Revision 1.333 / (download) - annotate - [select for diffs], Sat Feb 25 15:56:24 2006 UTC (13 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.332: +8 -8 lines
Diff to previous 1.332 (colored) to selected 1.338 (colored)

Fixed pkglint warnings.

Revision 1.332 / (download) - annotate - [select for diffs], Sat Feb 25 09:45:38 2006 UTC (13 years, 7 months ago) by adam
Branch: MAIN
Changes since 1.331: +8 -8 lines
Diff to previous 1.331 (colored) to selected 1.338 (colored)

Added sed quotes

Revision 1.331 / (download) - annotate - [select for diffs], Fri Feb 24 21:59:49 2006 UTC (13 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.330: +10 -10 lines
Diff to previous 1.330 (colored) to selected 1.338 (colored)

Fixed pkglint warnings.

Revision 1.330 / (download) - annotate - [select for diffs], Fri Feb 24 20:36:29 2006 UTC (13 years, 7 months ago) by reed
Branch: MAIN
Changes since 1.329: +6 -6 lines
Diff to previous 1.329 (colored) to selected 1.338 (colored)

PKGMANDIR instead of "man".

(When do I use PKGMANDIR:Q or no :Q??)

Revision 1.329 / (download) - annotate - [select for diffs], Sat Feb 18 12:24:22 2006 UTC (13 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.328: +2 -2 lines
Diff to previous 1.328 (colored) to selected 1.338 (colored)

Updated pkglint to 4.57.

Changes since 4.56:
- Added warnings for variables that are defined, but not used. This is a
  simple spell-checker.
- Variables that appear as a single shell word should be quoted unless they
  have the type "List of something".
- Many small enhancements.

Revision 1.328 / (download) - annotate - [select for diffs], Mon Feb 6 10:11:34 2006 UTC (13 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.327: +2 -2 lines
Diff to previous 1.327 (colored) to selected 1.338 (colored)

Updated pkglint to 4.56.

Changes since 4.55:
- Avoided false positive warnings about bsd.prefs.mk being required before
  using buildlink3.mk files.
- Restricted the files that are checked for absolute pathnames in patch
  files.
- Some tools that are often used as ${TOOLNAME} need to be explicitly
  added to the USE_TOOLS variable. When complaning about their direct
  use, add a proper advice.
- Readded all the deprecated variables. The warnings will have to stay
  longer than just three months.

Revision 1.327 / (download) - annotate - [select for diffs], Mon Jan 30 09:35:13 2006 UTC (13 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.326: +2 -2 lines
Diff to previous 1.326 (colored) to selected 1.338 (colored)

Updated pkglint to 4.55.

Changes since 4.54:
- -Wvarorder works now as expected.
- distinfo files are checked more strictly.
- Reduced the number of false positives.
- Make(1) variables of the form $(...) are detected properly.

Revision 1.326 / (download) - annotate - [select for diffs], Thu Jan 26 16:20:45 2006 UTC (13 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.325: +2 -2 lines
Diff to previous 1.325 (colored) to selected 1.338 (colored)

Even in quick-install mode, the self test should be run.

Revision 1.325 / (download) - annotate - [select for diffs], Wed Jan 25 22:04:26 2006 UTC (13 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.324: +8 -1 lines
Diff to previous 1.324 (colored) to selected 1.338 (colored)

Added a ``quick-install'' target that allows me to install pkglint in three
seconds instead of 40.

Revision 1.324 / (download) - annotate - [select for diffs], Fri Jan 20 13:46:04 2006 UTC (13 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.323: +2 -2 lines
Diff to previous 1.323 (colored) to selected 1.338 (colored)

Updated pkglint to 4.54.

Changes since 4.53:
- Added about 50 new variables to be type-checked.
- For unknown variables, the type is guessed from the variable name.
- In patch files that patch Makefiles, added lines are checked for
  absolute pathnames.
- Replaced the -Wdebug option with --debug, so that the debugging warnings
  don't show up when using -Wall.
- Many minor improvements.

Revision 1.323 / (download) - annotate - [select for diffs], Thu Jan 12 14:05:50 2006 UTC (13 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.322: +2 -2 lines
Diff to previous 1.322 (colored) to selected 1.338 (colored)

Updated pkglint to 4.53.

Changes since 4.52:
- New warning categories "debug", "space", "quoting" that can be selected
  independently.
- Improved the parsers for shell commands and shell words.
- Added warning for using $(...) in shell programs, as the Solaris /bin/sh
  doesn't support it.
- Added some warnings about quoting.
- Some other minor changes.

Revision 1.322 / (download) - annotate - [select for diffs], Thu Jan 12 04:27:58 2006 UTC (13 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.321: +2 -1 lines
Diff to previous 1.321 (colored) to selected 1.338 (colored)

- Added plist-clash.pl to the list of files that have @PERL@ replaced.

Revision 1.321 / (download) - annotate - [select for diffs], Tue Jan 10 00:52:00 2006 UTC (13 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.320: +2 -2 lines
Diff to previous 1.320 (colored) to selected 1.338 (colored)

Updated pkglint to 4.52.

Changes since 4.51:
- The occurence of a symlink other than work* inside the pkgsrc tree is
  not an error, just a warning.
- SUBST_MESSAGE should not be quoted.
- If -Wextra is enabled, all make variables that are used in shell commands
  are checked for proper quoting.
- Improved the parser for shell commands.
- Some other minor changes.

Revision 1.320 / (download) - annotate - [select for diffs], Mon Jan 9 23:39:55 2006 UTC (13 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.319: +12 -14 lines
Diff to previous 1.319 (colored) to selected 1.338 (colored)

Fixed the simple part of the pkglint -Wall warnings.

Revision 1.319 / (download) - annotate - [select for diffs], Mon Jan 2 08:29:55 2006 UTC (13 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.318: +2 -2 lines
Diff to previous 1.318 (colored) to selected 1.338 (colored)

Updated pkglint to 4.51. Welcome to the Fahrenheit release.

Changes since 4.50:
- Extended the quoting checks for make variables to shell commands.
- Added a check for unquoted shell variables (only with -Wextra).
- Some other minor changes.

Revision 1.318 / (download) - annotate - [select for diffs], Sat Dec 31 14:09:51 2005 UTC (13 years, 9 months ago) by rillig
Branch: MAIN
Changes since 1.317: +2 -2 lines
Diff to previous 1.317 (colored) to selected 1.338 (colored)

Updated pkglint to 4.50.

Changes since 4.49:
- Added checks for shell commands whose exitcodes are ignored.
- Added checks for CFLAGS, CPPFLAGS and CXXFLAGS.
- Improved diagnostics.
- Various bugfixes.

Changes to lintpkgsrc:
- Avoided double occurrence of pkg_install.

Revision 1.317 / (download) - annotate - [select for diffs], Sun Dec 18 15:20:21 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.316: +2 -1 lines
Diff to previous 1.316 (colored) to selected 1.338 (colored)

lintpkgsrc needs pkgtools/digest, so readd it to the DEPENDS.

Revision 1.316 / (download) - annotate - [select for diffs], Thu Dec 8 10:57:59 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.315: +2 -2 lines
Diff to previous 1.315 (colored) to selected 1.338 (colored)

Updated pkglint to 4.49.

Changes since 4.48:
- Added a check for .include lines in all Makefiles and *.mk files to make
  sure that only existant files are referenced and that pkgsrc packages do
  not contain references to packages in pkgsrc-wip.
- Extended the --autofix option to all Makefile* and *.mk files. Before, only the
  package Makefile could be fixed.
- Rewrote the detection of direct use of tool names.
- Append-only lists may be initialized using the "?=" operator.
- The typical form of ShellWords for CONFIGURE_ARGS, --foo=${FOODIR}, is checked for
  quoting errors.
- All PKG_OPTIONs are checked whether they are documented in mk/defaults/\
  options.description.
- Many small fixes and improvements.

Revision 1.315 / (download) - annotate - [select for diffs], Thu Dec 1 14:07:23 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.314: +2 -2 lines
Diff to previous 1.314 (colored) to selected 1.338 (colored)

Adjusted the version number to the one that has been announced. (4.49 =>
4.48.)

Revision 1.314 / (download) - annotate - [select for diffs], Thu Dec 1 13:44:11 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.313: +2 -2 lines
Diff to previous 1.313 (colored) to selected 1.338 (colored)

Updated pkglint to 4.48.

Changes since 4.47:
- Output warnings for partial RCS tags in patch files.
- Added many warnings concerning Makefile directives and make targets.

Revision 1.313 / (download) - annotate - [select for diffs], Thu Dec 1 04:11:56 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.312: +2 -2 lines
Diff to previous 1.312 (colored) to selected 1.338 (colored)

Updated pkglint to 4.47.

Changes since 4.46:
- Made the --explain command line option work.
- Added many explanations for existing diagnostics.
- Improved the diagnostics.
- In --autofix mode, no backup files are created anymore.
- Temporarily disabled the check for direct use of tool names.
- Fixed some false positive warnings.
- Added a check for the use of absolute pathnames in shell commands.

Revision 1.312 / (download) - annotate - [select for diffs], Sun Nov 27 23:48:01 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.311: +2 -2 lines
Diff to previous 1.311 (colored) to selected 1.338 (colored)

Updated pkglint to 4.46.3.

- Added the $line->replace() method for a convenient way to achieve simple
  autofix tasks.
- When autofixing, no backup file is created (it had been created before).
  1. Usually "cvs diff" is available.
  2. All current autofixed changes are trivial.
  3. The fixed file is first written to disk in a new file and then renamed
     to the original file, greatly reducing the risk of data loss.
- Fixed a bug in checkdir_package(): In the call to load_package_Makefile(),
  the last parameter had not been passed by reference, but by value.
  Luckily this had not influenced any other part of pkglint.
- While there, I noticed that it is not necessary to pass some subroutines
  the lines of all included Makefiles, so I removed that parameter.

Revision 1.311 / (download) - annotate - [select for diffs], Sun Nov 27 20:25:49 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.310: +2 -2 lines
Diff to previous 1.310 (colored) to selected 1.338 (colored)

Updated pkglint to 4.36.2.

- Improved diagnostics for URLs that are not strictly pkgsrc-compliant, as
  requested on tech-pkg.

Revision 1.310 / (download) - annotate - [select for diffs], Thu Nov 24 21:51:10 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.309: +2 -2 lines
Diff to previous 1.309 (colored) to selected 1.338 (colored)

Updated pkglint to 4.46.1.

- Marked ALLFILES as deprecated.
- Degraded white-space warnings to notes.
- Added many explanations for the diagnostics.

Revision 1.309 / (download) - annotate - [select for diffs], Thu Nov 24 10:16:54 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.308: +2 -2 lines
Diff to previous 1.308 (colored) to selected 1.338 (colored)

Updated pkglint to 4.46.

Changes since 4.45:
- Added the type ShellWord.
- Added quoting checks for variables that are appended to a
  List of ShellWord.
- Multiple -v increase the verbosity.
- The --autofix option is no longer undocumented, but still experimental,
  as this is the only part of pkglint that can modify external files.
- Added an --explain option that provides additional help for the
  diagnostics.
- Added checks for unportable CPP macro names in patches.
- Updated the documentation.

Revision 1.308 / (download) - annotate - [select for diffs], Thu Nov 24 08:05:01 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.307: +2 -2 lines
Diff to previous 1.307 (colored) to selected 1.338 (colored)

Updated pkglint to 4.45.3.

- Added detection of redirection operators and comments to the
  regex_shellword constant.
- Changed the naming conventions for list data types. Now List simply
  means a list. List+ means a list that should only be modified using
  "+=", not "=". List! means an internal list. And List!+ is the
  combination of both.

  The distinction is necessary because of the introduction of
  redirection operators in the regex_shellword. When checking the data
  type of list elements, the lists are split up into shell words instead
  of simply using split(). This leads to much better results.
- When splitting a variable value or shell command into words, anchor the
  regular expression at the beginning of the string.

Revision 1.307 / (download) - annotate - [select for diffs], Wed Nov 23 22:12:03 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.306: +2 -2 lines
Diff to previous 1.306 (colored) to selected 1.338 (colored)

Updated pkglint to 4.45.2.

- Removed log_subinfo().
- Added log_debug().
- Multiple -v command line options increase the verbosity.
- Added the regex_shellword constant that will allow better parsing of
  shell commands. Currently it is only producing debugging information.
- Long [info] messages have been changed to [debug] messages.

Revision 1.306 / (download) - annotate - [select for diffs], Wed Nov 23 05:18:46 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.305: +2 -2 lines
Diff to previous 1.305 (colored) to selected 1.338 (colored)

Updated pkglint to 4.45.1.

- Added a new type ShellWord that is used for MAKE_ENV and the like to
  check for invalid FOO="${VALUE}" additions. They really should be
  FOO=${VALUE:Q}, as they may already contain embedded quotes. This is
  especially important for CPPFLAGS and CFLAGS.

Revision 1.305 / (download) - annotate - [select for diffs], Mon Nov 21 22:06:30 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.304: +4 -4 lines
Diff to previous 1.304 (colored) to selected 1.338 (colored)

Updated pkglint to 4.45.

- Fixed perl -T warnings:
  - Replaced $#{@{$lines}} with $#{$lines}.
  - Avoided calls to external programs (sed and digest).
- Removed redundant warning if DISTNAME is set to an invalid package name
  and PKGNAME is not defined.
- Changed dependency from pkgtools/digest to security/p5-Digest-SHA1.

Revision 1.304 / (download) - annotate - [select for diffs], Sun Nov 20 20:09:35 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.303: +2 -2 lines
Diff to previous 1.303 (colored) to selected 1.338 (colored)

Updated pkglint to 4.44.

Changes since 4.43:
- Removed the remaining code that had been imported from FreeBSD's
  portlint.
- Removed the (undocumented) -Wvague option.
- Removed the -Wexec and -Wparen options. The latter had no effect at all,
  and the former cannot lead to false positives, so it is always enabled.
- Variable names starting with an underscore are reserved for internal
  pkgsrc use.
- Added some more type checks.

Revision 1.303 / (download) - annotate - [select for diffs], Sun Nov 20 13:14:17 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.302: +2 -2 lines
Diff to previous 1.302 (colored) to selected 1.338 (colored)

Updated pkglint to 4.43.2.

- Renamed the type Dependency to DependencyWithPath.
- Added new types Dependency, PlatformTuple and RelativePkgDir.
- Added some of the common variables to the list of typed variables.

Revision 1.302 / (download) - annotate - [select for diffs], Sun Nov 20 10:55:43 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.301: +7 -2 lines
Diff to previous 1.301 (colored) to selected 1.338 (colored)

Updated lintpkgsrc to 4.43.1.

- In BATCH mode, that is for the bulk builds, hardcode PKGSRCDIR as
  /usr/pkgsrc. Otherwise take ${PKGSRCDIR}.

Revision 1.301 / (download) - annotate - [select for diffs], Sat Nov 19 17:23:49 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.300: +1 -2 lines
Diff to previous 1.300 (colored) to selected 1.338 (colored)

Oops, covered the tracks from last-minute tests.

Revision 1.300 / (download) - annotate - [select for diffs], Sat Nov 19 17:22:21 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.299: +3 -2 lines
Diff to previous 1.299 (colored) to selected 1.338 (colored)

Updated pkglint to 4.43.

Changes since 4.42:
- Reduced the number of duplicate diagnostics when checking multiple files.
  Only diagnostics concerning the current package are printed.
- Added checks for EXTRACT_SUFX and PKG_INSTALLATION_TYPES.
- Added a work-around for the PHP patches warnings.
- PERL5_PACKLIST should not contain references to other variables.
- Added the -s|--source command line option to show the code along with the
  diagnostics.
- Fixed a bug in get_logical_line(); logical lines have not had their
  physical lines attached.
- Deprecated variables are not only checked when they are defined but also
  when they are used.

Revision 1.299 / (download) - annotate - [select for diffs], Sat Nov 19 13:34:41 2005 UTC (13 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.298: +2 -2 lines
Diff to previous 1.298 (colored) to selected 1.338 (colored)

Updated pkglint to 4.42.2.

- Added a check that PERL5_PACKLIST does not contain references to other
  variables. Some packages have ${PERL5_SITEARCH} in it, which results in
  a double slash, and the CHECK_FILES framework cannot handle this.

Revision 1.298 / (download) - annotate - [select for diffs], Tue Nov 15 03:10:20 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.297: +2 -2 lines
Diff to previous 1.297 (colored) to selected 1.338 (colored)

Updated pkglint to 4.42.1.

Added a work-around for the warnings from PHP modules when including
lang/php/ext.mk.

Revision 1.297 / (download) - annotate - [select for diffs], Tue Nov 15 01:55:53 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.296: +2 -2 lines
Diff to previous 1.296 (colored) to selected 1.338 (colored)

Don't hide errors in the post-install stage.

Revision 1.296 / (download) - annotate - [select for diffs], Tue Nov 15 01:55:00 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.295: +1 -5 lines
Diff to previous 1.295 (colored) to selected 1.338 (colored)

MANINSTALL is a user-settable variable and thus must not be defined by
the package Makefile.

Revision 1.295 / (download) - annotate - [select for diffs], Mon Nov 14 11:45:52 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.294: +2 -2 lines
Diff to previous 1.294 (colored) to selected 1.338 (colored)

Updated pkglint to 4.42.

Changes since 4.41:
- In .mk files, line continuations are properly handled.
- An open bracket is allowed in variable and tool names.
- Added checks for ALTERNATIVES and INSTALL/DEINSTALL files.
- By default, don't check files in ${FILESDIR}.
- Warn about unknown file and directory names.

Revision 1.294 / (download) - annotate - [select for diffs], Mon Nov 14 04:05:22 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.293: +2 -2 lines
Diff to previous 1.293 (colored) to selected 1.338 (colored)

Updated pkglint to 4.41.

- Documented the --recursive option.
- Added an option -Cmk for checking .mk files besides buildlink3.mk.
- pkglint can handle individual files on the command line, not only
  packages. (experimental)
- Replaced checkfile_buildlink3_mk() with checkfile_mk().
- Factored out the checkfile() subroutine from checkdir_package().

Revision 1.293 / (download) - annotate - [select for diffs], Sun Nov 13 17:39:05 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.292: +2 -2 lines
Diff to previous 1.292 (colored) to selected 1.338 (colored)

The exitcode from running pkglint in the post-install target is ignored,
since the pkglint Makefile sets MANINSTALL but shouldn't, as this
variable is intended to be user-defined. This is only a work-around,
which needs to be addressed properly for the other packages setting
MANINSTALL, too.

Revision 1.292 / (download) - annotate - [select for diffs], Thu Nov 10 14:30:56 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.291: +3 -5 lines
Diff to previous 1.291 (colored) to selected 1.338 (colored)

Updated pkglint to 4.40.

- Removed all references to the build-time pkgsrc directory, ${PKGSRCDIR}.
  This makes the binary package independent of the build location.
  Fixes PR 32006.

Revision 1.291 / (download) - annotate - [select for diffs], Thu Nov 10 11:03:57 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.290: +2 -2 lines
Diff to previous 1.290 (colored) to selected 1.338 (colored)

Updated pkglint to 4.39.

Changes since 4.38:
- Disabled the check on Makefile variable order, as the discussion on
  tech-pkg has not finished yet.
- Improved detection of valid tool names.
- Improved detection of direct use of tool names. (Less false positives.)
- Improved the diagnostics for direct use of tool names.

Revision 1.290 / (download) - annotate - [select for diffs], Thu Nov 10 10:26:46 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.289: +3 -3 lines
Diff to previous 1.289 (colored) to selected 1.338 (colored)

Updated pkglint to 4.38.4.

- Improved detection of valid tool names.
- In the post-install target, output does to stderr instead of stdout.

Revision 1.289 / (download) - annotate - [select for diffs], Tue Nov 8 23:05:22 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.288: +2 -2 lines
Diff to previous 1.288 (colored) to selected 1.338 (colored)

Removed the -l command line option from lintpkgsrc(1). Use "pkglint -r"
instead.

Revision 1.288 / (download) - annotate - [select for diffs], Tue Nov 8 22:55:22 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.287: +2 -2 lines
Diff to previous 1.287 (colored) to selected 1.338 (colored)

Updated pkglint to 4.38.2.

- pkglint(1) does not use the hard-coded PKGSRCDIR anymore.

This fix is related to PR 32006, but doesn't fix it, since the PR is
about lintpkgsrc(1), not pkglint(1).

Revision 1.287 / (download) - annotate - [select for diffs], Tue Nov 8 21:09:48 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.286: +2 -2 lines
Diff to previous 1.286 (colored) to selected 1.338 (colored)

Updated pkglint to 4.38.1.

- It is an error if packages define a variable whose name starts with an
  underscore.
- Removed the (vague) "wip" check, as it has been replaced by special checks for
  DEPENDS and .include directives.
- Disabled the check for variable ordering until the discussion on tech-pkg
  has led to any results.

Revision 1.286 / (download) - annotate - [select for diffs], Mon Nov 7 00:45:01 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.285: +2 -2 lines
Diff to previous 1.285 (colored) to selected 1.338 (colored)

Updated pkglint to 4.38.

- PKGNAME is checked for being a valid package name.
- PLIST files should not contain filenames that match */CVS/*.
- Completely rewrote the check for variable ordering. The new code
  operates on a data structure that's easily understandable and
  extendable (see the source for an example). It also generates greatly
  improved diagnostics. As the old code had been enabled only when
  checking with -Wvague or -Wall, it has been seldom used anyway.

Revision 1.285 / (download) - annotate - [select for diffs], Sat Nov 5 11:02:53 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.284: +2 -2 lines
Diff to previous 1.284 (colored) to selected 1.338 (colored)

Updated pkglint to 4.37.2.

- Removed the hard-coded values for valid tool names.
  The detection is good enough.
- Make sure that the domain part NetBSD.org is written like this
  in mail addresses.

Revision 1.284 / (download) - annotate - [select for diffs], Fri Nov 4 22:54:59 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.283: +2 -2 lines
Diff to previous 1.283 (colored) to selected 1.338 (colored)

Updated pkglint to 4.37.1.

- Improved detection of valid tool names.

Revision 1.283 / (download) - annotate - [select for diffs], Fri Nov 4 20:39:49 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.282: +2 -2 lines
Diff to previous 1.282 (colored) to selected 1.338 (colored)

Updated pkglint to 4.37.

- Added checks for TOOL_* variables.
- Added {pre,do,post}-extract to the list of valid stages.
- Fixed the regular expression for detecting tool names.
- Added a check for invalid syntax in tool names.
- Improved the diagnostic for enumerations.

Revision 1.282 / (download) - annotate - [select for diffs], Fri Nov 4 17:00:58 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.281: +2 -2 lines
Diff to previous 1.281 (colored) to selected 1.338 (colored)

Updated pkglint to 4.36.1.

- Added many of the variables found in pkgsrc/mk/* to makevars.map.
- Added the function log_fatal, whose output goes to stderr instead of
  stdout.
- All files in pkgsrc/mk/ are excluded from checking, as they may use
  private variables and do other questionable things.
- Removed the Language type, as it is a simple enumeration.
- Added the Userdefined type to distinguish user-definable and read-only
  variables.

Revision 1.281 / (download) - annotate - [select for diffs], Fri Nov 4 13:57:35 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.280: +2 -2 lines
Diff to previous 1.280 (colored) to selected 1.338 (colored)

Updated pkglint to 4.36.

Implemented checking for enumeration types. Added new types Filemask,
Filename, Language, Option, Pathmask, Pathname, Stage, Varname and
WrksrcSubdirectory. Made the check for URLs stricter. Added some
variables to the makevars.map file.

Revision 1.280 / (download) - annotate - [select for diffs], Fri Nov 4 10:09:13 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.279: +2 -2 lines
Diff to previous 1.279 (colored) to selected 1.338 (colored)

I knew there had been a program that uses the (now removed) -Wno-workdir
option. I just didn't think it was pkglint itself. :)
Thanks to Martti for notifying me about that.

Revision 1.279 / (download) - annotate - [select for diffs], Fri Nov 4 09:32:03 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.278: +2 -2 lines
Diff to previous 1.278 (colored) to selected 1.338 (colored)

Updated pkglint to 4.35.

Removed the -Wworkdir option. Added an --import option that replaces
-Wworkdir. Changed the warning about uncleaned work* directories into an
error. Updated the man page.

Revision 1.278 / (download) - annotate - [select for diffs], Fri Nov 4 08:40:59 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.277: +2 -2 lines
Diff to previous 1.277 (colored) to selected 1.338 (colored)

Updated pkglint to 4.34.

Fixed the --autofix handling of category Makefiles. Added an --import
option that helps importing packages from pkgsrc-wip. When checked with
--import, the package is checked as if it weren't part of pkgsrc-wip.

Revision 1.277 / (download) - annotate - [select for diffs], Thu Nov 3 18:49:32 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.276: +2 -2 lines
Diff to previous 1.276 (colored) to selected 1.338 (colored)

Updated pkglint to 4.33.1.

Fixed undefined behavior when reading a file that ends in a continuation
line. Any use of ${WRKSRC}/.. is considered an error, as ${WRKSRC} is
meant to point to the top of the build directories. A proper combination
of WRKSRC, CONFIGURE_DIRS and BUILD_DIRS should be used instead. Sorted
the makevars.map file and added SUBST_CLASSES.

Revision 1.276 / (download) - annotate - [select for diffs], Thu Nov 3 12:35:05 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.275: +2 -2 lines
Diff to previous 1.275 (colored) to selected 1.338 (colored)

Updated pkglint to 4.33.

Changes since 4.32.2:
  - Added checks for CATEGORIES.
  - Modernized checks for DEPENDS and BUILD_DEPENDS.
  - Simplified PLIST directive checks.

Revision 1.275 / (download) - annotate - [select for diffs], Tue Nov 1 23:08:42 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.274: +2 -2 lines
Diff to previous 1.274 (colored) to selected 1.338 (colored)

Updated pkglint to 4.32.2.

Added a check for invalid uses of MASTER_SITE_* variables.

Revision 1.274 / (download) - annotate - [select for diffs], Tue Nov 1 21:39:31 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.273: +2 -2 lines
Diff to previous 1.273 (colored) to selected 1.338 (colored)

Updated pkglint to 4.32.1.

Added type check for USE_TOOLS. Fixed false warning about direct use of
tools in comments.

Revision 1.273 / (download) - annotate - [select for diffs], Tue Nov 1 01:08:38 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.272: +2 -2 lines
Diff to previous 1.272 (colored) to selected 1.338 (colored)

Updated pkglint to 4.32.

The --autofix support has been rewritten to be more easily usable.
Automatic fixes are currently restricted to the sort order of SUBDIR
entries in category Makefiles. It had been the complete category
Makefile before. Added a new diagnostic, prefixed with "NOTE:", that is
used for important informational diagnostics, for example autofixed
files.

Revision 1.272 / (download) - annotate - [select for diffs], Sun Oct 30 23:09:40 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.271: +2 -2 lines
Diff to previous 1.271 (colored) to selected 1.338 (colored)

Updated pkglint to 4.31.2.

Added the expected and actual checksums to the diagnostics if they
differ for patches.

Revision 1.271 / (download) - annotate - [select for diffs], Sun Oct 30 22:11:38 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.270: +2 -2 lines
Diff to previous 1.270 (colored) to selected 1.338 (colored)

When checking Makefiles, get rid of the "physical" lines as soon as
possible and base all other checks on the logical lines. The physical
source lines are saved literally to make implementing the --autofix
option easier.

Revision 1.270 / (download) - annotate - [select for diffs], Wed Oct 26 23:17:49 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.269: +2 -2 lines
Diff to previous 1.269 (colored) to selected 1.338 (colored)

Updated pkglint to 4.31.

Changed the names of the datatypes (Yes_Or_Undefined => Yes, Boolean =>
YesNo, Integer => PkgRevision) in makevars.map. It is now an error if
PKGREVISION appears outside a package Makefile. Improved detection of
Makefile.common. Improved wording of the warning for relative
directories in the form ../package.

Revision 1.269 / (download) - annotate - [select for diffs], Mon Oct 24 23:54:37 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.268: +2 -2 lines
Diff to previous 1.268 (colored) to selected 1.338 (colored)

Updated pkglint to 4.30.

Rewrote the typechecking code for Makefile variables. The variable
definitions are extracted from logical lines instead of physical lines,
comments are separated from actual values, for Lists of something, each
something is checked. All URLs are subject to MASTER_SITES expansion.
MASTER_SITES is checked to be a List of URLs.

Revision 1.268 / (download) - annotate - [select for diffs], Sun Oct 23 23:14:57 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.267: +2 -2 lines
Diff to previous 1.267 (colored) to selected 1.338 (colored)

Updated pkglint to 4.29.1.

Added CONFLICT to the list of deprecated variables (actually it's a
typo). Added PLIST_SUBST to makevars.map as a List. Allow comments after
a YES/yes/NO/no value of variables.

Revision 1.267 / (download) - annotate - [select for diffs], Sun Oct 23 19:20:33 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.266: +2 -2 lines
Diff to previous 1.266 (colored) to selected 1.338 (colored)

Updated pkglint to 4.29.

Fixed the detection of list variables that are modified with operators
other than "+=". Added *_SKIP to the list of plural variable names.
Removed some unused variables from main(). (This change include
white-space changes.)

Revision 1.266 / (download) - annotate - [select for diffs], Fri Oct 21 07:20:24 2005 UTC (13 years, 11 months ago) by rillig
Branch: MAIN
Changes since 1.265: +2 -2 lines
Diff to previous 1.265 (colored) to selected 1.338 (colored)

Updated pkglint to 4.28.2.

Added a data type Readonly for variables that must not be given any
value at all by the package Makefile. Marked PKGBASE and PKGVERSION
read-only, because leaving them read-write would make the way PKGNAME is
calculated too complex. Made the check for the "+=" operator independent
of the data type. Added more patterns for accepted variable names for
lists.

Revision 1.265 / (download) - annotate - [select for diffs], Fri Oct 14 09:23:46 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.264: +2 -2 lines
Diff to previous 1.264 (colored) to selected 1.338 (colored)

Updated pkglint to 4.28.1.

Declared some more variables as List types. Added a check that
PERL5_PACKLIST matches the PKGNAME.

Revision 1.264 / (download) - annotate - [select for diffs], Fri Oct 14 00:05:23 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.263: +2 -2 lines
Diff to previous 1.263 (colored) to selected 1.338 (colored)

Updated pkglint to 4.28.

Added support to typecheck "List of Something" in Makefile variables.
DEPENDS and BUILD_DEPENDS are of type List of Dependency, CFLAGS are
simply a List.

Revision 1.263 / (download) - annotate - [select for diffs], Thu Oct 13 00:23:53 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.262: +2 -2 lines
Diff to previous 1.262 (colored) to selected 1.338 (colored)

Updated pkglint to 4.27.

Added a warning that ${PKGNAME} and ${PKGVERSION} should not be used in
some other variables, as they may contain the PKGREVISION.

Revision 1.262 / (download) - annotate - [select for diffs], Sun Oct 9 18:24:11 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.261: +2 -2 lines
Diff to previous 1.261 (colored) to selected 1.338 (colored)

Updated pkglint to 4.26.

Improved the wording of two diagnostics. Added a check for SUBST_STAGE.

Revision 1.261 / (download) - annotate - [select for diffs], Fri Oct 7 17:34:11 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.260: +2 -2 lines
Diff to previous 1.260 (colored) to selected 1.338 (colored)

Updated pkglint to 4.25.

Improved heuristics for packages that use some common Makefiles,
reducing the number of false diagnostics in -Wvague mode. Moved checks
for SVR4_PKGNAME out of -Wvague mode. Added check for misspelled
NO_{SRC,BIN}_ON_{FTP,CDROM}.

Revision 1.260 / (download) - annotate - [select for diffs], Fri Oct 7 10:24:42 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.259: +2 -2 lines
Diff to previous 1.259 (colored) to selected 1.338 (colored)

Updated pkglint to 4.24.

Warn if option names contain underscore characters (suggested by dillo).
NO_TOOLS and NO_WRAPPER are deprecated, as they are not used anymore.

Revision 1.259 / (download) - annotate - [select for diffs], Thu Sep 29 13:38:37 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.258: +1 -2 lines
Diff to previous 1.258 (colored) to selected 1.338 (colored)

Removed unused NO_TOOLS.

Revision 1.258 / (download) - annotate - [select for diffs], Wed Sep 28 20:47:39 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.257: +2 -2 lines
Diff to previous 1.257 (colored) to selected 1.338 (colored)

Updated pkglint to 4.23.2.

The use of "# defined" as variable value in Makefiles is deprecated. It
has too weak semantics, compared to "# none", "# empty" or "yes".

Revision 1.257 / (download) - annotate - [select for diffs], Wed Sep 28 14:12:38 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.256: +2 -2 lines
Diff to previous 1.256 (colored) to selected 1.338 (colored)

Updated pkglint to 4.23.1.

BUILD_USES_MSGFMT should always be set to YES/yes or left undefined. When
checking for direct use of tools, respect shell commands.

Revision 1.256 / (download) - annotate - [select for diffs], Wed Sep 28 09:44:42 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.255: +2 -2 lines
Diff to previous 1.255 (colored) to selected 1.338 (colored)

Updated to pkglint-4.23.

Added the -R command line option to allow more RCS Id tags than $NetBSD$
to appear in line 1 of almost every file. Suggested by dillo.

Revision 1.255 / (download) - annotate - [select for diffs], Tue Sep 27 21:13:20 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.254: +2 -2 lines
Diff to previous 1.254 (colored) to selected 1.338 (colored)

Updated pkglint to 4.22.

A distfile that only has an SHA1 checksum, but not an RMD160 one, is
considered an error. While at it, made the distinfo file check a little
stricter.

Revision 1.254 / (download) - annotate - [select for diffs], Tue Sep 27 18:58:56 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.253: +2 -2 lines
Diff to previous 1.253 (colored) to selected 1.338 (colored)

Updated pkglint to 4.21.5.

Insist that PKGREVISION should be an integer or be undefined at all.

Revision 1.253 / (download) - annotate - [select for diffs], Fri Sep 23 13:08:23 2005 UTC (14 years ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.252: +2 -2 lines
Diff to previous 1.252 (colored) to selected 1.338 (colored)

Updated pkglint to 4.21.4.

The last change introduced some false positive diagnostics. If a
distinfo file contains the checksum for a patch that does not exist,
this is not considered to be an error, but only a warning, as the
additional checksums do not influence the package.

Revision 1.252 / (download) - annotate - [select for diffs], Thu Sep 22 15:54:23 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.251: +2 -2 lines
Diff to previous 1.251 (colored) to selected 1.338 (colored)

Updated pkglint to 4.21.3.

Fixed false positive errors for PHP packages.

Revision 1.251 / (download) - annotate - [select for diffs], Thu Sep 22 11:56:37 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.250: +2 -2 lines
Diff to previous 1.250 (colored) to selected 1.338 (colored)

Updated pkglint to 4.21.2.

Changed the file name pattern for patch files to avoid false positives
for DISTFILES that start with "patch-" (requested by salo). Added a
warning for invalid patch file names.

Revision 1.250 / (download) - annotate - [select for diffs], Thu Sep 22 01:46:46 2005 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.249: +2 -2 lines
Diff to previous 1.249 (colored) to selected 1.338 (colored)

The diagnostics for the COMMENT variable checks include the location and
are therefore enabled by default. Requested by wiz.

Set the version to 4.21.1.

Revision 1.249 / (download) - annotate - [select for diffs], Fri Sep 9 12:16:29 2005 UTC (14 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.248: +2 -2 lines
Diff to previous 1.248 (colored) to selected 1.338 (colored)

This is pkglint-4.21.

Changes since 4.20 include:
 - In the diagnostics, FATAL is replaced with ERROR.
 - The command line option -g changes the format of the diagnostics to be
   similar to the one of gcc.
 - Removed false warnings when checking if PLISTS are ordered.
 - Removed the check for contiguous blank lines.
 - Added a check to PLISTs that man pages are not installed in share/man.
 - pkglint -r allows to recursively check directories.
 - The pkgsrc root directory can be checked.
 - Removed false warnings for patches that contain "---" lines.
 - Switched to checking logical lines instead of physical lines.
   Diagnostics for logical lines contain the range of physical lines
   instead of a single line number.
 - Some ../.. path components are stripped from the diagnostics.
 - When checking for the direct use of tool names, only the context of the
   use, not the whole shell command is output.
 - Patches that contain RCS Ids should not have the -ko CVS mode anymore.
 - Variables that are modified using the "+=" operator are considered to be
   lists, so they should have a name indicating a plural.

Revision 1.248 / (download) - annotate - [select for diffs], Sun Aug 21 10:31:43 2005 UTC (14 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.247: +2 -2 lines
Diff to previous 1.247 (colored) to selected 1.338 (colored)

This is pkglint-4.20. Changes since 4.19 include:

- Very much code cleanup
- Introduction of the --autofix flag for category Makefiles
- Rewrite of the code to check the DISTNAME section in package Makefiles
- Rewrite of the code to check category Makefiles

Revision 1.247 / (download) - annotate - [select for diffs], Sat Aug 6 19:36:54 2005 UTC (14 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.246: +4 -1 lines
Diff to previous 1.246 (colored) to selected 1.338 (colored)

Run a quick self-test after installation.

Revision 1.246 / (download) - annotate - [select for diffs], Fri Jul 29 16:01:12 2005 UTC (14 years, 2 months ago) by he
Branch: MAIN
Changes since 1.245: +2 -2 lines
Diff to previous 1.245 (colored) to selected 1.338 (colored)

Allow PATCH_DIST_CAT in the PATCH_SITES section.
Bump version to 4.19.

Revision 1.245 / (download) - annotate - [select for diffs], Fri Jul 15 20:14:03 2005 UTC (14 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.244: +2 -3 lines
Diff to previous 1.244 (colored) to selected 1.338 (colored)

Drop support for TOOLS_DEPMETHOD.<tool>.  The new way to specify a
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier
to the tool name, e.g.,

	USE_TOOLS+=	perl:run

Tools without modifiers or with an explicit ":build" modifier will
cause build dependencies (BUILD_DEPENDS) on those tools to be added.
This makes the notation a bit more compact.

Revision 1.244 / (download) - annotate - [select for diffs], Tue Jul 5 01:09:17 2005 UTC (14 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.243: +3 -3 lines
Diff to previous 1.243 (colored) to selected 1.338 (colored)

Don't use reserved variable names (${_f_} => ${f}).

Revision 1.243 / (download) - annotate - [select for diffs], Fri Jun 24 22:36:59 2005 UTC (14 years, 3 months ago) by rillig
Branch: MAIN
Changes since 1.242: +2 -2 lines
Diff to previous 1.242 (colored) to selected 1.338 (colored)

Don't warn on empty scripts/ directories, which may occur during CVS
updates. Don't write logging messages for Makefiles that are being read
but for Makefiles that are included and for those whose inclusion is
skipped. Skip include files that contain Make variables. When checking
for direct use of shell commands, don't print the line continuation,
that is the trailing white-space and backslash. These changes lead to
pkglint-4.18.

Revision 1.242 / (download) - annotate - [select for diffs], Tue Jun 14 03:52:01 2005 UTC (14 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.241: +2 -2 lines
Diff to previous 1.241 (colored) to selected 1.338 (colored)

pkglint complains about empty DESCR files again. Fixes PR 30509. Updated
version number to 4.17.1.

Revision 1.241 / (download) - annotate - [select for diffs], Tue May 24 21:28:21 2005 UTC (14 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.240: +2 -1 lines
Diff to previous 1.240 (colored) to selected 1.338 (colored)

Made perl a run-time dependency.

Revision 1.240 / (download) - annotate - [select for diffs], Tue May 24 21:24:30 2005 UTC (14 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.239: +4 -7 lines
Diff to previous 1.239 (colored) to selected 1.338 (colored)

Converted USE_PERL5 into USE_TOOLS. Changed the SUBST stage to
post-configure. Removed DISTVER variable.

Revision 1.239 / (download) - annotate - [select for diffs], Tue May 24 15:39:05 2005 UTC (14 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.238: +2 -2 lines
Diff to previous 1.238 (colored) to selected 1.338 (colored)

Bugfix release for lintpkgsrc. Now I know why some packages use
${.CURDIR} when including other Makefiles. This is no longer necessary.
Welcome to 4.17.

Revision 1.238 / (download) - annotate - [select for diffs], Mon May 23 07:50:40 2005 UTC (14 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.237: +12 -14 lines
Diff to previous 1.237 (colored) to selected 1.338 (colored)

Fixed man page handling on platforms that don't have the mandoc macros.
Together will all the other changes of the last days, this makes up version
4.16. Most changes affected the elimination of false warnings.

Revision 1.237 / (download) - annotate - [select for diffs], Wed May 18 21:06:58 2005 UTC (14 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.236: +2 -2 lines
Diff to previous 1.236 (colored) to selected 1.338 (colored)

4.15.1: Fix PLIST (hi Roland!).

Revision 1.236 / (download) - annotate - [select for diffs], Wed May 18 08:28:06 2005 UTC (14 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.235: +2 -2 lines
Diff to previous 1.235 (colored) to selected 1.338 (colored)

Removed the check for absolute filenames, as it has produced too many
false positive warnings. Added a reminder to TODO that a similar check
be added to pkglint. Welcome to 4.15.

Revision 1.235 / (download) - annotate - [select for diffs], Sun May 15 02:38:56 2005 UTC (14 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.234: +2 -2 lines
Diff to previous 1.234 (colored) to selected 1.338 (colored)

Added a command line option to disable warnings on unsorted things like
PLISTs and SUBDIRs in category Makefiles. The default behavior is
unchanged. Updated the man pages. Bumped PKGREVISION.

Revision 1.234 / (download) - annotate - [select for diffs], Tue May 10 00:07:53 2005 UTC (14 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.233: +2 -1 lines
Diff to previous 1.233 (colored) to selected 1.338 (colored)

The TOOLS phase is not needed for pkglint.

Revision 1.233 / (download) - annotate - [select for diffs], Sat May 7 22:24:04 2005 UTC (14 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.232: +2 -2 lines
Diff to previous 1.232 (colored) to selected 1.338 (colored)

Refer doc/pkgsrc.html instead of Packages.txt (HOMEPAGE variable).

Revision 1.232 / (download) - annotate - [select for diffs], Sat May 7 15:10:24 2005 UTC (14 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.231: +3 -2 lines
Diff to previous 1.231 (colored) to selected 1.338 (colored)

Swapped out the definition of deprecated variables to an external file.
Welcome to 4.13. Approved by wiz.

Revision 1.231 / (download) - annotate - [select for diffs], Tue Apr 12 15:12:33 2005 UTC (14 years, 6 months ago) by tv
Branch: MAIN
Changes since 1.230: +2 -2 lines
Diff to previous 1.230 (colored) to selected 1.338 (colored)

Remove NO_BUILDLINK from makevars.map -- no-op now, but changed the package,
so number this 4.12.1.

Revision 1.230 / (download) - annotate - [select for diffs], Tue Apr 12 01:07:44 2005 UTC (14 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.229: +2 -2 lines
Diff to previous 1.229 (colored) to selected 1.338 (colored)

Took over maintainership. Suggested and approved by wiz.

Revision 1.229 / (download) - annotate - [select for diffs], Mon Apr 11 21:47:05 2005 UTC (14 years, 6 months ago) by tv
Branch: MAIN
Changes since 1.228: +1 -2 lines
Diff to previous 1.228 (colored) to selected 1.338 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.228 / (download) - annotate - [select for diffs], Mon Apr 11 19:01:31 2005 UTC (14 years, 6 months ago) by tv
Branch: MAIN
Changes since 1.227: +2 -2 lines
Diff to previous 1.227 (colored) to selected 1.338 (colored)

Remove USE_BUILDLINK3 support, and deprecate the name instead.  4.12.

Revision 1.227 / (download) - annotate - [select for diffs], Thu Apr 7 18:31:09 2005 UTC (14 years, 6 months ago) by riz
Branch: MAIN
Changes since 1.226: +2 -2 lines
Diff to previous 1.226 (colored) to selected 1.338 (colored)

Update to 4.11:
Remove references to PLIST-mi, and substitute check for PLIST.common
instead.  Fixes pkg/29848 by me.  Approved by wiz.

Revision 1.226 / (download) - annotate - [select for diffs], Mon Apr 4 11:04:33 2005 UTC (14 years, 6 months ago) by abs
Branch: MAIN
Changes since 1.225: +2 -2 lines
Diff to previous 1.225 (colored) to selected 1.338 (colored)

Update pkglint to 4.10:
	Fix variable usage when checking distinfo Size values, and more
	than one package references the same distinfo file with different
	sizes.

Revision 1.225 / (download) - annotate - [select for diffs], Mon Mar 7 22:21:15 2005 UTC (14 years, 7 months ago) by abs
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.224: +2 -2 lines
Diff to previous 1.224 (colored) to selected 1.338 (colored)

update pkglint to 4.09:
Handle ! in .if conditionals, plus move slightly closer to the real
'make's behaviour when using defined() and empty(). Should fix pkg/28346

Revision 1.224 / (download) - annotate - [select for diffs], Thu Feb 24 22:50:55 2005 UTC (14 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.223: +2 -2 lines
Diff to previous 1.223 (colored) to selected 1.338 (colored)

Minor wording changes. Fixed a bug. (The string "$line->text" does not call
the method text() on $line, so I had to get the method call out of the string
quotes. Approved by jlam.

Revision 1.223 / (download) - annotate - [select for diffs], Wed Feb 23 11:45:16 2005 UTC (14 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.222: +2 -2 lines
Diff to previous 1.222 (colored) to selected 1.338 (colored)

4.07: Use correct variable in workdir-cleanup warning.

Revision 1.222 / (download) - annotate - [select for diffs], Mon Feb 21 23:16:34 2005 UTC (14 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.221: +2 -2 lines
Diff to previous 1.221 (colored) to selected 1.338 (colored)

Claim maintainership.

Revision 1.221 / (download) - annotate - [select for diffs], Mon Feb 21 20:26:13 2005 UTC (14 years, 7 months ago) by hubertf
Branch: MAIN
Changes since 1.220: +2 -2 lines
Diff to previous 1.220 (colored) to selected 1.338 (colored)

Sign over maintainership to tech-pkg@

Revision 1.220 / (download) - annotate - [select for diffs], Thu Feb 17 23:31:07 2005 UTC (14 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.219: +2 -2 lines
Diff to previous 1.219 (colored) to selected 1.338 (colored)

Included the location of the warning or error in the messages for
everything except Makefiles. (Makefiles which will follow soon.) This makes
most warnings more useful. Together with the last few changes, we are
now at version 4.06. Approved by wiz.

Revision 1.219 / (download) - annotate - [select for diffs], Tue Feb 15 21:07:01 2005 UTC (14 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.218: +2 -2 lines
Diff to previous 1.218 (colored) to selected 1.338 (colored)

pkgtools/pkglint: Added checks for proper quoting of shell variables
($ vs. $$). Welcome to 4.05. Approved by wiz.

Revision 1.218 / (download) - annotate - [select for diffs], Mon Feb 14 22:14:48 2005 UTC (14 years, 8 months ago) by cube
Branch: MAIN
Changes since 1.217: +2 -2 lines
Diff to previous 1.217 (colored) to selected 1.338 (colored)

Make file(1) happy about plist-clash.pl.  Fixes PR#29366 by Akio OBATA.
Welcome to version 4.04.

Revision 1.217 / (download) - annotate - [select for diffs], Sat Feb 12 21:34:47 2005 UTC (14 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.216: +2 -2 lines
Diff to previous 1.216 (colored) to selected 1.338 (colored)

Pkglint now checks that the file entries in PLIST files are correctly
sorted. Welcome to 4.03.

Revision 1.216 / (download) - annotate - [select for diffs], Sat Feb 12 10:59:20 2005 UTC (14 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.215: +5 -3 lines
Diff to previous 1.215 (colored) to selected 1.338 (colored)

Added type checking for Makefile variables. The typechecking is
experimental and has been announced on tech-pkg to make the package
developers aware of it.

Revision 1.215 / (download) - annotate - [select for diffs], Fri Feb 11 17:01:29 2005 UTC (14 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.214: +2 -2 lines
Diff to previous 1.214 (colored) to selected 1.338 (colored)

Fixed bug in checkline_trailing_whitespace. No warnings were emitted
before. Stripped non-leading "." path components in the log messages.
Welcome to 4.01.

Revision 1.214 / (download) - annotate - [select for diffs], Sat Feb 5 15:39:44 2005 UTC (14 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.213: +2 -2 lines
Diff to previous 1.213 (colored) to selected 1.338 (colored)

Another fix for python and ruby packages, this time for installed ones.
Standardize the prefix so they can be compared with the packages
more easily (pkg_chk is better at this anyway, but since I fixed
the other cases already...).
Welcome to 4.00!

Revision 1.213 / (download) - annotate - [select for diffs], Fri Feb 4 15:46:58 2005 UTC (14 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.212: +2 -2 lines
Diff to previous 1.212 (colored) to selected 1.338 (colored)

Update to 3.99:
Fix lintpkgsrc handling of python and ruby packages.
Remove invalid-dewey test that broke more things than it helped.
Add support for "pre" in version strings. Update comment about
recognised strings.

Revision 1.212 / (download) - annotate - [select for diffs], Thu Dec 2 16:40:10 2004 UTC (14 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.211: +2 -2 lines
Diff to previous 1.211 (colored) to selected 1.338 (colored)

3.98: Teach pkglint about BUILD_TARGET, and let it warn about ALL_TARGET.

Revision 1.211 / (download) - annotate - [select for diffs], Tue Nov 9 17:14:43 2004 UTC (14 years, 11 months ago) by seb
Branch: MAIN
Changes since 1.210: +2 -2 lines
Diff to previous 1.210 (colored) to selected 1.338 (colored)

Report trailing slash of the package directory part of *_DEPENDS specification
as a fatal error as this greatly confuses mk/scripts/mkdatabase.

Update to version 3.97.

Revision 1.210 / (download) - annotate - [select for diffs], Thu Nov 4 21:17:40 2004 UTC (14 years, 11 months ago) by he
Branch: MAIN
Changes since 1.209: +2 -2 lines
Diff to previous 1.209 (colored) to selected 1.338 (colored)

Ignore use of words which when used in make shell commands should
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.

Revision 1.209 / (download) - annotate - [select for diffs], Thu Nov 4 12:37:02 2004 UTC (14 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.208: +2 -2 lines
Diff to previous 1.208 (colored) to selected 1.338 (colored)

Test if pkgname is defined before using it; gets rid of some warnings:
Use of uninitialized value in pattern match (m//) at /usr/pkg/bin/lintpkgsrc line 747.

Patch from Nicolas Joly in PR 27875.

Revision 1.208 / (download) - annotate - [select for diffs], Thu Oct 28 13:03:10 2004 UTC (14 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.207: +2 -2 lines
Diff to previous 1.207 (colored) to selected 1.338 (colored)

Add - and . to characters allowed in patch names. Welcome to 3.94.

Revision 1.207 / (download) - annotate - [select for diffs], Sat Oct 16 15:04:26 2004 UTC (15 years ago) by wiz
Branch: MAIN
Changes since 1.206: +15 -17 lines
Diff to previous 1.206 (colored) to selected 1.338 (colored)

Update to 3.93, from Roland Illig:
- Renamed PORTSDIR to PKGSRCDIR
- Added warning option -Wno-workdir
- Fixed some places where absolute and relative pathnames had
  been used incorrectly.

Clean up Makefile.

Revision 1.206 / (download) - annotate - [select for diffs], Fri Oct 15 12:14:14 2004 UTC (15 years ago) by wiz
Branch: MAIN
Changes since 1.205: +2 -2 lines
Diff to previous 1.205 (colored) to selected 1.338 (colored)

Update to 3.92:
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.

Revision 1.205 / (download) - annotate - [select for diffs], Thu Oct 7 02:01:38 2004 UTC (15 years ago) by jlam
Branch: MAIN
Changes since 1.204: +3 -3 lines
Diff to previous 1.204 (colored) to selected 1.338 (colored)

* Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
  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.

Revision 1.204 / (download) - annotate - [select for diffs], Fri Sep 24 15:33:26 2004 UTC (15 years ago) by wiz
Branch: MAIN
Changes since 1.203: +2 -2 lines
Diff to previous 1.203 (colored) to selected 1.338 (colored)

3.91:
- 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.

Revision 1.203 / (download) - annotate - [select for diffs], Sun Sep 5 23:12:36 2004 UTC (15 years, 1 month ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.202: +2 -2 lines
Diff to previous 1.202 (colored) to selected 1.338 (colored)

Update to version 3.90. Lintpkgsrc package version comparison bug fix.

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.

Revision 1.202 / (download) - annotate - [select for diffs], Tue Aug 24 15:18:29 2004 UTC (15 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.201: +2 -2 lines
Diff to previous 1.201 (colored) to selected 1.338 (colored)

Apply two patches from Roland Illig:
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.

Revision 1.201 / (download) - annotate - [select for diffs], Wed Jul 14 17:43:43 2004 UTC (15 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.200: +2 -2 lines
Diff to previous 1.200 (colored) to selected 1.338 (colored)

Update to 3.88:
Fix some bugs wrt MESSAGE and PLIST checking.

From Roland Illig in private mail.

Revision 1.200 / (download) - annotate - [select for diffs], Sat Jul 10 05:55:50 2004 UTC (15 years, 3 months ago) by snj
Branch: MAIN
Changes since 1.199: +2 -2 lines
Diff to previous 1.199 (colored) to selected 1.338 (colored)

agc says we do not want binary mode files in the pkgsrc repository, so
let's not suggest using -ko.

Welcome to 3.87.

Revision 1.199 / (download) - annotate - [select for diffs], Fri Jul 9 00:18:28 2004 UTC (15 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.198: +2 -2 lines
Diff to previous 1.198 (colored) to selected 1.338 (colored)

Code cleanup, by Roland Illig. More to come.
Bump to 3.86.

Revision 1.198 / (download) - annotate - [select for diffs], Tue Jul 6 23:07:35 2004 UTC (15 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.197: +2 -2 lines
Diff to previous 1.197 (colored) to selected 1.338 (colored)

Look for buildlink3 instead of 2, and complain about USE_BUILDLINK2 being
set. Welcome to 3.85!

Revision 1.197 / (download) - annotate - [select for diffs], Thu Jul 1 20:14:58 2004 UTC (15 years, 3 months ago) by abs
Branch: MAIN
Changes since 1.196: +2 -2 lines
Diff to previous 1.196 (colored) to selected 1.338 (colored)

Update pkglint 3.84
    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.

Revision 1.196 / (download) - annotate - [select for diffs], Wed Jun 30 18:49:36 2004 UTC (15 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.195: +2 -2 lines
Diff to previous 1.195 (colored) to selected 1.338 (colored)

Update pkglint to 3.83. Changes:

- 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.

Revision 1.195 / (download) - annotate - [select for diffs], Mon Jun 28 14:33:47 2004 UTC (15 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.194: +2 -2 lines
Diff to previous 1.194 (colored) to selected 1.338 (colored)

Update to 3.82, committing yesterday's changes from Roland Illig.

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.

Revision 1.194 / (download) - annotate - [select for diffs], Mon Jun 28 09:55:44 2004 UTC (15 years, 3 months ago) by abs
Branch: MAIN
Changes since 1.193: +2 -2 lines
Diff to previous 1.193 (colored) to selected 1.338 (colored)

Update pkglint to 3.81
    - 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.

Revision 1.193 / (download) - annotate - [select for diffs], Sun Jun 27 22:47:38 2004 UTC (15 years, 3 months ago) by abs
Branch: MAIN
Changes since 1.192: +2 -2 lines
Diff to previous 1.192 (colored) to selected 1.338 (colored)

Update pkglint to 3.80. Changes to lintpkgsrc.
 - 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

Revision 1.192 / (download) - annotate - [select for diffs], Sat Jun 26 18:53:17 2004 UTC (15 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.191: +2 -2 lines
Diff to previous 1.191 (colored) to selected 1.338 (colored)

Update to pkglint 3.79

== 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.

Revision 1.191 / (download) - annotate - [select for diffs], Fri Jun 25 19:03:26 2004 UTC (15 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.190: +2 -2 lines
Diff to previous 1.190 (colored) to selected 1.338 (colored)

Commit patch from PR 25222 by Roland Illig:
 * 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

Revision 1.190 / (download) - annotate - [select for diffs], Sun Jun 6 16:37:53 2004 UTC (15 years, 4 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.189: +2 -2 lines
Diff to previous 1.189 (colored) to selected 1.338 (colored)

Warn if a file is marked executable. Welcome to 3.77.

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.

Revision 1.189 / (download) - annotate - [select for diffs], Thu May 13 10:46:01 2004 UTC (15 years, 5 months ago) by salo
Branch: MAIN
Changes since 1.188: +2 -2 lines
Diff to previous 1.188 (colored) to selected 1.338 (colored)

Back out changes made in 3.75, it's too slow for lintpkgsrc.  Make it 3.76.

Revision 1.188 / (download) - annotate - [select for diffs], Mon May 10 08:53:05 2004 UTC (15 years, 5 months ago) by salo
Branch: MAIN
Changes since 1.187: +2 -2 lines
Diff to previous 1.187 (colored) to selected 1.338 (colored)

Welcome to 3.75.
Use real value of PKGNAME, suppress bogus warnings when PKGNAME is created
from altering DISTNAME with make modifiers (e.g., S or C).

Revision 1.187 / (download) - annotate - [select for diffs], Mon May 10 00:19:43 2004 UTC (15 years, 5 months ago) by atatat
Branch: MAIN
Changes since 1.186: +2 -2 lines
Diff to previous 1.186 (colored) to selected 1.338 (colored)

The existence of the kde-i18n-sr@Latn pkg makes it clear that _pkg
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.

Revision 1.186 / (download) - annotate - [select for diffs], Sun May 9 05:13:24 2004 UTC (15 years, 5 months ago) by jschauma
Branch: MAIN
Changes since 1.185: +8 -3 lines
Diff to previous 1.185 (colored) to selected 1.338 (colored)

Resurrect do-extract target, following atatat's advice.
This way, sources are extracted first as any other package, allowing for
local patches.

Revision 1.185 / (download) - annotate - [select for diffs], Sat Apr 24 00:17:20 2004 UTC (15 years, 5 months ago) by reed
Branch: MAIN
Changes since 1.184: +2 -2 lines
Diff to previous 1.184 (colored) to selected 1.338 (colored)

pkglint now reports if sees etc/rc.d in Makefile or PLIST.
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.

Revision 1.184 / (download) - annotate - [select for diffs], Sat Apr 17 17:26:40 2004 UTC (15 years, 6 months ago) by seb
Branch: MAIN
Changes since 1.183: +2 -2 lines
Diff to previous 1.183 (colored) to selected 1.338 (colored)

Update to version 3.72.

Use more portable Cwd::cwd() instead of $ENV{'PWD'}

Revision 1.183 / (download) - annotate - [select for diffs], Thu Apr 15 09:41:22 2004 UTC (15 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.182: +2 -2 lines
Diff to previous 1.182 (colored) to selected 1.338 (colored)

Update to 3.71: print a fatal error if there are any direct dependencies to
the -dirs packages.  Suggest usage of USE_DIRS instead.

Revision 1.182 / (download) - annotate - [select for diffs], Mon Apr 12 08:52:14 2004 UTC (15 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.181: +2 -2 lines
Diff to previous 1.181 (colored) to selected 1.338 (colored)

Update to 3.70: give errors if the package installs documenation files under
PREFIX/doc or if it registers configuration files in PREFIX/etc (because it
does not honour PKG_SYSCONFDIR properly).

Revision 1.181 / (download) - annotate - [select for diffs], Mon Apr 12 01:02:19 2004 UTC (15 years, 6 months ago) by salo
Branch: MAIN
Changes since 1.180: +2 -2 lines
Diff to previous 1.180 (colored) to selected 1.338 (colored)

Check for pkgsrc-wip remnants.  Welcome to 3.69.

Revision 1.180 / (download) - annotate - [select for diffs], Sun Apr 11 18:29:34 2004 UTC (15 years, 6 months ago) by jschauma
Branch: MAIN
Changes since 1.179: +16 -29 lines
Diff to previous 1.179 (colored) to selected 1.338 (colored)

Add pre-formatted catman pages, so we don't rely on the OPSYS providing
nroff, nor do we need to depend on textproc/groff.
Regen .0 pages under SunOS and AIX as for audit-packages.

Revision 1.179 / (download) - annotate - [select for diffs], Mon Feb 23 12:33:29 2004 UTC (15 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.178: +2 -2 lines
Diff to previous 1.178 (colored) to selected 1.338 (colored)

Improve pattern matching for possible RCS Ids
to always check for a terminating dollar sign. Welcome to 3.68.

Revision 1.178 / (download) - annotate - [select for diffs], Thu Feb 19 21:22:02 2004 UTC (15 years, 7 months ago) by markd
Branch: MAIN
Changes since 1.177: +2 -1 lines
Diff to previous 1.177 (colored) to selected 1.338 (colored)

USE_LANGUAGES=  # empty

Revision 1.177 / (download) - annotate - [select for diffs], Thu Jan 22 08:09:11 2004 UTC (15 years, 8 months ago) by grant
Branch: MAIN
Changes since 1.176: +2 -2 lines
Diff to previous 1.176 (colored) to selected 1.338 (colored)

update to pkglint 3.67: catch deprecated USE_GMAKE.

Revision 1.176 / (download) - annotate - [select for diffs], Tue Jan 20 12:23:57 2004 UTC (15 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.175: +2 -2 lines
Diff to previous 1.175 (colored) to selected 1.338 (colored)

Move WRKSRC definition away from the first paragraph in a Makefile.

Revision 1.175 / (download) - annotate - [select for diffs], Sat Jan 10 22:31:51 2004 UTC (15 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.174: +2 -1 lines
Diff to previous 1.174 (colored) to selected 1.338 (colored)

Fix for pkgviews. From Min Sik Kim in PR 24042.

Revision 1.174 / (download) - annotate - [select for diffs], Mon Jan 5 11:32:40 2004 UTC (15 years, 9 months ago) by jlam
Branch: MAIN
Changes since 1.173: +7 -2 lines
Diff to previous 1.173 (colored) to selected 1.338 (colored)

bl3ify

Revision 1.173 / (download) - annotate - [select for diffs], Wed Dec 24 09:54:39 2003 UTC (15 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.172: +2 -2 lines
Diff to previous 1.172 (colored) to selected 1.338 (colored)

Update to 3.66: warn if MAINTAINER contains @netbsd.org instead of @NetBSD.org.

Revision 1.172 / (download) - annotate - [select for diffs], Sat Oct 11 08:03:40 2003 UTC (16 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.171: +2 -2 lines
Diff to previous 1.171 (colored) to selected 1.338 (colored)

Teach lintpkgsrc how to handle empty() conditionals.
Closes second part of PR 23126.
Welcome to 3.65!.

Revision 1.171 / (download) - annotate - [select for diffs], Mon Oct 6 08:50:40 2003 UTC (16 years ago) by grant
Branch: MAIN
Changes since 1.170: +2 -2 lines
Diff to previous 1.170 (colored) to selected 1.338 (colored)

fix handling of DISTDIR. patch from Sebastian Prause on tech-pkg.

bump to 3.64.

Revision 1.170 / (download) - annotate - [select for diffs], Wed Oct 1 11:56:17 2003 UTC (16 years ago) by abs
Branch: MAIN
Changes since 1.169: +2 -2 lines
Diff to previous 1.169 (colored) to selected 1.338 (colored)

Update pkglint to 3.63:
    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

Revision 1.169 / (download) - annotate - [select for diffs], Tue Sep 30 16:09:50 2003 UTC (16 years ago) by abs
Branch: MAIN
Changes since 1.168: +2 -2 lines
Diff to previous 1.168 (colored) to selected 1.338 (colored)

Update pkglint to 3.62:
    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

Revision 1.168 / (download) - annotate - [select for diffs], Sun Sep 21 20:32:35 2003 UTC (16 years ago) by wiz
Branch: MAIN
Changes since 1.167: +2 -2 lines
Diff to previous 1.167 (colored) to selected 1.338 (colored)

Make lintpkgsrc handle .includes correctly. Welcome to 3.61.

Revision 1.167 / (download) - annotate - [select for diffs], Sat Sep 6 08:52:58 2003 UTC (16 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.166: +2 -2 lines
Diff to previous 1.166 (colored) to selected 1.338 (colored)

Update to 3.60: adapt for vulnerability file name change.

Revision 1.166 / (download) - annotate - [select for diffs], Thu Aug 28 14:44:55 2003 UTC (16 years, 1 month ago) by abs
Branch: MAIN
Changes since 1.165: +2 -2 lines
Diff to previous 1.165 (colored) to selected 1.338 (colored)

Update pkglint to 3.59 - handle bsd.pkg.mk's assumption that the caller is in
pkgsrc/some/dir

Revision 1.165 / (download) - annotate - [select for diffs], Thu Jul 31 15:13:21 2003 UTC (16 years, 2 months ago) by seb
Branch: MAIN
Changes since 1.164: +2 -2 lines
Diff to previous 1.164 (colored) to selected 1.338 (colored)

Update to version 3.58.

Teach pkglint about new rules related to info files handling.
- remove old checks of PLIST related to install-info.
- emit a FATAL error for "@exec install-info" and similar in PLIST.
- emit a FATAL error for inclusion of texinfo.mk.

Revision 1.164 / (download) - annotate - [select for diffs], Thu Jul 24 07:54:45 2003 UTC (16 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.163: +2 -2 lines
Diff to previous 1.163 (colored) to selected 1.338 (colored)

Check if HOMEPAGE URL has a trailing slash if it only consists of a hostname.
From Ben Collver in PR 22215.
Bump to 3.57.

Revision 1.163 / (download) - annotate - [select for diffs], Thu Jul 17 22:52:18 2003 UTC (16 years, 3 months ago) by grant
Branch: MAIN
Changes since 1.162: +3 -3 lines
Diff to previous 1.162 (colored) to selected 1.338 (colored)

s/netbsd.org/NetBSD.org/

Revision 1.162 / (download) - annotate - [select for diffs], Mon Jul 14 15:36:27 2003 UTC (16 years, 3 months ago) by martti
Branch: MAIN
Changes since 1.161: +2 -2 lines
Diff to previous 1.161 (colored) to selected 1.338 (colored)

Updated pkglint to 3.56:

- COMMENTs should start with a capital letter.

Revision 1.161 / (download) - annotate - [select for diffs], Sun Jun 15 22:19:46 2003 UTC (16 years, 4 months ago) by abs
Branch: MAIN
Changes since 1.160: +2 -2 lines
Diff to previous 1.160 (colored) to selected 1.338 (colored)

Update pkglint to 3.55:
    - In lintpkgsrc check for invalid PKGREVISION, and handle PKGREVISION=0

Revision 1.160 / (download) - annotate - [select for diffs], Tue May 27 17:14:51 2003 UTC (16 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.159: +2 -2 lines
Diff to previous 1.159 (colored) to selected 1.338 (colored)

Remove "country code" check -- a remnant from FreeBSD times. Update to 3.54.

Revision 1.159 / (download) - annotate - [select for diffs], Wed Apr 30 03:16:06 2003 UTC (16 years, 5 months ago) by atatat
Branch: MAIN
Changes since 1.158: +2 -2 lines
Diff to previous 1.158 (colored) to selected 1.338 (colored)

Add some code to the "stored database" to deal with counting packages
that have multiple versions (eg, apache or emacs), so that the number
of packages loaded when generating the database will match the number
loaded from the database afterwards.

Curiously, reorganizing the code a little makes the stored database
about 20-25% smaller.

Old stored databases are still completely supported.

Jump to version 3.53.

Revision 1.158 / (download) - annotate - [select for diffs], Tue Apr 22 10:18:22 2003 UTC (16 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.157: +2 -2 lines
Diff to previous 1.157 (colored) to selected 1.338 (colored)

3.52: Fix last in case the file exists (doh).

Revision 1.157 / (download) - annotate - [select for diffs], Tue Apr 22 08:26:57 2003 UTC (16 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.156: +2 -2 lines
Diff to previous 1.156 (colored) to selected 1.338 (colored)

3.51: Yell if .included files do not exist.

Revision 1.156 / (download) - annotate - [select for diffs], Sat Apr 19 03:05:15 2003 UTC (16 years, 6 months ago) by rh
Branch: MAIN
Changes since 1.155: +2 -2 lines
Diff to previous 1.155 (colored) to selected 1.338 (colored)

Update pkglint to 3.50.  This version does a (slightly) better job at
Makefile variable parsing and lets "VARNAME=" override "VARNAME?="
definitions.  This should also fix the current bogus warnings about
distinfo in the weekly pkgsrc output.

Revision 1.155 / (download) - annotate - [select for diffs], Sat Mar 29 12:34:10 2003 UTC (16 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.154: +3 -3 lines
Diff to previous 1.154 (colored) to selected 1.338 (colored)

Update to 3.49: make sure WRKSRC is properly placed in the second section,
the one starting by DISTNAME (if present). Ok'ed by wiz.

Revision 1.154 / (download) - annotate - [select for diffs], Fri Mar 28 20:22:22 2003 UTC (16 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.153: +2 -2 lines
Diff to previous 1.153 (colored) to selected 1.338 (colored)

Update to 3.48: Avoid including the same buildlink2 files over
and over and over and over again. Among others, this makes pkglint work again
for x11/gnomepanel.

Revision 1.153 / (download) - annotate - [select for diffs], Thu Mar 27 05:16:11 2003 UTC (16 years, 6 months ago) by atatat
Branch: MAIN
Changes since 1.152: +2 -2 lines
Diff to previous 1.152 (colored) to selected 1.338 (colored)

Fill in default values for DESTDIR (empty), LOCALBASE ("/usr/pkg"),
and X11BASE ("/usr/X11R6"), which, while they might not be right for
*every* system, are certainly more right than UNDEFINED.

Give lang/python/pyversion.mk a little help by stuffing the material
from PYTHON_VERSIONS_ACCEPTED into the two places it expects it (since
lintpkgsrc doesn't do .for loops), add support for the ${FOO:S/foo/&/}
construction, and tweak the .if handling for && and || bits.

This has the following effect on the -g output (as a simple measure):

	% grep -c UNDEFINED before after
	before:58
	after:1

Jump to 3.47.

Revision 1.152 / (download) - annotate - [select for diffs], Tue Jan 28 22:44:00 2003 UTC (16 years, 8 months ago) by abs
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.151: +3 -3 lines
Diff to previous 1.151 (colored) to selected 1.338 (colored)

Update pkglint to 3.46
Check MAKE_ENV and similar variables which contain ${ use :Q or are quoted

Revision 1.151 / (download) - annotate - [select for diffs], Mon Jan 27 17:59:01 2003 UTC (16 years, 8 months ago) by atatat
Branch: MAIN
Changes since 1.150: +9 -4 lines
Diff to previous 1.150 (colored) to selected 1.338 (colored)

Add a simple "extract" step so that local patches can be maintained
easily.  This only affects the build process, so PKGREVISION is not
bumped.

Revision 1.150 / (download) - annotate - [select for diffs], Fri Jan 24 15:16:31 2003 UTC (16 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.149: +2 -2 lines
Diff to previous 1.149 (colored) to selected 1.338 (colored)

Update to 3.45:
Accept commented out SUBDIRS in category Makefiles, if a comment
with a reason is given.

Revision 1.149 / (download) - annotate - [select for diffs], Fri Jan 24 15:00:41 2003 UTC (16 years, 8 months ago) by atatat
Branch: MAIN
Changes since 1.148: +2 -2 lines
Diff to previous 1.148 (colored) to selected 1.338 (colored)

Add -E and -I to lintpkgsrc for the "exporting" and "importing" of a
"database" that lintpkgsrc can use in lieu of scanning all the pkgsrc
Makefiles.

This has several nice effects, chiefly:

(1) Using any of -B, -O, -R, -S, -V, -d, -g, -i, -p, or -u, are now
*much* faster since reading the "database" takes at most 3 seconds on
my laptop, whereas reading all the Makefiles takes at least 3 minutes.

(2) One can now check for out-of-date packages on machines which do
not have an expanded pkgsrc tree simply by copying the "database"
over.  Note that the database will inherently have some dependencies
on the environment of machine where it is generated (eg, mk.conf
settings, architecture type, etc).

Reviewed by the wiz.

Revision 1.148 / (download) - annotate - [select for diffs], Wed Jan 15 23:41:31 2003 UTC (16 years, 9 months ago) by rh
Branch: MAIN
Changes since 1.147: +2 -2 lines
Diff to previous 1.147 (colored) to selected 1.338 (colored)

Update pkglint to 3.43.  Check for hard coded share/locale and lib/locale
within PLIST.

Revision 1.147 / (download) - annotate - [select for diffs], Sat Jan 11 04:42:57 2003 UTC (16 years, 9 months ago) by rh
Branch: MAIN
Changes since 1.146: +2 -2 lines
Diff to previous 1.146 (colored) to selected 1.338 (colored)

Update pkglint to 3.42:

	* Add a PKGLOCALEDIR check to pkglint: warn if PKGLOCALEDIR is in
	  PLIST, USE_BUILDLINK2 is set, and USE_PKGLOCALEDIR is not set.

Revision 1.146 / (download) - annotate - [select for diffs], Thu Jan 2 22:58:41 2003 UTC (16 years, 9 months ago) by schmonz
Branch: MAIN
Changes since 1.145: +4 -3 lines
Diff to previous 1.145 (colored) to selected 1.338 (colored)

Update to 3.41:

- replace occurrences of "make" with @MAKE@

- add @MAKE@ to the list of variables to get sod (I never learned
  properly how to conjugate "sed")

- warn about NO_PATCH, since it hinders more than it helps

- remove NO_PATCH from Makefile to quell new pkglint warning

Revision 1.145 / (download) - annotate - [select for diffs], Thu Jan 2 22:17:45 2003 UTC (16 years, 9 months ago) by atatat
Branch: MAIN
Changes since 1.144: +2 -2 lines
Diff to previous 1.144 (colored) to selected 1.338 (colored)

In the case that we really can't determine the PKGNAME properly, just
punt and invoke "make show-vars VARNAMES=PKGNAME" and get make to tell
us.

This addresses the issue of:

Cannot extract digest-UNDEFINED version (/usr/pkgsrc/pkgtools/digest/Makefile)
Cannot extract pkg_install-UNDEFINED version (/usr/pkgsrc/pkgtools/pkg_install/Makefile)
Unknown package: 'digest' version 20010807
Unknown package: 'pkg_install' version 20021123

Patch reviewed by the wiz.

Revision 1.144 / (download) - annotate - [select for diffs], Tue Dec 10 14:30:36 2002 UTC (16 years, 10 months ago) by schmonz
Branch: MAIN
Changes since 1.143: +2 -2 lines
Diff to previous 1.143 (colored) to selected 1.338 (colored)

3.39: note that IGNORE is deprecated in favor of PKG_{FAIL,SKIP}_REASON.
Nudged by wiz@, who sees all.

Revision 1.143 / (download) - annotate - [select for diffs], Tue Dec 10 12:42:40 2002 UTC (16 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.142: +2 -2 lines
Diff to previous 1.142 (colored) to selected 1.338 (colored)

Update to 3.38: Complete handling of category/Makefile; now compares
list of SUBDIRS against list of directories and complains about mismatches.

Revision 1.142 / (download) - annotate - [select for diffs], Sat Nov 23 01:07:31 2002 UTC (16 years, 10 months ago) by schmonz
Branch: MAIN
Changes since 1.141: +2 -2 lines
Diff to previous 1.141 (colored) to selected 1.338 (colored)

Any "digest" newer than 2001 is acceptable. This allows the "digest"
installed by bootstrap-pkgsrc to satisfy the dependency requirement.

Revision 1.141 / (download) - annotate - [select for diffs], Thu Nov 14 04:01:55 2002 UTC (16 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.140: +2 -2 lines
Diff to previous 1.140 (colored) to selected 1.338 (colored)

Only avoid checking mk/bsd*, not all files from mk/. Bump to 3.37.

Revision 1.140 / (download) - annotate - [select for diffs], Mon Sep 30 16:08:17 2002 UTC (17 years ago) by atatat
Branch: MAIN
Changes since 1.139: +2 -2 lines
Diff to previous 1.139 (colored) to selected 1.338 (colored)

Upgrade to 3.36.  Fixes the problem with $pkg_installver being
"uninitialized" for some cases.  Approved by the wiz.

Revision 1.139 / (download) - annotate - [select for diffs], Wed Sep 25 09:34:21 2002 UTC (17 years ago) by wiz
Branch: MAIN
Changes since 1.138: +2 -2 lines
Diff to previous 1.138 (colored) to selected 1.338 (colored)

Slight fix for 3.34, so that "cd /usr/pkgsrc; for i in */; do pkglint $i; done"
works. Bump to 3.35.

Revision 1.138 / (download) - annotate - [select for diffs], Tue Sep 24 14:01:37 2002 UTC (17 years ago) by wiz
Branch: MAIN
Changes since 1.137: +2 -2 lines
Diff to previous 1.137 (colored) to selected 1.338 (colored)

Update to 3.34: Can now also be run in Category directories and checks
correct sorting order of SUBDIR entries.

Revision 1.137 / (download) - annotate - [select for diffs], Tue Sep 24 12:34:21 2002 UTC (17 years ago) by wiz
Branch: MAIN
Changes since 1.136: +2 -2 lines
Diff to previous 1.136 (colored) to selected 1.338 (colored)

Since MESSAGE files come by many names, hardwire the line length,
independent of the actual filename. Update to 3.33.

Revision 1.136 / (download) - annotate - [select for diffs], Sun Sep 22 16:00:37 2002 UTC (17 years ago) by atatat
Branch: MAIN
Changes since 1.135: +2 -2 lines
Diff to previous 1.135 (colored) to selected 1.338 (colored)

lintpkgsrc was tweaked, so bump the version

Revision 1.135 / (download) - annotate - [select for diffs], Thu Sep 12 17:03:04 2002 UTC (17 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.134: +2 -2 lines
Diff to previous 1.134 (colored) to selected 1.338 (colored)

3.31: Check MESSAGE file format. Patch from sco at openface ca in pkg/18276.

Revision 1.134 / (download) - annotate - [select for diffs], Tue Aug 13 15:05:30 2002 UTC (17 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-RELEASE-base, netbsd-1-6, buildlink2-base
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored) to selected 1.338 (colored)

Strip leading './' from distinfo entry names before matching against
the file system -- removes bogus warnings for at least opera and
ymessenger, which have "DIST_SUBDIR=.".
Bump to 3.30.

Revision 1.133 / (download) - annotate - [select for diffs], Thu Jul 11 10:22:25 2002 UTC (17 years, 3 months ago) by abs
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (colored) to selected 1.338 (colored)

Updated pkglint to 3.29
	Make -V work without -p, -O, or -R
	Fixes pkg/17558 from Dan McMahill

Revision 1.132 / (download) - annotate - [select for diffs], Tue Jul 2 15:26:18 2002 UTC (17 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.131: +2 -2 lines
Diff to previous 1.131 (colored) to selected 1.338 (colored)

3.28: Note that USE_SSL is deprecated.

Revision 1.131 / (download) - annotate - [select for diffs], Tue Jul 2 13:16:30 2002 UTC (17 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.130: +2 -2 lines
Diff to previous 1.130 (colored) to selected 1.338 (colored)

3.27: Warn about missing RCS Id in distinfo, and note that IS_INTERACTIVE
is deprecated.

Revision 1.130 / (download) - annotate - [select for diffs], Sun Jun 2 21:52:28 2002 UTC (17 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.129: +2 -2 lines
Diff to previous 1.129 (colored) to selected 1.338 (colored)

Update to 3.26. Changes:
. sync dewey support with pkg_info
. fix 'elsif' handling (fixes bogus ns-flash warnings)

Revision 1.129 / (download) - annotate - [select for diffs], Mon Apr 8 13:57:12 2002 UTC (17 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH003
Branch point for: buildlink2
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored) to selected 1.338 (colored)

Recognize ${INSTALL_INFO} in PLISTs as install-info.
Bump to 3.25.

Revision 1.128 / (download) - annotate - [select for diffs], Fri Mar 22 15:57:53 2002 UTC (17 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127 (colored) to selected 1.338 (colored)

Update to 3.24:
Report downlevel pkg_install version, too (in -i mode).
Requested by gendalia and agc.

Revision 1.127 / (download) - annotate - [select for diffs], Wed Feb 27 11:20:59 2002 UTC (17 years, 7 months ago) by abs
Branch: MAIN
Changes since 1.126: +2 -2 lines
Diff to previous 1.126 (colored) to selected 1.338 (colored)

Update pkglint to 3.23:
	Correct inverted logic for DYNAMIC_MASTER_SITES check

Revision 1.126 / (download) - annotate - [select for diffs], Wed Feb 13 08:42:11 2002 UTC (17 years, 8 months ago) by abs
Branch: MAIN
Changes since 1.125: +2 -2 lines
Diff to previous 1.125 (colored) to selected 1.338 (colored)

Update pkglint to 3.22
    Handle DYNAMIC_MASTER_SITES

Revision 1.125 / (download) - annotate - [select for diffs], Thu Jan 3 11:04:49 2002 UTC (17 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored) to selected 1.338 (colored)

Updated pkglint to 3.21
    - lintpkgsrc - fixed -p to handle relative symlinks and symlink loops

Revision 1.124 / (download) - annotate - [select for diffs], Thu Dec 27 19:13:13 2001 UTC (17 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored) to selected 1.338 (colored)

Update pkglint to 3.20
	lintpkgsrc - if we find one valid match in a DEPENDS entry, don't
	bitch about any others expanding to a non-existant package:
	    Example: postgresql-{6.5.3*,7.0*,lib-*}
	With this lintpkgsrc -d now outputs six lines on current pkgsrc.

	Note to self: When you use 'cvs c^[P' the second time in an
	evening for the same package... its enough.

Revision 1.123 / (download) - annotate - [select for diffs], Thu Dec 27 13:31:45 2001 UTC (17 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored) to selected 1.338 (colored)

Update pkglint to 3.19
    lintpkgsrc.pl:
	Finally we parse {x,y,z} constructs in DEPENDS, plus handle a
	few more make conditionals. Now most of the lintpkgsrc -d output
	is related to versions of software no longer in pkgsrc...
	Does the fun ever start?

Revision 1.122 / (download) - annotate - [select for diffs], Thu Dec 27 12:42:08 2001 UTC (17 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.121: +2 -2 lines
Diff to previous 1.121 (colored) to selected 1.338 (colored)

Update pkglint to 3.18:
    Significant rototill of lintpkgsrc.pl, converting to a rather twisted
    hierarchy of PkgVer Pkgs and PkgList objects with assorted arbitrary
    methods, all based on existing usage rather than ideal design.
    Actual fixes found along the way:
	- Handle := in makefiles
	- Better handle parenthesis and "" in make conditionals
	- parse bsd.pkg.mk to extract _REQD values (hence the previous line)
	- Add missing 'key' in hash iteration
	- Do not repeat includes (evolution longer depends on jpeg 45 times)

    Still have to handle such delightful constructs as
    DEPENDS += {qt2-designer>=2.2.4,qt2-designer-kde>=2.3.1nb1} in a sane way

Revision 1.121 / (download) - annotate - [select for diffs], Thu Dec 20 03:31:51 2001 UTC (17 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.120: +2 -2 lines
Diff to previous 1.120 (colored) to selected 1.338 (colored)

Making lintpkgsrc more usable, part 2.
Reduces warnings from 'lintpkgsrc -d' from ~700 lines to ~100.
[It won't get much better than this...]

Revision 1.120 / (download) - annotate - [select for diffs], Sat Dec 15 20:25:39 2001 UTC (17 years, 10 months ago) by agc
Branch: MAIN
Changes since 1.119: +4 -5 lines
Diff to previous 1.119 (colored) to selected 1.338 (colored)

Modify all references to PKGSRCDIR to _PKGSRCDIR, except in the external
references of the pkglint package.

_PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages
which would like to refer to other packages in the build tree. It should
not be set by users, but neither should it stop a user from building a
package if it is defined, so make it obvious that this is the case.

Revision 1.119 / (download) - annotate - [select for diffs], Mon Dec 3 21:55:48 2001 UTC (17 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.118: +2 -2 lines
Diff to previous 1.118 (colored) to selected 1.338 (colored)

Handle PKGREVISION more properly, by allowing it being set, but empty.
Bump to 3.16.

Revision 1.118 / (download) - annotate - [select for diffs], Mon Dec 3 18:20:49 2001 UTC (17 years, 10 months ago) by abs
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored) to selected 1.338 (colored)

Update pkglint to 3.15
    - lintpkgsrc: Set BSD_PKG_MK, and ensure .CURDIR is correct when running
      with -D. Also remove an articulated lorry load of single quotes.

Many thanks to wiz who added PKGREVISION before I lamely managed to get
around to it :)

Revision 1.117 / (download) - annotate - [select for diffs], Mon Dec 3 17:52:24 2001 UTC (17 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116 (colored) to selected 1.338 (colored)

Make lintpkgsrc support PKGREVISION, in response to pkg/14767.
Bump to 3.14 (next version 3.141? ;)

Revision 1.116 / (download) - annotate - [select for diffs], Thu Nov 29 01:56:37 2001 UTC (17 years, 10 months ago) by hubertf
Branch: MAIN
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (colored) to selected 1.338 (colored)

Teach pkglint about PKGREVISION (not complaining about it).
TODO: warn about PKGNAME= ...nbX

Revision 1.115 / (download) - annotate - [select for diffs], Sun Nov 11 05:04:50 2001 UTC (17 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored) to selected 1.338 (colored)

Bump version to 3.12 for check of "nb" on DISTNAME

Revision 1.114 / (download) - annotate - [select for diffs], Sat Nov 3 21:34:35 2001 UTC (17 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored) to selected 1.338 (colored)

Bump to 3.11: warn about scripts/* and pkg/* dirs and contents

Revision 1.113 / (download) - annotate - [select for diffs], Thu Nov 1 23:26:42 2001 UTC (17 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored) to selected 1.338 (colored)

Bump version. Changed lintpkgsrc.pl to parse patchfiles in the distinfo
files using the same patterns bsd.pkg.mk uses when building the file (via
make patchsum)

Revision 1.112 / (download) - annotate - [select for diffs], Wed Oct 31 18:39:26 2001 UTC (17 years, 11 months ago) by zuntum
Branch: MAIN
Changes since 1.111: +10 -10 lines
Diff to previous 1.111 (colored) to selected 1.338 (colored)

o don't echo pkg/COMMENT, use $pkgdir/COMMENT instead
o fit in 80 columns
o s,pkg/DESCR,DESCR, and the same with PLIST in comments

OK'd by wiz

Revision 1.111 / (download) - annotate - [select for diffs], Tue Oct 30 18:53:01 2001 UTC (17 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored) to selected 1.338 (colored)

If pkg/ doesn't exist, use ./, just like bsd.pkg.mk does nowadays.
Requested by zuntum. Bump to 3.09.

Revision 1.110 / (download) - annotate - [select for diffs], Sun Sep 9 20:50:16 2001 UTC (18 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored) to selected 1.338 (colored)

NO_WRKSUBDIR is deprecated, while USE_LIBTOOL isn't anymore.
Version now 3.08.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Sep 9 20:36:42 2001 UTC (18 years, 1 month ago) by agc
Branch: MAIN
Changes since 1.108: +2 -2 lines
Diff to previous 1.108 (colored) to selected 1.338 (colored)

Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:

WRKSRC= ${WRKDIR}

This is much cleaner, much more indicative of what happens, and removes
another of the negative definitions (NO_.* = value).

Revision 1.108 / (download) - annotate - [select for diffs], Sun Jul 15 12:56:58 2001 UTC (18 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored) to selected 1.338 (colored)

'file' should be replaced by '${FILE_CMD}' now.
Bump to 3.07.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Jul 13 08:20:54 2001 UTC (18 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored) to selected 1.338 (colored)

Warn about some more directly used commands we now have ${CMD} for.
[cmp, dirname, sort, wc]

Revision 1.106 / (download) - annotate - [select for diffs], Sun Jul 8 16:41:52 2001 UTC (18 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored) to selected 1.338 (colored)

Update to 3.05: pkglint support for SVR4_PKGNAME, as requested by
Bernd Ernesti.

Revision 1.105 / (download) - annotate - [select for diffs], Sat Jul 7 18:21:29 2001 UTC (18 years, 3 months ago) by dmcmahill
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored) to selected 1.338 (colored)

add -O option to lintpkgsrc to report packages which have the
OSVERSION_SPECIFIC flag set.

bump version to 3.04

Revision 1.104 / (download) - annotate - [select for diffs], Mon Jul 2 13:23:22 2001 UTC (18 years, 3 months ago) by abs
Branch: MAIN
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored) to selected 1.338 (colored)

Update pkglint to 3.03:
	Fix incorrect ' at start of line in lintpkgsrc manpage.
	Fixes PR pkg/13354 by Ben Wong

Revision 1.103 / (download) - annotate - [select for diffs], Thu Jun 21 15:53:54 2001 UTC (18 years, 3 months ago) by abs
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored) to selected 1.338 (colored)

Update pkglint to 3.02:
	Also check 'size' when crosschecking for checksum mismatches.

Revision 1.102 / (download) - annotate - [select for diffs], Thu Jun 21 15:15:01 2001 UTC (18 years, 3 months ago) by abs
Branch: MAIN
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored) to selected 1.338 (colored)

Update pkglint to 3.01:
	Correct wrong var usage in lintpkgsrc 'checksum mismatch' report.

Revision 1.101 / (download) - annotate - [select for diffs], Wed Jun 20 13:53:05 2001 UTC (18 years, 4 months ago) by hubertf
Branch: MAIN
Changes since 1.100: +3 -1 lines
Diff to previous 1.100 (colored) to selected 1.338 (colored)

If you install pkglint/lintpkgsrc from a binary pkg, make sure that
digest is installed too (-> explicit DEPENDS).

Revision 1.100 / (download) - annotate - [select for diffs], Sat Jun 9 15:36:12 2001 UTC (18 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored) to selected 1.338 (colored)

Remove lots of dead and FreeBSD-specific code.
Some slight improvements while I'm here.
That's worth a new major: 3.00.

Revision 1.99 / (download) - annotate - [select for diffs], Sat Jun 9 12:30:53 2001 UTC (18 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.98: +2 -2 lines
Diff to previous 1.98 (colored) to selected 1.338 (colored)

Warn about deprecated DIGEST_FILE and PATCH_SUM_FILE.
Bump to 2.57.

Revision 1.98 / (download) - annotate - [select for diffs], Thu May 31 17:37:25 2001 UTC (18 years, 4 months ago) by abs
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored) to selected 1.338 (colored)

Another day, another pkglint version.
lintpkgsrc:
    If a binary package matches more than one vulnerability, only report once.
    Ensure LINTPKGSRC is set when parsing mk.conf

Revision 1.97 / (download) - annotate - [select for diffs], Wed May 30 16:44:46 2001 UTC (18 years, 4 months ago) by abs
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored) to selected 1.338 (colored)

Update pkglint to 2.55
	Fix lintpkgsrc to correctly parse packages containing '+',
	from PR 12996 by Wolfgang Rupprecht

Revision 1.96 / (download) - annotate - [select for diffs], Mon May 21 13:27:14 2001 UTC (18 years, 4 months ago) by abs
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored) to selected 1.338 (colored)

Updated pkglint to 2.54 - for lintpkgsrc fix case of PKGSRCDIR not set
in environment, mk.conf, or command line.

Revision 1.95 / (download) - annotate - [select for diffs], Fri May 18 10:38:47 2001 UTC (18 years, 5 months ago) by abs
Branch: MAIN
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored) to selected 1.338 (colored)

Update pkglint to 2.53
Extend 'lintpkgsrc -u' to list REQUIRED entries for mismatched packages,
handle PACKAGES?=xxx in mk.conf

Revision 1.94 / (download) - annotate - [select for diffs], Wed May 16 11:36:47 2001 UTC (18 years, 5 months ago) by abs
Branch: MAIN
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored) to selected 1.338 (colored)

Update pkglint to 2.52:
	Handle empty variable settings 'VAR=' in lintpkgsrc, to match
	recent postgresql package Makefiles

Revision 1.93 / (download) - annotate - [select for diffs], Sat May 12 15:19:14 2001 UTC (18 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH001
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored) to selected 1.338 (colored)

Warn on finding USE_PERL (not USE_PERL5), and on DEPENDS with
continuation lines.
Bump to 2.51.

Revision 1.92 / (download) - annotate - [select for diffs], Thu May 3 19:18:55 2001 UTC (18 years, 5 months ago) by abs
Branch: MAIN
Changes since 1.91: +5 -2 lines
Diff to previous 1.91 (colored) to selected 1.338 (colored)

Update pkglint to 2.50
Implement pkglint -V which displays pkglint version
(Useful for ftp.netbsd.org automated checks)

Revision 1.91 / (download) - annotate - [select for diffs], Tue May 1 15:52:50 2001 UTC (18 years, 5 months ago) by abs
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored) to selected 1.338 (colored)

Update pkglint to 2.49
lintpkgsrc now handles '/1' suffix in make S:x:y: expressions

Revision 1.90 / (download) - annotate - [select for diffs], Mon Apr 23 14:49:44 2001 UTC (18 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored) to selected 1.338 (colored)

Look for deprecated md5/patch-sum files in correct dir.
Bump to 2.48.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Apr 22 16:16:14 2001 UTC (18 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored) to selected 1.338 (colored)

Undo part of previous, since it doesn't work as expected.
Bump to 2.47.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Apr 21 12:54:17 2001 UTC (18 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored) to selected 1.338 (colored)

Use the same pattern for matching patch files as in bsd.pkg.mk.
Fixes a bogus warning for at least devel/patch.

Revision 1.87 / (download) - annotate - [select for diffs], Thu Apr 19 13:25:41 2001 UTC (18 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored) to selected 1.338 (colored)

DISTINFO_FILE, not DIGEST_FILE; fixes some 'missing distinfo file' warnings.
Bump to 2.45.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Apr 17 17:08:41 2001 UTC (18 years, 6 months ago) by abs
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored) to selected 1.338 (colored)

Update pkglint to 2.44 to match distinfo enhancements to pkgsrc by agc

Revision 1.85 / (download) - annotate - [select for diffs], Mon Apr 2 19:02:33 2001 UTC (18 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored) to selected 1.338 (colored)

Teach pkglint about BUILD_USES_MSGFMT, and where it recommend using it.
BUILD_USES_MSGFMT is expected in the DEPENDs block now.
Also recognize ${PKGSRCDIR} in DIGEST_FILE.
Bump version to 2.43.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Mar 30 16:30:24 2001 UTC (18 years, 6 months ago) by abs
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored) to selected 1.338 (colored)

Update pkglint to 2.42 - teach lintpkgsrc about digest, including handling
the same distfile used by different packages with different checksum methods.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Mar 15 15:10:22 2001 UTC (18 years, 7 months ago) by abs
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored) to selected 1.338 (colored)

Update to 2.41:
	lintpkgsrc - when parsing ${VAR:S/x/y/} type constructs in Makefiles,
	handle separators other than '/'.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Mar 8 10:14:49 2001 UTC (18 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored) to selected 1.338 (colored)

Update pkglint to 2.40.
Now handles the digests other than md5. Expands variables in ${PKGNAME};
doesn't check Makefile comments or COMMENTs for use of reserved words;
and some minor cleanup. (Removes ~100 bogus warnings from lintpkgsrc -l).

Revision 1.81 / (download) - annotate - [select for diffs], Sun Feb 25 05:20:02 2001 UTC (18 years, 7 months ago) by hubertf
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored) to selected 1.338 (colored)

Bump to 1.39:
 Catch a few cases where MKDIR/INSTALL -d can be replaced by
 INSTALL_*_DIR

Revision 1.80 / (download) - annotate - [select for diffs], Thu Feb 22 14:47:32 2001 UTC (18 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored) to selected 1.338 (colored)

Add length check for COMMENT. Bump to 2.38.

Revision 1.79 / (download) - annotate - [select for diffs], Sat Feb 17 17:51:29 2001 UTC (18 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.78: +2 -1 lines
Diff to previous 1.78 (colored) to selected 1.338 (colored)

Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Feb 16 13:06:19 2001 UTC (18 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored) to selected 1.338 (colored)

Change COMMENT handling:
COMMENTs are now a variable in the Makefile instead of a pkg/COMMENT
file. The COMMENT var should be in the maintainer block after the
homepage.
Modify bsd.pkg.mk, pkglint, url2pkg, and port2pkg (last one untested)
for the new behaviour. Document new state in Packages.txt.
This should save lots of inodes, and lots of time when untarring/updating.
Idea by Alistair Crooks.
For the time being, accept pkg/COMMENT instead of a COMMENT var to avoid
a flag day.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Jan 29 10:48:09 2001 UTC (18 years, 8 months ago) by abs
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored) to selected 1.338 (colored)

Update to pkglint-2.36
On pre NetBSD-1.4 fall back to 'sysctl -n hw.machine_arch' for MACHINE_ARCH

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jan 26 13:16:52 2001 UTC (18 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored) to selected 1.338 (colored)

Update to 2.35: Note deprecated LIBTOOL_OVERRIDE.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Jan 25 08:45:46 2001 UTC (18 years, 8 months ago) by tron
Branch: MAIN
Changes since 1.74: +8 -8 lines
Diff to previous 1.74 (colored) to selected 1.338 (colored)

Use "FILE" instead of "file" as variable name to avoid a "pkglint" warning
here.

Revision 1.74 / (download) - annotate - [select for diffs], Fri Jan 19 21:16:51 2001 UTC (18 years, 8 months ago) by tron
Branch: MAIN
Changes since 1.73: +6 -4 lines
Diff to previous 1.73 (colored) to selected 1.338 (colored)

Use "nroff -man" on Solaris for the moment so that this package builds
at least.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Jan 18 11:40:33 2001 UTC (18 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored) to selected 1.338 (colored)

Update pkglint to 2.34.
Changes to lintpkgsrc:
    Fix DEPENDS error (was only checking first DEPENDS). Fix from Dan.
    Fix uname to work on pre NetBSD 1.4 systems.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Jan 12 12:47:51 2001 UTC (18 years, 9 months ago) by dent
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored) to selected 1.338 (colored)

Update HOMEPAGE.

Revision 1.71 / (download) - annotate - [select for diffs], Wed Dec 13 23:53:42 2000 UTC (18 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored) to selected 1.338 (colored)

MIRROR_DISTFILE is deprecated; add tests for that and NO_{BIN,SRC}_ON_FTP
instead. Bump to 2.33.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Dec 2 02:02:59 2000 UTC (18 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored) to selected 1.338 (colored)

pkglint: Recognize a different name for the main sunsite, and two
sourceforge URLs.
Bump to 2.32.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Nov 17 12:45:30 2000 UTC (18 years, 11 months ago) by abs
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored) to selected 1.338 (colored)

Update to pkglint-2.31
lintpkgsrc changes:
Add '-S' - List packages not in category 'SUBDIRS', rename experimental '-S'
to '-c'. Rework -h output to group by type. Fix poblem with handling certain
glob expressions for depends, clean up manpage.

Revision 1.68 / (download) - annotate - [select for diffs], Tue Nov 14 17:11:42 2000 UTC (18 years, 11 months ago) by abs
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored) to selected 1.338 (colored)

Add -B option to lintpkgsrc, to display broken packages.
Update to 2.30

Revision 1.67 / (download) - annotate - [select for diffs], Fri Oct 20 11:00:13 2000 UTC (18 years, 11 months ago) by abs
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored) to selected 1.338 (colored)

Update to 2.29
lintpkgsrc - Add '-S' to optionally generate pkgsrcmap file mapping pkgname
to pkgdir and version

Revision 1.66 / (download) - annotate - [select for diffs], Thu Oct 12 15:07:41 2000 UTC (19 years ago) by abs
Branch: MAIN
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-4-PATCH003
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored) to selected 1.338 (colored)

Update pkglint to 2.28 - Add '-V' to lintpkgsrc - check binary packages
against /pkgsrc/distfiles/vulnerabilities.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Oct 5 10:29:49 2000 UTC (19 years ago) by abs
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored) to selected 1.338 (colored)

Update to 2.27
lintpkgsrc: Remove over enthusiastic setting of {'PKGSRCDIR'} = '/usr/pkgsrc';

Revision 1.64 / (download) - annotate - [select for diffs], Mon Oct 2 14:32:21 2000 UTC (19 years ago) by abs
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored) to selected 1.338 (colored)

Update to 2.26
	lintpkgsrc: Allow setting of any variable in mk.conf, including
	PACKAGES containing PKGSRCDIR.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Sep 26 15:57:05 2000 UTC (19 years ago) by abs
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored) to selected 1.338 (colored)

Update pkglint to 2.25. If this keeps on I'm going to have to start using
odd numbers for 'development' versions...

lintpkgsrc:
Rename set_pkgsrcdir to parse_mk_conf, and also extract PACKAGES as well
as PKGSRCDIR. Update check_prebuilt_packages to handle the new package data
structure that allos mulitple versions of the same package to be valid
(for -current packages etc) - Missed in previous changes.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Sep 22 22:41:07 2000 UTC (19 years ago) by abs
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored) to selected 1.338 (colored)

Update pkglint to 2.24:
    lintpkgsrc tried to break DEPENDS up into a packagename and version
    section, so if the version did not match it could lookup the matching
    packages and suggest valid versions. Unfortunately this excessive
    helpfulness meant globs that cover both sides such as
    'perl-{5.0*,5.6.0nb2,base-5.[6-9]*}' gave it a certain degree of
    indigestion.  It also didn't handle the '.if ${BINNAME} != common'
    correctly in www/ns-plugger-common/Makefile.
    I believe now that any outstanding -i or -d warnings are genuine...

Revision 1.61 / (download) - annotate - [select for diffs], Thu Sep 21 10:28:44 2000 UTC (19 years ago) by abs
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored) to selected 1.338 (colored)

pkglint:
	lintpkgsrc - fix :S modifier behaviour - broken in last commit

Revision 1.60 / (download) - annotate - [select for diffs], Wed Sep 20 06:39:27 2000 UTC (19 years ago) by abs
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) to selected 1.338 (colored)

lintpkgsrc:
    Rework substitution handling to correctly deal with
    ${DISTNAME:S/-/-gnome-/:S/$/nb1/} and friends. I remember being
    in something of a hurry when that code was fist written.  Slight
    cleanup to not completely blow up on DEPENDS such as
    perl-{5.0*,5.6.0nb2,base-5.[6-9]*}, though we still do not
    handle globbing that includes packagename and version.
Update to 2.22

Revision 1.59 / (download) - annotate - [select for diffs], Mon Sep 11 10:39:04 2000 UTC (19 years, 1 month ago) by abs
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored) to selected 1.338 (colored)

lintpkgsrc: Clean up makefile variable parsing and use to extract PKGSRCDIR
from /etc/mk.conf - now will understand .include and other make'isms in mk.conf
Update to 2.21

Revision 1.58 / (download) - annotate - [select for diffs], Tue Sep 5 00:02:15 2000 UTC (19 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) to selected 1.338 (colored)

Some cleanup; warning and error messages slightly improved.
Major changes: .include lines are honoured now, and FILESDIR, PATCHESDIR,
PKGDIR, SCRIPTSDIR, MD5_FILE, and PATCH_SUM_FILE aren't hardcoded anymore,
but the corresponding Makefile variables are used.
Adapt lintpkgsrc to the changes.
Step to 2.20 to mark the occasion.
Reviewed by hubertf.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Sep 4 00:29:51 2000 UTC (19 years, 1 month ago) by hubertf
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored) to selected 1.338 (colored)

Update to 2.16: make the actions of the switches -a, -b and -c
on by default now, to get EVERYTHING checked by default.

Suggested by Kimmo Suominen <kim@netbsd.org>

Revision 1.56 / (download) - annotate - [select for diffs], Wed Aug 30 12:54:22 2000 UTC (19 years, 1 month ago) by abs
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored) to selected 1.338 (colored)

Avoid (harmless) uninitialised variable warnings in the even of a package not
having any discernable version. Update to 2.15

Revision 1.55 / (download) - annotate - [select for diffs], Mon Aug 28 14:14:59 2000 UTC (19 years, 1 month ago) by abs
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored) to selected 1.338 (colored)

Teach lintpkgsrc a little more about variable expansions.
Update version to 2.14

Revision 1.54 / (download) - annotate - [select for diffs], Thu Aug 17 16:16:01 2000 UTC (19 years, 2 months ago) by abs
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.338 (colored)

Update lintpkgsrc -R to check for NO_BIN_ON_FTP or RESTRICTED
Now 2.13

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jul 20 13:55:28 2000 UTC (19 years, 3 months ago) by rh
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) to selected 1.338 (colored)

Bump version of pkglint to 2.12.  (Forgot to include this in previous
commit.)

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jul 14 16:09:26 2000 UTC (19 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored) to selected 1.338 (colored)

Deal with depends dirs properly, esp. if pkglinted is not started in a pkg
dir. Noted in PR 10584 by Damon Brodie <damon@brodiefamily.org>
Bump version to 2.11.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jun 21 23:28:27 2000 UTC (19 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored) to selected 1.338 (colored)

Update to 2.10. Change: FATAL warnings for empty pkg/COMMENT and pkg/DESCR.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jun 2 06:20:40 2000 UTC (19 years, 4 months ago) by rh
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) to selected 1.338 (colored)

Update pkglint to 2.09.  Adds a check for deprecated USE_PKGLIBTOOL.

Revision 1.49 / (download) - annotate - [select for diffs], Mon May 29 19:44:27 2000 UTC (19 years, 4 months ago) by dmcmahill
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored) to selected 1.338 (colored)

- add "-M path" option to allow specifying a distfiles directory to handle cases
  where PKGSRC/distfiles isn't the correct location (like on ftp.netbsd.org).

- document the option.

- bump minor version number.

Revision 1.48 / (download) - annotate - [select for diffs], Tue May 16 11:41:07 2000 UTC (19 years, 5 months ago) by abs
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored) to selected 1.338 (colored)

In the event of multiple non current versions of a package being found, take
the one iwth the highest number as 'best'

Revision 1.47 / (download) - annotate - [select for diffs], Wed Apr 5 23:34:42 2000 UTC (19 years, 6 months ago) by hubertf
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored) to selected 1.338 (colored)

 * Only warn that EXTRACT_SUFX is superfluous if DISTFILES is set AND
   EXTRACT_SUFX is set to (only) .tar.gz. Fixes PRs 9771 and 9635
 * use getopt() for option parsing - "pkgling -abc" will work now.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Mar 16 14:22:02 2000 UTC (19 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) to selected 1.338 (colored)

recognize commands directly after a '@'

Revision 1.45 / (download) - annotate - [select for diffs], Sat Feb 12 17:13:53 2000 UTC (19 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-4-PATCH002
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) to selected 1.338 (colored)

have a bit more clue about md5-files: don't warn if there's no
files/md5 but NO_CHECKSUM is set in the Makefile; bump version

Revision 1.44 / (download) - annotate - [select for diffs], Wed Feb 9 17:41:20 2000 UTC (19 years, 8 months ago) by abs
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) to selected 1.338 (colored)

Remove debug I stupidly left in after nb<N> suffix changes to dewey_cmp

Revision 1.43 / (download) - annotate - [select for diffs], Mon Feb 7 11:38:53 2000 UTC (19 years, 8 months ago) by abs
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored) to selected 1.338 (colored)

Handle 'nb1.2.3' type suffixes (rather than just 'nb1')

Revision 1.42 / (download) - annotate - [select for diffs], Thu Feb 3 12:05:20 2000 UTC (19 years, 8 months ago) by abs
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.338 (colored)

Update to 2.01 - extend deweydecimal compare to handle nb<N> suffixes

Revision 1.41 / (download) - annotate - [select for diffs], Wed Jan 26 15:25:25 2000 UTC (19 years, 8 months ago) by abs
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.338 (colored)

fix lintpkgsrc -l usage - from Thomas Klausner

Revision 1.40 / (download) - annotate - [select for diffs], Wed Jan 19 13:59:20 2000 UTC (19 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored) to selected 1.338 (colored)

include Makefiles with LICENSE with -R, update to 1.99

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jan 14 01:02:01 2000 UTC (19 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored) to selected 1.338 (colored)

warn about invalid dewey-decimal numbers, plus other makefile parsing tweaks

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jan 10 15:06:48 2000 UTC (19 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored) to selected 1.338 (colored)

Cleanup conditional parsing some more, and add (undocumented as of
yet) -u flag which will run -i then fetch updated sources for any
out of date installed packages.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jan 10 02:01:20 2000 UTC (19 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.338 (colored)

Rototill the makefile parsing again, resulting in a passable attempt to
parse conditionals. Now picks up correct arch determined version of navigator
and communicator packages.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jan 6 01:34:21 2000 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) to selected 1.338 (colored)

added warning that @owner, @group and @mode in PLIST are deprecated;
bumped version number

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jan 5 21:13:00 2000 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.338 (colored)

check for known RCS tags only, instead of all strings between a '$' and
a '$' or a ':', bumped version number

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jan 5 12:54:31 2000 UTC (19 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) to selected 1.338 (colored)

Check pkg/COMMENT a little more closely, and generate warnings on:
	Leading/trailing whitespace
	Trailing '.'
	Leading '(a|an) ' (case insensitive)

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jan 3 15:21:45 2000 UTC (19 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) to selected 1.338 (colored)

.if parsing is now a touch less braindamaged (still lousy)

Revision 1.32 / (download) - annotate - [select for diffs], Wed Dec 29 01:51:16 1999 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) to selected 1.338 (colored)

removed warning about adding info about restricted packages to
ports/LEGAL, which is a FreeBSD-ism we don't have; bumped
version number to 1.91

Revision 1.31 / (download) - annotate - [select for diffs], Tue Dec 28 03:29:56 1999 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.338 (colored)

Recognize more directly used commands (like 'ln' instead of '${LN}')

Revision 1.30 / (download) - annotate - [select for diffs], Tue Dec 28 00:50:17 1999 UTC (19 years, 9 months ago) by hubertf
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) to selected 1.338 (colored)

Fix handling of items in PATCH_* section.
Addresses PR 9049 by ITOH Yasufumi <itohy@netbsd.org>

Revision 1.29 / (download) - annotate - [select for diffs], Wed Dec 22 22:07:29 1999 UTC (19 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.338 (colored)

If we find a 'distfiles' directory in what we have been told only contains
binary packages, "Move on... move on... move on" (even if it offers to tell
you about its mother).

Revision 1.28 / (download) - annotate - [select for diffs], Wed Dec 22 21:37:57 1999 UTC (19 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.338 (colored)

Add -K, to specify basedir for binary packages.
ftp.netbsd.org gives rather interesting results from:
lintpkgsrc -P /pub/NetBSD/NetBSD-current/pkgsrc -K /pub/NetBSD/packages -R

Revision 1.27 / (download) - annotate - [select for diffs], Wed Dec 22 21:04:17 1999 UTC (19 years, 9 months ago) by abs
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.338 (colored)

Add '-R' to list any RESTRICTED binary packages (should be useful for
ftp.netbsd.org), implement dewey-decimal version matching, and add
some comments. lintpkgsrc now qualifies as "very lightly commented"

Revision 1.26 / (download) - annotate - [select for diffs], Sat Dec 18 14:53:32 1999 UTC (19 years, 10 months ago) by abs
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.338 (colored)

Update manpage and tweak parse_makefiles verbose output

Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 18 14:39:20 1999 UTC (19 years, 10 months ago) by abs
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.338 (colored)

Write package_globmatch, which makes a passable attempt at implementing
the globs used in pkgsrc.  Also optimise variable expansion in parse_makefile
(The previous algorithm was somewhat.... dumb)

Revision 1.24 / (download) - annotate - [select for diffs], Thu Dec 16 14:04:19 1999 UTC (19 years, 10 months ago) by abs
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.338 (colored)

Add yet more magic to parse Makefiles better. (plus be more verbose when
problems are encountered)

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 16 11:59:13 1999 UTC (19 years, 10 months ago) by abs
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) to selected 1.338 (colored)

Update to handle wildcard dependencies

Revision 1.22 / (download) - annotate - [select for diffs], Tue Dec 7 21:33:56 1999 UTC (19 years, 10 months ago) by hubertf
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) to selected 1.338 (colored)

Bump to V1.81, adding code to check for existance of PLIST
(unless PLIST_SRC or NO_PKG_REGISTER are set)

Fixes PR 8953 by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 6 01:14:34 1999 UTC (19 years, 10 months ago) by hubertf
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.338 (colored)

Seems I'm maintaining this

Revision 1.20 / (download) - annotate - [select for diffs], Fri Nov 26 03:31:09 1999 UTC (19 years, 10 months ago) by hubertf
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.338 (colored)

Bump version to 1.80

Revision 1.19 / (download) - annotate - [select for diffs], Tue Nov 23 20:34:26 1999 UTC (19 years, 10 months ago) by hubertf
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored) to selected 1.338 (colored)

Bump version to 1.79. Introduced four new warnings:

	WARN: no ./files/patch-sum file. Please run 'make makepatchsum'.
	WARN: no ./files/md5 file. Please run 'make makesum'.
	WARN: RUN_DEPENDS is deprecated, please use DEPENDS.
	WARN: LIB_DEPENDS is deprecated, please use DEPENDS.

Fixes PR 8861 by Dan McMahill <mcmahill@mit.edu>

Revision 1.18 / (download) - annotate - [select for diffs], Fri Nov 12 13:18:02 1999 UTC (19 years, 11 months ago) by abs
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.338 (colored)

Handle package names with regex meta characters (eg gtk+ )

Revision 1.17 / (download) - annotate - [select for diffs], Mon Sep 13 02:44:46 1999 UTC (20 years, 1 month ago) by hubertf
Branch: MAIN
CVS Tags: comdex-fall-1999
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.338 (colored)

Allow package versions to contain more than one consecutive characters.
Pointed out by Simon Burge <simonb@netbsd.org> on tech-pkg@netbsd.org.

Bumped version to 1.77.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Sep 9 20:21:17 1999 UTC (20 years, 1 month ago) by hubertf
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.338 (colored)

Don't recomment using MASTER_SITE_SUBDIR, recomment the new way instead.

While there, add all our known MASTER_SITE_xxx's.
Fixes PR 8350 by John A. Maier <johnam@mail.kemper.org>

Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 10 10:38:09 1999 UTC (20 years, 2 months ago) by agc
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.338 (colored)

Small change to make pkglint run on Linux, much the same as the change
used to make it run on Solaris - force the osname to be NetBSD, since
pkgsrc is the same on all these different operating systems.

Bump version number to 1.75 accordingly.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Aug 1 18:34:40 1999 UTC (20 years, 2 months ago) by abs
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.338 (colored)

Add -P flag to lintpkgsrc to override PKGSRCDIR

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 8 09:46:08 1999 UTC (20 years, 3 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-1-4-PATCH001
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) to selected 1.338 (colored)

bsd.pkg.mk recognises patch files of the form "patches/patch-*", rather
than "patches/patch-??" - fix pkglint.pl to mirror this.
Bump version number to 1.73, and update CHANGELOG

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 2 13:57:56 1999 UTC (20 years, 3 months ago) by agc
Branch: MAIN
Changes since 1.11: +8 -2 lines
Diff to previous 1.11 (colored) to selected 1.338 (colored)

Make this package work on Solaris.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jun 24 23:40:13 1999 UTC (20 years, 3 months ago) by abs
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.338 (colored)

Update to 1.72 (new '-p' flag to lintpkgsrc to report (and optionaly remove)
old binary packages.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 5 00:32:39 1999 UTC (20 years, 4 months ago) by abs
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.338 (colored)

Update to 1.71.
Avoid uninit var warning, plus tighten up 'Maybe ...' check for unknown packages

Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 19 07:32:09 1999 UTC (20 years, 6 months ago) by abs
Branch: MAIN
CVS Tags: netbsd-1-4-RELEASE
Changes since 1.8: +14 -16 lines
Diff to previous 1.8 (colored) to selected 1.338 (colored)

Add pkg_check (renamed to lintpkgsrc, and add orginal lintpkgsrc functionality
(fixed up to work a little better).
lintpkgsrc can:
    -d : Check each Makefile's 'DEPENDS' matches current pkgsrc versions.
    -i : Check versions of installed packages against pkgsrc.
    -l : Run pkglint on every package in pkgsrc.
    -m : Report md5 mismatches for files in 'distfiles'.
    -o : Report old/obsolete 'distfiles' (not referenced by any md5).
    -r : Remove any 'bad' distfiles (Without -m or -o, implies both).

Revision 1.8 / (download) - annotate - [select for diffs], Wed Mar 10 08:24:16 1999 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.7: +5 -3 lines
Diff to previous 1.7 (colored) to selected 1.338 (colored)

If running on Solaris, just use the NetBSD settings - it's the same pkgsrc.
Bump version number to denote Solaris support.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 4 07:23:09 1999 UTC (20 years, 7 months ago) by kim
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored) to selected 1.338 (colored)

Storing ${.CURDIR} in a binary is not good for automounted paths.
PKGSRCDIR can now be set in /etc/mk.conf to remedy this.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Feb 18 12:27:27 1999 UTC (20 years, 8 months ago) by frueauf
Branch: MAIN
Changes since 1.5: +2 -4 lines
Diff to previous 1.5 (colored) to selected 1.338 (colored)

Reflect that we no longer enforce full path for install-info, bump
version to indicate change.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 26 14:23:47 1998 UTC (20 years, 10 months ago) by frueauf
Branch: MAIN
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored) to selected 1.338 (colored)

Bump version of PKGNAME to 1.67 to indicate that there are changes since
1.66.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 27 18:37:51 1998 UTC (21 years ago) by tron
Branch: MAIN
CVS Tags: netbsd-1-3-PATCH003
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.338 (colored)

Add "pkgtools" to "${CATEGORIES}".

Revision 1.3 / (download) - annotate - [select for diffs], Thu Aug 20 15:16:49 1998 UTC (21 years, 2 months ago) by tsarna
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored) to selected 1.338 (colored)

The Grand Homepagification:
	- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Aug 8 12:35:41 1998 UTC (21 years, 2 months ago) by frueauf
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.338 (colored)

remove me as MAINTAINER.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 7 22:11:40 1998 UTC (21 years, 2 months ago) by tsarna
Branch: MAIN
Diff to selected 1.338 (colored)

Our portlint has diverged significantly from FreeBSD's, so
rename portlint to pkglint, and keep the sources right under files.
This makes it much easier to maintain and keep up with changes to out
package system.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.