475 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
2b525a1930
d/rules: Don't install and enable other systemd service files
Close: #1982.

This eliminates the issue with calibre and wordpress services getting run even
before the app is installed. These services are enabled when the app is
installed. On disadvantage is that services are no longer restarted when a newer
service file is installed.

Users for whom caibre and wordpress have already been enabled. Nothing changes
on upgrade and service will still be enabled. However, the services won't be
attempted to be started without the app's being installed. This is good enough
without having to write custom logic to disable these services.

Tests:

- Install freedombox package on a fresh setup. wordpress and calibre service
files are not enabled.

- When wordpress and calibre apps are installed, these services are enabled and
run as expected.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-10-09 22:09:03 -04:00
Sunil Mohan Adapa
071d61bcc8
*: Move all systemd service files from /lib to /usr
This is now the preferred location in Debian. See:

https://lintian.debian.org/tags/systemd-service-in-odd-location
https://bugs.debian.org/992465
https://bugs.debian.org/987989
d70caa69c6
https://lists.debian.org/debian-devel/2021/08/msg00275.html

Tests:

- Lintian no longer shows errors:
  E: freedombox: systemd-service-in-odd-location lib/.../calibre-server-freedombox.service

- Comparing the old .deb and newly generated .deb with these changes. All the
systemd files show that they are moved from /lib to /usr/lib/systemd.

- After upgrading the deb from older version to a version these changes,
services installed by the package are available (tested after restart with
wordpress and claibre). Services tweaked by the package have the changed
configuration reflected as shown by systemctl show
{service-name}.service (tested after restart with quassel).

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-10-09 22:08:50 -04:00
Sunil Mohan Adapa
f2bcecdf74
d/rules: Don't use setup.py to invoke tests, invoke directly instead
Invoking pytest from setup.py seems to be deprecated. It offers no real
advantages other than being predictable way of invoking tests for someone who
don't know that we use pytest for testing. Let's rely on our documentation
instead. Further this clears up the need to have setup.cfg.

Tests:

- Build debian package in using pbuilder. Tests are run and succeed during the
build.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-10-07 15:14:09 -04:00
Sunil Mohan Adapa
3c370d02ab
pyproject.toml: Merge contents of .converagerc
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-10-07 15:13:59 -04:00
Sunil Mohan Adapa
b4e3824a4a
d/control: Allow building with python interpreter of any arch
python3-all:any means that python3 interpreter of any architecture could be used
to build the package. python3-all means that same architecture as the build
process would be needed. This is a stricter restriction and is unnecessary for
the case of freedombox package.

See discussion in: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995498

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-10-06 09:48:25 -04:00
James Valleroy
09e2b8da15
Release v21.10~bpo11+1 to bullseye-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-30 12:57:08 -04:00
James Valleroy
c2ecbbafb4 freedombox Debian release 21.10
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmFSWqgACgkQd8DHXntl
 CAjkKQ/+O0wCPlC+03CmthWFAf5O4UdYJ6IqVm0wHzbiyt1BS3Hcd13TQwz34OAf
 XaaUiGwJEaTfSV1l3uEinfWyrlNsku9p28ivRIZIb3QKZK7hXNI0Hp1XZif6bFGy
 1qCatlgVlbIFTC4m9g1Yly7SkkpB3a6YclCDvHi/+4xYw8aYaRRb727z3JhdLZ6R
 eC8DQqtA0v5hBoAeNNd9NsZfzs6p0sNRCR6xVRGeXugg8Z83b84rEwzkOH5xYrV1
 AEryHrmVrSE79Zfe55etRUyGvBLsblw3iptWkIkjtKRPAufF8ADCsbnTLq5wX+y0
 lQ+dCERiKisonqNxmIbILWm+7u5r9Oq2PwhJTMdMdMC4mQwkGLSfmzoSDoKEpVQs
 kDxBpp4LZC9trbpVGRvRgzNi3qhR0Gz6lCvxJkVZTybGKG8OGiGA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ghPfXtIooPKzw=
 =eOXz
 -----END PGP SIGNATURE-----

