summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2005-11-20Don't report *_MK variables as unchecked.rillig1-2/+4
2005-11-19As long as pkg_regress is not mentioned in the pkgsrc guide, it does notrillig1-2/+1
deserve to have the pkgsrc guide as a homepage.
2005-11-19Variable names starting with an underscore are reserved for internalrillig1-3/+2
pkgsrc use.
2005-11-19Code cleanup.rillig1-164/+22
- Removed some of the old checks. - Replaced some of the old checks with modern code. - Replaced some of the old checks with TODO markers.
2005-11-19Replaced the special purpose variable $seen_USE_PKGLOCALEDIR with therillig1-6/+15
$makevar table. This allows for easy checks that involve more than only one variable.
2005-11-19Removed the old EXTRACT_SUFX check.rillig1-19/+2
2005-11-19Don't complain if no MAINTAINER is given.rillig1-13/+1
2005-11-19Oops, covered the tracks from last-minute tests.rillig1-2/+1
2005-11-19Updated pkglint to 4.43.rillig5-14/+69
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.
2005-11-19Updated pkglint to 4.42.2.rillig3-4/+10
- 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.
2005-11-18revert last, and apply the simpler fix to the MAKEEXTRALIST macro ingrant1-9/+7
NetBSD libc from martin@
2005-11-18pass const empty string to MAKEEXTRALIST macro instead of thegrant1-5/+8
anonymous empty string. the macro uses the argument multiple times and the logic relies on identical strings having the same address, which is compiler dependent and not guaranteed to be the case. problem observed with pax(1) built with sunpro 11 on Solaris. from segv@netctl.net in PR pkg/32097.
2005-11-17If there are no files to clean, do nothing.rillig1-1/+5
2005-11-17Updated pkgclean to 20051116.rillig4-138/+91
- Replaced the C implementation by a shell program, as the latter is more portable. Fixes PR 26970. Ok'ed by maintainer.
2005-11-17Fix for part of PR#32092: add SKIP_AUDIT_PACKAGES=yes so pkg_install canerh1-1/+2
be updated even if audit-packages is out of date. The audit-packages package already has this.
2005-11-17Added a dependency on libnbcompat to allow building on Solaris easier.rillig2-2/+8
(See PR 23746.) It still needs work in the area of Berkeley DB selection. Bumped PKGREVISION.
2005-11-16Update to version 1.24.seb3-15/+53
When installing libkver, as required when NETBSD_RELEASE is set in a pkg_comp configuration, do so in a special purpose prefix and use it from there. This is useful when running a bulk build in the chroot or simply removing all installed packages in it: the libkver package won't be removed hence the chroot will still be usable. Approved by MAINTAINER.
2005-11-15Values in SUBST_CLASSES may be tool names.rillig1-1/+2
2005-11-15USE_JAVA2 may be "YES", too.rillig1-2/+2
2005-11-15Removed the (vague) check for "nb\d+" in DISTNAME.rillig1-6/+1
2005-11-15* mention the SUBST framework whenever ${SED} is used.rillig1-0/+1
2005-11-15Updated pkglint to 4.42.1.rillig2-5/+8
Added a work-around for the warnings from PHP modules when including lang/php/ext.mk.
2005-11-15Don't hide errors in the post-install stage.rillig1-2/+2
2005-11-15MANINSTALL is a user-settable variable and thus must not be defined byrillig1-5/+1
the package Makefile.
2005-11-14The last change was a bad idea. Reverted it partly. Now pkglint -I showsrillig1-22/+24
the whole file with included files again, but the checks are only done against the main Makefile.
2005-11-14* warn about the use of ${WRKDIR:=...}, as this construct should onlyrillig1-0/+2
be used with lists.
2005-11-14WRKSRC is of type WrkdirSubdirectory, but no new checks are added.rillig2-2/+6
2005-11-14- EXTRACT_SUFX is of type DistSuffix.rillig2-2/+8
2005-11-14The readmakefile() subroutine only returns the lines of the main Makefilerillig2-4/+8
in the $all_lines parameter, but the whole text of the included files in the $whole parameter. This change avoids duplicate diagnostics for *.mk and Makefile* in the package directory. A side effect is that package authors only get the diagnostics they can probably fix, as diagnostics from included files are not given.
2005-11-14* avoid duplicate warnings.rillig1-0/+1
2005-11-14Updated pkglint to 4.42.rillig4-49/+117
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.
2005-11-14Sync with src/usr.sbin/pkg_install:dillo2-5/+5
Fix first part of PR 32068: pkg_info -Q broken for local binary packages Add BUILD_INFO_FNAME to the files to extract for SHOW_BI_VAR. Bump version.
2005-11-14Remove obsolete file from OBJS also.dillo1-2/+2
Fixes PR 32071 by HEO SeonMeyong.
2005-11-14Rename LIBKVER_STANDALONE_DIR to LIBKVER_STANDALONE_PREFIX.seb1-4/+4
2005-11-14* detect spelling errors in variable namesrillig1-0/+1
2005-11-14- File::stat is used instead of the -d and -f operators to get the filerillig1-9/+20
mode in checkitem().
2005-11-14When checking for the existence of a dependency, userillig1-2/+2
${pkgsrcdir}/${PKGPATH} instead of ${current_dir}/../../${PKGPATH}.
2005-11-14- Allow an opening bracket in variable names and tool names.rillig1-4/+4
2005-11-14When loading .mk files, lines are properly converted into logical lines.rillig1-2/+2
2005-11-14Made sure that global variables are only accessed if they are defined.rillig1-19/+14
Checking individual files is no longer experimental.
2005-11-14Updated pkglint to 4.41.rillig4-79/+127
- 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().
2005-11-13Add and enable p5-pkgsrc-Dewey.wiz1-1/+2
2005-11-13Initial import of p5-pkgsrc-Dewey:wiz11-0/+217
This Perl module provides functions to compare pkgsrc Dewey numbers.
2005-11-13Sync with basesrc: do not use errx in dewey.c; handle -1 return valuewiz2-6/+11
from dewey_match in pmatch.
2005-11-13Remove obsolete file.wiz1-76/+0
2005-11-13The exitcode from running pkglint in the post-install target is ignored,rillig1-2/+2
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.
2005-11-10- Improved the way the tool names are detected once more.rillig1-1/+7
2005-11-10Updated pkglint to 4.40.rillig5-19/+12
- Removed all references to the build-time pkgsrc directory, ${PKGSRCDIR}. This makes the binary package independent of the build location. Fixes PR 32006.
2005-11-10* Find a reliable, secure way to delete all CVS directories insiderillig1-0/+3
${WRKSRC}. When that is finished, add a warning that using ${XARGS} is insecure.
2005-11-10Moved the checks for the COMMENT from checklines_package_Makefile() torillig2-19/+19
checktext_basic_vartype() to shorten the former subroutine. No user-visible changes.