Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of http://github.com/mxcl/homebrew

  • Loading branch information...
commit fd2aff4ef7e709bc3ae5dede17b2e09b3e6c0c14 2 parents 3d9dca0 + eb357cd
@diegode diegode authored
Showing with 669 additions and 131 deletions.
  1. +1 −0  Library/Formula/aget.rb
  2. +10 −8 Library/Formula/android-sdk.rb
  3. +2 −2 Library/Formula/app-engine-java-sdk.rb
  4. +2 −2 Library/Formula/bazaar.rb
  5. +14 −0 Library/Formula/box2d.rb
  6. +2 −2 Library/Formula/clamav.rb
  7. +13 −0 Library/Formula/clean.rb
  8. +3 −3 Library/Formula/cloud-watch.rb
  9. +11 −0 Library/Formula/cocot.rb
  10. +2 −0  Library/Formula/coq.rb
  11. +2 −2 Library/Formula/coreutils.rb
  12. +27 −0 Library/Formula/d-bus.rb
  13. +3 −3 Library/Formula/dcraw.rb
  14. +2 −2 Library/Formula/detox.rb
  15. +2 −2 Library/Formula/e2fsprogs.rb
  16. +2 −2 Library/Formula/elasticsearch.rb
  17. +7 −6 Library/Formula/git.rb
  18. +2 −2 Library/Formula/glew.rb
  19. +5 −1 Library/Formula/gnu-smalltalk.rb
  20. +2 −2 Library/Formula/google-app-engine.rb
  21. +20 −0 Library/Formula/gpsim.rb
  22. +240 −0 Library/Formula/jnethack.rb
  23. +2 −2 Library/Formula/jruby.rb
  24. +2 −2 Library/Formula/kyoto-cabinet.rb
  25. +2 −2 Library/Formula/kyoto-tycoon.rb
  26. +4 −4 Library/Formula/leiningen.rb
  27. +16 −0 Library/Formula/libgit2.rb
  28. +4 −0 Library/Formula/libmemcached.rb
  29. +1 −1  Library/Formula/libpng.rb
  30. +0 −1  Library/Formula/libvirt.rb
  31. +14 −0 Library/Formula/logrotate.rb
  32. +22 −0 Library/Formula/lsdvd.rb
  33. +4 −4 Library/Formula/lsof.rb
  34. +14 −0 Library/Formula/lxsplit.rb
  35. +10 −4 Library/Formula/macvim.rb
  36. +14 −0 Library/Formula/mkclean.rb
  37. +14 −0 Library/Formula/mkvalidator.rb
  38. +2 −8 Library/Formula/mkvtoolnix.rb
  39. +6 −6 Library/Formula/mongodb.rb
  40. +23 −0 Library/Formula/mosml.rb
  41. +4 −3 Library/Formula/mysql.rb
  42. +2 −2 Library/Formula/npm.rb
  43. +3 −7 Library/Formula/opencv.rb
  44. +2 −2 Library/Formula/openttd.rb
  45. +22 −0 Library/Formula/orpie.rb
  46. +20 −0 Library/Formula/owfs.rb
  47. +2 −2 Library/Formula/parallel.rb
  48. +1 −1  Library/Formula/parrot.rb
  49. +2 −2 Library/Formula/pip.rb
  50. +3 −1 Library/Formula/privoxy.rb
  51. +9 −12 Library/Formula/siege.rb
  52. +2 −2 Library/Formula/skipfish.rb
  53. +3 −0  Library/Formula/slrn.rb
  54. +18 −0 Library/Formula/sshuttle.rb
  55. +4 −4 Library/Formula/subversion.rb
  56. +2 −0  Library/Formula/surfraw.rb
  57. +3 −3 Library/Formula/tbb.rb
  58. +2 −2 Library/Formula/tor.rb
  59. +3 −3 Library/Formula/varnish.rb
  60. +18 −0 Library/Formula/vimpager.rb
  61. +8 −3 Library/Formula/wine.rb
  62. +5 −6 Library/Formula/winetricks.rb
  63. +3 −3 Library/Formula/youtube-dl.rb