Merge tag 'v21.10' into debian/bullseye-backports

freedombox Debian release 21.10

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-30 12:54:50 -04:00
James Valleroy
294410019f
Release v21.10 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-27 19:24:35 -04:00
James Valleroy
7a4058a3a2
debian: Set Standards-Version to 4.6.0
No changes needed.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-27 19:23:37 -04:00
James Valleroy
c32ebda9ef
Release v21.9~bpo11+1 to bullseye-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-21 13:06:18 -04:00
James Valleroy
3f8d529389 freedombox Debian release 21.9
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmFF9NoACgkQd8DHXntl
 CAglCQ/9FykcYeFj+TgP4xIEIIMgnVyFaLpzvbCt/QwTZVCDiYwRxIAlbxzTEjIl
 XHRPlhXg4vY57yEgB2NGqatXD0JuvQKM9dWx8Kc9yfKI+pQquZqrWWxQ3ALi3WH2
 Glev8GA85r2BbeegNuxy1k+Oq1ceIcEmOP+ipUptzrJk8LPPmG/WQoqn4lr5SB9+
 rsusf/wTzLglXtVXgDjAbmmtmd7xT5bHUQ83uX4mSRh7pXauVbrVR4onwibonqXi
 lpvAtg5fOma36BdMgtIX4qI+y7AlEvVzdcMaygGup8oemLVE5Sd179thjSyEeEYL
 FKt80OQoeHW4G3QvOvRZlG3vseb4xsFlfOUJGjF3lBjzaMngMoGls1E2zu5J3KmX
 csup5MCXOw4dh468hY1dyhk8GQ1mzHTw/z2iWPk0VTT92mxhEZ2Exb45LZ8PXoKR
 HGBRhpPdtpYXVQ9LHOcJZWgWODx/cngQ2LJGOsEXdaEEwPpzA7VKz65NNfz0x8s0
 CyXbYcIihzfdCWGAs9i787rrwupOPGldrlPhbuZxMjupcjnCEg+PIh3g7trpDhh/
 D6/b7J5eieWV3e6SHQdIXjCgSb8S8BIqPDIyAFduwg1RK8OFpEZoONtcam34xilm
 5xboI0lWelbWQA95drhyCUOI8oZDjKDrUHOb8hmYDTvdl9Y/gPA=
 =+qRd
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmFKENMACgkQd8DHXntl
 CAgZQxAA0z7e+4fu8KdEE0I8EWgUtdgXUWHWmENv3mOlYCRKRDWdy+GH5bDeS5TX
 z/ae+k/L60UYKQbyBJQQGXTxfGyvRlZ6EuAkhQiP7SYM198ogECzbn65SziBmno0
 IKJpmaOatxWuJXu2ID1COzxdS8O2+CNjAtHnMh9luoOA1txIjxEaSmp02z9btSJD
 H5MB0YPLwZoXBtJnsXhHPonWBfXUvV8W1uOGQY9gnRVbAoX/UGQfUuoMgk4zTih8
 gP8G2Sa7u7zZZtT+AVTuteWlpFZprhCdcNS8bu6789O7Hrt7RdtWWz0JyZ5IgpiE
 JPECgiiCrF9m/RpFGbFtgth3nxt19qcFGvARNWSx93NcgSzJj8XWkYaO6o+lEh2R
 6F74WVYrIVKncSgae1EE2ym1Xj+88gcLbzVyHcbG28IK5g2jssO4QHZXENoixGmA
 V/TLFhlZ+tVs+J5NrtRK5DICyPLuNMeUr0P6xkfuVPrc23htHAZe0kDc6y0wbpRA
 jYeBUiZQYKY2Um2t8UzJaOCNiC67ILF9Ul0bBSQq+nlauY3Y6uHmZop+GkIF/eX9
 pInZXHveZFYaxgr3mNiWH051+LtVxVIW7wvJP/QZFhsvhH+rpS3SqIebZ7bfTf0A
 WC8i0T6O7PwH9yP4uH4WgPa52j2sRIha0o5jQ0UQhjVknTUGFZo=
 =mx6f
 -----END PGP SIGNATURE-----

