summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2006-03-23avoid a malformed conditional with the make on netbsd-2.dmcmahill1-2/+2
2006-03-19pkglint: unquote subst message.wiz1-2/+2
2006-03-14Updated pkglint to 4.59.rillig1-2/+2
Changes since 4.58: - Improved checking of patch files. - Adjusted the variable names to the recent pkgsrc changes. - Print a note if the pkglint version does not match the one from the checked pkgsrc tree.
2006-03-14Added HEADER_TEMPLATE.rillig1-1/+2
2006-03-14{DE,}INSTALL_EXTRA_TMPL have been renamed to {DE,}INSTALL_TEMPLATE.rillig2-4/+8
2006-03-14Modify the pkginstall framework so that it manages all aspects ofjlam4-12/+5
INSTALL/DEINSTALL script creation within pkgsrc. If an INSTALL or DEINSTALL script is found in the package directory, it is automatically used as a template for the pkginstall-generated scripts. If instead, they should be used simply as the full scripts, then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC explicitly, e.g.: INSTALL_SRC= ${PKGDIR}/INSTALL DEINSTALL_SRC= # emtpy As part of the restructuring of the pkginstall framework internals, we now *always* generate temporary INSTALL or DEINSTALL scripts. By comparing these temporary scripts with minimal INSTALL/DEINSTALL scripts formed from only the base templates, we determine whether or not the INSTALL/DEINSTALL scripts are actually needed by the package (see the generate-install-scripts target in bsd.pkginstall.mk). In addition, more variables in the framework have been made private. The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are more sensible names given the very few exported variables in this framework. The only public variables relating to the templates are: INSTALL_SRC INSTALL_TEMPLATE DEINSTALL_SRC DEINSTALL_TEMPLATE HEADER_TEMPLATE The packages in pkgsrc have been modified to reflect the changes in the pkginstall framework.
2006-03-13Fix -uu handling so recursive updates of already installed packages work,erh2-8/+8
even if the initial package to install isn't installed yet. Bump the version to 20060313.
2006-03-13{DE,}INSTALL_EXTRA_TMPL do not always need the += operator.rillig1-3/+3
2006-03-13Do not declare a static variable in a header file as non-static. This makesminskim2-1/+14
the package build with gcc-4.
2006-03-13Define SLIST_HEAD_INITIALIZER for platforms without it.minskim2-1/+17
2006-03-12Update to 1.28:jmmv2-4/+4
- PKG_SYSCONFDIR cannot be set by mk.conf; it is PKG_SYSCONFBASE. This was correct in one place but incorrect in another. Fixes PR pkg/33061 by Yoshito Komatsu.
2006-03-12- Added a bunch of variables to makevars.map.rillig2-12/+42
- Removed the specialized spell checker for NO_*_ON_*, since the generic one catches these quite well. - SITES_* is deprecated in favor of SITES.*. - Don't warn if variable alignment is done with exactly one space character, since this is common when one line from a group has an overly lengthy variable. - Added support for checking whether the number of leading lines of context matches the number of trailing lines of context in patch files of the unified diff format. The MacOS X patch utility cannot handle these. As there are quite a number of false positives here (especially when the hunk is applied at the end of a file), this warning only shows up in --debug mode.
2006-03-12Added the BrokenIn data type. All BROKEN_IN lines generate an additionalrillig2-3/+11
note that tells the user to remove the line if the package builds.
2006-03-11- Renamed "List!" to "InternalList".rillig2-16/+24
- When ${SED} and ${MV} are used in a single shell command, print a note that the SUBST framework is preferred over the direct use of these commands.
2006-03-11Use PKGMANDIR instead of "man".reed1-3/+3
2006-03-11Explain why this exists and mention other package with it.reed1-1/+6
2006-03-11Added CHECK_FILES_SKIP, DEVOSSSOUND, DLOPEN_REQUIRE_PTHREAD.rillig1-1/+4
2006-03-10Use pkginstall to generate the INSTALL script instead.jlam1-18/+7
2006-03-10Don't check the quoting in backticks. This is a misdesign of pkglint.rillig1-1/+5
2006-03-10Added PKG_SYSCONFDIR and PKG_SYSCONFVAR. The latter is not a Varname, asrillig1-1/+4
the name might suggest, but an Identifier.
2006-03-10Added SITES.rillig1-1/+2
2006-03-10Add -DHAVE_CONFIG_H to CPPFLAGS so xstrdup.c will include <string.h>epg1-1/+2
and get the correct prototypes for strcpy and strlen. Fixes build on Ubuntu Linux, and likely others.
2006-03-09Added the REPLACE.* and REPLACE_FILES.* variables.rillig2-2/+7
2006-03-09Add -*- perl -*- so emacs recognizes it automatically.wiz3-4/+8
revbump: only print "updated" line when updating was successful.
2006-03-08- In unified diffs, the hunk header must not end in a CR character.rillig1-4/+11
- Unmaintained packages should have pkgsrc-users instead of tech-pkg.
2006-03-07Update to 1.4:wiz1-8/+8
Replace 'make' with '${MAKE}' for non-NetBSD. Requested by joerg@.
2006-03-07Improve short description.wiz1-2/+2
2006-03-07Quoting fix in example, from joerg@.wiz1-3/+3
2006-03-07Standardize option handling (use getopts, provide same options for allwiz7-44/+81
three tools). use strict and cleanup problems found this way. Remove some unused variables. Update documentation. Welcome to 1.3!
2006-03-06Fix some typos, found by joerg@.wiz1-3/+3
2006-03-05Update to 1.2:wiz6-25/+225
New script "finddepends" that finds all packages that need bumping. No need for an index, and not as many false positives too. Update recursive PKGREVISION instructions in revbump(1).
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam4-8/+8
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-03-02Update the digest package to 20060302.agc5-45/+44
Apply Tyler Retzlaff's patches from PR 32323 to make this compile with gcc4.
2006-03-02When in context diff mode, as soon as the add-hunk header is seen, therillig1-1/+2
number of deleted lines is irrelevant. This fixes one false positive.
2006-03-02- Make sure that at the end of a patch file, the state of the parser isrillig1-1/+29
PST_TEXT. Otherwise the last hunk may not be checked completely.
2006-03-02- It is an error if a hunk in a patch contains fewer lines that what isrillig1-3/+9
specified in the hunk header.
2006-03-02Fix last broken commit which resulted in an incomplete shared object.tron2-4/+6
Bump package revision because of this change.
2006-03-02Rearrange build process to work on case-insensitive filesystems e.g.tron2-5/+4
on a standard HFS+ partition under Mac OS X.
2006-03-02- At startup, pkglint checks against the package version inrillig1-25/+52
pkgtools/pkglint. If a newer version is available, it outputs a note. If the pkgtools/pkglint version is older than the currently running one, it outputs an error, since it is not a good idea to check and old tree with a new pkglint. Suggested by Alistair.
2006-03-01Updated pkglint to 4.58.rillig2-3/+75
Changes since 4.57: - New parser for patch files. - New command line options -Wplist-depr and -Wstyle. - Variable assignments are no longer allowed in variables that should only contain identifiers. - builtin.mk files must not be included directly. - Better checks for sed commands. - Some commands like ktrace should never appear in Makefiles. - The package version is compared to the requested update in file doc/TODO.
2006-03-01Debian's lintian has many ideas for things that pkglint could also check.rillig1-1/+2
Maybe we can use some of them.
2006-03-01Added DEVOSSAUDIO and LIBOSSAUDIO.rillig1-1/+3
2006-03-01Update AC_C___ATTRIBUTE__ macro from heimdal, fixes detection withjoerg2-18/+11
GCC 4.
2006-03-01Update AC_C___ATTRIBUTE__ macro with newer version on Heimdal,joerg2-19/+7
the old one is just bogus and depends on GCC extensions. Unbreaks GCC 4 build.
2006-02-28The rant on Perl has moved to the pkglint book.rillig1-11/+1
2006-02-28Added more documentation on the format of the diagnostics.rillig1-2/+28
2006-02-28Added a rant on the Perl programming language.rillig1-2/+70
2006-02-28- Added the -Wstyle command line option, which enables warnings that don'trillig3-8/+19
affect the build process but are of more stylistic nature. - Enabled the warnings on missing explanatory comments for patch files when -Wstyle is enabled.
2006-02-28The section on the pkglint type system has been moved to the pkglint book.rillig1-24/+1
2006-02-28Added the chapter ``Design goals''.rillig2-1/+94