diff options
author | B. Watson <urchlay@slackware.uk> | 2024-10-09 00:30:33 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-10-09 00:30:33 -0400 |
commit | 756d134a3b8c03881461c3f63ca36bb88370a954 (patch) | |
tree | 5ab15d8767e657dff8124cbec29567435f8ee6aa | |
parent | 00c1756b4289365ca5a6c89896027446bdb57c02 (diff) | |
download | sbo-maintainer-tools-756d134a3b8c03881461c3f63ca36bb88370a954.tar.gz |
sbolint: complain about chown with . instead of :
-rw-r--r-- | TODO | 9 | ||||
-rwxr-xr-x | sbolint | 2 |
2 files changed, 7 insertions, 4 deletions
@@ -1,12 +1,13 @@ -TODO: sbolint: complain about backticks and chown blah.blah +TODO: sbolint: maybe? complain about backticks 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: -TODO: sbolint: exempt github gists URLs from check (actually, only check /archive/). -TODO: sbopkglint: complain louder if an empty /bin /usr/bin /sbin /usr/sbin exists. -TODO: sbopkglint: exempt /lib/firmware and /usr/share/alsa/firmware from ELF checks +DONE: sbolint: complain about chown blah.blah (should be blah:blah) +DONE: sbolint: exempt github gists URLs from check (actually, only check /archive/). +DONE: sbopkglint: complain louder if an empty /bin /usr/bin /sbin /usr/sbin exists. +DONE: sbopkglint: exempt /lib/firmware and /usr/share/alsa/firmware from ELF checks 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 @@ -1465,6 +1465,8 @@ sub check_script { $makepkg = $lineno; } elsif(/^\s*?CWD=/) { log_warning("$file:$lineno: lone CWD= assignment is redundant in 15.0 template"); + } elsif(/^\s*?chown\s+[^#;]*\S+\.\S+/) { + log_warning("$file:$lineno: chown should use : instead of . for user:group separator"); } if(/^[^#]*<documentation>/) { |