Merge tag 'v21.9' into debian/bullseye-backports

freedombox Debian release 21.9

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-21 13:05:21 -04:00
James Valleroy
5367980163
Release v21.9 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-18 10:07:51 -04:00
Sunil Mohan Adapa
34987c77bd
d/lintian-overrides: Drop workaround for remove-on-upgrade dpkg flag
As of Lintian 2.105.0, remove-on-upgrade and other flags in DEBIAN/conffiles is
properly handled. False errors are no longer thrown. Drop the workaround
introduced for this purpose.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-10 08:38:08 -04:00
Sunil Mohan Adapa
bdc1965b6c
d/lintian-overrides: Add override for manual outside .../doc/
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-10 08:37:59 -04:00
Sunil Mohan Adapa
8f8c7354d8
d/lintian-overrides: Override message for not supporting sysvinit
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-10 08:37:48 -04:00
Sunil Mohan Adapa
ae4d973db2
d/lintian-overrides: Drop override for a removed tag
As of lintian 2.105.0, the tag systemd-service-file-outside-lib has been
removed. Drop the override to avoid a lintian error.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-10 08:37:36 -04:00
Joseph Nuthalapati
60ef19b6ec
mediawiki: Switch to MediaWiki 2020 logo
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Added copyright year]
[sunil: Scaled the images to sizes commonly used for FreedomBox logos]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-05 13:33:10 -07:00
James Valleroy
e037b9c4f0
Release v21.8~bpo11+1 to bullseye-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-02 09:49:50 -04:00
James Valleroy
3cd73bb006 freedombox Debian release 21.8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0jEkdnwpmnaEoWfANtC+Z/q4U6tJuXYUWFsFVJFBCnLpg/y
 tU/ZP65QhxuWdwrBoIsh4CCCMijYpDap3gDm5dol+FVEo6D9qahE8blnjiJ1Flck
 l9e2ruFta1P4/aCKdNbOufoOas/ncHJb+K3I9/1eP2fyBybO4HctwBqPEj1wQ9fi
 E0CbjJWq7JPxDcyFzvLLPAOimd2NdLSP9xfGuTbUBgyv6gFVNAdznmWII77XAC/2
 lmB2BfHWmN6iFlzaNOfq56YJAx6rkJfE8pzVJbK4q/LF7mjsZeR+XQgEVQF257kM
 vHU0Lclb93JusUP1xqTZIhMyZnbgFpg3fY6uDWWOB/00T89ovUb5CufbYxDN5mSp
 YGWinx7E0WOblPZ4lEoozfC/xvukvnaiznOs+KHF7c8jNRQgA9E9a2tgAaMFBxTk
 0AOJ9lkDjgs857Iy+BJ/XeNWnw+uGzg1h9avKChZ/ZK0rkt1cFD/cI62oGvw4uYi
 IwRmwFkvPLrjiBb5CuORTK8mrnc8Etox6UB3kqB0lTuxrMffJpg=
 =Hlm8
 -----END PGP SIGNATURE-----

Merge tag 'v21.8' into debian/bullseye-backports

freedombox Debian release 21.8

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-02 09:48:11 -04:00
Fioddor Superconcentrado
d49d7f9b41
lintian: Overrides for remove-on-upgrade dpkg conffiles flag
Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Limit the overrides to just the flag not understood by lintian]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-09-01 11:49:08 -07:00
James Valleroy
3dc7501f92
debian: Add gbp tag config
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-08-30 20:29:07 -04:00
James Valleroy
c660cada6d
Release v21.8 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-08-30 20:02:12 -04:00
Sunil Mohan Adapa
efa615201b
wordpress: New app to manage a WordPress site/blog
- Use php-fpm instead of using mod-php.

- Create database and setup permissions manually. Tables and initial data are
created during the initial setup process done by WordPress. Database upgrades
are handled by WordPress. Minor versions are upgraded automatically and major
version need user intervention.

