-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1845 from freedomofpress/lintian
Run lintian on Debian packages
- Loading branch information
Showing
13 changed files
with
218 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
securedrop-client: arch-independent-package-contains-binary-or-object | ||
|
||
# This is intentional | ||
securedrop-client: dir-or-file-in-opt | ||
|
||
# FIXME | ||
securedrop-client: extended-description-is-empty | ||
|
||
# FIXME: fix by switching to arch: any | ||
securedrop-client: missing-dependency-on-libc | ||
|
||
# FIXME: remove __pycache__ directories | ||
securedrop-client: package-installs-python-pycache-dir | ||
|
||
# FIXME: section shouldn't be "unknown" | ||
securedrop-client: section-is-dh_make-template | ||
|
||
# FIXME: fix by switching to arch: any | ||
securedrop-client: unstripped-binary-or-object [opt/venvs/securedrop-client/lib/python3.*/site-packages/markupsafe/*] | ||
securedrop-client: unstripped-binary-or-object [opt/venvs/securedrop-client/lib/python3.*/site-packages/sqlalchemy/*] | ||
|
||
# We don't care | ||
securedrop-client: no-manual-page | ||
|
||
# FIXME | ||
securedrop-client: package-contains-vcs-control-file [opt/venvs/securedrop-client/.gitignore] | ||
|
||
# We don't care about these | ||
securedrop-client: script-not-executable | ||
|
||
# This is our virtualenv's interpreter | ||
securedrop-client: unusual-interpreter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Yes, we ship stuff in /opt | ||
securedrop-export: dir-or-file-in-opt [opt/venvs/*] | ||
|
||
# FIXME: don't install __pycache__ | ||
securedrop-export: package-installs-python-pycache-dir | ||
|
||
# FIXME: section shouldn't be "unknown" | ||
securedrop-export: section-is-dh_make-template | ||
|
||
# TODO: "does not provide a code like %f, %F, %u or %U in the Exec key." | ||
securedrop-export: desktop-mime-but-no-exec-code [usr/share/applications/send-to-usb.desktop] | ||
|
||
# We don't care about man pages | ||
securedrop-export: no-manual-page | ||
|
||
# FIXME: don't ship gitignore | ||
securedrop-export: package-contains-vcs-control-file [opt/venvs/securedrop-export/.gitignore] | ||
|
||
# Doesn't matter | ||
securedrop-export: script-not-executable | ||
|
||
# This is our virtualenv's interpreter | ||
securedrop-export: unusual-interpreter | ||
|
||
# This is intentional | ||
securedrop-export: file-in-etc-not-marked-as-conffile [etc/udisks2/tcrypt.conf] | ||
|
||
# This is intentional | ||
securedrop-export: control-file-is-empty [conffiles] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# FIXME | ||
securedrop-keyring: extended-description-is-empty | ||
|
||
# This is intentional | ||
securedrop-keyring: file-in-etc-not-marked-as-conffile [etc/apt/trusted.gpg.d/securedrop-keyring.gpg] | ||
|
||
# This is intentional | ||
securedrop-keyring: package-installs-apt-keyring [etc/apt/trusted.gpg.d/securedrop-keyring.gpg] | ||
|
||
# FIXME: section shouldn't be "unknown" | ||
securedrop-keyring: section-is-dh_make-template | ||
|
||
# This is intentional | ||
securedrop-keyring: control-file-is-empty [conffiles] | ||
|
||
# FIXME: abbreviate | ||
securedrop-keyring: synopsis-too-long | ||
|
||
# TODO: this probably isn't an issue, double check our kernels have fs.protected_hardlinks=1. | ||
securedrop-keyring: recursive-privilege-change |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This is intentional | ||
securedrop-log: dir-or-file-in-opt | ||
|
||
# FIXME: remove __pycache__ directories | ||
securedrop-log: package-installs-python-pycache-dir | ||
|
||
# FIXME: missing a python3 dependency | ||
securedrop-log: python3-script-but-no-python3-dep | ||
|
||
# FIXME: section shouldn't be "unknown" | ||
securedrop-log: section-is-dh_make-template | ||
|
||
# TODO: we should ship this in /lib instead | ||
securedrop-log: systemd-service-in-odd-location [etc/systemd/system/securedrop-log.service] | ||
|
||
# This is fine | ||
securedrop-log: executable-not-elf-or-script [etc/qubes-rpc/*] | ||
|
||
# FIXME: abbreviate | ||
securedrop-log: extended-description-line-too-long | ||
|
||
# We don't care | ||
securedrop-log: no-manual-page | ||
|
||
# FIXME | ||
securedrop-log: package-contains-vcs-control-file [opt/venvs/securedrop-log/.gitignore] | ||
|
||
# We don't care about these | ||
securedrop-log: script-not-executable | ||
|
||
# This is our virtualenv's interpreter | ||
securedrop-log: unusual-interpreter | ||
securedrop-log: wrong-path-for-interpreter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# FIXME: fix by switching to arch: any | ||
securedrop-proxy: arch-independent-package-contains-binary-or-object | ||
|
||
# This is intentional | ||
securedrop-proxy: dir-or-file-in-opt | ||
|
||
# FIXME: fix by switching to arch: any | ||
securedrop-proxy: missing-dependency-on-libc | ||
|
||
# FIXME: remove __pycache__ directories | ||
securedrop-proxy: package-installs-python-pycache-dir | ||
|
||
# FIXME: section shouldn't be "unknown" | ||
securedrop-proxy: section-is-dh_make-template | ||
|
||
# FIXME: fix by switching to arch: any | ||
securedrop-proxy: unstripped-binary-or-object [opt/venvs/securedrop-proxy/lib/python3.*/site-packages/yaml/*] | ||
|
||
# This is fine | ||
securedrop-proxy: executable-not-elf-or-script [etc/qubes-rpc/*] | ||
|
||
# FIXME: abbreviate | ||
securedrop-proxy: extended-description-line-too-long | ||
|
||
# We don't care | ||
securedrop-proxy: no-manual-page | ||
|
||
# FIXME | ||
securedrop-proxy: package-contains-vcs-control-file [opt/venvs/securedrop-proxy/.gitignore] | ||
|
||
# We don't care about these | ||
securedrop-proxy: script-not-executable | ||
|
||
# This is our virtualenv's interpreter | ||
securedrop-proxy: unusual-interpreter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This is intentional | ||
securedrop-workstation-config: dir-or-file-in-opt | ||
|
||
# FIXME: section shouldn't be "unknown" | ||
securedrop-workstation-config: section-is-dh_make-template | ||
|
||
# FIXME: abbreviate | ||
securedrop-workstation-config: extended-description-line-too-long | ||
|
||
# We're just restarting paxctld, it's fine | ||
securedrop-workstation-config: maintainer-script-calls-systemctl [postinst:28] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# FIXME | ||
securedrop-workstation-viewer: extended-description-is-empty | ||
|
||
# FIXME: section shouldn't be "unknown" | ||
securedrop-workstation-viewer: section-is-dh_make-template | ||
|
||
# FIXME: Needs "metapackage" in the description | ||
securedrop-workstation-viewer: empty-binary-package | ||
|
||
# FIXME: abbreviate | ||
securedrop-workstation-viewer: synopsis-too-long |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
securedrop-client source: python3-depends-but-no-python3-helper | ||
securedrop-client source: ancient-python-version-field | ||
securedrop-client source: custom-compression-in-debian-source-options | ||
securedrop-client source: debhelper-but-no-misc-depends | ||
securedrop-client source: missing-license-paragraph-in-dep5-copyright |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM debian:bookworm | ||
|
||
RUN apt-get update && apt-get --yes upgrade && apt-get install --yes lintian |