aboutsummaryrefslogtreecommitdiff
path: root/TODO
blob: 18ceb8c950bc4976f82a67ed53c11b854ce83dc2 (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
37
38
39
40
41
TODO: sbopkglint: exempt /lib/firmware and /usr/share/alsa/firmware from ELF checks
TODO: sbolint: exempt github gists URLs from check (actually, only check /archive/).
TODO: sbolint: complain about backticks and chown blah.blah
TODO: sbopkglint: maybe complain louder if an empty /usr/bin dir exists? aterm...
TODO: sbopkglint: maybe? change "forbidden" to:
  --- etc/ld.so.conf not allowed to exist in SBo packages.
TODO: sbopkglint: grep for LD_LIBRARY_PATH in /etc/profile.d/* scripts.

This stuff is implemented, probably works, needs more testing:
DONE: sbolint and sbopkglint both: complain if PRGNAM has invalid characters.
DONE: if sbopkglint finds a hardcoded $PKG in /var/lib/pkgtools/scripts/*,
      mention doinst.sh in the error message
DONE: check arch of static libs (like the shared lib checks).
DONE: if package contains any static libs, don't suggest noarch.
DONE: check structure and contents of /usr/share/terminfo.
DONE: /usr/share/pixmaps image check no longer includes subdirs.
DONE: 32-bit packages are not allowed to contain /lib64 or /usr/lib64.

Not yet implemented:
TODO: stop checking shared libs for +x and being stripped if they're not
      directly in /lib /lib64 /usr/lib /usr/lib64. too many packages
      trigger this, and it just doesn't matter much.
TODO: figure out if /usr/GNUstep is allowed or not.
TODO: sbopkglint reports bad files in doc dir twice.
TODO: sbopkglint should check for stuff like /usr/lib/lv2 vs. /usr/lib64/lv2,
      according to ARCH. see audio/helm, v0.9.0, BUILD=1

Future test ideas:

- duplicate files, maybe the error message could suggest a "ln -s" command
  to use if the file really does need to appear in multiple dirs.

- fonts. make sure they are what their filename says, and are installed to
  the correct /usr/share/fonts/* or /usr/share/kbd/consolefonts dir.

Other ideas:

When linting multiple packages, print a summary: 100 packages checked,
10 failed, 90 passed. Maybe with percentages too.

Clean up the output. Make it easier to grep.