[PureOS] Dropping derived cron package?

Guido Günther guido.gunther at puri.sm
Sat Oct 16 08:17:19 PDT 2021


Hi,
On Sat, Oct 16, 2021 at 04:47:52PM +0200, Carsten Schoenert wrote:
> Hi,
> 
> back in 2018 Matthias did a small modification within the cron package that
> resulted in forked tree and small different binary package for cron.
> Basically the only difference is this patch:
> 
> > $ git show c2766e7259b86b32bcecd2d61607eb022fd31310
> > commit c2766e7259b86b32bcecd2d61607eb022fd31310
> > Author: Matthias Klumpp <matthias at tenstral.net>
> > Date:   Sun Aug 19 20:50:32 2018 +0200
> > 
> >     Only suggest, not recommend, an MTA
> > 
> > diff --git a/debian/control b/debian/control
> > index 1bd9c3e..e6a6766 100644
> > --- a/debian/control
> > +++ b/debian/control
> > @@ -25,12 +25,11 @@ Depends:
> >      adduser,
> >      lsb-base (>= 3.0-10),
> >      libpam-runtime (>= 1.0.1-11)
> > -Recommends:
> > -    exim4 | postfix | mail-transport-agent
> >  Suggests:
> >      anacron (>=2.0-1),
> >      logrotate,
> > -    checksecurity
> > +    checksecurity,
> > +    exim4 | postfix | mail-transport-agent
> >  Breaks:
> >      dpkg (<< 1.15.4)
> >  Provides: cron-daemon
> 
> In between times the packaging in Debian has been changed on this part.
> 
> > $ git show f27b9ccdb2046fe3fbb1eef6d7801d4b3d6900c7
> > commit f27b9ccdb2046fe3fbb1eef6d7801d4b3d6900c7
> > Author: Christian Kastner <ckk at debian.org>
> > Date:   Tue Feb 19 21:46:16 2019 +0100
> > 
> >     Switch cron MTA Recommends to default-mta | mail-transport-agent
> >     Recommend these virtual packages rather than specific MTAs.
> > 
> > diff --git a/debian/control b/debian/control
> > index fc59f49..609e84f 100644
> > --- a/debian/control
> > +++ b/debian/control
> > @@ -25,7 +25,7 @@ Depends:
> >      lsb-base (>= 3.0-10),
> >      libpam-runtime (>= 1.0.1-11)
> >  Recommends:
> > -    exim4 | postfix | mail-transport-agent
> > +    default-mta | mail-transport-agent
> >  Suggests:
> >      anacron (>= 2.0-1),
> >      logrotate,
> 
> Is this change worth to update the current cron package in byzantium or
> could the derived package instead get dropped?
> 
> (It's not completely clear to me why the mta part was moved to
> Suggests.)

You can test by debootstraping a pureos chroot and then install the
unpatched cron and compare package lists before and after.

AFAIK there's no mta installed on PureoS Laptops at all and having it as
'Recommends:' would pull in a mta by default (since Recommends are
installed by apt if not told otherwise).

Cheers,
 -- Guido

> 
> -- 
> Regards
> Carsten Schoenert




> _______________________________________________
> PureOS-project mailing list
> PureOS-project at lists.puri.sm
> https://lists.puri.sm/listinfo/pureos-project



More information about the PureOS-project mailing list