Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 11 Apr 2002 16:25:10 -0400 From: Alan Dobkin To: cygwin AT cygwin DOT com Subject: Automating Package Updates Message-ID: <3275699787.1018542310@ADobkin-1.US.Nortel.Com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Has anyone developed a mechanism to notify and automatically update Cygwin packages on deployed systems? I've searched the list and haven't seen anything like this yet, so I'm working on a perl script do it, which I will share if there is interest. The idea is similar to RedHat's RHN/ up2date program for Linux. But if something like this already exists for Cygwin, then I won't reinvent the wheel. The script I'm working on requires Cygwin to already be installed, so it's not intended as a replacement for the setup program, and it would probably no longer be needed once there is a command-line setup. It also requires perl to run, along with bzip and tar for package installation, ssmtp for e-mail notification, and cron for automation. It compares setup's installed.db file with the latest setup.ini to determine what has changed. If it updates any packages, it revises the entries in installed.db and the package contents files in /etc/setup to keep setup happy for future manual updates with the GUI. Alan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/