Commit graph

93 commits

Author SHA1 Message Date
Chad Catlett
86042f98e6 postgresql: fix conflict
Closes Homebrew/homebrew#16873.

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

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

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
e2f9856882 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 Homebrew/homebrew#15776.
2012-11-10 20:07:32 -06:00
Pete Deffendol
bbd220a649 PostgreSQL 9.2.1
Closes Homebrew/homebrew#15079.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-24 08:34:34 -07:00
Jack Nagel
c414bfcd16 postgresql: remove skip_clean :all
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-13 12:55:42 -05:00
Jack Nagel
c210779f67 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
08d221ea28 PostgreSQL 9.2
As always a dump and restore of a previous (9.1) database is required to
upgrade.

Closes Homebrew/homebrew#14834.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11 22:49:45 -05:00
Jack Nagel
53473b6bf5 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
230619e2c7 Let plists be installed automatically 2012-09-09 13:02:48 -07:00
Ealden Esto E. Escanan
f783a32620 PostgreSQL 9.1.5
Closes Homebrew/homebrew#14662.

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

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-03 08:28:38 -07:00
Thomas Dippel
e782ac6e85 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 Homebrew/homebrew#14149.

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

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

Fixes Homebrew/homebrew#10315.
Fixes Homebrew/homebrew#13639.
Closes Homebrew/homebrew#13803.

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

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

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

Closes Homebrew/homebrew#12210.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-06-05 10:17:19 -07:00
Pete Deffendol
b59ca6f5b0 PostgreSQL 9.1.3
Closes Homebrew/homebrew#10537.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-27 17:08:33 -06:00
Adam Vandenberg
fb5977f181 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
3ad3e0950e postgresql: style clean-ups 2012-02-07 21:47:54 -08:00
Matthew Lewinski
83dd656d3b 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
1e9557c426 postgresql: add 32-bit only build 2012-02-03 22:11:20 -08:00
Chris Winslett
946c2dea75 PostgreSQL: add extension instructions to caveats
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-03 22:01:45 -08:00
Jack Nagel
6ce735db99 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. Homebrew/homebrew#9346.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:50:58 -06:00
Jack Nagel
cce644e300 Normalize paths in embedded plist files
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:28:56 -06:00
Brett Koonce
7b65d5ade8 Fix spelling mistakes
Closes Homebrew/homebrew#9449.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06 09:43:54 -06:00
Jay Levitt
fb10972fc2 PostgreSQL 9.1.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-10 13:38:04 -08:00
Keith Marcum
027c7e9946 Postgres changed their ftp urls
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-04 11:57:29 -08:00
Pete Deffendol
2162f86e63 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)
4dbdc64830 PostgreSQL: set a StandardErrorPath
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-09-03 11:59:12 -07:00
Adam Vandenberg
d205c72966 Fix plist permissions for Lion 2011-09-02 14:41:57 -07:00
Kashif Rasul
b2fc901d5c postgresql: option to dtrace probes
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-27 11:26:54 -07:00
Adam Vandenberg
1cb28f7581 postgresql: add caveat about shared memory 2011-06-03 21:04:27 -07:00
Pete Deffendol
8d99104efe PostgreSQL 9.0.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-26 13:40:07 -07:00
Adam Vandenberg
121e4f8614 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Matt Wildig
bac1930b6d 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
7689fb8fd2 Replace snow_leopard_64? in brews. 2011-03-18 10:30:47 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Carlos Rodriguez
9c6a41ddc6 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
c63c1b498c 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
fdd98170e6 postgresql: install all contrib modules
Closes Homebrew/homebrew#3559.

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