summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/TODO
blob: 24e569b8d0b1246f7e41665e80c35b60da750d47 (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
* --autofix
* fix false positive warnings
* quoting check for Makefile variables
* check for absolute paths
* 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