Bug#837335: [Freedombox-pkg-team] Bug#837335: freedombox-setup: Cleanup dependencies

2016-09-29 Thread James Valleroy
I've merged the patch, but kept rfkill as recommends.



signature.asc
Description: OpenPGP digital signature


Bug#837335: [Freedombox-pkg-team] Bug#837335: freedombox-setup: Cleanup dependencies

2016-09-10 Thread Sunil Mohan Adapa
On 09/11/2016 12:10 AM, Petter Reinholdtsen wrote:
> [Sunil Mohan Adapa]
>> - Make rfkill a dependency instead of recommendation.  This is inline
>>   with other wireless packages.
> 
> The rfkill package is only available on Linux.  Do we want to make it
> impossible to install freedombox-setup on non-linux archs?
> 
> I have vague memories of making hardware specific packages recommends to
> ensure the freedombox can be set up on hurd and kfreebsd too.
> 

I didn't consider that.  rfkill is no way important enough for use
restrict to Linux.  However, I suspect we are unknowingly depending on
Linux in other cases.

Let us keep rfkill as recommends.

-- 
Sunil



signature.asc
Description: OpenPGP digital signature


Bug#837335: [Freedombox-pkg-team] Bug#837335: freedombox-setup: Cleanup dependencies

2016-09-10 Thread Petter Reinholdtsen
[Sunil Mohan Adapa]
> - Make rfkill a dependency instead of recommendation.  This is inline
>   with other wireless packages.

The rfkill package is only available on Linux.  Do we want to make it
impossible to install freedombox-setup on non-linux archs?

I have vague memories of making hardware specific packages recommends to
ensure the freedombox can be set up on hurd and kfreebsd too.

-- 
Happy hacking
Petter Reinholdtsen



Bug#837335: freedombox-setup: Cleanup dependencies

2016-09-10 Thread Sunil Mohan Adapa
Package: freedombox-setup
Severity: wishlist
Tags: patch

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Plinth will automatically add dependencies to packages that are required by
essential applications.  When dependency is added in Plinth, remove it from
freedombox-setup if the freedombox-setup does not directly depend on it and
when the package is not an essential utility.  Attached patch cleans up
dependencies from this perspective.




-BEGIN PGP SIGNATURE-

iQIuBAEBCgAYBQJX1ECmERxzdW5pbEBtZWRoYXMub3JnAAoJEEPqHP8Kp8XyDWcQ
AJhWyXlvi9hFFk6OSgP39a/10joH+f9eNm5MmPxv8aZuA+Nyax2buIztk5qwvomG
aSnRAPe5hA2A3gWIYiEzjuvFWjO6WAyGurM8tJZ405nicc9zDoihjn9mbmRBegdG
rYXZU+v00Vm3k1pzhwF5xG1qQow8qxadbEv1yuEf/kGT2SidPIOzvhMSPf40EID1
ZgUq9U7JMPqBKpzv1qRmZBUB/49y07/LBNw3vfEyqqXxJnR/1kNg0wQkJDMa7AbH
SPdulx7Qgq6ypkuD7OG6N2cAQGIu9Prkqbr511TCV581ntIyKKVrvGRhA08MLYXb
Xz4P2TTN3L6wBeIJJnKMc53fZo29sNl9ekRMlWaLvJnZ9Kk8MFAnpUOF5JIC1HKC
3mq0g4iFm2ZkC+TYugCQWFXowtsFuiH+OU6aadhufnO3KvCe7wgKXmq9YsktPeRA
csDQJAQFslt7sdi4dLK0/2rDic6md/7LymaVbZeHEcd9bmdyYphjNH+8mob++QkZ
Mo9H8vKVNgH8xqIjkPbvnA1qQG86QwrzzdHXcZmEXLVFftiaLvOXoKcCPcT/1u9d
f34GKYermg2LxO8zeO7HdYgiP60KDSNkuMqIPGc41RUKlR+B4LnwtSLd9B9Wh5Et
9CfNW5jZQBRpFBxUjKYCsQ5TnzXIkxdRAsrIAQBvpG1f
=mB6f
-END PGP SIGNATURE-
>From b19e7553392315334a216440a2d778be65b35a65 Mon Sep 17 00:00:00 2001
From: Sunil Mohan Adapa 
Date: Sat, 10 Sep 2016 22:19:36 +0530
Subject: [PATCH] Cleanup dependencies

- firewalld is already a dependency for Plinth and is not setup in
  freedombox-setup (Plinth introduces the script that is triggered by
  freedombox-setup).

- macchanger no longer works and is being replaced by similar feature in
  network manager.

- netcat is a transitional dummy package.  Use netcat-openbsd which has
  more features such as IPv6 and Unix sockets.

- Make rfkill a dependency instead of recommendation.  This is inline
  with other wireless packages.

- Remove ntp as this is already a dependency in Plinth and is no longer
  setup in freedombox-setup.

- Remove unattended-upgrades as this is already a dependency in Plinth
  and is not used in freedombox-setup.

- Remove batctl as this is will be a dependency in Plinth and is not
  used in freedombox-setup.
---
 debian/control | 12 ++--
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/debian/control b/debian/control
index cc910a4..28262a2 100644
--- a/debian/control
+++ b/debian/control
@@ -39,7 +39,6 @@ Depends: ${misc:Depends}
  , dnsutils
  , dosfstools
  , etckeeper
- , firewalld
  , haveged
  , how-can-i-help
  , htop
@@ -57,28 +56,21 @@ Depends: ${misc:Depends}
  , locales
  , locales-all
  , lsof
- , macchanger
- , netcat
+ , netcat-openbsd
  , network-manager
  , net-tools
- , ntp
  , openssh-server
  , parted
  , plinth (>> 0.9.2)
  , psmisc
  , resolvconf
+ , rfkill
  , ssl-cert
  , sudo
  , tcpdump
- , unattended-upgrades
  , vim-tiny
  , wget
  , wireless-tools
  , zile
-Recommends:
- batctl
- , rfkill
-Suggests:
- monkeysphere
 Description: Package to set up freedombox environment
  Configure the Freedombox environment before and after the first reboot.
-- 
2.9.3