Commit Graph
338 Commits
Author SHA1 Message Date
Sunil Mohan Adapa a4fdf3f703 debian/copyright: Add full text for AGPL-3+
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-01 01:57:29 -08:00
Sunil Mohan Adapa 130102e1f4 debian/copyright: Minor fixes
- Update copyright year for fonts based on information embedded in .ttf file.

- Remove incorrect copyright text.

- Each session should have only one copyright line.

- Fix syntax for multiple licenses.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-01 01:57:07 -08:00
James Valleroy e4e379926f debian/copyright: Move some more app icons from LICENSES
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 01:28:33 -08:00
James Valleroy a1d130299a debian/copyright: Include some URLs dropped from LICENSES
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 01:28:30 -08:00
James Valleroy 2297defe3d debian/copyright: Move more app icons from LICENSES
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 01:28:26 -08:00
James Valleroy 990c2446a7 debian/copyright: Fix typo in year
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:55:14 -08:00
James Valleroy f2b45ea15b debian/copyright: Move some app icons from LICENSES
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:55:11 -08:00
James Valleroy 7b0957d795 debian/copyright: Remove unnecessary fields for native package
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:55:07 -08:00
James Valleroy d4b4d1e29f debian/copyright: Move all license texts to end
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:55:04 -08:00
James Valleroy 4e5b1f346f debian: Add copyright info for theme images
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:55:01 -08:00
James Valleroy 2202439af8 debian: Add copyright info for individual logo files
Remove from LICENSES.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:54:54 -08:00
James Valleroy 5b9b1cbfa9 debian: Add copyright info for lato fonts
Remove from LICENSES.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:54:51 -08:00
Sunil Mohan Adapa 2df02b059c dbus: Add new module for D-Bus services
- Implement listening for CacheUpdated notification.

- Configuration to allow only root to trigger the notification.

- Trigger the notification from an apt update hook.

- Retrieve the list of packages available for upgrade and print them to log.

