Commit graph

13 commits

Author SHA1 Message Date
Drew Fisher
6799d5f20c dpkg: use homebrew gtar and OSX md5, shasum
- The formula claims to depend on homebrew's gnu-tar package, but then
  uses OSX's bundled gnutar, rather than homebrew's gnutar.  On older
  OSX machines, this breaks, as dpkg 1.17 depends on tar >= 1.23, see
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642802

- dpkg-scanpackages fails, since md5sum, sha1sum, and sha256sum don't
  exist.  So replace the invocations with OSX's md5 and shasum tools.

Signed-Off-By: Drew Fisher <zarvox@zarvox.org>

Closes Homebrew/homebrew#22019.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-12 21:00:37 -07:00
Andrew F
7bc6b4d127 dpkg: upgrade to 1.17.1 and fix perl scripts
- Upgrade dpkg to 1.17.1 (most recent release, in debian unstable)

 - Disable dselect and update-alternatives, as they won't work as
   intended in homebrew.

 - Install dpkg Perl modules to $(prefix)/perl, and adjust the shebang
   on Perl scripts to point there using an existing do_perl_subst fn.

Closes Homebrew/homebrew#21742.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-08-10 19:24:44 -05:00
Jack Nagel
ec11577107 Switch compilers when no build is specified
Given the current state of OS X compilers, the original fails_with
behavior is becoming less useful, mostly resulting in build failures
each time the compiler is updated. So make the following changes:

When a build is specified, we retain the old behavior: switch compilers
if the available compiler is <= the build, don't switch if it is > the
build.

When no build is specified, unconditionally switch compilers, and don't
output the advice message. This allows us to mark formulae as
perpetually failing, avoiding the need to update formulae each time a
new compiler build is made available.

As a bonus, this makes the logic much easier to reason about.

Closes Homebrew/homebrew#18175.
2013-03-12 13:55:15 -05:00
Misty De Meo
56f17f4926 dpkg: add caveats
Fixes Homebrew/homebrew#18044.
2013-03-11 16:57:35 -05:00
Adam Vandenberg
d73e3d1f53 dpkg still fails with clang 425
Closes Homebrew/homebrew#17967.
2013-02-20 08:15:02 -08:00
Jack Nagel
c9ab6c36d9 dpkg 1.15.8.13
Fixes Homebrew/homebrew#15309.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-04 21:00:22 -05:00
Max Howell
03b5271340 dpkg still fails with clang and prolly always will
It's the kind of syntax error that GCC shouldn't allow so I don't see clang allowing it. This formula needs to be patched.
2012-10-02 09:32:40 -04:00
Mike McQuaid
88779ade49 Batch convert MD5 formula to SHA1.
Closes Homebrew/homebrew#14653.
2012-09-03 11:36:42 -07:00
Jack Nagel
64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Adam Vandenberg
91a4d1b519 dpkg: mark as fails-with-clang 2012-03-20 20:22:27 -07:00
Justin Ridgewell
556b3e0ae1 dpkg requires gnu-tar (not bsd tar)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-20 19:56:51 -07:00
Jay Graves
90624d9a2a dpkg 1.15.8.12
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-04 16:45:15 -08:00
Justin Ridgewell
bfa320c0e6 Dpkg 1.15.11
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-21 15:58:12 -08:00