Commit Graph
118 Commits
Author SHA1 Message Date
Mike McQuaid 3c86d2b8ff Update docs, comment mxcl/homebrew refs. 2013-12-14 18:18:35 +00:00
Jack Nagel 6bacb810bb postgresql 9.3.2 2013-12-05 14:32:17 -06:00
Jack Nagel a267a3ece4 postgresql: fix attribute order 2013-11-27 14:00:33 -06:00
BrewTestBot 0555df5b3d postgresql: add bottle. 2013-11-19 16:20:30 +00:00
Mike McQuaid 63007d6aae postgresql: move caveats to commands.
Mirrors the `mysql` formula. Instead of telling people to type commands
actually run them for them instead.

Also, use the shorter, foreground manual run.

Closes #24437.
2013-11-19 15:21:02 +00:00
Peter Eisentraut 89b2d0878c postgresql 9.3.1
Closes #23176.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-10 14:41:04 +01:00
Peter Baker ae59e09903 postgresql: fix comment
Closes #22975.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-10-03 15:59:01 -05:00
Justin Pitts bf4f591b8a postgresql: fix caveat indentation
The extra-indented section was causing the
first 4 characters of the following section
to be truncated.

Closes #22706.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-20 07:42:30 -07:00
Peter Eisentraut 4ee7933c2d postgresql 9.3.0
- Use sha256 instead of sha1, because the upstream download site
  provides the former.

- Remove various workarounds for PL/Python build issues.  These have all
  been fixed upstream.

- Remove caveat about shared memory configuration, which is no longer
  applicable.

Closes #22411.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-19 22:32:53 -07:00
Max Howell e3ac215158 postgres usage in caveats; Closes #21920
As a PostgreSQL n00b, this is the information I wanted.

Ideally we’d set a default configuration location for postgres to look, however apparently, this is not possible.

Side note: it's about time we split caveats out. One of these is advise for failed builds, and I just added usage. Usage is hardly caveats, but generally usage is cool and we should encourage it as a separate section, and encourage people to add links perhaps.
2013-09-05 10:12:52 -05:00
Misty De Meo 7583729b20 Add MacOS.preferred_arch
Replaced the plethora of ternaries we've used all over the place to
determine whether x86_64 or i386 is called for.
2013-08-15 22:46:56 -07:00
Max Howell 7d7ad1abbe Remove ugly and confusing double-newlines
It made the output harder to read.
2013-08-15 10:18:28 -05:00
Adam Vandenberg 35d607cc2f postgres: fix nesting 2013-08-06 09:21:11 -07:00
Adam Vandenberg afc747e92d posgresql: restore Python arch check
The Python arch check in the Postgres formula was changed to use the new python
helper. This was incorrect. We specifically want to check for a 32-bit python
located in /Library.
2013-08-06 09:11:39 -07:00
Adam Vandenberg 1fa5216951 postgresql: tcl is optional
Closes #21099.
2013-07-19 10:41:18 -07:00
Misty De Meo 7fc8cc09a3 Replace == :leopard with <= :leopard 2013-07-10 01:51:09 -07:00
Peter Eisentraut 8c7fedcf4f postgresql: Build with Tcl
Closes #20766.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-30 10:56:00 -07:00
Adam Vandenberg 2f3011076c postgresl: remove extension caveats 2013-06-21 17:33:20 -07:00
Peter Eisentraut f9baf5af2f postgresql: Enable LDAP and PAM build options
Closes #20603.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-19 12:16:21 -07:00
Samuel John 0b50110107 Python 2.x and 3.x support
New `depends_on :python` Dependency.
New `depends_on :python3` Dependency.

To avoid having multiple formulae with endings -py2 and -py3,
we will handle support for different pythons (2.x vs. 3.x)
in the same formula.
Further brewed vs. external python will be transparently supported.

The formula also gets a new object `python`, which is false if
no Python is available or the user has disabled it. Otherwise
it is defined and provides several support methods:

python.site_packages # the site-packages in the formula's Cellar
python.global_site_packages
python.binary # the full path to the python binary
python.prefix
python.version
python.version.major
python.version.minor
python.xy # => e.g. "python2.7"
python.incdir # includes of python
python.libdir # the python dylib library
python.pkg_config_path # used internally by brew
python.from_osx?
python.framework?
python.universal?
python.pypy?
python.standard_caveats # Text to set PYTHONPATH for python.from_osx?
python.if3then3 # => "" for 2.x and to "3" for 3.x.

Further, to avoid code duplication, `python` takes an optional
block that is run twice if the formula defines depends_on
:python AND :python3.

python do
  system python, 'setup.py', "--prefix=#{prefix}"
end

Read more in the Homebrew wiki.
2013-06-03 17:29:43 +02:00
Jack Nagel eeb4be343a postgresql: style cleanups
This brings the formula in line with the postgres formulae in
homebrew-versions.
2013-05-07 16:05:59 -05:00
Mike McQuaid 3bffe5629c Remove unnecessary/unused UserName plist keys.
Fixes #18293.
2013-04-06 16:19:39 +01:00
Peter Eisentraut f3d5b4dde0 postgresql 9.2.4 (security update)
Security update: CVE-2013-1899 CVE-2013-1900 CVE-2013-1901