- Backup/restore functionality including database.

- Install recommended extensions for performance.

- Setup and run cron jobs to ensure that scheduled publications are
completed (among other things). Service has systemd security features. Timer is
set to run every 10 minutes.

- Functional tests for adding/removing posts and backup/restore.

- Increase file upload size limit to 128MiB.

- A private mode (default) for keeping the setup process secure. Should be
disabled after first setup is completed. This uses a new approach using
file-based flag for different Apache configurations.

TODO:

- Find a nice way to allow WordPress to upload plugins/themes. Currently this
operation files and users are expected to manually scp the files to
/var/lib/wordpress/wp-content/{plugins,themes} directory.

Tests:

- Functional tests.

- Schedule publishing of a post. Notice that post got published.

- Test uploading a file larger than 2MiB.

- Test enabling permalinks. This leads to nicer looking URLs.

- Test adding images to posts/pages.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-08-25 08:20:01 -04:00
Sunil Mohan Adapa
28030933dc
d/control: Drop wireless-tools as recommends
Closes: #2100.

- wireless-tools package is being orphaned. https://bugs.debian.org/963896 .

- We use Network Manager to manage network and don't use iw* tools from
wireless-tools package. Network Manager itself does not need wireless-tools
package to configure and manage Wi-Fi connections. This is seen on typical
desktops.

- FreedomBox service uses NM D-Bus API to scan for available networks.

- Code does not refer to the tools iwconfig, iwevent, iwgetid, iwlist, iwpriv or
iwspy. These are the binaries provided by the wireless-tools package.

Tests:

- After removal of the wireless-tools package, wireless scan functionality does
not result in an error.

- Not tested: Attaching actual Wi-Fi hardware and seeing the list of available
Wi-Fi networks.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-08-21 18:00:44 -04:00
Sunil Mohan Adapa
7aca9d9299
d/lintian-overrides: Allow all systemd services paths
- Temporary workaround for https://bugs.debian.org/992465

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-08-21 16:12:08 -04:00
James Valleroy
9f22151b39
Release v21.7~bpo11+1 to bullseye-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-08-20 07:24:58 -04:00
James Valleroy
c85adf82ed
Release v21.7 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-08-16 19:35:19 -04:00
James Valleroy
d00fc72126
debian: Ensure fuse gets replaced by fuse3
Apply patch from Andreas Beckmann <anbe@debian.org> for #990758.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-07-07 14:56:33 -04:00
James Valleroy
1aa1c343f0
Release v21.6 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-05-31 19:02:04 -04:00
James Valleroy
34848d64ba
Release v21.5 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-04-19 20:37:31 -04:00
Besnik Bleta
bcdd80e8d5
debian: Add Albanian (sq) locale
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-04-14 16:16:45 -07:00
Sunil Mohan Adapa
e0ebfecc27
Update copyright year
Closes: #2079.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-04-14 16:10:14 -07:00
James Valleroy
b288a442c4
debian: Add coverage to autopkgtest
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-03-05 18:20:09 -08:00
James Valleroy
8f6b6f87a0
Release v21.4 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-02-28 21:37:19 -05:00
James Valleroy
e66bd00b91
Release v21.3 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-02-11 18:00:16 -05:00
John Lines
f978d2f0d0
zoph: Add new app to organize photos
- Identify Freedbombox admin who installed the app to be zoph admin.

- Implement backup and restore.

- Photos directory should remain at /var/lib/zoph, for proper operation of
backups.

- There remains an issue that the App is enabled before it is configured but
will not work correctly until configuration.

- OpenStreetMap mapping is enabled. These should be configurable before
installation.

- Add initial forms.py and views.py to Zoph app, however these are currently
unused as urls.py does not invoke the view. When the view is not invoked the
Zoph App installs, with single signon, currently as the first LDAP user, rather
than the plinth user.

- The first user's preferences are not set, and need to be manually set to avoid
other errors.

* Sunil's changes

- Squash commits and re-split them.

- Drop documentation as it will be auto populated from wiki later.

- Remove outdated validation code from manifest.

