summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2005-11-07Update to 20051107: Fix pkg_info -B against binary packages.dillo2-6/+4
2005-11-07Sync with basesrc:wiz1-3/+3
Replace wait(2) with equivalent waitpid(2); for Linux, reported by wulf@ on tech-pkg.
2005-11-07Add target 'standalone-install': install libkver in ${LIBKVER_STANDALONE_DIR},seb1-1/+6
defaults to /libkver, and register it there. This is a convenient one-stop target to use libkver in a sandboxed bulk-build. (hint for Julio ;)
2005-11-07Aren't we forgetting something here?tv1-1/+18
(Insert config.h, nbcompat.h, and bracket the other includes with #if HAVE_<file>.)
2005-11-07Use the hard-coded ${PKG_TOOLS_BIN} variable as the correct location ofjlam2-3/+5
the pkg_admin binary.
2005-11-07INSTALL_SCRIPT_ENV wasn't being defined to include a definition forjlam1-1/+2
PKG_PREFIX, which was causing the INSTALL script to fail when run from the post-install-script target.
2005-11-07Updated pkglint to 4.38.rillig3-171/+156
- 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.
2005-11-06+ check for magic numbers like 0755, 755, 644rillig1-0/+1
2005-11-06In the "update" target, use "${UPDATE_TARGET}" to install the newjlam1-2/+2
pkg_install tools. This allows customizing UPDATE_TARGET=package to produce a binary package instead of just installing the package.
2005-11-06Remove @exec from PLIST and put the action into an INSTALL script instead.jlam3-40/+65
Also, simplify the package by making use of the PKGMANDIR-handling in pkgsrc to remove the custom MANDIR code from the package Makefile and the PLIST. Technically, this type of a change would require a PKGREVISION bump, but as this is the pkg_* tools package and there were no changes to the binaries, we refrain from doing so.
2005-11-06* check Makefile directivesrillig1-0/+3
* check _every_ line of the Makefiles * warn about the use of ${SED} in {pre,do,post}-install
2005-11-06+ include "../../mk/bsd.prefs.mk" before any .if.rillig1-0/+1
2005-11-06Added a note that SUBST_SED might be changed to a List instead of arillig1-1/+2
List* later.
2005-11-06Use config.h and add appropriate #if HAVE_FOO_H.wiz2-4/+36
2005-11-05Replaced ${PKGNAME:C...} with the equivalent ${PKGBASE}.rillig1-2/+2
2005-11-05Add new files.wiz1-3/+3
2005-11-05Not needed.wiz2-193/+0
2005-11-05Sync with base system as of Sat Nov 5 13:19:32 UTC 2005.wiz27-436/+1317
Welcome to 20051103! Now with "automatic" support.
2005-11-05Updated pkglint to 4.37.2.rillig2-9/+10
- 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.
2005-11-04Updated pkglint to 4.37.1.rillig2-12/+17
- Improved detection of valid tool names.
2005-11-04Fixed regular expression for finding valid tool names. Added debuggingrillig1-8/+19
output for tool names. Sorted and aligned the list of known tools.
2005-11-04Manually added some commonly used tool names.rillig1-1/+7
2005-11-04Allow "-" in Tool names.rillig1-2/+2
2005-11-04Updated pkglint to 4.37.rillig3-8/+21
- 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.
2005-11-04- PLIST_SRC may be set with both "=" and "+=".rillig2-5/+5
- Allow variables as Option. - Improved the diagnostic for "invalid subdirectory of ${WRKSRC}".
2005-11-04Added trailing dot to the diagnostics where it was missing.rillig1-8/+8
2005-11-04Updated pkglint to 4.36.1.rillig3-31/+118
- 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.
2005-11-04Updated pkglint to 4.36.rillig3-30/+105
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.
2005-11-04I knew there had been a program that uses the (now removed) -Wno-workdirrillig1-2/+2
option. I just didn't think it was pkglint itself. :) Thanks to Martti for notifying me about that.
2005-11-04Updated pkglint to 4.35.rillig4-20/+15
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.
2005-11-04Updated pkglint to 4.34.rillig2-20/+29
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.
2005-11-03include ../../mk/bsd.prefs.mk before using "+=".rillig1-0/+1
2005-11-03The "../.." and PERL5_PACKLIST checks are implemented.rillig1-2/+0
2005-11-03Updated pkglint to 4.33.1.rillig3-29/+36
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.
2005-11-03Updated pkglint to 4.33.rillig1-2/+2
Changes since 4.32.2: - Added checks for CATEGORIES. - Modernized checks for DEPENDS and BUILD_DEPENDS. - Simplified PLIST directive checks.
2005-11-03Added "linux" to the list of allowed categories.rillig1-2/+2
2005-11-03Added comments for global variables. Renamed $loglines to $lines, as therillig1-35/+29
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.
2005-11-02Added DEPENDS_TARGET, FETCH_DEPENDS, LIB_DEPENDS and RUN_DEPENDS to therillig1-1/+5
list of deprecated variables.
2005-11-02Modernized the check for dependency items. Stricter URL checking.rillig1-95/+22
Removed the warning for a single element in DISTFILES, as I don't see any reason for keeping it.
2005-11-02Added two global variables, $current_dir and $is_wip. This reduces therillig1-88/+90
number of parameters to many subroutines.
2005-11-02Added a check for valid CATEGORIES. The new type List* is the same asrillig2-8/+36
List, except that no warning is reported for not using the "+=" operator.
2005-11-02Replaced the global $conf_* variables with constants of the same name.rillig1-17/+17
2005-11-02Converted the global regular expression variables into constants.rillig1-25/+24
2005-11-02Added the --long-options to the --help output. Replaced some constantsrillig1-12/+8
inline, as they had only been used once.
2005-11-01Updated pkglint to 4.32.2.rillig2-37/+50
Added a check for invalid uses of MASTER_SITE_* variables.
2005-11-01Updated pkglint to 4.32.1.rillig3-5/+46
Added type check for USE_TOOLS. Fixed false warning about direct use of tools in comments.
2005-11-01Updated pkglint to 4.32.rillig2-44/+75
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.
2005-11-01As I don't know how many backslashes are needed inside backticks to makerillig1-3/+5
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 $.
2005-10-30Updated pkglint to 4.31.2.rillig2-4/+4
Added the expected and actual checksums to the diagnostics if they differ for patches.
2005-10-30Added three methods insert_before(), insert_after() and delete() to arillig1-8/+38
Pkglint::FileUtil::Line, which will be used for the --autofix option. No user-visible changes.