5601 Commits

Author SHA1 Message Date
Tim D. Smith
9134718f9c Audit formulæ for easy-install.pth files
Closes Homebrew/homebrew#32860.
2014-10-02 11:58:13 -07:00
J. Brandt Buckley
f2fa551291 Use pcap fixture with complete packets
The existing `test.pcap` consists of just one Ethernet frame, so it's missing TCP/IP headers.

This updated file is a full HTTP GET request and reply.

Relates to Homebrew/homebrew#32852

Closes Homebrew/homebrew#32869.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-02 11:02:30 -07:00
Jack Nagel
c4818394cb Post-install audit for shadowed header files 2014-10-01 23:32:53 -05:00
Jack Nagel
86bb9b3fbb Remove commented-out code 2014-09-30 23:12:20 -05:00
Jack Nagel
95ec1650f4 Whitelist fuse pc files too 2014-09-30 22:37:27 -05:00
Jack Nagel
49d48a36a3 Whitelist more MacFuse headers
I think this is all of them.
2014-09-30 19:07:57 -05:00
Tim D. Smith
54d0043771 Walk entire keg to find object files to relocate
Closes Homebrew/homebrew#32772.
2014-09-29 20:27:13 -07:00
Jack Nagel
225bd3bf50 Move ushare and libdlna to the boneyard
These projects are currently unmaintained, and not compatible with newer
versions of ffmpeg.
2014-09-28 14:20:00 -05:00
Jack Nagel
94c7cc4b35 Fix whitelisted headers 2014-09-28 11:15:25 -05:00
Jack Nagel
209e7137e3 Rearrange build process cleanup to avoid spawning a reader thread
This is a follow-up to bbf9f7460fc8e6e4c63f5bbe8630b11ca53f3710.

If we read from the pipe before calling Process.wait, we can avoid
spawning a thread to do the read while continuing to avoid the deadlock
that the thread was introduced to solve.
2014-09-28 01:37:10 -05:00
Jack Nagel
aaaab946ec Make inreplace errors fatal
Closes Homebrew/homebrew#32649.
Closes Homebrew/homebrew#32703.
2014-09-28 01:11:31 -05:00
Jack Nagel
1c71fb4287 Drop executable bits from imported commands
Closes Homebrew/homebrew#32743.
2014-09-27 23:57:03 -05:00
Jack Nagel
54ac9c560a Revert "Add test for inreplace sub!/gsub! with hash argument"
Ruby 1.8 doesn't support this, so we don't officially support it (yet).

This reverts commit 7d5eb6f5e2da42c1378fefb63fde55cae97a3909.
2014-09-27 23:53:01 -05:00
Jack Nagel
14594741e1 Add test for inreplace sub!/gsub! with hash argument 2014-09-27 23:31:08 -05:00
Jack Nagel
9f9f5bf31c Add test for inreplace sub!/gsub! 2014-09-27 23:31:08 -05:00
Jack Nagel
cb69f339b8 Intercept calls to sub! in inreplace blocks 2014-09-27 19:11:40 -05:00
Jack Nagel
50b900daf3 Don't warn about tap conflicts during pruning
Fixes Homebrew/homebrew#32710.
2014-09-27 12:17:22 -05:00
Jack Nagel
e409aa3084 Clean up inreplace regexps
- use literal syntax
 - escape interpolated variables
 - remove intermediate variables
 - remove unnecessary capture