- Drop some dead code.

- Don't send MySQL password over command line for improved security. Instead
  rely on Unix authentication of root user similar to backup/restore process.

- Use JSON for exchanging configuration dump to avoid encoding errors.

- Add username validation to avoid a potential SQL injection.

- Update description for neural tone and brevity. Add information about how user
  accounts work in FreedomBox

- Fix functional tests.

- Drop all code related to changing photos path until it is ready.

- Update URL from /zoph to /zoph/ to avoid another redirect.

- Fix disabling the app.

- Use icon that Zoph uses for favicon as logo. Update copyright file.

- Fix spelling unzip.

- Minor refactors. Run yapf and isort.

- Use subprocess.run() instead of os.popen() everywhere for better security with
argument parsing.

- Enable OpenStreetMap by default. User have a choice to disable it before using
the app. Add label to explain privacy concerns.

- Fix dropping database by using --force argument.

- Cleanup enabling the app to not enable the app when updating configuration.

- Use AppView's default template instead of overriding.

- Update functional tests to just check if the app is enabled/disabled as
expected. Checking that Zoph site is available will require reliable handling of
admin user.

Signed-off-by: John Lines <john@paladyn.org>
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-02-10 01:13:29 -08:00
James Valleroy
6baa6e7698
Release v21.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-02-06 00:40:26 -05:00
James Valleroy
80285d3f5f
Release v21.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-25 21:09:03 -05:00
James Valleroy
adf404ca5c
Release v21.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-11 20:07:22 -05:00
James Valleroy
da4ab1bc8b
Release v20.21 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-12-28 21:09:18 -05:00
James Valleroy
92c9ba21ac
debian: Bump standards version to 4.5.1
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-12-28 21:08:14 -05:00
James Valleroy
a73edb9f32
Release v20.20.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-12-19 19:19:18 -05:00
achalaramu
00bc55f762
Migrate bootstrap 4 from bootstrap 3
Closes: #1818. The new navbar collapse handles items better without a scrollbar.

- Switch dependency to newer bootstrap4 library.

- Bootstrap 4 has 5 grid levels instead of 4. Adjust all classes accordingly to
retain current semantics.

- Update for newer markup for dropdowns.

- Replace use for labels with badges. Labels have been removed. Use
badge-secondary instead of label-default.

- Replace use of btn-xs with btn-sm. Size is roughly the same.

- Accommodate removal of form-horizontal.

- .hidden* and .visible* classes have been removed. Use alternate utilities.

- Replace use of table-condensed with table-sm.

- Update progress bar background styling. .progress-bar-* have been replaced
with bg-*.

- Drop support for IE9 and below. Bootstrap 4 does not support those browsers.

- Use the new simplified markup for navs, navbar and navbar-toggler. Accommodate
removal of .navbar-fixed-top.

- Update the JSXC page too.

- Update all values that are using rem units. The base font size is now 1rem =
16px instead of 1rem = 10px. This the default for bootstrap 4.

- A button inside a dropdown menu is natively supported by bootstrap 4. Remove
custom styling done earlier.

- Drop use of removed class thumbnail.

- Override colors for buttons and warnings to keep the old style.

- Use new markup for close buttons inside alerts.

- Use .collapse.show instead of .collapse.in as per bootstrap 4 styling.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 11:26:32 +02:00
James Valleroy
e40d14ca6e
Release v20.20 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-12-14 19:31:38 -05:00
James Valleroy
2fc5760af4
Release v20.19 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-30 19:09:18 -05:00
James Valleroy
3b25004970
debian: Add python3-openssl as build dependency for tests
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-30 19:00:58 -05:00
James Valleroy
45da955c31
Release v20.18.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-23 18:38:07 -05:00
James Valleroy
0e7c7ce15d
Release v20.18 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-16 20:50:00 -05:00
James Valleroy
b515a8f9cc
Release v20.17.1 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-07 08:45:14 -05:00
James Valleroy
e7515683b3
debian: Rename source package to freedombox
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-11-07 08:07:48 -05:00