2011-03-20

macportsのproxy経由を拒否

更新がとても久々
自宅にMBPを持ってくるのも久々

なので

macportsをsubversionに変更してproxy経由にしているのを忘れていた
でどうやってproxy経由しないで port -d sync を実行出来るのか忘れた



いろいろ悩んでいた結果
「そうだ!!proxyを経由するために rsync から subversion に変更してたんだ」
っということに気付いた
なら subversion の設定を変更すればいいだけ

ということで今回はそのメモ

subversion の proxy 設定は ~/.subversion/servers で設定できる

### This file specifies server-specific parameters,
### including HTTP proxy information, HTTP timeout settings,
### and authentication settings.
###
### The currently defined server options are:
###   http-proxy-host            Proxy host for HTTP connection
###   http-proxy-port            Port number of proxy host service
###   http-proxy-username        Username for auth to proxy service
###   http-proxy-password        Password for auth to proxy service
###   http-proxy-exceptions      List of sites that do not use proxy
###   http-timeout               Timeout for HTTP requests in seconds
###   http-compression           Whether to compress HTTP requests
###   neon-debug-mask            Debug mask for Neon HTTP library
###   http-auth-types            Auth types to use for HTTP library
###   ssl-authority-files        List of files, each of a trusted CA
###   ssl-trust-default-ca       Trust the system 'default' CAs
###   ssl-client-cert-file       PKCS#12 format client certificate file
###   ssl-client-cert-password   Client Key password, if needed.
###   ssl-pkcs11-provider        Name of PKCS#11 provider to use. 
(略) 
### 'ssl-authority-files' is a semicolon-delimited list of files,
### each pointing to a PEM-encoded Certificate Authority (CA)
### SSL certificate.  See details above for overriding security
### due to SSL.
[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
# http-proxy-host =
# http-proxy-port = 
# http-proxy-username = defaultusername
# http-proxy-password = defaultpassword
# http-compression = no
# http-auth-types = basic;digest;negotiate
# No http-timeout, so just use the builtin default.
# No neon-debug-mask, so neon debugging is disabled.
# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem
#
# Password / passphrase caching parameters:
# store-passwords = no
# store-plaintext-passwords = no
# store-ssl-client-cert-pp = no
# store-ssl-client-cert-pp-plaintext = no

こんな感じの内容
~/.subversion/servers の最後の方にある[global] のあとにあるhttp-proxy-host 以下で必要なところを入力してコメントアウトすると proxy 経由になるので今回はここをコメントする

それだけ

いろんなことを勢いとかでやってると後々困る
そういうときにメモを残すためのブログのようなきがするがもっと活用しないと

0 件のコメント:

コメントを投稿