summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/TODO
blob: c0722989ab18bf2f06acdad1651b08df8111998c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$NetBSD: TODO,v 1.58 2007/05/29 01:35:05 schmonz Exp $

Please add your own entries at the bottom of this file. If possible,
include the name of an example package where a warning should occur.

* fix false positive warnings
* ONLY_FOR_PLATFORM => NOT_FOR_PLATFORM
* check for direct use of user names and group names
* warn about the use of ${WRKDIR:=...}, as this construct should only
  be used with lists.
* record with each substring its source location to be able to make
  even more precise diagnostics
* check whether CONFIG* override match, e.g. CONFIGURE_DIRS most likely
  needs matching CONFIG_GUESS_OVERRIDE and CONFIG_SUB_OVERRIDE as well
* Many of the checking routines need some context to provide better
  warnings. For example, checkline_foo() may need to know what has
  happened in the file before that line.
* Add checks for binary packages. See Debian/lintian for ideas.
* Of the user-defined variables, some may be used at load-time and some
  don't. Find out how pkglint can distinguish them.
* Make sure that no variable is modified at load-time after it has been
  used once. This should at least flag BUILD_DEFS in bsd.pkg.mk.
* Implement unescape_shellword, which is required for the type check for
  SedCommand.
* Invent an annotation scheme for files that intentionally define
  variables for use in other files.
* ${MACHINE_ARCH}-${LOWER_OPSYS}elf in PLISTs etc. is a NetBSD config.guess
  problem ==> use of ${APPEND_ELF}
* Packages including lang/python/extension.mk must follow the Python version
  scheme. Enforcing PYPKGPREFIX for those is most likely a good idea.
* pkglint ist momentan zufrieden mit wip/gdal-docs, obwohl das Makefile
  gdal-1.3.1 will, aber das distinfo noch die Checksum von 1.2.6 hat.
  Magst vielleicht einen Test einbauen, der schaut, ob die zusammenpassen?
* Complain about configure patches with ": Avoid regenerating within pkgsrc" chunks
* Check for parallel files/dirs whose names differ only in case.
* Check for German text in pkgtools/pkglint/TODO.