Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Sep 1999 01:23:52 +0100
From:      Nik Clayton <nik@freebsd.org>
To:        Christian Carstensen <cc@devcon.net>
Cc:        Chris Costello <chris@calldei.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: updating packages automatically...
Message-ID:  <19990926012352.A49346@catkin.nothing-going-on.org>
In-Reply-To: <Pine.BSF.4.10.9909260107540.2174-100000@pauling.research.devcon.net>; from Christian Carstensen on Sun, Sep 26, 1999 at 01:11:32AM %2B0200
References:  <19990925180201.C76486@holly.calldei.com> <Pine.BSF.4.10.9909260107540.2174-100000@pauling.research.devcon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 26, 1999 at 01:11:32AM +0200, Christian Carstensen wrote:
> On Sat, 25 Sep 1999, Chris Costello wrote:
> >    Aah!  No!  I tried that with GNOME once and it drove me insane
> > for about two weeks.
> > 
> >    Auto-upgrades on ports would be _very_ _very_ bad, especially
> > for those using apache from ports!
> 
> that's right. i thought about having some kind of exclude list for ports
> that shall never be upgraded automatically. anyway, the script will just
> generate a shell script output. it should not replace packages without
> manual intervention.

If you're interested, I've got patches for sysutils/pkg_version
that support a '-c' flag (for 'commands') that show you the commands 
you should run to update any out of date ports.  I cron this and mail
the output out once a week.

You could have it automatically create and execute a shell script if
you wanted.  Sample output from one of my boxes is:

    #
    #  ORBit
    #  needs updating (index has 0.4.93)
    #
    cd /usr/ports/devel/ORBit
    make clean all
    pkg_delete -f ORBit-0.4.3
    make install

    #
    #  docbook-xml
    #  needs updating (index has 3.1.5)
    #
    cd /usr/ports/textproc/docbook-xml
    make clean all
    pkg_delete -f docbook-xml-3.1.4
    make install

    #
    #  fetchmail
    #  needs updating (index has 5.0.8)
    #
    cd /usr/ports/mail/fetchmail
    make clean all
    pkg_delete -f fetchmail-5.0.3
    make install

    #
    #  less
    #  needs updating (index has 340)
    #
    cd /usr/ports/misc/less
    make clean all
    pkg_delete -f less-337
    make install

    [...]

I sent these to the maintainer/author a while back, but they were never
integrated.

N
-- 
 [intentional self-reference] can be easily accommodated using a blessed,
 non-self-referential dummy head-node whose own object destructor severs
 the links.
    -- Tom Christiansen in <375143b5@cs.colorado.edu>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990926012352.A49346>