Your message dated Wed, 20 Sep 2017 12:49:22 +0000
with message-id <[email protected]>
and subject line Bug#865278: fixed in archvsync 20170920
has caused the Debian Bug report #865278,
regarding ftpsync: Notification for Update for ftpsync available not working
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
865278: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865278
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ftpsync
Version: 20170204
Severity: normal
Tag: patch

the notification for "Update for ftpsync available" is not working
because the script logic is wrong. The test for a new version itself is
working, but the second test only infor every third day never triggers,
because the initial value of difference is 0 and a different value of
of diffenence will only be set if ftpsync.newversion already exist.
But this will only be created if difference is greater or equal to
259200. So setting the initial value of difference to 259200 would fix
the problem

--- bin/ftpsync~        2017-06-18 20:10:57.751687258 +0200
+++ bin/ftpsync 2017-06-18 23:03:43.030115347 +0200
@@ -797,7 +797,7 @@
     fi
     if [[ ${LATEST} -gt ${VERSION} ]]; then
         if [[ -n ${MAILTO} ]]; then
-            difference=0
+            difference=259200
             if [[ -f ${LOGDIR}/ftpsync.newversion ]]; then
                 stamptime=$(< "${LOGDIR}/ftpsync.newversion")
                 unixtime=$(date +%s)
@@ -830,7 +830,7 @@
         rm -f "${LOGDIR}/ftpsync.newversion"
     fi
 fi

Christoph

-- 
============================================================================
Christoph Martin, Leiter Unix-Systeme
Zentrum für Datenverarbeitung, Uni-Mainz, Germany
 Anselm Franz von Bentzel-Weg 12, 55128 Mainz
 Telefon: +49(6131)3926337
 Instant-Messaging: Jabber: [email protected]
  (Siehe http://www.zdv.uni-mainz.de/4010.php)

<<attachment: martin.vcf>>

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: archvsync
Source-Version: 20170920

We believe that the bug you reported is fixed in the latest version of
archvsync, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Blank <[email protected]> (supplier of updated archvsync package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 20 Sep 2017 14:22:39 +0200
Source: archvsync
Binary: ftpsync
Architecture: source all
Version: 20170920
Distribution: unstable
Urgency: medium
Maintainer: Debian Mirror Team <[email protected]>
Changed-By: Bastian Blank <[email protected]>
Description:
 ftpsync    - Debian archive mirror tool
Closes: 865278 875702
Changes:
 archvsync (20170920) unstable; urgency=medium
 .
   * Make sure source tar is pretty clean. (closes: #875702)
   * Fix new version nag. (Closes: #865278)
   * Force permissions of files.
   * Make sure own trace files are never overwriten.
   * Check only the archive serial in cron wrapper.
   * Set default MAILTO to the current user.
Checksums-Sha1:
 f655088d57e84c30d08b500658898923863af631 1263 archvsync_20170920.dsc
 fd400618187d9eb35e40ed9f88fc125f4813a056 27608 archvsync_20170920.tar.xz
 f81bd2db945bfb33fb794f110043efc35527d051 5444 
archvsync_20170920_amd64.buildinfo
 4004903a317846557373d00486944c29a839221a 29120 ftpsync_20170920_all.deb
 da7a63372dd1f483880b002fc1d34c23177dc7a5 31844 ftpsync_20170920_all.tar.gz
Checksums-Sha256:
 0da00c0551f14a4bf84db6d58d62cece212261e76b44564924645929118546a2 1263 
archvsync_20170920.dsc
 3426f1a3b5579d0d8cc80540ffcbfe8f010a074b46ffe7ee0251d2adfda19f1c 27608 
archvsync_20170920.tar.xz
 22e2eccd212a7e2313b36a4ac2a8fc806e0cf68e4a6c39be31bd67f1dd9102a5 5444 
archvsync_20170920_amd64.buildinfo
 3868800731df7f09bc35350e10b87b1d71a622a251587ced7617e276495e57da 29120 
ftpsync_20170920_all.deb
 327125ff12e622ba58276c49e15469a6e7bc3da35be96778bcfd6996a05160c0 31844 
ftpsync_20170920_all.tar.gz
Files:
 aecb280d4fcf7ff9df4df3f587533b59 1263 admin optional archvsync_20170920.dsc
 3317c287bfc1cd391d6be83b4f277854 27608 admin optional archvsync_20170920.tar.xz
 04f8e235583dbd8318fb6f08db076dfe 5444 admin optional 
archvsync_20170920_amd64.buildinfo
 5332c10ba7cd987bfc175a43855a2eb2 29120 admin optional ftpsync_20170920_all.deb
 a66685b3112875400071bf9ad0558514 31844 byhand - ftpsync_20170920_all.tar.gz

-----BEGIN PGP SIGNATURE-----

iQFFBAEBCgAvFiEER3HMN63jdS1rqjxLbZOIhYpp/lEFAlnCXrgRHHdhbGRpQGRl
Ymlhbi5vcmcACgkQbZOIhYpp/lFF9wgAzN5XKcW6KMOLM+FhzBT13qc4PXPs7jbK
TNpdQd14HUNTOYnlVRPOWTHECHZvZ5Ipolfbj8xSKnlJPJfb0TH2voi417EURK3z
FOMGRVXGgF9hpp3l5Hdr175X9RwWeHeUZVECODX6pT1vRdOa5iLIqhFTp0G4V2c5
j2jJ+JRaL+XciBZKe3rgeWcKWjsIE283Tfda1B6pkO4nw1H6y6BOsMf3Evxl1yZh
2zFAHGCSSKi+C6eAEScvg9Jd9EeLVudZ4EVGFkRus+ZYdl8Z2+klTfLlGnFz1r4p
Qw9lwASsXUFQ3La3BHeExVRRNMr/Z2QvsvCJjTloj9K4CAISmLA6MQ==
=PFnQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to