2016-11-01 41 views
1

有沒有辦法用macports代理設置Sonatype Nexus。我試過了,但是我找不到nexus支持的rsync。使用sonatype nexus for macports

/opt/local/etc/macports/sources.conf可以採取http協議,但對我來說不起作用

我macports.conf

proxy_http proxy.local.dev配置代理服務器: 80個 proxy_https proxy.local.dev:80

,但我得到403 Forbidden錯誤,當我試圖安裝一個軟件包

$sudo port install ack 

錯誤:

0DEBUG: Fetching distfile failed: The requested URL returned error: 403 

回答

0

這目前尚不支持。目前你最好的選擇是嘗試使用原始資源庫作爲代理,但你可能已經嘗試過了。

其他更有趣但費時的選擇是創建自己的格式!我們的一位社區成員與APT一起完成了這項工作,您可以在此查看他們的工作:https://github.com/mpoindexter/nexus-repository-apt