Hi,

I'm working on #492001

This obviously needs an MTA, a mailx, diffutils etc...
but as this script is optional I wouldn't add those
to the control file. (or Suggests: maybe ?)

Some mailx doesn't seem to like UTF-8 quite much.


The thing with the md5sums seems overly complex,
I feel better to deliver something simple that works
that holding on on that feature forever.

This will already be usefull for me to locate bugs
in other packages that couldn't be detected by piuparts,
like files created at runtime but never deleted in
postrm/prerm.



There's a single-file repository here with currently only
snapshots of cruft-common if you want:

http://users.teledisnet.be/ade15809/

It is signed with my GPG key,

I use it on all my computers.

Alexandre


Hereunder: sample mail sent by the cron script:

----------  Message transmis  ----------
Objet : delta cruft for 20160224
Date : mercredi 24 février 2016, 08:16:49
De : alexandre.deti...@gmail.com
 À : root@pi

--- /var/spool/cruft/report_20160223.log        2016-02-23 06:31:20.343993655 
+0100
+++ /var/spool/cruft/report_20160224.log        2016-02-24 08:16:49.036353843 
+0100
@@ -1,8 +1,7 @@
-cruft report: mar 23 fév 2016 06:29:24 CET
+cruft report: mer 24 fév 2016 08:15:10 CET
 ---- missing: dpkg ----
 ---- unexplained: / ----
         /etc/apt/sources.list.d/lan.list
-        /etc/cron.daily/z_cruft
         /etc/cron.daily/zz_clean
         /etc/group.org
         /etc/modprobe.d/ipv6.conf

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to