/
2013-09-13-homebrew-used-options.html
342 lines (226 loc) · 20.4 KB
/
2013-09-13-homebrew-used-options.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<!DOCTYPE html>
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>homebrew の reinstall で使われるオプションの保存場所 - @znz blog</title>
<meta name="author" content="Kazuhiro NISHIYAMA">
<meta name="description" content="homebrew の reinstall で使われるオプションの保存場所 Sep 13th, 2013 9:58 pm | Comments rabbiter の記事
で、
「一度 --with-curl-ca-bundle 付きでインストールした後だと、以下のようにオプションなしの …">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="http://blog.n-z.jp/blog/2013-09-13-homebrew-used-options.html">
<link href="/favicon.png" rel="icon">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href="/atom.xml" rel="alternate" title="@znz blog" type="application/atom+xml">
<script src="/javascripts/modernizr-2.0.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="./javascripts/libs/jquery.min.js"%3E%3C/script%3E'))</script>
<script src="/javascripts/octopress.js" type="text/javascript"></script>
<!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
<link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-43859023-1', 'n-z.jp');
ga('send', 'pageview');
</script>
</head>
<body >
<header role="banner"><hgroup>
<h1><a href="/">@znz blog</a></h1>
<h2>ZnZ の memo のようなもの</h2>
</hgroup>
</header>
<nav role="navigation"><ul class="subscription" data-subscription="rss">
<li><a href="/atom.xml" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
</ul>
<form action="http://www.google.co.jp/cse" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="partner-pub-4711975605457723:5173725094" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" size="40" />
<input type="submit" name="sa" value="検索" />
</div>
</form>
<script type="text/javascript" src="http://www.google.co.jp/coop/cse/brand?form=cse-search-box&lang=ja"></script>
<ul class="main-navigation">
<li><a href="/">Blog</a></li>
<li><a href="/blog/archives">Archives</a></li>
</ul>
</nav>
<div id="main">
<div id="content">
<div>
<article class="hentry" role="article">
<header>
<!-- zenback_title_begin -->
<h1 class="entry-title">homebrew の reinstall で使われるオプションの保存場所</h1>
<!-- zenback_title_end -->
<p class="meta">
<time class='entry-date' datetime='2013-09-13T21:58:00+09:00'><span class='date'><span class='date-month'>Sep</span> <span class='date-day'>13</span><span class='date-suffix'>th</span>, <span class='date-year'>2013</span></span> <span class='time'>9:58 pm</span></time>
| <a href="#disqus_thread"
data-disqus-identifier="http://blog.n-z.jp">Comments</a>
</p>
</header>
<!-- zenback_body_begin -->
<div class="entry-content"><p><a href="/blog/2013-09-08-rabbiter-on-mac.html">rabbiter の記事</a>
で、
「一度 <code>--with-curl-ca-bundle</code> 付きでインストールした後だと、以下のようにオプションなしの reinstall でもオプションが付くようです。」
と書きましたが、そのオプションがどこに保存されているのかを調べました。</p>
<!--more-->
<p>実際に調べるのはソースをたどったりして結構大変だったのですが、
最終的に
<code>/usr/local/Cellar/glib-networking/2.36.2/INSTALL_RECEIPT.json</code>
に <code>used_options</code> というキーで保存されているということがわかりました。</p>
<p><code>Cellar</code> はインストールしたファイルの実体が入るところなので、
あらかじめダミーの <code>INSTALL_RECEIPT.json</code> を用意しておいて
オプションなしの <code>brew reinstall</code> の時に使われるオプションを
埋め込んでおくという用途に使うのには向いていないということが
わかりました。</p>
</div>
<!-- zenback_body_end -->
<footer>
<p class="meta">
<span class="byline author vcard">Posted by <span class="fn">Kazuhiro NISHIYAMA</span></span>
<time class='entry-date' datetime='2013-09-13T21:58:00+09:00'><span class='date'><span class='date-month'>Sep</span> <span class='date-day'>13</span><span class='date-suffix'>th</span>, <span class='date-year'>2013</span></span> <span class='time'>9:58 pm</span></time>
<span class="categories">
<a class='category' href='/blog/categories/homebrew/'>homebrew</a>, <a class='category' href='/blog/categories/osx/'>osx</a>
</span>
</p>
<div class="sharing">
</div>
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- footer -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-4711975605457723"
data-ad-slot="4115794291"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<p class="meta">
<a class="basic-alignment left" href="/blog/2013-09-12-td2planet.html" title="Previous Post: td2planet を rubyforge から github に移行してリリース">« td2planet を rubyforge から github に移行してリリース</a>
<a class="basic-alignment right" href="/blog/2013-09-14-use-custom-ruby-with-rbenv.html" title="Next Post: 独自ビルドした ruby を rbenv で使う">独自ビルドした ruby を rbenv で使う »</a>
</p>
</footer>
</article>
<section>
<!-- X:S ZenBackWidget --><div id="zenback-widget-loader"></div><script type="text/javascript">!function(d,i){if(!d.getElementById(i)){var r=Math.ceil((new Date()*1)*Math.random());var j=d.createElement("script");j.id=i;j.async=true;j.src="//w.zenback.jp/v1/?base_uri=http%3A//blog.n-z.jp/&nsid=122901358100652638%3A%3A122901381991399941&rand="+r;d.body.appendChild(j);}}(document,"zenback-widget-js");</script><!-- X:E ZenBackWidget -->
</section>
<section>
<h1>Comments</h1>
<div id="disqus_thread" aria-live="polite"><noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</div>
</section>
</div>
<aside class="sidebar">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- sidebar -->
<ins class="adsbygoogle"
style="display:inline-block;width:160px;height:600px"
data-ad-client="ca-pub-4711975605457723"
data-ad-slot="4210402292"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<section>
<h1>About Me</h1>
<img src="/favicon.png" style="float:right">
<p>
<a href="http://rubycommitters.org/">Ruby のコミッター</a>とかやってます。
フルスタックエンジニア(って何?)かもしれません。
</p>
<script data-gittip-username="znz"
data-gittip-widget="button"
src="//gttp.co/v1.js"></script>
</section>
<script language="javascript" type="text/javascript" src="http://b.hatena.ne.jp/js/widget.js" charset="utf-8"></script>
<script language="javascript" type="text/javascript">
Hatena.BookmarkWidget.url = "http://blog.n-z.jp/";
Hatena.BookmarkWidget.title = "人気エントリー";
Hatena.BookmarkWidget.sort = "count";
Hatena.BookmarkWidget.width = 0;
Hatena.BookmarkWidget.num = 6;
Hatena.BookmarkWidget.theme = "default";
Hatena.BookmarkWidget.load();
</script>
<section>
<h1>Recent Posts</h1>
<ul id="recent_posts">
<li class="post">
<a href="/blog/2015-05-09-amagasakirb.html">5月9日 アンダースタンディング コンピュテーション読書会 第3回(兵庫県)に参加しました</a>
</li>
<li class="post">
<a href="/blog/2015-05-03-lilo-tokaidolug.html">LILO & 東海道らぐ・オフラインミーティング(2015/05/03)に参加しました</a>
</li>
<li class="post">
<a href="/blog/2015-04-25-rubykansai66.html">第66回 Ruby関西 勉強会に参加した</a>
</li>
<li class="post">
<a href="/blog/2015-04-20-sakura-vps-dokku.html">さくらのVPSにdokkuをdebで入れてみた</a>
</li>
<li class="post">
<a href="/blog/2015-04-18-dokku.html">dokku 0.3.17 に Ruby on Rails アプリをデプロイしてみた</a>
</li>
</ul>
</section>
<section>
<h1>Tag Cloud</h1>
<span id="tag-cloud"><a href='/blog/categories/alsa' style='font-size: 101.57894736842105%'>alsa(2)</a> <a href='/blog/categories/amagasakirb' style='font-size: 109.47368421052632%'>amagasakirb(12)</a> <a href='/blog/categories/ansible' style='font-size: 107.10526315789474%'>ansible(9)</a> <a href='/blog/categories/anyenv' style='font-size: 100.78947368421052%'>anyenv(1)</a> <a href='/blog/categories/authorization' style='font-size: 100.78947368421052%'>authorization(1)</a> <a href='/blog/categories/book' style='font-size: 101.57894736842105%'>book(2)</a> <a href='/blog/categories/boot2docker' style='font-size: 103.94736842105263%'>boot2docker(5)</a> <a href='/blog/categories/bootstrap' style='font-size: 100.78947368421052%'>bootstrap(1)</a> <a href='/blog/categories/bts' style='font-size: 100.78947368421052%'>bts(1)</a> <a href='/blog/categories/capistrano' style='font-size: 100.78947368421052%'>capistrano(1)</a> <a href='/blog/categories/cdr' style='font-size: 102.36842105263158%'>cdr(3)</a> <a href='/blog/categories/certification' style='font-size: 100.78947368421052%'>certification(1)</a> <a href='/blog/categories/coffeescript' style='font-size: 101.57894736842105%'>coffeescript(2)</a> <a href='/blog/categories/community' style='font-size: 102.36842105263158%'>community(3)</a> <a href='/blog/categories/debian' style='font-size: 119.73684210526315%'>debian(25)</a> <a href='/blog/categories/devise' style='font-size: 103.94736842105263%'>devise(5)</a> <a href='/blog/categories/dkms' style='font-size: 100.78947368421052%'>dkms(1)</a> <a href='/blog/categories/docker' style='font-size: 112.63157894736842%'>docker(16)</a> <a href='/blog/categories/dokku' style='font-size: 103.15789473684211%'>dokku(4)</a> <a href='/blog/categories/doorkeeper' style='font-size: 103.15789473684211%'>doorkeeper(4)</a> <a href='/blog/categories/drb' style='font-size: 100.78947368421052%'>drb(1)</a> <a href='/blog/categories/elscreen' style='font-size: 100.78947368421052%'>elscreen(1)</a> <a href='/blog/categories/emacs' style='font-size: 106.3157894736842%'>emacs(8)</a> <a href='/blog/categories/event' style='font-size: 146.57894736842104%'>event(59)</a> <a href='/blog/categories/fluentd' style='font-size: 100.78947368421052%'>fluentd(1)</a> <a href='/blog/categories/gem' style='font-size: 103.15789473684211%'>gem(4)</a> <a href='/blog/categories/ghq' style='font-size: 101.57894736842105%'>ghq(2)</a> <a href='/blog/categories/git' style='font-size: 103.94736842105263%'>git(5)</a> <a href='/blog/categories/github' style='font-size: 105.52631578947368%'>github(7)</a> <a href='/blog/categories/go' style='font-size: 100.78947368421052%'>go(1)</a> <a href='/blog/categories/gpg' style='font-size: 100.78947368421052%'>gpg(1)</a> <a href='/blog/categories/haml' style='font-size: 100.78947368421052%'>haml(1)</a> <a href='/blog/categories/heroku' style='font-size: 102.36842105263158%'>heroku(3)</a> <a href='/blog/categories/homebrew' style='font-size: 105.52631578947368%'>homebrew(7)</a> <a href='/blog/categories/html5' style='font-size: 102.36842105263158%'>html5(3)</a> <a href='/blog/categories/ime' style='font-size: 102.36842105263158%'>ime(3)</a> <a href='/blog/categories/ipsec' style='font-size: 100.78947368421052%'>ipsec(1)</a> <a href='/blog/categories/irb' style='font-size: 100.78947368421052%'>irb(1)</a> <a href='/blog/categories/isbn' style='font-size: 100.78947368421052%'>isbn(1)</a> <a href='/blog/categories/javascript' style='font-size: 103.15789473684211%'>javascript(4)</a> <a href='/blog/categories/jenkins' style='font-size: 100.78947368421052%'>jenkins(1)</a> <a href='/blog/categories/jquery' style='font-size: 100.78947368421052%'>jquery(1)</a> <a href='/blog/categories/jquery-mobile' style='font-size: 101.57894736842105%'>jquery-mobile(2)</a> <a href='/blog/categories/jquery-ui' style='font-size: 100.78947368421052%'>jquery-ui(1)</a> <a href='/blog/categories/jus' style='font-size: 102.36842105263158%'>jus(3)</a> <a href='/blog/categories/k-of' style='font-size: 101.57894736842105%'>k-of(2)</a> <a href='/blog/categories/kansaidebian' style='font-size: 103.94736842105263%'>kansaidebian(5)</a> <a href='/blog/categories/kernelvm' style='font-size: 100.78947368421052%'>kernelvm(1)</a> <a href='/blog/categories/l10n' style='font-size: 100.78947368421052%'>l10n(1)</a> <a href='/blog/categories/land-of-lisp' style='font-size: 103.15789473684211%'>land-of-lisp(4)</a> <a href='/blog/categories/lilo' style='font-size: 103.15789473684211%'>lilo(4)</a> <a href='/blog/categories/linux' style='font-size: 111.84210526315789%'>linux(15)</a> <a href='/blog/categories/live' style='font-size: 102.36842105263158%'>live(3)</a> <a href='/blog/categories/lxc' style='font-size: 100.78947368421052%'>lxc(1)</a> <a href='/blog/categories/lxcjp' style='font-size: 101.57894736842105%'>lxcjp(2)</a> <a href='/blog/categories/mail' style='font-size: 100.78947368421052%'>mail(1)</a> <a href='/blog/categories/mailman' style='font-size: 101.57894736842105%'>mailman(2)</a> <a href='/blog/categories/mavericks' style='font-size: 103.15789473684211%'>mavericks(4)</a> <a href='/blog/categories/memcached' style='font-size: 100.78947368421052%'>memcached(1)</a> <a href='/blog/categories/milter-manager' style='font-size: 100.78947368421052%'>milter-manager(1)</a> <a href='/blog/categories/mojibake' style='font-size: 100.78947368421052%'>mojibake(1)</a> <a href='/blog/categories/mysql' style='font-size: 101.57894736842105%'>mysql(2)</a> <a href='/blog/categories/nadoka' style='font-size: 100.78947368421052%'>nadoka(1)</a> <a href='/blog/categories/oauth2' style='font-size: 103.15789473684211%'>oauth2(4)</a> <a href='/blog/categories/octopress' style='font-size: 104.73684210526315%'>octopress(6)</a> <a href='/blog/categories/omniauth' style='font-size: 101.57894736842105%'>omniauth(2)</a> <a href='/blog/categories/openssl' style='font-size: 101.57894736842105%'>openssl(2)</a> <a href='/blog/categories/osx' style='font-size: 122.89473684210526%'>osx(29)</a> <a href='/blog/categories/owncloud' style='font-size: 101.57894736842105%'>owncloud(2)</a> <a href='/blog/categories/packer' style='font-size: 100.78947368421052%'>packer(1)</a> <a href='/blog/categories/passenger' style='font-size: 100.78947368421052%'>passenger(1)</a> <a href='/blog/categories/peco' style='font-size: 100.78947368421052%'>peco(1)</a> <a href='/blog/categories/postfix' style='font-size: 101.57894736842105%'>postfix(2)</a> <a href='/blog/categories/postgresql' style='font-size: 102.36842105263158%'>postgresql(3)</a> <a href='/blog/categories/pundit' style='font-size: 100.78947368421052%'>pundit(1)</a> <a href='/blog/categories/pyenv' style='font-size: 100.78947368421052%'>pyenv(1)</a> <a href='/blog/categories/r' style='font-size: 102.36842105263158%'>r(3)</a> <a href='/blog/categories/rabbit' style='font-size: 101.57894736842105%'>rabbit(2)</a> <a href='/blog/categories/rails' style='font-size: 127.63157894736842%'>rails(35)</a> <a href='/blog/categories/ransack' style='font-size: 100.78947368421052%'>ransack(1)</a> <a href='/blog/categories/rbenv' style='font-size: 103.15789473684211%'>rbenv(4)</a> <a href='/blog/categories/redmine' style='font-size: 101.57894736842105%'>redmine(2)</a> <a href='/blog/categories/rspec' style='font-size: 100.78947368421052%'>rspec(1)</a> <a href='/blog/categories/rsyslog' style='font-size: 100.78947368421052%'>rsyslog(1)</a> <a href='/blog/categories/rubima' style='font-size: 100.78947368421052%'>rubima(1)</a> <a href='/blog/categories/ruby' style='font-size: 160.0%'>ruby(76)</a> <a href='/blog/categories/rubykaigi' style='font-size: 100.78947368421052%'>rubykaigi(1)</a> <a href='/blog/categories/rubykansai' style='font-size: 104.73684210526315%'>rubykansai(6)</a> <a href='/blog/categories/rubymotion' style='font-size: 114.21052631578948%'>rubymotion(18)</a> <a href='/blog/categories/security' style='font-size: 102.36842105263158%'>security(3)</a> <a href='/blog/categories/shell' style='font-size: 103.15789473684211%'>shell(4)</a> <a href='/blog/categories/slim' style='font-size: 100.78947368421052%'>slim(1)</a> <a href='/blog/categories/ssh' style='font-size: 100.78947368421052%'>ssh(1)</a> <a href='/blog/categories/sylpheed' style='font-size: 100.78947368421052%'>sylpheed(1)</a> <a href='/blog/categories/td2planet' style='font-size: 100.78947368421052%'>td2planet(1)</a> <a href='/blog/categories/tty' style='font-size: 103.15789473684211%'>tty(4)</a> <a href='/blog/categories/ubuntu' style='font-size: 116.57894736842105%'>ubuntu(21)</a> <a href='/blog/categories/upstart' style='font-size: 101.57894736842105%'>upstart(2)</a> <a href='/blog/categories/usp' style='font-size: 100.78947368421052%'>usp(1)</a> <a href='/blog/categories/vagrant' style='font-size: 105.52631578947368%'>vagrant(7)</a> <a href='/blog/categories/vagrantcloud' style='font-size: 101.57894736842105%'>vagrantcloud(2)</a> <a href='/blog/categories/virtualbox' style='font-size: 101.57894736842105%'>virtualbox(2)</a> <a href='/blog/categories/weechat' style='font-size: 100.78947368421052%'>weechat(1)</a> <a href='/blog/categories/yaml' style='font-size: 100.78947368421052%'>yaml(1)</a> <a href='/blog/categories/zabbix' style='font-size: 101.57894736842105%'>zabbix(2)</a> <a href='/blog/categories/zsh' style='font-size: 110.26315789473685%'>zsh(13)</a> </span>
</section>
<section>
<h1>GitHub Repos</h1>
<ul id="gh_repos">
<li class="loading">Status updating...</li>
</ul>
<a href="https://github.com/znz">@znz</a> on GitHub
<script type="text/javascript">
$(document).ready(function(){
if (!window.jXHR){
var jxhr = document.createElement('script');
jxhr.type = 'text/javascript';
jxhr.src = '/javascripts/libs/jXHR.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(jxhr, s);
}
github.showRepos({
user: 'znz',
count: 3,
skip_forks: false,
target: '#gh_repos'
});
});
</script>
<script src="/javascripts/github.js" type="text/javascript"> </script>
</section>
</aside>
</div>
</div>
<footer role="contentinfo"><p>
Copyright © 2015 - Kazuhiro NISHIYAMA -
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
</p>
</footer>
<script type="text/javascript">
var disqus_shortname = 'znzblog';
// var disqus_developer = 1;
var disqus_identifier = 'http://blog.n-z.jp/blog/2013-09-13-homebrew-used-options.html';
var disqus_url = 'http://blog.n-z.jp/blog/2013-09-13-homebrew-used-options.html';
var disqus_script = 'embed.js';
(function () {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/' + disqus_script;
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
}());
</script>
<script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script>
</body>
</html>