Your message dated Wed, 20 Apr 2005 16:32:03 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#305474: fixed in cron-apt 0.3.0
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Apr 2005 08:18:17 +0000
>From [EMAIL PROTECTED] Wed Apr 20 01:18:17 2005
Return-path: <[EMAIL PROTECTED]>
Received: from q.bofh.de [195.49.138.65] (Debian-exim)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DOAPZ-0000h2-00; Wed, 20 Apr 2005 01:18:17 -0700
Received: from tmo-029-97.customers.d1-online.com
        ([80.187.29.97]:59441 helo=scyw00225 ident=Debian-exim)
        by q.bofh.de with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32)
        (Exim 4.50)
        id 1DOAPU-0002a2-R8; Wed, 20 Apr 2005 10:18:15 +0200
Received: from mh by scyw00225 with local (Exim 4.50)
        id 1DO9kY-00015s-5L; Wed, 20 Apr 2005 09:35:54 +0200
Content-Type: multipart/mixed; boundary="===============1310387674=="
MIME-Version: 1.0
From: Marc Haber <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: please consider adding support for /etc/cron-apt/refrain
X-Mailer: reportbug 3.9
Date: Wed, 20 Apr 2005 09:35:54 +0200
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1310387674==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: cron-apt
Version: 0.2.3
Severity: wishlist
Tags: patch

Hi,

please consider adding support for a file - if exists - stops cron-apt
from doing its work when called. This is important for mobile
computers which might intermittently be connected via connections
which are very expensive. In these situations, it might be desireable
to keep cron-apt from downloading anything from the Internet.

If such a connection is up, the file /etc/cron-apt/refrain would be
created, and cron-apt will silently terminate if that file exists.

The attached patch implements this. Please consider applying.

Greetings
Marc

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.7-scyw00225
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages cron-apt depends on:
ii  apt              0.5.28.6                Advanced front-end for dpkg
ii  bash             3.0-14                  The GNU Bourne Again SHell
ii  debianutils      2.13.2                  Miscellaneous utilities specific t
ii  mailx            1:8.1.2-0.20040524cvs-4 A simple mail user agent

-- no debconf information

--===============1310387674==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="refrainpatch"

--- /usr/sbin/cron-apt  2005-02-27 15:47:51.000000000 +0100
+++ cron-apt    2005-04-20 09:25:04.121607832 +0200
@@ -357,6 +357,12 @@
     mkdir -p "$MAILCHDIR"
 fi
 
+################## terminate if /etc/cron-apt/refrain exists ##################
+
+if [ -e "/etc/cron-apt/refrain" ]; then
+  exit 0
+fi
+
 ############################### sleep #########################################
 
 echo "CRON-APT RUN [$CONFIG]: $(date)" > $INITLOG

--===============1310387674==--

---------------------------------------
Received: (at 305474-close) by bugs.debian.org; 20 Apr 2005 20:38:10 +0000
>From [EMAIL PROTECTED] Wed Apr 20 13:38:10 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DOLxa-0005jP-00; Wed, 20 Apr 2005 13:38:10 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DOLrf-0002Qt-00; Wed, 20 Apr 2005 16:32:03 -0400
From: Ola Lundqvist <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#305474: fixed in cron-apt 0.3.0
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 20 Apr 2005 16:32:03 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: cron-apt
Source-Version: 0.3.0

We believe that the bug you reported is fixed in the latest version of
cron-apt, which is due to be installed in the Debian FTP archive:

cron-apt_0.3.0.dsc
  to pool/main/c/cron-apt/cron-apt_0.3.0.dsc
cron-apt_0.3.0.tar.gz
  to pool/main/c/cron-apt/cron-apt_0.3.0.tar.gz
cron-apt_0.3.0_all.deb
  to pool/main/c/cron-apt/cron-apt_0.3.0_all.deb



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.
Ola Lundqvist <[EMAIL PROTECTED]> (supplier of updated cron-apt 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: SHA1

Format: 1.7
Date: Wed, 20 Apr 2005 22:00:31 +0200
Source: cron-apt
Binary: cron-apt
Architecture: source all
Version: 0.3.0
Distribution: unstable
Urgency: low
Maintainer: Ola Lundqvist <[EMAIL PROTECTED]>
Changed-By: Ola Lundqvist <[EMAIL PROTECTED]>
Description: 
 cron-apt   - automatic update of packages using apt-get
Closes: 298983 305474
Changes: 
 cron-apt (0.3.0) unstable; urgency=low
 .
   * Applied patch from Marc Haber <[EMAIL PROTECTED]> that
     make it possible to create a file that make cron-apt silently exit.
     Useful for dial-up connections, closes: #305474.
   * Updated manpage with minor correction, closes: #298983.
Files: 
 b355654b7efd6e75ad7f28b0020fa1d5 513 admin optional cron-apt_0.3.0.dsc
 12166139ac7f773bd49807536e197842 30399 admin optional cron-apt_0.3.0.tar.gz
 dfa49d0139ce5dabfba46b1beda8ac94 19286 admin optional cron-apt_0.3.0_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCZrfuGKGxzw/lPdkRAst+AJ9dgmXYwZZgehJ8BtrcNrkxhjDCVwCdEEUH
g8As38xJQxF4FfzP2NqzsHk=
=ecs6
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to