View
1  Library/Formula/aget.rb
@@ -13,6 +13,7 @@ def install
system "make"
# system "make strip"
bin.install "aget"
+ man1.install "aget.1"
end
end
View
18 Library/Formula/android-sdk.rb
@@ -1,14 +1,16 @@
require 'formula'
class AndroidSdk <Formula
- url 'http://dl.google.com/android/android-sdk_r07-mac_x86.zip'
+ url 'http://dl.google.com/android/android-sdk_r08-mac_86.zip'
homepage 'http://developer.android.com/index.html'
- md5 '0f330ed3ebb36786faf6dc72b8acf819'
- version 'r7'
+ md5 'd2e392c4e4680cbf2dfd6dbf82b662c7'
+ version 'r8'
- VAR_DIRS = %w[platforms docs samples temp add-ons]
+ def self.var_dirs
+ %w[platforms docs samples temp add-ons]
+ end
- skip_clean VAR_DIRS
+ skip_clean var_dirs
def install
mkdir bin
@@ -16,7 +18,7 @@ def install
mv 'SDK Readme.txt', prefix/'README'
mv 'tools', prefix
- %w[adb android apkbuilder ddms dmtracedump draw9patch emulator
+ %w[android apkbuilder ddms dmtracedump draw9patch emulator
hierarchyviewer hprof-conv layoutopt mksdcard traceview
zipalign].each do |tool|
(bin/tool).make_link(prefix/'tools'/tool)
@@ -24,7 +26,7 @@ def install
# this is data that should be preserved across upgrades, but the Android
# SDK isn't too smart, so we still have to symlink it back into its tree.
- VAR_DIRS.each do |d|
+ AndroidSdk.var_dirs.each do |d|
dst = prefix/d
src = var/'lib/android-sdk'/d
src.mkpath unless src.directory?
@@ -32,7 +34,7 @@ def install
end
end
- def caveats; <<-EOS
+ def caveats; <<-EOS.undent
We put the useful tools in the PATH. Like the `android` tool. You probably
want to run that now.
EOS
View
4 Library/Formula/app-engine-java-sdk.rb
@@ -1,9 +1,9 @@
require 'formula'
class AppEngineJavaSdk <Formula
- url 'http://googleappengine.googlecode.com/files/appengine-java-sdk-1.3.8.zip'
+ url 'http://googleappengine.googlecode.com/files/appengine-java-sdk-1.4.0.zip'
homepage 'http://code.google.com/appengine/docs/java/overview.html'
- sha1 '5395bb75ab8913ec2312e0cd65815e04858e3d33'
+ sha1 '92c9af1a4df16a1de1f3606484b38a7d09060b4b'
def shim_script target
<<-EOS.undent
View
4 Library/Formula/bazaar.rb
@@ -1,8 +1,8 @@
require 'formula'
class Bazaar <Formula
- url 'http://launchpadlibrarian.net/41811693/bzr-2.1.1.tar.gz'
- md5 'ab6b5e0cc449b27abac2b4d717afe09d'
+ url 'http://launchpadlibrarian.net/59616932/bzr-2.2.2.tar.gz'
+ md5 'd1bfa2fd1aad282c423c78d62ebacb21'
homepage 'http://bazaar-vcs.org/'
def options
View
14 Library/Formula/box2d.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Box2d <Formula
+ url 'http://box2d.googlecode.com/files/Box2D_v2.1.2.zip'
+ homepage 'http://www.box2d.org/'
+ md5 '59d142cd8d4d73e8832c7b67591f590c'
+
+ depends_on 'cmake'
+
+ def install
+ system "cmake Box2D/ -DBOX2D_BUILD_SHARED=ON -DBOX2D_INSTALL_DOC=ON -DBOX2D_BUILD_EXAMPLES=OFF #{std_cmake_parameters}"
+ system "make -C Box2D/ install"
+ end
+end
View
4 Library/Formula/clamav.rb
@@ -1,9 +1,9 @@
require 'formula'
class Clamav <Formula
- url 'http://downloads.sourceforge.net/clamav/clamav-0.96.4.tar.gz'
+ url 'http://downloads.sourceforge.net/clamav/clamav-0.96.5.tar.gz'
homepage 'http://www.clamav.net/'
- md5 '7d47f73fe16b96544a4b5e41686e5060'
+ md5 '202e51d47298779e5babacc443102c6a'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
View
13 Library/Formula/clean.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Clean <Formula
+ url 'http://downloads.sourceforge.net/project/clean/clean/3.4/clean-3.4.tar.bz2'
+ homepage 'http://clean.sourceforge.net/'
+ md5 '7edc1f9c7c1fc33298fec329cf5dba01'
+
+ def install
+ system 'make'
+ bin.install 'clean'
+ man1.install 'clean.1'
+ end
+end
View
6 Library/Formula/cloud-watch.rb
@@ -4,10 +4,10 @@
require "#{File.dirname __FILE__}/ec2-api-tools.rb"
class CloudWatch <AmazonWebServicesFormula
- version '1.0.2.3'
+ version '1.0.9.3'
homepage 'http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2534&categoryID=251'
- url 'http://ec2-downloads.s3.amazonaws.com/CloudWatch-2009-05-15.zip'
- md5 '25cd175dca3e5fb51d970a2beb040dd4'
+ url 'http://ec2-downloads.s3.amazonaws.com/CloudWatch-2010-08-01.zip'
+ md5 '2ad0bc02b1ff16e541936f3676e7e847'
def install
standard_install
View
11 Library/Formula/cocot.rb
@@ -0,0 +1,11 @@
+require 'formula'
+
+class Cocot <Formula
+ head 'git://github.com/vmi/cocot.git', :branch => 'master'
+ homepage 'http://vmi.jp/software/cygwin/cocot.html'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make install"
+ end
+end
View
2  Library/Formula/coq.rb
@@ -6,6 +6,8 @@ class Coq < Formula
homepage 'http://coq.inria.fr/'
md5 '14b80e6b7075adf1516ab931202be8df'
+ skip_clean :all
+
depends_on 'objective-caml'
depends_on 'camlp5'
View
4 Library/Formula/coreutils.rb
@@ -26,8 +26,8 @@ def coreutils_aliases
end
class Coreutils <Formula
- url "http://ftp.gnu.org/gnu/coreutils/coreutils-8.5.tar.gz"
- md5 'c1ffe586d001e87d66cd80c4536ee823'
+ url "http://ftp.gnu.org/gnu/coreutils/coreutils-8.7.tar.gz"
+ md5 '3c1ae9531159447083ae8f25ae554b81'
homepage 'http://www.gnu.org/software/coreutils'
def options
View
27 Library/Formula/d-bus.rb
@@ -10,17 +10,44 @@ class DBus <Formula
skip_clean "etc/dbus-1/system.d"
skip_clean "var/run/dbus"
+ def patches
+ # Patches merged upstream for launchd support.
+ # See http://bugs.freedesktop.org/show_bug.cgi?id=14259
+ [ 'http://cgit.freedesktop.org/dbus/dbus/patch/?id=5125fc165454e81849a5b20c1e75b4f74bdbcd2c',
+ 'http://cgit.freedesktop.org/dbus/dbus/patch/?id=eb66c0a9c001ea08793b38470d12611ffaafa436',
+ 'http://cgit.freedesktop.org/dbus/dbus/patch/?id=f1b9aac417d8fb716d6ed19128fe429e8a41adba',
+ 'http://cgit.freedesktop.org/dbus/dbus/patch/?id=5232faad4039041ee178287eb528d8db13aa0f66' ]
+ end
+
def install
# Fix the TMPDIR to one D-Bus doesn't reject due to odd symbols
ENV["TMPDIR"] = "/tmp"
+
+ # Needed to regenerate configure for the patches to work
+ system "autoreconf -ivf"
+
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-xml-docs",
"--disable-doxygen-docs",
+ "--enable-launchd",
+ "--with-launchd-agent-dir=#{prefix}",
"--without-x"
system "make install"
# Generate D-Bus's UUID for this machine
system "#{bin}/dbus-uuidgen", "--ensure=#{prefix}/var/lib/dbus/machine-id"
end
+
+ def caveats; <<-EOS.undent
+ If this is your first install, automatically load on login with:
+ cp #{prefix}/org.freedesktop.dbus-session.plist ~/Library/LaunchAgents
+ launchctl load -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
+
+ If this is an upgrade and you already have the org.freedesktop.dbus-session.plist loaded:
+ launchctl unload -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
+ cp #{prefix}/org.freedesktop.dbus-session.plist ~/Library/LaunchAgents
+ launchctl load -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
+ EOS
+ end
end
View
6 Library/Formula/dcraw.rb
@@ -3,15 +3,15 @@
class Dcraw <Formula
homepage 'http://www.cybercom.net/~dcoffin/dcraw/'
url 'http://www.cybercom.net/~dcoffin/dcraw/archive/dcraw-9.05.tar.gz'
- md5 'b06ad99909ede5f1a129fa4b53d32e04'
+ md5 'e531229e4e79bb67a7007eec7aa74116'
depends_on 'jpeg'
depends_on 'little-cms'
def install
ENV.append_to_cflags "-I#{HOMEBREW_PREFIX}/include -L#{HOMEBREW_PREFIX}/lib"
- system "#{ENV.cc} -o dcraw/dcraw #{ENV.cflags} dcraw.c -lm -ljpeg -llcms"
- bin.install 'dcraw/dcraw'
+ system "#{ENV.cc} -o dcraw #{ENV.cflags} dcraw.c -lm -ljpeg -llcms"
+ bin.install 'dcraw'
man1.install 'dcraw.1'
end
end
View
4 Library/Formula/detox.rb
@@ -8,8 +8,8 @@ class Detox <Formula
def install
system "./configure", "--mandir=#{man}", "--prefix=#{prefix}"
system "make"
- FileUtils.mkdir(prefix + "etc")
- FileUtils.mkdir_p(prefix + "share/detox")
+ (prefix + "etc").mkpath
+ (share + "detox").mkpath
system "make install"
end
end
View
4 Library/Formula/e2fsprogs.rb
@@ -1,9 +1,9 @@
require 'formula'
class E2fsprogs <Formula
- url 'http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/1.41.9/e2fsprogs-1.41.9.tar.gz'
+ url 'http://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/1.41.12/e2fsprogs-1.41.12.tar.gz'
homepage 'http://e2fsprogs.sourceforge.net/'
- md5 '52f60a9e19a02f142f5546f1b5681927'
+ md5 '1b24a21fc0c2381ef420961cbfec733f'
keg_only "This brew installs several commands which override OS X-provided file system commands."
View
4 Library/Formula/elasticsearch.rb
@@ -1,9 +1,9 @@
require 'formula'
class Elasticsearch < Formula
- url 'https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.11.0.zip'
+ url 'https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.13.0.zip'
homepage 'http://www.elasticsearch.com'
- md5 'ef19e6fc7bad8f76e4371a94de7e0da7'
+ md5 'fd57261871c5be3c3053428046a86bc6'
def install
rm_f Dir["bin/*.bat"]
View
13 Library/Formula/git.rb
@@ -1,18 +1,18 @@
require 'formula'
class GitManuals < Formula
- url 'http://kernel.org/pub/software/scm/git/git-manpages-1.7.3.2.tar.bz2'
- md5 '80bbef2adeaae852f04a9f143aaa5204'
+ url 'http://kernel.org/pub/software/scm/git/git-manpages-1.7.3.3.tar.bz2'
+ md5 '554b648ee9859c73955978e65d9a8c94'
end
class GitHtmldocs < Formula
- url 'http://kernel.org/pub/software/scm/git/git-htmldocs-1.7.3.2.tar.bz2'
- md5 '0f25e3ebfb98dfa9cee6d81315051d63'
+ url 'http://kernel.org/pub/software/scm/git/git-htmldocs-1.7.3.3.tar.bz2'
+ md5 'f88d5054e4aa4b3f6f7769e4784e6bd9'
end
class Git < Formula
- url 'http://kernel.org/pub/software/scm/git/git-1.7.3.2.tar.bz2'
- md5 '902f7f07a789fedc0d2ac03656b85969'
+ url 'http://kernel.org/pub/software/scm/git/git-1.7.3.3.tar.bz2'
+ md5 '0430440eeb7c037afd4254bc6fd2cce8'
homepage 'http://git-scm.com'
def install
@@ -36,6 +36,7 @@ def install
# clobbered on upgrade.)
(prefix+'etc/bash_completion.d').install 'contrib/completion/git-completion.bash'
+ (share+'doc/git-core/contrib').install 'contrib/emacs'
# Install git-p4
bin.install 'contrib/fast-import/git-p4'
View
4 Library/Formula/glew.rb
@@ -1,9 +1,9 @@
require 'formula'
class Glew <Formula
- url 'http://downloads.sourceforge.net/project/glew/glew/1.5.5/glew-1.5.5.tgz'
+ url 'http://downloads.sourceforge.net/project/glew/glew/1.5.7/glew-1.5.7.tgz'
homepage 'http://glew.sourceforge.net/'
- md5 '3621f27cfd3e33d5dbcc1111ecb5b762'
+ md5 'f913ce9dbde4cd250b932731b3534ded'
def install
(lib+'pkgconfig').mkpath
View
6 Library/Formula/gnu-smalltalk.rb
@@ -17,6 +17,8 @@ class GnuSmalltalk <Formula
# 'gmp' is an optional dep, it is built 64-bit on Snow Leopard
# (and this brew is forced to build in 32-bit mode.)
+ depends_on 'readline'
+
def install
fails_with_llvm "Codegen problems with LLVM"
@@ -34,6 +36,8 @@ def install
EOS
end
+ readline = Formula.factory('readline')
+
# GNU Smalltalk thinks it needs GNU awk, but it works fine
# with OS X awk, so let's trick configure.
here = Dir.pwd
@@ -43,7 +47,7 @@ def install
ENV['FFI_CFLAGS'] = '-I/usr/include/ffi'
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
- "--with-readline=/usr/lib"
+ "--with-readline=#{readline.lib}"
system "make"
ENV.j1 # Parallel install doesn't work
system "make install"
View
4 Library/Formula/google-app-engine.rb
@@ -1,9 +1,9 @@
require 'formula'
class GoogleAppEngine <Formula
- url 'http://googleappengine.googlecode.com/files/google_appengine_1.3.8.zip'
+ url 'http://googleappengine.googlecode.com/files/google_appengine_1.4.0.zip'
homepage 'http://code.google.com/appengine/'
- sha1 'e2f5ba2f846aab90af41c193ac9c4f8adedad14f'
+ sha1 '8b5bac0ba85e98160fa0fada0c3e957326732947'
def install
cd '..'
View
20 Library/Formula/gpsim.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Gpsim <Formula
+ url 'http://sourceforge.net/projects/gpsim/files/gpsim/0.25.0/gpsim-0.25.0.tar.gz'
+ homepage 'http://gpsim.sourceforge.net/'
+ md5 '36e2aeac30fad773f5fb934c867b42b7'
+
+ depends_on 'pkg-config'
+ depends_on 'popt'
+ depends_on 'glib'
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--disable-gui",
+ "--disable-shared",
+ "--prefix=#{prefix}"
+ system "make all"
+ system "make install"
+ end
+end
View
240 Library/Formula/jnethack.rb
@@ -0,0 +1,240 @@
+require 'formula'
+
+# Nethack the way God intended it to be played: from a terminal.
+
+# This formula is based on Nethack formula.
+# The patches in DATA section are shamelessly stolen from MacPorts' jnethack portfile.
+
+class Jnethack <Formula
+ url 'http://downloads.sourceforge.net/project/nethack/nethack/3.4.3/nethack-343-src.tgz'
+ homepage 'http://jnethack.sourceforge.jp/'
+ version '3.4.3-0.10'
+ md5 '21479c95990eefe7650df582426457f9'
+
+ # Don't remove save folder
+ skip_clean 'libexec/save'
+
+ def patches
+ {
+ :p0 => DATA,
+ :p1 => 'http://iij.dl.sourceforge.jp/jnethack/30862/jnethack-3.4.3-0.10.diff.gz'
+ }
+ end
+
+ def install
+ fails_with_llvm
+ # Build everything in-order; no multi builds.
+ ENV.deparallelize
+
+ # Replace tokens introduced by the patches
+ %w(
+ sys/unix/Makefile.doc
+ sys/unix/Makefile.src
+ sys/unix/Makefile.top
+ sys/unix/Makefile.utl
+ sys/unix/nethack.sh
+ ).each do |f|
+ inreplace f, "__PREFIX__", prefix
+ inreplace f, "__CFLAGS__", "-Wno-format -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast"
+ inreplace f, "__LDFLAGS__", ""
+ end
+
+ # Symlink makefiles
+ system 'sh sys/unix/setup.sh'
+
+ inreplace "include/config.h",
+ /^#\s*define HACKDIR.*$/,
+ "#define HACKDIR \"#{libexec}\""
+
+ # Make the data first, before we munge the CFLAGS
+ system "cd dat;make"
+
+ Dir.chdir 'dat' do
+ %w(perm logfile).each do |f|
+ system "touch", f
+ libexec.install f
+ end
+
+ # Stage the data
+ libexec.install %w(jhelp jhh jcmdhelp jhistory jopthelp jwizhelp dungeon license data jdata.base joracles options jrumors.tru jrumors.fal quest.dat jquest.txt)
+ libexec.install Dir['*.lev']
+ end
+
+ # Make the game
+ ENV.append_to_cflags "-I../include"
+ system 'cd src;make'
+
+ bin.install 'src/jnethack'
+ (libexec+'save').mkpath
+ end
+end
+
+__END__
+--- src/options.c.orig 2006-08-12 16:45:15.000000000 +0900
++++ src/options.c 2006-08-12 16:45:43.000000000 +0900
+@@ -137,7 +137,7 @@
+ #else
+ {"news", (boolean *)0, FALSE, SET_IN_FILE},
+ #endif
+- {"null", &flags.null, TRUE, SET_IN_GAME},
++ {"null", &flags.null, FALSE, SET_IN_GAME},
+ #ifdef MAC
+ {"page_wait", &flags.page_wait, TRUE, SET_IN_GAME},
+ #else
+--- sys/unix/Makefile.doc.orig 2006-07-29 05:14:04.000000000 +0900
++++ sys/unix/Makefile.doc 2006-07-29 05:24:47.000000000 +0900
+@@ -40,8 +40,8 @@
+ latex Guidebook.tex
+
+
+-GAME = nethack
+-MANDIR = /usr/local/man/man6
++GAME = jnethack
++MANDIR = $(DESTDIR)__PREFIX__/share/man/man6
+ MANEXT = 6
+
+ # manual installation for most BSD-style systems
+--- sys/unix/Makefile.src.orig 2008-05-12 09:35:18.000000000 +0900
++++ sys/unix/Makefile.src 2008-05-12 09:36:38.000000000 +0900
+@@ -36,7 +36,7 @@
+ # SHELL=E:/GEMINI2/MUPFEL.TTP
+
+ # Normally, the C compiler driver is used for linking:
+-LINK=$(CC)
++LINK=$(CC) __CFLAGS__
+
+ # Pick the SYSSRC and SYSOBJ lines corresponding to your desired operating
+ # system.
+@@ -72,7 +72,7 @@
+ #
+ # If you are using GCC 2.2.2 or higher on a DPX/2, just use:
+ #
+-CC = gcc
++#CC = gcc
+ #
+ # For HP/UX 10.20 with GCC:
+ # CC = gcc -D_POSIX_SOURCE
+@@ -154,8 +154,8 @@
+ # flags for debugging:
+ # CFLAGS = -g -I../include
+
+-CFLAGS = -W -g -O -I../include
+-LFLAGS =
++CFLAGS = __CFLAGS__ -I../include
++LFLAGS = __LDFLAGS__
+
+ # The Qt and Be window systems are written in C++, while the rest of
+ # NetHack is standard C. If using Qt, uncomment the LINK line here to get
+--- sys/unix/Makefile.top.orig 2006-08-11 13:30:01.000000000 +0900
++++ sys/unix/Makefile.top 2006-08-11 13:35:41.000000000 +0900
+@@ -14,18 +14,18 @@
+ # MAKE = make
+
+ # make NetHack
+-PREFIX = /usr
++PREFIX = $(DESTDIR)__PREFIX__
+ GAME = jnethack
+ # GAME = nethack.prg
+ GAMEUID = games
+-GAMEGRP = bin
++GAMEGRP = games
+
+ # Permissions - some places use setgid instead of setuid, for instance
+ # See also the option "SECURE" in include/config.h
+-GAMEPERM = 04755
+-FILEPERM = 0644
++GAMEPERM = 02755
++FILEPERM = 0664
+ EXEPERM = 0755
+-DIRPERM = 0755
++DIRPERM = 0775
+
+ # GAMEDIR also appears in config.h as "HACKDIR".
+ # VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else GAMEDIR
+@@ -35,9 +35,9 @@
+ # therefore there should not be anything in GAMEDIR that you want to keep
+ # (if there is, you'll have to do the installation by hand or modify the
+ # instructions)
+-GAMEDIR = $(PREFIX)/games/lib/$(GAME)dir
++GAMEDIR = $(PREFIX)/share/$(GAME)dir
+ VARDIR = $(GAMEDIR)
+-SHELLDIR = $(PREFIX)/games
++SHELLDIR = $(PREFIX)/bin
+
+ # per discussion in Install.X11 and Install.Qt
+ VARDATND =
+--- sys/unix/Makefile.utl.orig 2008-05-12 10:17:59.000000000 +0900
++++ sys/unix/Makefile.utl 2008-05-12 10:19:33.000000000 +0900
+@@ -15,7 +15,7 @@
+
+ # if you are using gcc as your compiler,
+ # uncomment the CC definition below if it's not in your environment
+-CC = gcc
++#CC = gcc
+ #
+ # For Bull DPX/2 systems at B.O.S. 2.0 or higher use the following:
+ #
+@@ -89,8 +89,8 @@
+ # flags for debugging:
+ # CFLAGS = -g -I../include
+
+-CFLAGS = -O -I../include
+-LFLAGS =
++CFLAGS = __CFLAGS__ -I../include
++LFLAGS = __LDFLAGS__
+
+ LIBS =
+
+@@ -276,7 +276,7 @@
+ # dependencies for recover
+ #
+ recover: $(RECOVOBJS)
+- $(CC) $(LFLAGS) -o recover $(RECOVOBJS) $(LIBS)
++ $(CC) $(CFLAGS) $(LFLAGS) -o recover $(RECOVOBJS) $(LIBS)
+
+ recover.o: recover.c $(CONFIG_H) ../include/date.h
+
+--- sys/unix/nethack.sh.orig 2006-08-24 23:23:30.000000000 +0900
++++ sys/unix/nethack.sh 2006-08-24 23:24:35.000000000 +0900
+@@ -5,6 +5,7 @@
+ export HACKDIR
+ HACK=$HACKDIR/nethack
+ MAXNROFPLAYERS=20
++COCOT="__PREFIX__/bin/cocot -t UTF-8 -p EUC-JP"
+
+ # JP
+ # set LC_ALL, NETHACKOPTIONS etc..
+@@ -26,6 +27,10 @@
+ export USERFILESEARCHPATH
+ fi
+
++if [ "X$LANG" = "Xja_JP.eucJP" ] ; then
++ COCOT=""
++fi
++
+ #if [ "X$DISPLAY" ] ; then
+ # xset fp+ $HACKDIR
+ #fi
+@@ -84,9 +89,9 @@
+ cd $HACKDIR
+ case $1 in
+ -s*)
+- exec $HACK "$@"
++ exec $COCOT $HACK "$@"
+ ;;
+ *)
+- exec $HACK "$@" $MAXNROFPLAYERS
++ exec $COCOT $HACK "$@" $MAXNROFPLAYERS
+ ;;
+ esac
+--- win/tty/termcap.c.orig 2006-08-09 19:55:36.000000000 +0900
++++ win/tty/termcap.c 2006-08-09 20:05:44.000000000 +0900
+@@ -861,7 +861,7 @@
+
+ #include <curses.h>
+
+-#ifndef LINUX
++#if !defined(LINUX) && !defined(__APPLE__)
+ extern char *tparm();
+ #endif
+
View
4 Library/Formula/jruby.rb
@@ -1,9 +1,9 @@
require 'formula'
class Jruby < Formula
- url 'http://jruby.org.s3.amazonaws.com/downloads/1.5.5/jruby-bin-1.5.5.tar.gz'
+ url 'http://jruby.org.s3.amazonaws.com/downloads/1.5.6/jruby-bin-1.5.6.tar.gz'
homepage 'http://www.jruby.org'
- md5 '8e00f7d40cbf221f733d6f7a15784e9a'
+ md5 '94033a36517645b7a7ec781a3507c654'
def install
# Remove Windows files
View
4 Library/Formula/kyoto-cabinet.rb
@@ -1,9 +1,9 @@
require 'formula'
class KyotoCabinet <Formula
- url 'http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.24.tar.gz'
+ url 'http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.26.tar.gz'
homepage 'http://fallabs.com/kyotocabinet/'
- md5 'bee226eadd99bef339c5a19c1d1f2953'
+ md5 'ac0e13208b5391414462d89263227d24'
def install
system "./configure", "--disable-debug", "--prefix=#{prefix}"
View
4 Library/Formula/kyoto-tycoon.rb
@@ -1,9 +1,9 @@
require 'formula'
class KyotoTycoon <Formula
- url 'http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.7.tar.gz'
+ url 'http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.12.tar.gz'
homepage 'http://fallabs.com/kyototycoon/'
- md5 'c6ba2b75e6f675c4fbe5d50b3f26143d'
+ md5 '8a92ed5a1dcd6e3f0217d0a4901b6c5d'
depends_on 'lua' unless ARGV.include? "--no-lua"
depends_on 'kyoto-cabinet'
View
8 Library/Formula/leiningen.rb
@@ -1,10 +1,10 @@
require 'formula'
class Leiningen <Formula
- url 'https://github.com/technomancy/leiningen/tarball/1.3.1'
- head 'https://github.com/technomancy/leiningen.git', :using => :git
- homepage 'https://github.com/technomancy/leiningen'
- md5 '707fb0da7b89b44d9d37a9bac2bf3b3f'
+ url 'http://github.com/technomancy/leiningen/tarball/1.4.0'
+ head 'http://github.com/technomancy/leiningen.git', :using => :git
+ homepage 'http://github.com/technomancy/leiningen'
+ md5 '9e2c1dd7b136591ebae9a80672f96fc6'
def install
bin.install "bin/lein"
View
16 Library/Formula/libgit2.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Libgit2 <Formula
+ url 'https://github.com/libgit2/libgit2/tarball/v0.2.0'
+ md5 '753cbd61671663874d431b4292bcd4bb'
+ homepage 'http://libgit2.github.com/'
+
+ head 'https://github.com/libgit2/libgit2.git'
+
+ def install
+ system "./waf", "configure", "--prefix=#{prefix}"
+ system "./waf", "build-static"
+ system "./waf", "build-shared"
+ system "./waf", "install"
+ end
+end
View
4 Library/Formula/libmemcached.rb
@@ -8,6 +8,10 @@ class Libmemcached <Formula
depends_on 'memcached'
def install
+ if MACOS_VERSION < 10.6
+ ENV.append_to_cflags "-undefined dynamic_lookup"
+ end
+
system "./configure", "--prefix=#{prefix}"
system "make install"
end
View
2  Library/Formula/libpng.rb
@@ -1,7 +1,7 @@
require 'formula'
class Libpng <Formula
- url 'http://downloads.sourceforge.net/project/libpng/03-libpng-previous/1.2.44/libpng-1.2.44.tar.bz2'
+ url 'http://downloads.sourceforge.net/project/libpng/libpng12/1.2.44/libpng-1.2.44.tar.bz2'
homepage 'http://www.libpng.org/pub/png/libpng.html'
md5 'e3ac7879d62ad166a6f0c7441390d12b'
View
1  Library/Formula/libvirt.rb
@@ -10,7 +10,6 @@ class Libvirt <Formula
url 'http://libvirt.org/sources/libvirt-0.8.6.tar.gz'
sha256 '99d5f6f6890eaa78887832e218c01c79c410b6e76d8d526980906808e2487220'
- depends_on "gawk"
depends_on "gnutls"
if MACOS_VERSION < 10.6
View
14 Library/Formula/logrotate.rb
@@ -130,3 +130,17 @@ def install
.PHONY : test
test: $(TARGET)
+diff --git a/config.c b/config.c
+index 4e650f1..9e9dc1c 100644
+--- a/config.c
++++ b/config.c
+@@ -93,7 +93,7 @@ static char *readPath(const char *configFile, int lineNum, char *key,
+
+ chptr = start;
+
+- while( (len = mbrtowc(&pwc, chptr, strlen(chptr), NULL)) != 0 ) {
++ while( (len = strlen(chptr)) != 0 && (len = mbrtowc(&pwc, chptr, len, NULL)) != 0 ) {
+ if( len == (size_t)(-1) || len == (size_t)(-2) || !iswprint(pwc) || iswblank(pwc) ) {
+ message(MESS_ERROR, "%s:%d bad %s path %s\n",
+ configFile, lineNum, key, start);
+/usr/local/src/logrotate-3.7.8
View
22 Library/Formula/lsdvd.rb
@@ -0,0 +1,22 @@
+require 'formula'
+
+class Lsdvd < Formula
+ url 'http://downloads.sourceforge.net/project/lsdvd/lsdvd/0.16%20-%20I%20hate%20James%20Blunt/lsdvd-0.16.tar.gz'
+ homepage 'http://untrepid.com/acidrip/lsdvd.html'
+ md5 '340e1abe5c5e5abf7ff8031e78f49ee7'
+
+ depends_on 'libdvdread'
+ depends_on 'libdvdcss' => :optional
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}", "--mandir=#{man}"
+ system "make install"
+ end
+ def patches
+ {:p0 => [
+ "http://svn.macports.org/repository/macports/trunk/dports/sysutils/lsdvd/files/patch-configure.diff",
+ "http://svn.macports.org/repository/macports/trunk/dports/sysutils/lsdvd/files/patch-lsdvd_c.diff"
+ ]}
+ end
+end
View
8 Library/Formula/lsof.rb
@@ -2,13 +2,13 @@
class Lsof <Formula
url 'ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof.tar.bz2'
- version '4.83'
- md5 '8f731a6251b8c0143d585df0d5ca779e'
+ version '4.84'
+ md5 'a09326df500ef7e4550af546868338d6'
homepage 'http://people.freebsd.org/~abe/'
def install
- system "tar xf lsof_4.83_src.tar"
- Dir.chdir "lsof_4.83_src" do
+ system "tar xf lsof_4.84_src.tar"
+ Dir.chdir "lsof_4.84_src" do
mv "00README", "../README"
system "./Configure -n darwin"
system "make"
View
14 Library/Formula/lxsplit.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Lxsplit <Formula
+ url 'http://downloads.sourceforge.net/lxsplit/lxsplit-0.2.4.tar.gz'
+ homepage 'http://lxsplit.sourceforge.net/'
+ md5 'ed21a08c167c08d4d81c820782947cb1'
+
+ def install
+ inreplace 'Makefile', '/usr/local/bin', bin
+
+ system "make"
+ system "make install"
+ end
+end
View
14 Library/Formula/macvim.rb
@@ -8,14 +8,20 @@ class Macvim <Formula
homepage 'http://code.google.com/p/macvim/'
def options
- # Occassional reports of this brew failing during the icon step
- [["--no-icons", "Don't generate custom document icons."],
- ["--with-cscope", "Build with Cscope support."]]
+ [
+ # Building custom icons fails for many users, so off by default.
+ ["--custom-icons", "Try to generate custom document icons."],
+ ["--with-cscope", "Build with Cscope support."]
+ ]
end
depends_on 'cscope' if ARGV.include? '--with-cscope'
def install
+ if "4.0" == xcode_version
+ opoo "MacVim may not compile under the Xcode 4 preview."
+ end
+
# MacVim's Xcode project gets confused by $CC
# Disable it until someone figures out why it fails.
ENV['CC'] = nil
@@ -37,7 +43,7 @@ def install
system "./configure", *args
- if ARGV.include? "--no-icons"
+ unless ARGV.include? "--custom-icons"
inreplace "src/MacVim/icons/Makefile", "$(MAKE) -C makeicns", ""
inreplace "src/MacVim/icons/make_icons.py", "dont_create = False", "dont_create = True"
end
View
14 Library/Formula/mkclean.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Mkclean <Formula
+ url 'http://downloads.sourceforge.net/project/matroska/mkclean/mkclean-0.7.1.tar.bz2'
+ homepage 'http://www.matroska.org/downloads/mkclean.html'
+ md5 '57bbf26a937df688c570994711126bc0'
+
+ def install
+ system "./configure"
+ system "make -C mkclean"
+ bindir = `corec/tools/coremake/system_output.sh`.chomp
+ bin.install "release/#{bindir}/mkclean"
+ end
+end
View
14 Library/Formula/mkvalidator.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Mkvalidator <Formula
+ url 'http://downloads.sourceforge.net/project/matroska/mkvalidator/mkvalidator-0.3.1.tar.bz2'
+ homepage 'http://www.matroska.org/downloads/mkvalidator.html'
+ md5 'd767ed6fbda281c07f27a190cad1a1c4'
+
+ def install
+ system "./configure"
+ system "make -C mkvalidator"
+ bindir = `corec/tools/coremake/system_output.sh`.chomp
+ bin.install "release/#{bindir}/mkvalidator"
+ end
+end
View
10 Library/Formula/mkvtoolnix.rb
@@ -1,9 +1,9 @@
require 'formula'
class Mkvtoolnix <Formula
- url 'http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-4.3.0.tar.bz2'
+ url 'http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-4.4.0.tar.bz2'
homepage 'http://www.bunkus.org/videotools/mkvtoolnix/'
- sha1 '70ae0d5769d65b032c15eedc01e914be3245779e'
+ sha1 'c5e6cbc2fb522ba6653124a2eef6b416bafc488a'
depends_on 'boost'
depends_on 'libvorbis'
@@ -11,12 +11,6 @@ class Mkvtoolnix <Formula
depends_on 'flac' => :optional
depends_on 'lzo' => :optional
- # Fix installs for non-bash shells.
- # Can be removed in the next post-4.3.0 version.
- def patches
- "http://www.bunkus.org/cgi-bin/gitweb.cgi?p=mkvtoolnix.git;a=blobdiff_plain;f=build-config.in;h=e109f8007887b29049d6c42a7efd148ec06933b6;hp=ef8fe4c4b0df6a8d628d75b4fa872d563f86e3c9;hb=8682a0316ace57c74333c35a27d5183015b57c9f;hpb=82e37f12f4e51bdb1b9f10b7832d0d33527740f9"
- end
-
def install
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
View
12 Library/Formula/mongodb.rb
@@ -5,13 +5,13 @@ class Mongodb <Formula
homepage 'http://www.mongodb.org/'
if Hardware.is_64_bit? and not ARGV.include? '--32bit'
- url 'http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-1.6.4.tgz'
- md5 '3448de46d51c0dbe8195d3f80c8a7ecd'
- version '1.6.4-x86_64'
+ url 'http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-1.6.5.tgz'
+ md5 'f3438db5a5bd3ac4571616f3d19caf00'
+ version '1.6.5-x86_64'
else
- url 'http://fastdl.mongodb.org/osx/mongodb-osx-i386-1.6.4.tgz'
- md5 'dacf9ead604ae278330dfa227d906fc1'
- version '1.6.4-i386'
+ url 'http://fastdl.mongodb.org/osx/mongodb-osx-i386-1.6.5.tgz'
+ md5 '064c9c68752968875e4ccaf8801ef031'
+ version '1.6.5-i386'
end
skip_clean :all
View
23 Library/Formula/mosml.rb
@@ -0,0 +1,23 @@
+require 'formula'
+
+class Mosml <Formula
+ version '2.01'
+ url 'http://www.itu.dk/people/sestoft/mosml/mos201src.tar.gz'
+ homepage 'http://www.itu.dk/people/sestoft/mosml.html'
+ md5 '74aaaf988201fe92a9dbfbcb1e646f70'
+
+ def install
+ cd "src"
+
+ inreplace "Makefile.inc" do |s|
+ s.change_make_var! 'MOSMLHOME', prefix
+ s.gsub! '/lib/cpp', '/usr/bin/cpp'
+ s.change_make_var! 'DOCDIR', doc
+ s.change_make_var! 'LIBDIR', lib+'mosml'
+ s.change_make_var! 'TOOLDIR', lib+'mosml'
+ end
+
+ system "make"
+ system "make install"
+ end
+end
View
7 Library/Formula/mysql.rb
@@ -2,8 +2,8 @@
class Mysql <Formula
homepage 'http://dev.mysql.com/doc/refman/5.1/en/'
- url 'http://mysql.mirrors.pair.com/Downloads/MySQL-5.1/mysql-5.1.52.tar.gz'
- md5 '43c11ad3dded693393c4815d24e2b0a5'
+ url 'http://mysql.mirrors.pair.com/Downloads/MySQL-5.1/mysql-5.1.53.tar.gz'
+ md5 'e5e7c5b0b5c382489e6a66778703bc46'
depends_on 'readline'
@@ -45,7 +45,8 @@ def install
"--enable-assembler",
"--enable-thread-safe-client",
"--enable-local-infile",
- "--enable-shared"]
+ "--enable-shared",
+ "--with-partition"]
configure_args << "--without-server" if ARGV.include? '--client-only'
View
4 Library/Formula/npm.rb
@@ -1,9 +1,9 @@
require 'formula'
class Npm <Formula
- url 'https://github.com/isaacs/npm/tarball/v0.2.10'
+ url 'https://github.com/isaacs/npm/tarball/v0.2.11-5'
homepage 'http://npmjs.org/'
- md5 'c53d1824046278d7b2f6b3ef527cfa23'
+ md5 '7f62aa24794a805d8d61da93786e3d05'
head 'git://github.com/isaacs/npm.git'
depends_on 'node'
View
10 Library/Formula/opencv.rb
@@ -1,14 +1,10 @@
require 'formula'
class Opencv <Formula
- # Don't use stable 2.1.0 due to a massive memory leak:
- # https://code.ros.org/trac/opencv/ticket/253
- url 'https://code.ros.org/svn/opencv/trunk/opencv', :using => :svn, :revision => '3478'
- version "2.1.1-pre"
+ url 'http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.2/OpenCV-2.2.0.tar.bz2'
+ version "2.2"
homepage 'http://opencv.willowgarage.com/wiki/'
-
- # NOTE: Head builds past the revision above may break on OS X
- head 'https://code.ros.org/svn/opencv/trunk/opencv', :using => :svn
+ md5 '122c9ac793a46854ef2819fedbbd6b1b'
depends_on 'cmake' => :build
depends_on 'pkg-config' => :build
View
4 Library/Formula/openttd.rb
@@ -1,9 +1,9 @@
require 'formula'
class Openttd <Formula
- url 'http://binaries.openttd.org/releases/1.0.3/openttd-1.0.3-source.tar.bz2'
+ url 'http://us.binaries.openttd.org/binaries/releases/1.0.5/openttd-1.0.5-source.tar.bz2'
homepage 'http://www.openttd.org/'
- md5 'cff60c624913a491ed3c91474e845722'
+ md5 'fc79f788e2be140948b972c32b0f1eec'
depends_on 'libpng'
depends_on 'lzo'
View
22 Library/Formula/orpie.rb
@@ -0,0 +1,22 @@
+require 'formula'
+
+class Orpie <Formula
+ url 'http://pessimization.com/software/orpie/orpie-1.5.1.tar.gz'
+ homepage 'http://pessimization.com/software/orpie/'
+ md5 '4511626ed853354af1b4b5dbbf143a1f'
+
+ depends_on 'gsl'
+ depends_on 'objective-caml'
+
+ def install
+ # OCAMLOPT=/usr/bin/false prevents configure from finding ocaml.opt
+ # so orpie is built and runs as bytecode otherwise the build
+ # fails with "undefined symbol" errors.
+ # This mechanism still works if /usr/bin/false doesn't exist,
+ # although the build output will be uglier in that scenario.
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}", "--mandir=#{man}", "OCAMLOPT=/usr/bin/false"
+ system "make"
+ system "make install"
+ end
+end
View
20 Library/Formula/owfs.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Owfs <Formula
+ url 'http://downloads.sourceforge.net/project/owfs/owfs/2.8p4/owfs-2.8p4.tar.gz'
+ version '2.8p4'
+ homepage 'http://owfs.org/'
+ md5 'beccd8765184b2abea0a3f28dc466ea3'
+
+ depends_on 'libusb-compat'
+
+ def install
+ system "autoreconf -ivf"
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--disable-swig",
+ "--disable-owtcl",
+ "--disable-zero",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+end
View
4 Library/Formula/parallel.rb
@@ -1,9 +1,9 @@
require 'formula'
class Parallel <Formula
- url 'ftp://ftp.gnu.org/gnu/parallel/parallel-20101122.tar.bz2'
+ url 'http://ftp.gnu.org/gnu/parallel/parallel-20101202.tar.bz2'
homepage 'http://savannah.gnu.org/projects/parallel/'
- md5 '8cec9d765c323385da730a750f17baf8'
+ md5 '66d5c7825a05a1c641555868c9de955a'
def install
system "./configure", "--prefix=#{prefix}"
View
2  Library/Formula/parrot.rb
@@ -1,7 +1,7 @@
require 'formula'
class Parrot <Formula
- head 'bzr://https://launchpad.net/parrot/trunk'
+ head 'git://github.com/parrot/parrot.git'
url 'ftp://ftp.parrot.org/pub/parrot/releases/supported/2.9.1/parrot-2.9.1.tar.gz'
homepage 'http://www.parrot.org/'
md5 '5f68803d2a9f7488459337f0628ad8fc'
View
4 Library/Formula/pip.rb
@@ -1,9 +1,9 @@
require 'formula'
class Pip <Formula
- url 'http://pypi.python.org/packages/source/p/pip/pip-0.8.1.tar.gz'
+ url 'http://pypi.python.org/packages/source/p/pip/pip-0.8.2.tar.gz'
homepage 'http://pip.openplans.org/'
- md5 '5d40614774781b118dd3f10c0d038cbc'
+ md5 'df1eca0abe7643d92b5222240bed15f6'
depends_on 'distribute'
View
4 Library/Formula/privoxy.rb
@@ -8,7 +8,9 @@ class Privoxy <Formula
def install
system "autoreconf -i"
- system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--sysconfdir=#{etc}/privoxy"
system "make"
system "make install"
end
View
21 Library/Formula/siege.rb
@@ -1,21 +1,18 @@
require 'formula'
class Siege <Formula
- url "ftp://ftp.joedog.org/pub/siege/siege-2.69.tar.gz"
+ url "ftp://ftp.joedog.org/pub/siege/siege-2.70.tar.gz"
homepage 'http://www.joedog.org/index/siege-home'
- sha1 'f0514eefe4e024ee059b09ab50903bbced79f3b9'
-
- def etc
- # NOTE this is because line 101 in init.c in the source code of Siege
- # ignores the --sysconfdir setting, and instead looks here.
- # So coupled with the fact the etc directory location is a little up in the
- # air currently. This seems like the best solution for now.
- prefix+'etc'
- end
+ sha1 'ee0a0c3a9e6559cf8cbaf717649f6684b0d9643a'
def install
- etc.mkpath
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--sysconfdir=#{etc}", "--with-ssl"
+ #to avoid unnecessary warning due to hardcoded path
+ (prefix+'etc').mkdir
+ system "./configure",
+ "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--localstatedir=#{var}",
+ "--with-ssl"
system "make install"
end
View
4 Library/Formula/skipfish.rb
@@ -1,9 +1,9 @@
require 'formula'
class Skipfish <Formula
- url 'http://skipfish.googlecode.com/files/skipfish-1.80b.tgz'
+ url 'http://skipfish.googlecode.com/files/skipfish-1.82b.tgz'
homepage 'http://code.google.com/p/skipfish/'
- md5 '71505ad998a560d5ab12c04f02a3557c'
+ md5 '3367157bcddc89941a0bcb00bd40c500'
depends_on 'libidn'
View
3  Library/Formula/slrn.rb
@@ -9,13 +9,16 @@ class Slrn <Formula
depends_on 's-lang'
def install
+ slrnpullcache = HOMEBREW_PREFIX+'var'+'spool'+'news'+'slrnpull'
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-ssl",
+ "--with-slrnpull=#{slrnpullcache}"
"--with-slang=#{HOMEBREW_PREFIX}"
system "make all slrnpull"
bin.mkpath
man1.mkpath
+ slrnpullcache.mkpath
ENV.j1 # yep, install is broken
system "make install"
end
View
18 Library/Formula/sshuttle.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Sshuttle <Formula
+ url 'https://github.com/apenwarr/sshuttle/tarball/sshuttle-0.43'
+ homepage 'https://github.com/apenwarr/sshuttle'
+ md5 '590352aa7cbaad90c8f46dab64b829f4'
+ version '0.43'
+
+ head 'git://github.com/apenwarr/sshuttle.git'
+
+ def install
+ libexec.install Dir['*']
+ (bin+'sshuttle').write <<-EOS.undent
+ #!/bin/bash
+ exec #{libexec}/main.py "$@"
+ EOS
+ end
+end
View
8 Library/Formula/subversion.rb
@@ -10,13 +10,13 @@ def with_unicode_path?; ARGV.include? '--unicode-path'; end
# On 10.5 we need newer versions of apr, neon etc.
# On 10.6 we only need a newer version of neon
class SubversionDeps <Formula
- url 'http://subversion.tigris.org/downloads/subversion-deps-1.6.13.tar.bz2'
- md5 '2a7d662bac872c61a5e11c89263d7f07'
+ url 'http://subversion.tigris.org/downloads/subversion-deps-1.6.15.tar.bz2'
+ md5 '4aeb48233e62cf4afe9f5700ebed9150'
end
class Subversion <Formula
- url 'http://subversion.tigris.org/downloads/subversion-1.6.13.tar.bz2'
- md5 '7ae1c827689f21cf975804005be30aeb'
+ url 'http://subversion.tigris.org/downloads/subversion-1.6.15.tar.bz2'
+ md5 '113fca1d9e4aa389d7dc2b210010fa69'
homepage 'http://subversion.apache.org/'
depends_on 'pkg-config' => :build
View
2  Library/Formula/surfraw.rb
@@ -2,10 +2,12 @@
class Surfraw <Formula
url 'http://surfraw.alioth.debian.org/dist/surfraw-2.2.7.tar.gz'
+ head 'git://git.debian.org/surfraw/surfraw.git'
homepage 'http://surfraw.alioth.debian.org/'
md5 '213010e9b7c8478827e8903530cf7787'
def install
+ system "./prebuild" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}",
"--sysconfdir=#{etc}",
"--with-graphical-browser=open"
View
6 Library/Formula/tbb.rb
@@ -1,10 +1,10 @@
require 'formula'
class Tbb <Formula
- url 'http://www.threadingbuildingblocks.org/uploads/77/148/3.0/tbb30_20100310oss_src.tgz'
- version '30_20100310'
+ url 'http://www.threadingbuildingblocks.org/uploads/78/162/3.0%20update%204/tbb30_127oss_src.tgz'
+ version '30_127'
homepage 'http://www.threadingbuildingblocks.org/'
- md5 'a7dc9b6aa6f33e6f6228cdc26c4a0899'
+ md5 'c911f74f3d207358bb5554614b276c39'
def install
# Override build prefix so we can copy the dylibs out of the same place
View
4 Library/Formula/tor.rb
@@ -1,9 +1,9 @@
require 'formula'
class Tor <Formula
- url 'https://www.torproject.org/dist/tor-0.2.1.26.tar.gz'
+ url 'https://www.torproject.org/dist/tor-0.2.1.27.tar.gz'
homepage 'https://www.torproject.org/'
- md5 'f7b30a144e1da41aa43f496bd47ffba7'
+ md5 '1719642b3f25a23c3b3843ee99be18fb'
depends_on 'libevent'
View
6 Library/Formula/varnish.rb
@@ -1,9 +1,9 @@
require 'formula'
class Varnish <Formula
- url 'http://downloads.sourceforge.net/project/varnish/varnish/2.1.3/varnish-2.1.3.tar.gz'
- homepage 'http://varnish.projects.linpro.no/'
- md5 '357d99a760de173d841ac37bf2052be8'
+ url 'http://www.varnish-software.com/sites/default/files/varnish-2.1.4.tar.gz'
+ homepage 'http://www.varnish-cache.org/'
+ md5 'e794a37b6fbb786a083c0946103ae103'
depends_on 'pkg-config' => :build
depends_on 'pcre'
View
18 Library/Formula/vimpager.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Vimpager < Formula
+ url 'http://www.vim.org/scripts/download_script.php?src_id=13024'
+ version '1.3'
+ homepage 'http://www.vim.org/scripts/script.php?script_id=1723'
+ md5 '2ace56c96fb47cd6f34e47b2d6707729'
+
+ def install
+ bin.install 'download_script.php?src_id=13024' => 'vimpager'
+ end
+
+ def caveats; <<-EOS.undent
+ To use vimpager as your default pager, add `export PAGER=vimpager` to your
+ shell configuration.
+ EOS
+ end
+end
View
11 Library/Formula/wine.rb
@@ -1,8 +1,8 @@
require 'formula'
class Wine <Formula
- url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.2.1.tar.bz2'
- sha1 '02df427698de8a6d937e722923c8ac1cf886ca27'
+ url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.2.2.tar.bz2'
+ sha1 '8b37c8e0230dd6a665d310054f4e36dcbdab7330'
homepage 'http://www.winehq.org/'
head 'git://source.winehq.org/git/wine.git'
@@ -27,7 +27,12 @@ def install
ENV.append "CXXFLAGS", "-D_DARWIN_NO_64_BIT_INODE"
ENV.append "LDFLAGS", "#{build32} -framework CoreServices -lz -lGL -lGLU"
- args = ["--prefix=#{prefix}", "--x-include=/usr/X11/include/", "--x-lib=/usr/X11/lib/"]
+ args = ["--prefix=#{prefix}",
+ "--x-include=/usr/X11/include/",
+ "--x-lib=/usr/X11/lib/",
+ "--with-x",
+ "--with-coreaudio",
+ "--with-opengl"]
args << "--without-freetype" if snow_leopard_64?
args << "--disable-win16" if MACOS_VERSION < 10.6
View
11 Library/Formula/winetricks.rb
@@ -1,16 +1,15 @@
require 'formula'
class Winetricks < ScriptFileFormula
- url 'http://www.kegel.com/wine/winetricks', :using => :curl
+ url 'http://winezeug.googlecode.com/svn-history/r1987/trunk/winetricks', :using => :curl
homepage 'http://wiki.winehq.org/winetricks'
- version '20101008'
+ version '20101106'
head 'http://winezeug.googlecode.com/svn/trunk/winetricks', :using => :curl
- if ARGV.build_head?
- md5 'c42ee409c7c4b71dfd4ee326aab8e14c'
- else
- md5 '2953c076ab699a659d06a4790a2ab602'
+ # Don't provide an md5 for the HEAD build
+ unless ARGV.build_head?
+ md5 '5a6986df670e093381ee007f0c0c0e1f'
end
def caveats; <<-EOS.undent
View
6 Library/Formula/youtube-dl.rb
@@ -1,8 +1,8 @@
require 'formula'
class YoutubeDl <ScriptFileFormula
- url 'https://github.com/rg3/youtube-dl/tarball/2010.10.24'
+ url 'https://github.com/rg3/youtube-dl/raw/2010.12.09/youtube-dl'
homepage 'http://rg3.github.com/youtube-dl/'
- md5 '3b731c9c11ddb00135212dd3298d4000'
- version '2010.10.24'
+ md5 '3f30efd79e00d104296b0bf80c732d3d'
+ version '2010.12.09'
end
Please sign in to comment.
Something went wrong with that request. Please try again.