summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2006-09-15The :M* operator is only needed when the package has a GNU-stylerillig1-3/+17
configure script.
2006-09-14Update to 1.4:jmmv2-4/+9
- Sort dependencies properly so that, e.g., 2.10 is considered newer than 2.8. This is still a hack and might fail in some cases, but is hopefully much better than before.
2006-09-13Fix typo in previous revision.ginsbach1-2/+2
2006-09-13Don't try to rename pkg-comment if it does not exist. Ports no longerginsbach2-5/+7
use pkg-comment but have a COMMENT= in the Makefile.
2006-09-13Use pkgsrc-users as default MAINTAINTER.ginsbach1-2/+2
2006-09-13Use pkgsrc-users@NetBSD.org as default MAINTAINER.ginsbach2-4/+4
2006-09-10improve imake support on IRIX 5schwarz1-13/+9
2006-09-09improve support for IRIX 5 working around some bad default settingsschwarz3-8/+44
2006-09-09MAKEFILE has been renamed to MAKE_FILE.obache2-3/+6
2006-09-08TODO:rillig1-1/+2
* Check all the shell commands to see if they are mentioned in USE_TOOLS.
2006-09-08Improved the heuristics for detecting absolute pathnames.rillig2-6/+9
Not only CFLAGS, but also {FOO}_CFLAGS should be passed through the :M* operator before being passed to the shell.
2006-09-03Reset maintainer for people who lost their commit bit.wiz2-4/+4
2006-08-31Made the shell word parser accept \$$ as a token. This avoids anrillig1-3/+4
internal error showing up in benchmarks/netio.
2006-08-30The *.mk files need two passes to make the BUILD_DEFS check workrillig1-9/+19
reasonably well. In the first pass, all variables that are added to BUILD_DEFS are collected, and in the second pass it is checked whether any remaining user-defined variables are used but have not been added to BUILD_DEFS. This way, it does not matter in which order the variables appear in the files.
2006-08-29Revert libncompat usage and kill the use of snprintf in whirlpool andjoerg6-66/+57
tiger instead. Also kill bogus NULL pointer handling in both algorithms: passing null pointers as buffers (when len != 0) or context is a serious programming error and should result in a segfault. Bump version to 20060826. OK agc@
2006-08-28Variable names may contain simply nested variables. This allows therillig1-2/+6
shell parser to correctly handle ${WRKSRC.${d}}, which appears for example in geography/epsg. Avoided an internal fatal error for files that contain RCS conflicts.
2006-08-26For the benefit of Mr. Kite^W^Wsnprint.c add long double type detection.seb3-2/+82
2006-08-26include libnbcompat on IRIX 5 in order to provide snprintf()schwarz1-1/+5
2006-08-25Update pkg_chk to 1.80:abs3-18/+26
- Intoduce fatal_later() and fatal_later_check() and use them to clean up reporting unavailable package dependencies - Remove unused references to opt_S (reported by bad@) - Fix manpage reference DEPENDS_TARGET -> UPDATE_TARGET (reported by bad@)
2006-08-24Add missing file to PLIST. Bump version.wiz2-3/+4
2006-08-24Fix a pasto.wiz1-9/+9
Correct installation logic -- it was reversed. Bump version number, since package was completely broken.
2006-08-19make sure INSTALL gets passed to the Makefileschwarz1-1/+3
2006-08-18Remove comments, because printindex cannot handle them.wiz1-3/+3
2006-08-17Uncomment directories which had no reason given for being commented out.wiz1-8/+8
2006-08-11Fix compile problem on gcc-4; added simply includes of <stdio.h>.taca1-1/+2
2006-08-10update pkg_chk to 1.79: default PKG_DBDIRabs2-5/+7
2006-08-06CPP on IRIX 5 with IDO cc is /usr/lib/cppschwarz1-1/+6
2006-08-06Fix -q which ate the next argument. Only document -i and -c in thecube3-13/+7
"Deprecated options" part of the manual. PR#34145 by Dieter Roelants.
2006-08-04Updated pkglint to 4.68.rillig1-2/+2
Changes since 4.67: - Adjusted to the ongoing changes in the pkgsrc infrastructure. - Many small improvements in the makevars.map file. - Stricter checking of dependency patterns, to catch foo-*. - Small improvement on the use of stack space due to complicated regular expressions. - Many more absolute pathnames are found in patch files, no matter which type of file is patched. - All user-defined variables that are used should be added to BUILD_DEFS. - All packages that set GNU_CONFIGURE are assumed to need a C compiler. - Instead of ${TOOL}, tool may be used directly, since the tool wrappers are installed very early in the build process. - Removed the --debug option. ... and many more.
2006-08-04Added more code to the shell word parser so that it can parse variables,rillig1-3/+9
in double quotes or not, inside backticks.
2006-08-04s/man/${PKGMANDIR}/rillig1-2/+2
2006-08-03xpkgwedge is an in-pkgsrc tool; it doesn't use PKGREVISION. Make it 1.16.tv1-3/+2
2006-08-02On Linux the Imake files need gmake, so we do _not_ need MAKE butheinz1-2/+3
IMAKE_MAKE replaced in pkgxmkmf.
2006-08-01Ensure that the file that is opened in the editor is writable by the user.bad4-9/+15
Approved by wiz@.
2006-08-01Pkglint can now resolve a plain occurrence of ${DISTNAME} in PKGNAME,rillig1-1/+7
which helps for some Perl modules to get the correct package name, which in turn influences whether the update requests from doc/TODO can be shown or not. Suggested by wiz.
2006-07-30Remove leading zero in date.wiz2-3/+3
2006-07-29Since dots are common in pathnames, include them when looking forrillig1-2/+2
absolute pathnames.
2006-07-29Pkglint now recognizes .include <foo> directives, which is necessary forrillig1-10/+29
some of the infrastructure files. This also allows checking the Makefiles in htdocs. Added GAMEOWN, GAMEGRP and GAMEDIRMODE to the list of user-defined variables that don't need to be mentioned in BUILD_DEFS. When looking for absolute pathnames in "other" files, don't require them to have a second component. This produces warnings for /var and /tmp, which had been hidden before. When strings that are likely to be absolute pathnames appear in the form $(VARIABLE)/bin or "+ '/bin'", don't print a warning. The latter is used when "+" is a string concatenation operator. The direct use of tools is only suggested in targets named {pre,do,post}-*, since other ones may be invoked without the tool directory being in the PATH.
2006-07-28Remove superfluous .Nm.wiz1-2/+1
2006-07-28The shell command lines in Makefiles are split into words, which are thenrillig1-1/+10
saved in the line as extra fields. When checking for absolute pathnames in "other" files, allow the form ${variable}/bin, as seen in www/apache2/patches/patch-ad. Noticed by Matthias Scheler.
2006-07-28Allow the binpkg-cache script to also generate pkg_summary.gz filesdmcmahill1-1/+2
if requested. Suggested by Joerg Sonnenberger.
2006-07-27Renamed *_SITE_* to *_SITES_*.rillig1-3/+3
2006-07-27DYNAMIC_MASTER_SITES is gone.rillig3-15/+6
2006-07-27Some minor tweaks.rillig1-7/+9
2006-07-27Updated the man page.rillig2-25/+10
2006-07-27Removed the --debug option, which has been superseded by the variousrillig1-85/+211
-D... options. Removed the check for the :Q operator in C preprocessor macro definitions, since we generally don't expect directory names with embedded special characters in pkgsrc. In buildlink3.mk files, the only BUILDLINK_* variables that may be set are those of the current package. The shell variables $@ and $? are now recognized. Since the shell parser is able to parse the complete code in all pkgsrc packages, make parse errors show in the normal pkglint output. These errors had been hidden before. Fixed the regular expressions in the shell parser to only match at the beginning of the string. That way, when the shell command contains $$@, the $@ is not removed, leaving a single $ behind. Added some code to deal with the different parsing styles of bmake in variable assignments and shell commands. For that, the PkgLint::Line class has been extended to contain arbitrary additional data. This will also allow to reduce the number of duplicate warnings later. The assert() procedure has got a second parameter, the message to be printed. Variable assignment lines start start with a space character (\u0020) are now recognized, but no warning is printed. In pathnames and pathmasks, the '#' character is allowed, since some packages need to remove the .#* files from CVS before installing.
2006-07-27Fixed a duplicate ID.rillig1-2/+2
2006-07-24In addition to ${SED} and ${TR}, sed and tr should not be used in therillig1-8/+35
install phase. Stricter checks for manual pages in PLIST files.
2006-07-22Update pkg_chk to 1.77:abs2-16/+33
- Resolve PR/31909 - use tr rather than fmt to avoid issue on Solaris - Resolve PR/33370 - always show fatal messages to STDERR - Resolve PR/32326 - Correctly extract PKG_DBDIR Also, when -v is used display the state of all extracted variables at the start of the run
2006-07-22Policy change: Instead of the tool variables (for example ${CP}), therillig1-14/+38
simple commands (for example "cp") should be used, since the tools framework provides wrappers for them. This applies only to the cases where the tool variables appears as the first word in a shell command. When doing substitutions in files that are later installed, the full name should still be used.