summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/TODO
blob: 36774e98d344f854287bc8a7c85eb66281d883f7 (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
* --autofix
* fix false positive warnings
* quoting check for Makefile variables
* check for direct use of /usr/pkgsrc etc.
* check for direct use of *DIR
* ONLY_FOR_PLATFORM => NOT_FOR_PLATFORM
* -Wl,-rpath
* include "../../mk/bsd.prefs.mk" before using "+=".
* include "../../mk/bsd.prefs.mk" before any .if
* check Makefile directives
* check _every_ line of the Makefiles
* warn about the use of ${SED} in {pre,do,post}-install
* check for direct use of user names and group names
* Find a reliable, secure way to delete all CVS directories inside
  ${WRKSRC}. When that is finished, add a warning that using ${XARGS}
  is insecure.
* detect spelling errors (like CONFLICT => CONFLICTS)
* warn about the use of ${WRKDIR:=...}, as this construct should only
  be used with lists.
* mention the SUBST framework whenever ${SED} is used.
* extract the DISTFILES if they exist and check all files in them for:
  - security holes,
  - coding style violations,
  - possible unportable constructs
* check that all values used for the PKG_OPTIONS are documented in
  mk/defaults/options.description. Requested by Antoine Reilles via
  private mail.