summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2006-06-30SUBST_CLASSES and SUBST_FILES.* are very different.rillig1-1/+13
2006-06-30In some cases variables of the same data type are interpretedrillig1-1/+36
differently, which may lead to problems.
2006-06-29Added examples for the (future) parser in pkglint.rillig1-1/+21
2006-06-29Some ideas for further restricting the definition and use of variables.rillig1-1/+24
2006-06-27Update usage() - sync with manpage, add missing options, etc.hubertf4-21/+23
2006-06-22Updated pkglint to 4.65.rillig1-2/+2
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.
2006-06-18When checking a Pathlist, split $value instead of $value_novar. This avoidsrillig1-2/+4
many false positive warnings for paths like ${PREFIX}/foo.
2006-06-18HEADER_TEMPLATE is deprecated. Added permissions for several JAVA_*rillig2-13/+14
variables.
2006-06-18Pathnames should generally not start with a slash.rillig1-1/+7
2006-06-18{DE,}INSTALL_TEMPLATE are deprecated in favor of {DE,}INSTALL_TEMPLATES.rillig2-4/+6
2006-06-18Don't emit a note for missing SUBST_MESSAGE. It's too hard to find arillig1-4/+1
nice description text for most of the SUBST blocks.
2006-06-18Don't treat comments as paragraph separators for the SUBST check. Seerillig1-2/+5
graphics/xfig for an example where it makes a difference.
2006-06-18Bugfix: Always count the SUBST_SED and SUBST_FILES lines.rillig1-3/+3
2006-06-18Added a new check for SUBST blocks. In contrast to all other checks,rillig1-2/+163
this one is defined in PkgLint::SubstContext instead of the main package. Time will show whether this was a good decision. Since the checking subroutines heavily modify the fields of the SubstContext, it seems to be Done Right.
2006-06-18Added OVERRIDE_GNU_CONFIG_SCRIPTS and PYPKGPREFIX.rillig1-1/+3
2006-06-17- autofix() may only be called from the checkfile_*() subroutines to avoidrillig1-2/+3
duplicate calls.
2006-06-17{DE,}INSTALL_SRC are deprecated because they interfere with therillig1-1/+5
pkginstall framework.
2006-06-17- Fixed variable definitions of BUILDLINK_RPATHDIRS.* and PKGPATH.rillig2-5/+8
- The macro __sparc_v9__ is neither defined by gcc nor by SunPro. But __sparcv9 is. - Added some more commands that may be hidden using the "@" character. - Don't let pkglint get confused by additional magic in the use of MASTER_SITES. For example, devel/nspr uses ${MASTER_SITE:S/../../:=foo/}.
2006-06-17Fixed the adjustment of the directory depth. The last commit to itrillig1-2/+2
(1.611) had broken the check of pkgsrc infrastructure files.
2006-06-17Typo (FileMask instead of Filemask).rillig1-2/+2
2006-06-17Update to version 1.29seb2-5/+18
Ensure that libkver.so is loaded if needed via LD_PRELOAD for all kind of commands run via the chroot target. This fix PR pkg/32921. Approved by MAINTAINER.
2006-06-17${CP} should not be used to install files, since it cannot overwriterillig1-1/+12
read-only files.
2006-06-17The shell commands ${SED} and ${TR} should not be used in the installrillig1-3/+42
phase.
2006-06-16Added the shell commands DELAYED_{ERROR,WARNING}_MSG and SHCOMMENT.rillig1-1/+4
2006-06-16USE_TOOLS may be modified in buildlink3.mk.rillig1-2/+2
2006-06-15"exec" is a known shell command. It is one way to suppress the pkglintrillig1-2/+2
warning, but there will be better ones.
2006-06-15Since I don't know yet what is the best way to fix the "Unknown shellrillig1-3/+3
command" warnings, they are not enabled by default.
2006-06-14In pax(1) command lines, -pe is deprecated in favor of -pp.rillig1-1/+9
2006-06-13This package overrides the "update" target (is that wise?) and runsjlam1-2/+2
its own set of commands. One of these invoked "deinstall" with UPDATE_RUNNING set to "YES"; however, UPDATE_RUNNING was made into a pkgsrc private variable a little while ago. Fix "update" by setting _UPDATE_RUNNING instead. This fixes PR pkg/33716.
2006-06-12Update for change of location of sites.mk.reed2-4/+4
2006-06-10Minor typo.adrianp1-2/+2
2006-06-09update pkg_chk to 1.75abs2-4/+7
- match bsd.own.mk logic for determining MAKECONF, as requested by Joerg
2006-06-09- Added "read" to the list of allowed shell commands.rillig1-6/+54
- Added an explanation for the ${WRKSRC}/.. warning, since it is not documented anywhere else. - Improved two diagnostics for buildlink3.mk files. - Added a check to discover package name mismatches in BUILDLINK_{ABI,API}_DEPENDS, as well as the version numbers.
2006-06-09Add a new variable CHECK_FILES_SUPPORTED which is a package-settablejlam1-1/+9
variable to show whether the package supports running the check-files target. Set CHECK_FILES_SUPPORTED to "no" in pkgtools/pkg_install in the case where the PREFIX does not match ${LOCALBASE} it's likely the tools are being installed in some place that's completely outside pkgsrc control, and check-files fails horribly in that case.
2006-06-09Uses libintl, so depend on it. Bump revision.joerg1-2/+3
2006-06-09I prefer #none over #empty in USE_LANGUAGES.rillig1-2/+2
2006-06-09In the SCST_COND state, a shell command is expected, so check here forrillig1-3/+3
known and unknown commands, too.
2006-06-09Minor improvements.rillig1-9/+13
2006-06-08The old syntax for List+ and InternalList+ does not exist anymore.rillig1-5/+2
2006-06-08- Fixed a typo in a diagnostic message from the buildlink3.mk check.rillig1-9/+15
- Added a warning for "Preformatted manual page without unformatted one".
2006-06-08Contrary to my (and maybe to others') expectations, INFO_FILES doesrillig1-2/+2
_not_ have the data type "List of Pathname", but "Yes".
2006-06-08Renamed $plist, $descr and $message to $lines, as it already is in therillig1-26/+26
other checkfile_* subroutines.
2006-06-08Packages that install info files should set INFO_FILES.rillig1-1/+6
2006-06-08Added explanations for two issues Tron stumbled upon when fixing therillig1-4/+23
warnings in devel/glib. Also, made the diagnostics for buildlink3.mk files clearer.
2006-06-08The ">&" shell operator is recognized correctly. A warning is printedrillig2-8/+75
for every shell command that is not known in the tools framework.
2006-06-08Minor improvements.rillig1-2/+3
2006-06-08Some things from the TODO list have been done.rillig1-6/+1
2006-06-08Only adjust the directory depth if there are exactly two leading ".."rillig1-3/+3
path components. The old behavior has led to error messages while checking the files in mk/flavor/pkg.
2006-06-08PKGREVISION does not need the :Q operator. The various *_MSG shellrillig1-3/+16
commands may be hidden with "@".
2006-06-08Replaced the explicit permission [*:a] with [$list], which preventsrillig1-16/+17
buildlink3.mk and builtin.mk files from modifying these variables.