2014-09-26 22:35:37 -05:00
Jack Nagel
701691c261 Add missing test for inreplace with tabs 2014-09-26 22:01:00 -05:00
Jack Nagel
c0cb58177e Fix formatting in inreplace tests 2014-09-26 21:55:26 -05:00
Adam Vandenberg
95d16ef1ba don't clean libexec 2014-09-26 18:22:19 -07:00
Jack Nagel
fb1250a012 Rescue any SystemCallError from atomic_write 2014-09-25 14:34:38 -05:00
Adam Vandenberg
aea849109d Redact electric-fence
Closes Homebrew/homebrew#31203.
2014-09-24 20:03:34 -07:00
Jack Nagel
799a2a456e Use Dir.glob and array operations to remove whitelisted files 2014-09-24 19:58:10 -05:00
Jack Nagel
586756209c Dir.exist? is not in 1.8 2014-09-24 17:51:36 -05:00
Jack Nagel
612da7c3b0 Make sure the directory exists before chdir 2014-09-24 17:40:17 -05:00
Jack Nagel
0d370bc329 Revert "Revert "Whitelist MacFuse headers""
This reverts commit e81b82cc725ede00c1292a50a076bb8a652ccecd.
2014-09-24 17:40:17 -05:00
Jack Nagel
e603704e41 Revert "Revert "Simplify unbrewed file whitelists""
This reverts commit 338a451a47c884eb9ca96d7b0023417a1eaa4d3d.
2014-09-24 17:40:17 -05:00
Jack Nagel
1bd76b9a6e Revert "Revert "Whitelist OSXFuse headers""
This reverts commit f96ed45fe19855d0f8acc37d5d77d16d607dfce3.
2014-09-24 17:40:16 -05:00
Jack Nagel
ad8556ccea Revert "Revert "Match whitelisted files using fnmatch""
This reverts commit 91be9f5344d5931ddae6e4f905c18a607fa9e9f1.
2014-09-24 17:40:16 -05:00
Mike McQuaid
dfce2bb7c7 brew-man: Rubify, make an internal command.
Closes Homebrew/homebrew#32472.
2014-09-24 15:23:33 -07:00
Mike McQuaid
86ded7833c brew-cleanup-installed: Rubify, make internal cmd. 2014-09-24 15:22:59 -07:00
Mike McQuaid
3b8a6c0724 brew-tap-readme: make an internal command. 2014-09-24 15:22:51 -07:00
Mike McQuaid
8b6978b54d Move manpage to Homebrew (from Contributions).
As this is something we support and update.
2014-09-24 15:22:51 -07:00
Mike McQuaid
af8a9ff502 brew-aspell-dictionaries: make a developer command 2014-09-24 15:22:51 -07:00
Mike McQuaid
ce6d76ed1c brew-switch: make an internal command. 2014-09-24 15:22:51 -07:00
Mike McQuaid
3a432bcc2a brew-pull: make an internal command. 2014-09-24 15:22:46 -07:00
Mike McQuaid
706e8abe29 brew-gist-logs: make an internal command. 2014-09-24 15:22:46 -07:00
Mike McQuaid
7989b2169f brew-test-bot: fix error detection logic. 2014-09-24 15:22:46 -07:00
Mike McQuaid
b7c9025d93 brew-test-bot: make an internal command. 2014-09-24 15:22:37 -07:00
Mike McQuaid
05739585d1 Generate RDoc documentation.
This is currently still very messy and we probably want to work out the
best way to declare what parts of our DSL/what files are "public".

Still, even if this is a WIP I'd rather get something committed sooner
rather than later and start iterating on this as a replacement for
`example_formula.rb` and the formula cookbook.

To test:
```bash
cd $(brew --prefix)/Library/Homebrew && \
  rdoc formula.rb requirement.rb utils.rb &&\
  open doc/index.html
```

Closes Homebrew/homebrew#32470.
2014-09-24 15:08:10 -07:00
Mike McQuaid
2df9b0e7ff Revert "Match whitelisted files using fnmatch"
This reverts commit f9c8b5e1da7ac09c85a6ebf9a94624bb9c60bed5.

Closes Homebrew/homebrew#32609.
Closes Homebrew/homebrew#32613.
2014-09-24 15:03:07 -07:00
Mike McQuaid
bc5117b88d Revert "Whitelist OSXFuse headers"
This reverts commit f05d29e3fd0d056b78da6a0b0247e64f91014e04.
2014-09-24 15:03:06 -07:00
Mike McQuaid
068b21db19 Revert "Simplify unbrewed file whitelists"
This reverts commit 2885a92612173f480303b03da1da739eb68550d7.
2014-09-24 15:03:05 -07:00
Mike McQuaid
f9bc7788d2 Revert "Whitelist MacFuse headers"
This reverts commit 6319cac687fa722a1d005fe056e0dac22d91ef9c.
2014-09-24 15:03:04 -07:00
Jack Nagel
959327958c Whitelist MacFuse headers 2014-09-24 15:09:26 -05:00
Jack Nagel
892d7dc130 Simplify unbrewed file whitelists
Only the keys of the hashes are used, so we can just use arrays and
comments instead.
2014-09-24 15:08:19 -05:00
Jack Nagel
f9d5dbb19b Whitelist OSXFuse headers 2014-09-24 14:00:39 -05:00
Jack Nagel
71b0c773ec Match whitelisted files using fnmatch 2014-09-24 14:00:39 -05:00
Jack Nagel
e5c42895a8 Add doctor check for unbrewed header files 2014-09-24 13:16:33 -05:00