- Add dependency on libglib2.0-bin for the gdbus command line tool.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-26 06:24:05 -05:00
James Valleroy adb08df512 debian: Add copyright years for debian/*
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-25 20:42:05 -05:00
James Valleroy de62a3260c Add 2019 to copyright years
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-25 20:17:54 -05:00
James Valleroy 7295a6d9cc Release v19.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-14 06:01:53 -05:00
James Valleroy 97f603e998 Release v19.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-09 20:38:17 -05:00
Sunil Mohan Adapa 67451248eb upgrades: Fix premature adding of buster-backports sources
It is incorrect to check for backports availability, FreedomBox systems got
added buster-backports sources prematurely. This will lead to apt update
failures resulting in FreedomBox becoming unable to install new apps.

Fix this by removing old sources and adding new sources only after
performing (this time correct) backports URL check.

Closes: #1496.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-09 19:36:03 -05:00
Sunil Mohan Adapa e2f2d337c7 upgrades: Fix priority for buster-backports version
If we release version 50 into testing and version 49 into buster-backports and
assuming version 45 is in stable, then for stable users, version 49 is selected
properly and upgraded due non-availability of 50 for them and high
prioritization of buster-backports over buster/stable. This is as expected.

For the case of testing user, this does not work as expected, however.
buster-backports will be given 800 priority, testing will be given 500
priority (default) and version 49 will be picked instead of the expected 50.

Setting priority to 500 fixes the problem. It will equate the buster-backports
to all other repositories and will let the system pick the highest version
available.

Closes: #1498.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-09 19:36:00 -05:00
James Valleroy 18309d7cb8 Release v0.49.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-07 21:31:03 -05:00
James Valleroy 8a54c2397c Release v0.49.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-05 22:56:17 -05:00
Joseph Nuthalapati eb341022a2 debian: Add smoke test with autopkgtests
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-05 21:58:40 -05:00
Sunil Mohan Adapa 5a159f7d39 upgrades: Improve handling of backports
- Merge backports functionality into upgrades module.

- No need to enable systemd timer as dh_installsystemd automatically enables
  this during package installation and upgrade.

- Use https:// and deb.debian.org for repository checking. When using Tor for
  package installations request the URL via Tor.

- Make daily checking service more generic for all kind of future apt repository
  updates.

- Force removal of repository file during purge to avoid failures.

- Don't add contrib/non-free as backports is intended to be enabled for just the
  freedombox package and it is free. When the need arises, we can introduce
  contrib/non-free. This also eliminates an issue that adding these components
  doesn't work without the usage of tor.

- Allow generate apt preferences file to avoid lintian complaining about its
  presence. Remove on purge.

- Add unattended upgrades origin pattern to allow it to upgrade from backports
  repositories.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-02-05 14:58:55 -08:00
Joseph Nuthalapati 3d38b8a686 backports: Add buster-backports to apt sources list
Fixes freedombox-team/freedom-maker#149

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-02-05 14:58:27 -08:00
James Valleroy 010e26e94a Release v0.48.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-28 19:33:25 -05:00
James Valleroy 19d335bf38 Release v0.47.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-14 22:09:06 -05:00
James Valleroy 37dfc7876b debian: Update debhelper compat version to 12
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-14 22:03:22 -05:00
Prachi Srivastava 5d68f6bf52 Replace glyphicons with forkawesome icons
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-01-14 17:37:58 -08:00
Sunil Mohan Adapa 1faee11d4d django: Use Argon2 password hash
Passwords will be automatically upgraded for each user on login.

Usernames not yet upgraded are vulnerable to user enumeration attack due to
difference in password check timing.

No need to add build dependency on python3-argon2 because tests use a different
Django configuration which does not use argon2 hash.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-13 14:46:15 -05:00
James Valleroy 97bb99b91c Release v0.46.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-04 23:18:08 -05:00
James Valleroy edfc7a55ed debian: Fix spelling errors in lintian override comment
Thanks to Chris Lamb for pointing it out.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-04 23:05:35 -05:00
Sunil Mohan Adapa 25b5eaf4d9 debian: Replace and break older versions of plinth
This is necessary to avoid errors when installing freedombox with older plinth
already installed. Also make plinth depend on latest freedombox to ensure
upgrades go smoothly.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-04 22:52:15 -05:00
James Valleroy d8f161adce Release v0.46.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 16:46:58 -05:00
James Valleroy f93b6e2d54 debian: Standards-Version is now 4.3.0
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 16:45:32 -05:00
Sunil Mohan Adapa 5f8965df25 debian: Rename plinth package to freedombox
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:59:08 -05:00
Sunil Mohan Adapa d9b374137b debian: Update short description
Plinth is no longer just the web interface but all of freedombox.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:59:02 -05:00
Sunil Mohan Adapa 399647f93c debian: Don't change ownership recursively in postinst
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:57 -05:00
Sunil Mohan Adapa a6479648a6 debian: Use description from freedombox.org
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:39 -05:00
Sunil Mohan Adapa 9f93c874db debian: Break current version of freedombox-setup
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:29 -05:00
Sunil Mohan Adapa 4c1572a3f0 debian: Add dependencies from freedombox-setup
All the packages that are removed as dependencies in freedombox-setup and are
not essential for the operation of FreedomBox/Plinth have been moved to
Recommends .

The following packages were *moved* from freedombox-setup directly as is:

- bridge-utils
- curl
- devio
- dnsutils
- dosfstools
- haveged
- htop
- iftop
- iputils-ping
- iw
- libnss-gw-name
- libnss-mdns
- libnss-myhostname
- libpam-tmpdir
- libpam-abl
- locales
- locales-all
- lsof
- netcat-openbsd
- psmisc
- resolvconf
- rfkill
- tcpdump
- vim-tiny
- wget
- wireless-tools
- zile

The following packages have been *added* as they are part of standard system
utilities present in a Debian system:

- bzip2
- file
- openssh-client
- pciutils
- whois

The following packages were *dropped* as dependencies from freedombox-setup:

- dialog: no utility to an admin on command line. No scripts are currently using
  it. Any script using it should have a dependency on it.

- dnsmasq-base: network-manager is one that uses it and it already recommends
  it.

- parted: Added as dependency for the storage module which uses it.

- ssl-cert: apache2 and other packages that use it already recommend it.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:04 -05:00
Sunil Mohan Adapa bf8fc21e08 debian: Alter control file indentation
To a more natural appearance.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:56:22 -05:00
Sunil Mohan Adapa 35c70861dc logging: Remove references to old log files
- Remove access/error log references in configuration files and tests.

- Ensure that /var/log/plinth directory is not created anymore.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-30 13:45:23 -05:00
James Valleroy 1813f175da debian: Move Recommends to binary package
This field is not recognized for the source package, and causes a
warning.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-26 19:50:37 -08:00
Sunil Mohan Adapa f36753fcb8 logging: Log to systemd journal directly
While capturing stdout and stderr and automatically logging that to system
logging daemon provides basic information, a lot of information lost in the
process.

This change logs to systemd journal directly so that rich information such as
code file, code function, code line, etc, can be captured in a structured way.
To avoid double logging, discard stdout and stderr in the systemd unit file.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-23 17:18:13 -05:00
James Valleroy b6cd60b647 Release v0.45.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-17 19:06:31 -05:00
James Valleroy 5dab4835b4 Release v0.44.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-03 20:03:16 -05:00
James Valleroy 1dda15db8a Release v0.43.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-19 17:35:28 -05:00
James Valleroy 629e34f93c Release v0.42.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-11-05 18:41:35 -08:00
James Valleroy 0dfa3cc9de Release v0.41.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-22 19:49:06 -04:00
James Valleroy 9b8251e16c debian: Add Russian translation of debconf template
Closes: #910848

Thanks to Lev Lamberov for the patch.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-14 15:04:19 -04:00