mirrorrequest icon indicating copy to clipboard operation
mirrorrequest copied to clipboard

建议新增FreeBSD portsnap源

Open ykla opened this issue 6 years ago • 4 comments

portsnap 是 ports 目录的快照,定时更新。

portsnap工具用于获取和更新FreeBSD ports的压缩快照,并提取和更新未压缩的ports。在正常的更新操作中,portsnap会定期将修改后的本地文件恢复到初始状态,并删除无法识别的本地文件。

如果要使用ports 则必须通过portsnap 源来下载更新ports 目录。(对于FreeBSD 11, FreeBSD 12来说,通过源码安装的方式过于复杂,且速度不超过10kb/s)。

ykla avatar Dec 31 '17 02:12 ykla

我近期刚开始使用 FreeBSD, 对各项工具都不太熟悉。 请问你知道如何同步 portsnap 吗?

gaoyifan avatar Dec 31 '17 03:12 gaoyifan

portsnap 可以使用 http://sourcefire.portsnap.freebsd.org 作为源进行更新。

cnBSD avatar May 07 '18 02:05 cnBSD

@cnBSD 请问有没有同步方法或者脚本?

ykla avatar May 20 '18 01:05 ykla

@ykla 命令如下,仅供参考: lftp -c open -e "mirror -c --parallel=128 --delete / /Storage/portsnap" http://sourcefire.portsnap.freebsd.org

cnBSD avatar May 20 '18 13:05 cnBSD