345 Commits

Author SHA1 Message Date
James Valleroy
470b3cb9cd
Release v22.10 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-25 20:48:13 -04:00
James Valleroy
3653a09437
Release v22.9 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-11 21:18:48 -04:00
James Valleroy
dd7f2db631
Release v22.8 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-28 20:30:24 -04:00
James Valleroy
161f09fa9c
Release v22.7
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-14 20:30:46 -04:00
James Valleroy
0b4bac4643
Release v22.6.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-06 06:25:51 -05:00
James Valleroy
ab2cab3e96
Release v22.6 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 08:45:07 -05:00
Sunil Mohan Adapa
10606bfc69
email: Set an icon from Tango project
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:13 -05:00
James Valleroy
4a057aeb53
Release v22.5 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-02-14 20:41:40 -05:00
James Valleroy
5cda94735c
Release v22.4 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-31 20:05:31 -05:00
Sunil Mohan Adapa
668da20a02
mldonkey: Drop app not available in Debian Bullseye and Bookworm
Closes: #2157.

Original author of the app J. Carlos Romero <juancarlos.romero@gmail.com> has
been contacted to see if there is interest in continuing to maintain the app.
There has been no response.

Since the app is not available even in the current stable (Bullseye), few users
are presumably using it on a supported FreedomBox distribution. Any users are
advised to maintain the manually instead of relying on FreedomBox for it.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-22 11:55:34 -05:00
James Valleroy
8a9093e045
Release v22.3 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-17 20:18:28 -05:00
James Valleroy
7addb9b5e2
Release v22.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-11 20:10:23 -05:00
Sunil Mohan Adapa
6199718a19
debian, setup.py: Add dependency on python3-tomli
Closes: #2169.

python3-coverage >= 6.0 requires python3-tomli to be installed when using
pyproject.toml. There is no hard dependency on tomli for the coverage package
perhaps due to its optional nature.

However, python3-toml is not available in Bullseye. So, require a version of
python3-coverage that does not require python3-tomli.

Tests:

- Run git-pbuilder for stable and unstable. Builds were successful.

- Run autopkgtest for stable and unstable. Dependencies were satisfied but there
was an unrelated error during test collection.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-11 18:18:14 -05:00
James Valleroy
35f03e52b9
Release v22.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-01-03 19:51:51 -05:00
James Valleroy
00b5d1bf64
Release v21.16 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-12-20 20:58:26 -05:00
Joseph Nuthalapati
b0305746c8
tahoe-lafs: Drop app as it is not being used
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Add to configuration file removal in Debian package and setup.py]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-12-20 15:12:11 -08:00
Joseph Nuthalapati
621cb67527
diaspora: Drop app that was never finished.
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Add to configuration file removal in Debian package]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-12-20 15:11:29 -08:00
Joseph Nuthalapati
ce5274d9ee
monkeysphere: Drop app as it is not being used
Closes #2157.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Split diaspora and tahoe-lafs into separate commits]
[sunil: Remove monkeysphere from help/tests/test_views.py]
[sunil: Add to configuration file removal in Debian package and setup.py]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-12-20 15:09:50 -08:00
James Valleroy
555f68e936
Release v21.15 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-12-06 18:52:06 -05:00
Sunil Mohan Adapa
f2af08d8a6
main: List apps instead of modules
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-12-04 16:38:51 -05:00
James Valleroy
9718b2aa2c
Release v21.14.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-11-24 10:37:37 -05:00
James Valleroy
9a855f7bd2
Release v21.14 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-11-22 18:46:18 -05:00
James Valleroy
122bda7f7e
debian: Fail build if no module dependencies found
debian/rules uses --list-dependencies to collect the dependencies of
all essential modules. Ensure that the list is not empty.

Helps #2149.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-11-22 05:39:56 -08:00
James Valleroy
898a854ddc
Release v21.13 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-11-08 21:34:54 -05:00
James Valleroy
903bf6f29b
debian: Add python3-openssl to autopkgtest depends
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-11-08 20:42:30 -05:00
James Valleroy
0be73b686b
Release v21.12 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-10-25 19:45:54 -04:00
James Valleroy
dc6282676d
Release v21.11 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-10-11 18:55:46 -04:00
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
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
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
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
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