分页: 1 / 1

OpenBSD如何删除不再需要的distfiles

发表于 : 2013-05-23 12:00
f5b
例如,本地保存了很多旧distfiles,现在下载了新的ports代码
ports里面 firefox 版本是20了,build过程会自动下载新的distfiles,所以distfiles 中的firefox 15就没有存在的必要了。

有啥命令,自动清除ports不再需要的distfiles文件?

Re: OpenBSD如何删除不再需要的distfiles

发表于 : 2013-05-23 18:00
f5b
搞定,自言自语吧


remove old distfiles no longer associated with ports?
how to auto clean old distfiles no longer associated with new ports source.

first, let dpb auto generate file /usr/ports/distfiles/history
# /usr/ports/infrastructure/bin/dpb -D HISTORY_ONLY

second, let clean-old-distfiles do it, clean-old-distfiles depends on history log that records obsolete distfiles.
# /usr/ports/infrastructure/bin/clean-old-distfiles

Re: OpenBSD如何删除不再需要的distfiles

发表于 : 2014-02-09 15:09
cws
楼主高人