aboutsummaryrefslogtreecommitdiff
path: root/NEWS
blob: e9896f1ab3d25be780a00007096ffc60c34bd3da (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
The real ChangeLog is the git log. This is just a summary of the
user-visible changes between releases.

New in 0.9.1:
=============

sbopkglint:
- The $TMP directory is created, if it doesn't exist. Derp.
- Files/dirs owned by UID or GID >= 1000 are errors.
- ELF objects aren't checked for ARCH, if they're in /usr/share/qemu.
- perllocal.pod, .packlist, *.bs are detected.
- Invalid characters in the package name are detected.

sbolint:
- *.rej files are detected and draw a warning.
- Script permission check allows 0644 or 0755 now.
- URLs in .info files with % characters are now handled correctly.

sbodl:
- Don't refer to itself as sbopkglint in --help and man page.
- Add -n (--no-content-disposition) option, and make option
  processing nicer.

New in 0.9.0:
=============

sbopkglint:
- Spaces in filenames are now handled correctly.
- Permissions and ownership of icons are now checked.
- Shared libraries are now checked for +x permission.
- Option bundling is now supported (e.g. -ki is the same as -k -i).
- Long names for all options (see --help or man page).
- New static library test (permissions, ownership, validity, plus a
  note if there's also a shared version of the same lib).
- Files that aren't supposed to exist in perl builds are now
  checked for (perllocal.pod, .packlist, *.bs).

sbolint:
- Warning: -n option has changed meaning! It used to mean "no warnings",
  use "-e" for that, now. New -n is "no notes".
- Option bundling is now supported (e.g. -qr is the same as -q -r).
- Long names for all options (see --help or man page).
- New -n (--no-notes) option to disable notes.
- You can use - for a build name, to read a list of builds from
  standard input. This is actually not new, but was undocumented before.
- If doinst.sh exists, it's checked for correct usage of config(),
  preserve_perms(), and gtk-update-icon-cache.
- If the slack-desc still has "(short description of app)", that's an error.
- The -a option now redirects stdout to a log file, if stdout is a terminal.

sbodl:
- Color is now used only if stdout is a TTY.
- Exit status is now useful: success if all files exist and their
  md5sums match, or failure otherwise.

New in 0.8.2:
=============

sbolint:
- When checking for doinst.sh, don't complain if it's doinst.sh.gz.
- Add progress bar (on stderr) for -a. Also, make the user redirect
  stdout (instead of spewing to the terminal).
- Add summary for -a (total builds, totals + percentages OK and failed).
- Check for douninst.sh (must exist if the script mentions it; must not
  exist if the the script doesn't mention it).
- If LIBDIRSUFFIX and/or SLKCFLAGS are set, and then never used, you'll
  get a non-fatal NOTE message. Yes, you can ignore this.

sbopkglint:
- Forbid nonstandard directories directly under /usr (e.g. /usr/$PRGNAM).
- Check for install/slack-desc.
- Check for $TMP/package-* baked into any files in the package. This requires
  TMP to be set the same as it was when the package was built (normally,
  /tmp/SBo).

New in 0.8.1:
=============

This is a bugfix release.

sbolint:
- When linting tarballs, files with extra dots in the filename (e.g.
  foo.bar.tar.gz) were failing to validate. Fixed.
- Also handle tarballs created by file-roller, which list the directory
  last rather than first. And tarballs created by 'tar cvfz foo.tar.gz
  foo/*', which don't list the directory at all.

New in 0.8.0:
=============

Added this NEWS file :)

Added a new tool: sbodl, which downloads sources and checks md5sums.

sbolint:
- Suggestions only (not an error/warning) to split python builds into
  separate python2- and python3- builds, and to use the python2 command
  rather than plain python (because someday, /usr/bin/python will become
  a symlink to python3, not python2).
- Add a bit of color in the output (red errors, green OK, etc).
- Check TMP= PKG= OUTPUT= assignments.
- Check for outdated (i386, i486) ARCH and flags.
- Check for hidden and empty files/directories.
- Fix off-by-one error in slack-desc line length check.
- Add check for trailing whitespace on slack-desc non-blank lines.

sbopkglint:
- Add tests for /usr/info.
- /etc/ld.so.conf.d is not allowed.
- *-mimetypes.list is now allowed in /usr/share/applications.
- Broken python modules (named UNKNOWN-*) are now detected.

Thanks to bedlam, fourtysixandtwo, Fonix, lockywolf, timsoft, and
probably others for the ideas that led to the new features in 0.8.0.