Closes #18960.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-04-04 08:47:44 -07:00
Kashif Rasul c80b37c5f9 postgresql 9.2.3
Closes #17663.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-07 16:16:24 -08:00
Jack Nagel 9076baa3e9 postgresql: use new recommended deps support
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-01-26 12:28:37 -06:00
Chad Catlett d7260ae4ae postgresql: fix conflict
Closes #16873.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-03 11:22:41 -08:00
Jack Nagel e1e5edb43a postgresql conflicts with postgres-xc 2013-01-03 10:55:42 -06:00
Mike McQuaid b5b5601d05 postgresql: remove duplicate launchd info. 2012-12-16 19:42:09 +00:00
Kashif Rasul ce4c77c4a1 postgresql 9.2.2
Closes #16455.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-08 13:49:14 -06:00
Mike McQuaid 5825f62337 Make generic caveats for launchd plist files. 2012-11-25 23:05:52 +00:00
Jack Nagel d5ab941120 postgres: fails with (really old) clang build 211 2012-11-17 19:52:57 -06:00
Jack Nagel bdaae65b9a Revert "Rename readline to gnu-readline"
This reverts commit adee531526.

Turns out one of the "other things" is a dealbreaker.

We only create kegs using a formula's canonical name. However, we do not
check that this is the case when mapping existing kegs back to formula
objects, and thus a keg with a name that happens to be an alias can fool
Homebrew into thinking the canonically-named keg exists.

So anything that enumerates kegs and then tries to do stuff with the
resulting formula objects will just break. This is obviously worse than
the debugger being broken, so reverting this for the time being.
2012-11-10 21:12:26 -06:00
Jack Nagel adee531526 Rename readline to gnu-readline
The Readline class clashes with the Readline module from the Ruby
stdlib. This has mostly worked, but with the recent debugging support's
integration of IRB, it is no longer possible for them to coexist. So we
need to rename it.

The implications of this are:

 - Anything that depends on readline will reinstall it as
   "gnu-readline". Anything already installed will continue to function.

 - "brew upgrade readline" will say "gnu-readline not installed", as
   "readline" is now an alias.

 - Probably other things.

So there are some downsides, but we will just have to deal with them.

Fixes #15776.
2012-11-10 20:07:32 -06:00
Pete Deffendol ed92469298 PostgreSQL 9.2.1
Closes #15079.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-24 08:34:34 -07:00
Jack Nagel 2f6cbc6639 postgresql: remove skip_clean :all
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-13 12:55:42 -05:00
Jack Nagel b910c6263a postgresql: use default optimization
We default to Os now, so we don't need to force O2.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11 22:49:55 -05:00
Pete Deffendol eab976bfb1 PostgreSQL 9.2
As always a dump and restore of a previous (9.1) database is required to
upgrade.

Closes #14834.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11 22:49:45 -05:00
Jack Nagel 6b8d25f2d2 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Adam Vandenberg 7334e4b990 Let plists be installed automatically 2012-09-09 13:02:48 -07:00
Ealden Esto E. Escanan 1c8c93633f PostgreSQL 9.1.5
Closes #14662.

Signed-off-by: Ealden Esto E. Escanan <ealden@gmail.com>
Closes #14662.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-03 08:28:38 -07:00
Thomas Dippel c40c7bf0d7 postgresql: explicitly initialize with utf8 encoding
If we d not explicitly specify utf8 as the encoding, the server will be
initialized with ASCII encoding for the template1 database, which causes
problems when trying to create new databases with UTF8 encoding.

Closes #14149.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-22 09:31:46 -07:00
Jack Nagel 15a4e8d359 postgresql: don't call uuid-config if building without ossp-uuid
Fixes #14314.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-20 21:07:19 -05:00
Charlie Sharpsteen 57cb727a3c postgresql: Don't depend on ossp-uuid if building without
Fixes #14296.
2012-08-19 16:34:59 -07:00
Jack Nagel 3b08f8b4f8 postgresql: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-13 15:42:59 -05:00
Steven Schlansker cd77baf2e2 PostgreSQL: build uuid-ossp with _XOPEN_SOURCE.
Fixes build on Mountain Lion

Fixes #10315.
Fixes #13639.
Closes #13803.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-31 07:05:33 -07:00
Adam Vandenberg c75f72d969 postgresql: update Python patch per MacPorts 2012-07-26 23:07:46 -07:00
Jack Nagel 611342cb83 postgresql: fix audit warning
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-10 15:52:08 -05:00
Clay McClure f6b13f4210 postgresql: fix PL/Python build
Fixes #11162
Closes #12134

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-07 21:20:27 -07:00
Ali Asad Lotia dd9891c268 postgresql 9.1.4
Closes #12644.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-07 16:14:31 -05:00
Brian Cunnie & Matthew Kocher 05c7954306 postgresql: optional ossp-uuid
A certain large cat doesn't work with ossp-uuid.

Closes #12210.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-06-05 10:17:19 -07:00