pkgsrc-Bulk archive

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

Re: Cleaning up older binaries



How does one clean up a set of binaries of older / insecure packages? As
things are updated on pkgsrc-2004Q2, I'd like to get rid of some of the
older things, and I'd rather not upload insecure packages and wait for
them to be cleaned out on the ftp server.

Maybe do an 'upload' to a temporary directory and then rsync --delete
that dir with your pkgs dir.  (Not tested.)

I mean this for my local directories. VAX and m68k bulk builds take a long time, so I don't want to start clean each time. So I keep the previous set of binaries. I'd just like to remove older versions of the same package, like:

-rw-r--r--  1 root  wheel    103722 Mar 26 07:52 anomy-sanitizer-1.63.tgz
-rw-r--r--  1 root  wheel    105178 May 26 22:10 anomy-sanitizer-1.66.tgz
-rw-r--r--  1 root  wheel    107962 Jul 10 21:18 anomy-sanitizer-1.68.tgz

or

-rw-r--r--  1 root  wheel   1521073 May 24 06:45 apache-1.3.29nb1.tgz
-rw-r--r--  1 root  wheel   1538683 Jul  9 19:38 apache-1.3.31nb1.tgz
-rw-r--r--  1 root  wheel   1538670 Aug 31 14:37 apache-1.3.31nb2.tgz

While I could write a script to do this, I just thought that lintpkgsrc or some other neat utility already does this.

John



Home | Main Index | Thread Index | Old Index