Commit Graph
93 Commits
Author SHA1 Message Date
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
Pete Deffendol e088818a13 PostgreSQL 9.1.3
Closes #10537.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-27 17:08:33 -06:00
Adam Vandenberg dfcc838b66 Add "require hardware" to formula.rb
Now individual formulae don't need to require this if they want to use
Hardware methods outside of `def install`.
2012-02-25 15:22:32 -08:00
Adam Vandenberg dfc4dfa43a postgresql: style clean-ups 2012-02-07 21:47:54 -08:00
Matthew Lewinski c2b8e871db Minor cleanup on plist caveats.
Use basename to refer to plist file when loaded. Make cp lines same
across formulas.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-04 08:07:35 -08:00
Adam Vandenberg 794d340810 postgresql: add 32-bit only build 2012-02-03 22:11:20 -08:00
Chris Winslett 8cfb544f8a PostgreSQL: add extension instructions to caveats
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-03 22:01:45 -08:00
Jack Nagel b5a5217ba3 Add and use plist helper methods
These will be used to unify the label namespaces in embedded plists,
i.e. 'homebrew.mxcl.<formula>'.

plist_path returns the full path to a plist file located at the top
level of the keg; plist_path.basename can be used if just the filename
is needed.

c.f. #9346.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:50:58 -06:00
Jack Nagel 95e379faf1 Normalize paths in embedded plist files
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:28:56 -06:00
Brett Koonce 6e2d550cf4 Fix spelling mistakes
Closes #9449.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06 09:43:54 -06:00
Jay Levitt 94995df0f9 PostgreSQL 9.1.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-10 13:38:04 -08:00
Keith Marcum 4ef8fb03ad Postgres changed their ftp urls
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-04 11:57:29 -08:00
Pete Deffendol dcfd4ed79a PostgreSQL 9.1.1
* Cleaned up the build process, thanks to GitHub user daddy2times
 * Cleaned up caveats and added information about upgrading pre-9.1 databases

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-09 21:18:18 -08:00
Cameron Walters (cee-dub) 2accac42dd PostgreSQL: set a StandardErrorPath
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-09-03 11:59:12 -07:00
Adam Vandenberg a840c4a17d Fix plist permissions for Lion 2011-09-02 14:41:57 -07:00
Kashif Rasul 917bdbc823 postgresql: option to dtrace probes
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-27 11:26:54 -07:00
Adam Vandenberg 1accde34ce postgresql: add caveat about shared memory 2011-06-03 21:04:27 -07:00
Pete Deffendol 70ff0c7ce7 PostgreSQL 9.0.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-26 13:40:07 -07:00
Adam Vandenberg b782d9da90 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Matt Wildig ee490cc7dc Tidy up postgresql share/ and include docs
Files go into share/postgresql and docs into share/docs/postgresql
instead of directly into share and share/docs.

Also include docs (man & html) which weren't being included in install
step of build (see
http://archives.postgresql.org/pgsql-bugs/2010-10/msg00156.php).

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-01 15:49:55 -07:00
Adam Vandenberg 46c553ad43 Replace snow_leopard_64? in brews. 2011-03-18 10:30:47 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Carlos Rodriguez f94333ce4f Clean up LaunchAgent caveats.
Documentation now has instructions on creating ~/Library/LaunchAgents
directory for first time installs of Formulas.
Appending trailing slash to Formula documentation in regards to copying
plists to LaunchAgents directory.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-05 10:13:14 -08:00
Pavel Lazureykis 2ad1b03174 postgres updated to 9.0.3
Signed-off-by: Pavel Lazureykis <lazureykis@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-07 12:28:32 -08:00
Grant Hutchins 2c3b88aaed postgresql: install all contrib modules
Closes #3559.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-01-20 22:40:09 +00:00
Charlie Sharpsteen ca284fb880 Bumped PostgreSQL to 9.0.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-01-01 16:53:37 -08:00