Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
Changes since 4.32.2:
- Added checks for CATEGORIES.
- Modernized checks for DEPENDS and BUILD_DEPENDS.
- Simplified PLIST directive checks.
|
|
|
|
checking routines don't use physical lines anymore, so there's no need
to distinguish them. Removed deprecated "@" line checks from the PLIST
checker. These lines are all reported as "Unknown PLIST directive" now.
|
|
list of deprecated variables.
|
|
Removed the warning for a single element in DISTFILES, as I don't see
any reason for keeping it.
|
|
number of parameters to many subroutines.
|
|
List, except that no warning is reported for not using the "+="
operator.
|
|
|
|
|
|
inline, as they had only been used once.
|
|
Added a check for invalid uses of MASTER_SITE_* variables.
|
|
Added type check for USE_TOOLS. Fixed false warning about direct use of
tools in comments.
|
|
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.
|
|
one backslash reach the argument to sed(1), the backticks are replaced
with a call to open("... |"). Now the first argument to sed(1) contains
\$ instead of a simple $.
|
|
Added the expected and actual checksums to the diagnostics if they
differ for patches.
|
|
Pkglint::FileUtil::Line, which will be used for the --autofix option.
No user-visible changes.
|
|
possible and base all other checks on the logical lines. The physical
source lines are saved literally to make implementing the --autofix
option easier.
|
|
can hang.
Submitted-by: Eirik Nygaard
|
|
|
|
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.
|
|
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.
|
|
while pkgsrc has changed dramatically. Now it is usable again, although
far from perfect.
|
|
lines are actually empty.)
|
|
"+=" operator.
|
|
pkgsrc-wip.
|
|
|
|
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.
|
|
|
|
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.)
|
|
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.
|
|
"prdownloads.sourceforge.net" URLs.
|
|
|
|
Declared some more variables as List types. Added a check that
PERL5_PACKLIST matches the PKGNAME.
|
|
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.
|
|
|
|
Added a warning that ${PKGNAME} and ${PKGVERSION} should not be used in
some other variables, as they may contain the PKGREVISION.
|
|
use BINMODE setting. This helps with non-privileged pkgsrc use.
|
|
Improved the wording of two diagnostics. Added a check for SUBST_STAGE.
|
|
- Clarify the difference between a "not found package" and a "not a direct
dependency" one.
|
|
GNU_CONFIGURE.
Also add a note: This breaks for those who set their own LOCALBASE
to /usr and also define PKGMANDIR to different than share/man.
|
|
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}.
|
|
Warn if option names contain underscore characters (suggested by dillo).
NO_TOOLS and NO_WRAPPER are deprecated, as they are not used anymore.
|
|
Unbreak url2pkg on sourceforge hosted packages -- the MASTER_SITES
did not contain the trailing slash, thus breaking the download.
XXX: prdownloads.sf.net is not recognized as a sourceforge "mirror"
since the previous version of url2pkg.
|
|
- Package names can have dashes in them, so use a correct regexp to extract
the package name from a dependency specification.
|
|
- Sync SETS_X11's default value with recent NetBSD versions: xcontrib.tgz
and xmisc.tgz disappeared while xetc.tgz was added, starting in NetBSD 2.0.
|
|
- Raise an appropriate warning if pkg_admin pmatch fails due to an incorrect
pattern (e.g., cairo>=0.5.2-head is unrecognized).
|
|
parser interprets this as the division operator '/=', so escape the =.
|
|
|
|
verifypc is a tool that sanity checks the dependencies of a package based on
the results of a successful build, assuming the package uses pkg-config to
detect dependencies.
verifypc will warn you if the configuration script requests an uninstalled
or unavailable package (not specified as a direct dependency) or if the
requested package does not match the version specification in the packages'
dependencies.
|