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 <[EMAIL PROTECTED]>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message