If you CVSup regularly, I recommend you take a look atQuote:> Hi, I know this is a basic problem, but I am having problems figureing
> it out. I update my source tree ans ports tree for FreeBSD everyday
> and I want to check if a port or files was updated using the cvs
> command. After I do my cvsup, what command can I run to see what was
> updated last for a port? Thank you in advance and sorry for the easy
Otherwise (and I don't doubt there is a cleaner alternative) I would just
cd to /usr/ports or /usr/src and 'ls -lrt' to show the most recently
updated directories and files at the bottom of the list. You can then cd
into a directory and do the same, and so on. Again, this isn't a
particularly nice method, but its what I used to do and it works.
Of course you could always just send the output of the cvsup to a file and
look through it to see what changes were made.
I call this from crontab.
echo "-----------------" >> /var/log/suplog
echo `date` >> /var/log/suplog
/usr/local/bin/cvsup -g -L 2 /etc/cvsupfile >> /var/log/suplog
The /etc/supfile has the info. I also put a command in
newsyslog.conf to rotate the files weekly.
Not pretty but at least it logs it and the separator and date
make it easy to find what has happened on what day.
I can't seem to find any documentation regarding the different directory
structures from the current (dev) CVS tree and the released structure.
In the releases, the source is in src/*
In the current (dev) CVS tree, the source is broken up into a few
Does anyone know why this is done this way? Doesn't this confuse the
Thanks for any help.