summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2005-08-06Made the checks for category Makefiles much stricter. Only the "categoryrillig1-38/+55
normal form" passes all checks.
2005-08-06Run a quick self-test after installation.rillig1-1/+4
2005-08-06White-space fixes.rillig1-9/+9
2005-08-06Code beautification: %{$foo} instead of %$foo.rillig1-3/+3
2005-08-06Checking for C/C++ comments is not necessary for Makefiles. No-one usesrillig1-4/+1
them. All pathnames are already interpreted as being relative to the package's directory. Added a reminder that ONLY_FOR_PLATFORM should be changed to NOT_FOR_PLATFORM where appropriate.
2005-08-06Bump the PKGREVISIONs of all (638) packages that hardcode the locationsjlam1-3/+1
of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06Moved the checks that had been done while loading Makefiles into arillig1-24/+29
subroutine checklines_Makefile, which is called by checkfile_package_Makefile and check_category.
2005-08-04Bump to 20050804:xtraeme2-4/+8
When using the -M flag, look in Makefile and Makefile.common files. Ok'ed by Peter Postma.
2005-08-04missed in lastabs1-1/+2
2005-08-04update pkgtools/pkg_chk to 1.60:abs2-21/+34
Make -b work without any access to pkgsrcdir
2005-08-02Update to version 0.118: pkgdiff fix and tuning.seb2-6/+11
Fix the automagic tuning of the number of unified diff context lines. It was broken since previous commit to files/pkgdiff. Also arguments '-u' and '-U NUM' to GNU diffutils 2.8.1, as seen in NetBSD 2.0_STABLE and current, are not intended to be used together. Hence only '-U NUM' is now specified. I did not reverted to the '-u -NUM' form used before as it seems undesirable. Please note that if PKGDIFF_FMT is specified in the environment, for testing or debugging purposes, we skip the automagic tuning of the number of unified diff context lines. The user probably wants to try another diff format, as suggested in the commit log of revision 1.12 of files/pkgdiff. So there is no point in adding '-U NUM' to PKGDIFF_FMT: it may just not work. See: $ diff -c -U 1 /dev/null /dev/null diff: conflicting output style options diff: Try `diff --help' for more information. While here save a few basename(1) runs.
2005-08-02Print warnings if the values of ${PKGNAME}, ${SVR4_PKGNAME},rillig1-14/+14
${DISTNAME}, ${DISTFILES}, ${EXTRACT_SUFX} cannot be resolved completely. It's better than proceeding with definitely unusable values.
2005-08-01Some more speed optimization.rillig1-10/+9
2005-08-01Converted PkgLint::FileUtils::Line to use an array instead of a hash forrillig1-8/+8
saving the fields. This gives a 5 percent speed-up.
2005-08-01update to cdpack-1.6.dmcmahill5-108/+191
- add -m, -o, and -r flags to optionally specify the machine-architecture operating system, and os version to be displayed in the generated README file. From Greg Woods via private email. - White space fixes from Greg Woods. - Clean up the generated README file as well as several of the messages to reflect if the collection is a CD-ROM or DVD set. Some patches from Greg Woods, more from me. - List the tools used at runtime.
2005-08-01Sppeded up the subroutines read_makefile and check_for_multiple_patches.rillig1-9/+13
2005-08-01Added a new command line option --debug|d. It is currently used forrillig1-16/+36
measuring the time spent in the main checking subroutines. Using that function I discovered that method calls like $line->text are awfully slow. The subroutine checkfile_PLIST spent half of its time in this function call. Now it is almost twice as fast as before.
2005-08-01Simplified the code---no user-visisble changes.rillig1-30/+25
2005-08-01More code cleanup. This time it's only white-space issues.rillig1-62/+55
2005-08-01Internal cleanup: moved some subroutines so that fewer forwardrillig1-136/+98
references are needed. As the return value of the checkfile_* subroutines is not needed, it is not provided anymore. Some other small changes, which all do not affect the actual output or behavior of pkglint.
2005-08-01Remove (commented out) USE_DB2 here too.wiz1-2/+1
2005-08-01Remove another legacy var that was removed from pkgsrc before the previous ↵wiz1-2/+1
branch.
2005-08-01Remove some legacy vars that were removed from pkgsrc before the previous ↵wiz2-8/+2
branch.
2005-08-01Remove obsolete USE_PAM.wiz1-2/+1
2005-07-31Update digest to version 20050731:agc4-410/+833
Pull in a patch from Vsevolod Stakhov via FreeBSD: Because that the 55-bytes input-message becomes just 64 bytes block after `the message terminator code(0x80)' and `size-field(8-bytes field)' are added. Perhaps, I think the block of a lot of one be made at this time. Fixes PR 30857
2005-07-30Inserted empty lines before elsif to make the code more readable.rillig1-1/+48
2005-07-30The global variables are only needed when checking a package, not arillig1-2/+3
package category.
2005-07-30Remove pkgconflict here too.wiz1-2/+1
2005-07-30Removed the package as it has not been working since 2001. Ok'ed byrillig6-539/+0
wennmach.
2005-07-29Allow PATCH_DIST_CAT in the PATCH_SITES section.he2-4/+4
Bump version to 4.19.
2005-07-25Add xorg file which has common Xorg file entries.reed1-0/+611
Forgot in commit a few moments ago. This was discussed on tech-pkg on July 7.
2005-07-25Added xorg support, based on if ${X11BASE}/lib/X11/config/xorgversion.defreed7-2/+129
exists. Added new files for the xorg related files. Version is now x11-links-0.26.
2005-07-25Pull over change from src/usr.sbin/pkg_install:hubertf1-4/+11
| Modified Files: | src/usr.sbin/pkg_install/add: perform.c | | Log Message: | cleanup: preserve errno. Needed so err() functions ran after running | cleanup(0) print the correct error message. | | | To generate a diff of this commit: | cvs rdiff -r1.109 -r1.110 src/usr.sbin/pkg_install/add/perform.c
2005-07-25Pull over this change from src/usr.sbin/pkg_install (-current):hubertf1-14/+18
| Modified Files: | src/usr.sbin/pkg_install/add: extract.c | | Log Message: | Fix 'pkg_add -R' handling - not registering really means not touching | the pkgdb too - useful for pkg_add as non-root! | | | To generate a diff of this commit: | cvs rdiff -r1.34 -r1.35 src/usr.sbin/pkg_install/add/extract.c
2005-07-213.9: Update for pkg-config path change.wiz2-5/+5
2005-07-21Fix a typo and improve markup.wiz2-100/+95
2005-07-21Updated and rewrote the man page.rillig2-95/+72
2005-07-21Added a new subroutine log_subinfo that has an additional parameterrillig1-35/+66
taking the name of the current subroutine. Removed unnecessary checks for backup filenames.
2005-07-21Changed debugging output to reflect the recent split of checkfile_Makefile.rillig1-6/+6
2005-07-21The checkfile_Makefile subroutine is split into load_package_Makefilerillig1-35/+47
and checkfile_package_Makefile. This made another command line option -CMakefile possible, which allows Makefile checking to be switched off (it is on by default).
2005-07-21In the diagnostic messages, multiple adjacent slashes are compressed torillig1-1/+2
one.
2005-07-20Updated to be in sync with mk/replace.mk, revision 1.120.rillig1-2/+4
2005-07-20Don't print "vague" diagnostics by default. A "vague" diagnostic is onerillig1-2/+2
that has been in pkglint before I started hacking it. Mostly, they don't contain a specific file location where to look for the cause or they are generated using dubious code. The remaining warnings are only a few, but they are mostly usable and valid.
2005-07-20Don't show warnings for tool names that are enclosed in single quotes.rillig1-3/+10
Replace ${PHPPKGSRCDIR} with ../../lang/php5 when expanding Makefile variables. Show a warning if Makefile variables contain unresolved substitutions after expanding them. Fixed a newly introduced bug that prevented bsd.sites.mk from being found.
2005-07-20Added a subroutine expand_variable that replaces certain known ${...}rillig1-38/+32
substrings with reasonable values.
2005-07-20Removed global variable for checking type conformity of Makefile variables.rillig1-15/+22
2005-07-20Removed global variable %seen_Makefile_include.rillig1-10/+8
2005-07-20Removed globally visible variable %predefined_sites. It is now arillig1-12/+24
"static" variable of the check_predefined_sites subroutine.
2005-07-20Changed the default value of $pkgname from "" to undefined.rillig1-7/+7
2005-07-20Removed three more global variables.rillig1-29/+16