使用sonatype nexus for macports

时间:2016-11-01 16:31:00

标签: macports sonatype

有没有办法用macports代理设置Sonatype Nexus。我尝试了但是我找不到nexus支持的rsync。

/opt/local/etc/macports/sources.conf可以使用http协议,但在我的情况下不起作用

我在macports.conf中配置代理

proxy_http proxy.local.dev:80 proxy_https proxy.local.dev:80

但是当我尝试安装软件包时,我得到403禁止错误

<div style="display: none; visibility: hidden;">
                <div id="newsletter" class="animated animatedvisible rubberBand">
                    <h3>Dynamic Drive Newsletter</h3>
                    <p>Sign up for our FREE newsletter to get early access to new scripts!</p>
                    <form action="" method="post">
                        <input type="email" value="" name="EMAIL">
                        <input type="submit" value="Subscribe">
                    </form>
                    <span class="scrollboxclose" onclick="scrollbox1.hide()">x</span>
                </div>

                <div id="specialoffer" class="animated">
                    <b>DDWhois</b> Free Domain Whois and Research Tool. Always free, always anonymous. <button onclick="location='http://ddwhois.com'">Visit</button>
                    <span class="scrollboxclose" onclick="scrollbox2.hide()">x</span>
                </div>

                <script>var scrollbox1=new scrollBox({elementid:"newsletter",dir:"down"}),scrollbox2=new scrollBox({elementid:"specialoffer",dir:"up",fxclass:"slideInDown",pctboundary:50});</script></div>

错误:

<div style="display: none; visibility: hidden;">

1 个答案:

答案 0 :(得分:0)

目前不支持此功能。您目前最好的选择是尝试使用原始存储库作为代理,但您可能已经尝试过。

另一个更有趣但耗时的选择是创建自己的格式!我们的一位社区成员通过APT做到了这一点,你可以在这里查看他们的工作:https://github.com/mpoindexter/nexus-repository-apt

相关问题