After spotting the cleaning up your distfiles entry at the #NetBSD Community Blog, I decided to take a closer look at my pkgsrc distfiles. For those not familiar with pkgsrc, distfiles contain the source used to build pkgsrc binary packages.

I keep a central repository of distfiles for my NetBSD machines and those responsible for package builds mount this repository via NFS. Over the years this repository has grown and it’s now reached 5.5GiB and 4,974 files.

The results of a scan (comparing the distfiles against what’s in my pkgsrc tree, which is normally a pretty recent copy of HEAD along with wip):

[p0] mj@aurora:~$ lintpkgsrc -o
Scanning distinfo: ........................................... (6353 packages)
3185 unreferenced file(s) in '/usr/pkgsrc-distfiles':

Hmm… Time for a cleanup methinks!

  • Share/Save/Bookmark