-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds package builds for Focal #5465
Changes from all commits
77be0b1
ae1a78c
7826458
bd58aff
fe90068
dd872db
c4d69c9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
securedrop-app-code (1.6.0~rc1+focal) focal; urgency=medium | ||
|
||
* | ||
|
||
-- SecureDrop Team <[email protected]> Thu, 18 Jun 2020 21:58:23 +0000 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Register interest in Python interpreter changes; and | ||
# don't make the Python package dependent on the virtualenv package | ||
# processing (noawait) | ||
interest-noawait /usr/bin/python3.8 | ||
|
||
# Also provide a symbolic trigger for all dh-virtualenv packages | ||
interest dh-virtualenv-interpreter-update |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,11 +5,14 @@ Maintainer: SecureDrop Team <[email protected]> | |
Homepage: https://securedrop.org | ||
Build-Depends: debhelper (>= 9), dh-python, python3-all, python3-setuptools, dh-systemd, dh-virtualenv | ||
Standards-Version: 3.9.8 | ||
X-Python3-Version: >= 3.5 | ||
|
||
Package: securedrop-app-code | ||
Architecture: amd64 | ||
Conflicts: libapache2-mod-wsgi,supervisor | ||
Replaces: libapache2-mod-wsgi,supervisor | ||
{% if securedrop_build_focal_support %} | ||
Depends: ${dist:Depends}, ${misc:Depends}, ${python3:Depends}, apache2, apparmor-utils, coreutils, gnupg2, haveged, libapache2-mod-xsendfile, libpython3.8, paxctld, python3, redis-server, securedrop-config, securedrop-keyring, sqlite3 | ||
{% else %} | ||
Depends: ${dist:Depends}, ${misc:Depends}, ${python3:Depends}, apache2, apparmor-utils, coreutils, gnupg2, haveged, libapache2-mod-xsendfile, libpython3.5, paxctld, python3 (>= 3.5), python3 (<< 3.6), redis-server, securedrop-config, securedrop-keyring, sqlite3 | ||
{% endif %} | ||
Description: SecureDrop application code, dependencies, Apache configuration, systemd services, and AppArmor profiles. This package will put the AppArmor profiles in enforce mode. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Source: ossec.net | ||
Section: web | ||
Priority: optional | ||
Maintainer: SecureDrop Team <[email protected]> | ||
Homepage: https://securedrop.org | ||
Package: securedrop-ossec-agent | ||
Version: 3.6.0+1.6.0~rc1 | ||
Architecture: amd64 | ||
{% if securedrop_build_focal_support %} | ||
Depends: libevent-2.1.7,libpcre2-8-0,ossec-agent,securedrop-keyring,securedrop-config | ||
{% else %} | ||
Depends: libevent-1.4-2,libpcre2-8-0,ossec-agent,securedrop-keyring,securedrop-config | ||
{% endif %} | ||
Replaces: ossec-agent | ||
Conflicts: securedrop-ossec-server | ||
Description: Installs the securedrop pre-configured OSSEC agent | ||
This package installs an OSSEC agent pre-configured for the | ||
SecureDrop app server. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Solid approach to multi-distro support. 👍 However, elsewhere in the diff I see that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @conorsch These are two different packages :) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,11 @@ Homepage: https://securedrop.org | |
Package: securedrop-ossec-server | ||
Version: 3.6.0+1.6.0~rc1 | ||
Architecture: amd64 | ||
{% if securedrop_build_focal_support %} | ||
Depends: libevent-2.1.7,libpcre2-8-0,ossec-server,securedrop-keyring,securedrop-config | ||
{% else %} | ||
Depends: libevent-1.4-2,libpcre2-8-0,ossec-server,securedrop-keyring,securedrop-config | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As above, perhaps we can standardize on a single There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This is also not possible due to package naming. |
||
{% endif %} | ||
Replaces: ossec-server | ||
Conflicts: securedrop-ossec-agent | ||
Description: Installs the pre-packaged OSSEC server | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much improved! As discussed today in tech meeting, can we further consolidate the dependencies for
libpython3.8
->libpython3
for both platforms? Maybe that's not possible, but if it is, it'd greatly simplify the logic in play.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems this can not be done.