[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-security] here is my Auto-Security-Patch-Updater



<shameless plug>
My solution is not perfect either, but it does check for installed
updates and tries not to get them, etc.

You can find it at cobalt-aid2.lindist.dk in the Downloads -> Scripts
section. It is simply called Updater.tgz and will autodetect RaQ1?/2/3/4
and Qube1/2, fetch the updates since last time and apply them.

Note: cobalt-aid2 is the second incartation of
cobalt-aid.sourceforge.net.

You can also find Updater.tgz there, at least for some time to come.
It is entirely optional, of course :)
</shameless plug>

lør, 2002-04-13 kl. 22:07 skrev Gunther Stammwitz:
> Hi Guys,
> 
> these two scripts will mirror the cobalt-ftp-patches-directory and then
> they'll install all patches sorted by the date. the oldest goes first.
> It's not that efficient since all patches will be installed - or at lest it
> will try to install them - even though most of them are already installed.
> anyway... it is a dirty hack BUT it works.
> 
> 1.
> Make the download-directory:
> mkdir /COBALT-UPDATES
> 
> then run this script:
> #Auto-Download by GS
> #gs@xxxxxxxxxx
> #v0.1 alpha :-)
> #dirty hack
> #
> # you should use mirror.. it works much much better.
> # DOWNLOAD everything in /COBALT-UPDATES
> cd /COBALT-UPDATES
> wget ftp://ftp.cobalt.sun.com/pub/packages/raq3/eng/*
> # done
> 
> #Auto-Updater by GS
> #gs@xxxxxxxxxx
> #v0.1 alpha :-)
> #dirty hack
> #
> # list all files in /COBALT-UPDATES sorted by the date of the file.
> # first goes the oldest...
> cd /COBALT-UPDATES
> for FILE in $(cd /COBALT-UPDATES; ls -t -r -1);
> do
> echo "EXECUTING: cobalt_upgrade $PKGFILE..."
> /usr/local/sbin/cobalt_upgrade $FILE
> done
> 
> 
> 
> Thanks and bye,
> Gunther
> 
> _______________________________________________
> cobalt-security mailing list
> cobalt-security@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-security
> 
-- 

Martin Moeller
Liga LinDist ApS.
Faelledvej 16D
DK-2200  Copenhagen N
Tel: +45 35 36 95 05
Fax: +45 35 36 92 05

http://www.liga.dk
mailto: martin@xxxxxxx