aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/postgresql.rb
AgeCommit message (Collapse)Author
2013-08-15Remove ugly and confusing double-newlinesMax Howell
It made the output harder to read.
2013-08-06postgres: fix nestingAdam Vandenberg
2013-08-06posgresql: restore Python arch checkAdam Vandenberg
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-07-19postgresql: tcl is optionalAdam Vandenberg
Closes #21099.
2013-07-10Replace == :leopard with <= :leopardMisty De Meo
2013-06-30postgresql: Build with TclPeter Eisentraut
Closes #20766. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-21postgresl: remove extension caveatsAdam Vandenberg
2013-06-19postgresql: Enable LDAP and PAM build optionsPeter Eisentraut
Closes #20603. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-03Python 2.x and 3.x supportSamuel John
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-05-07postgresql: style cleanupsJack Nagel
This brings the formula in line with the postgres formulae in homebrew-versions.
2013-04-06Remove unnecessary/unused UserName plist keys.Mike McQuaid
Fixes #18293.
2013-04-04postgresql 9.2.4 (security update)Peter Eisentraut
Security update: CVE-2013-1899 CVE-2013-1900 CVE-2013-1901 Closes #18960. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-07postgresql 9.2.3Kashif Rasul
Closes #17663. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-26postgresql: use new recommended deps supportJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-01-03postgresql: fix conflictChad Catlett
Closes #16873. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-03postgresql conflicts with postgres-xcJack Nagel
2012-12-16postgresql: remove duplicate launchd info.Mike McQuaid
2012-12-08postgresql 9.2.2Kashif Rasul
Closes #16455. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-25Make generic caveats for launchd plist files.Mike McQuaid
2012-11-17postgres: fails with (really old) clang build 211Jack Nagel
2012-11-10Revert "Rename readline to gnu-readline"Jack Nagel
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-10Rename readline to gnu-readlineJack Nagel
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-09-24PostgreSQL 9.2.1Pete Deffendol
Closes #15079. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-13postgresql: remove skip_clean :allJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11postgresql: use default optimizationJack Nagel
We default to Os now, so we don't need to force O2. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11PostgreSQL 9.2Pete Deffendol
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-10Clean up MacOS version method usageJack Nagel
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-09Let plists be installed automaticallyAdam Vandenberg
2012-09-03PostgreSQL 9.1.5Ealden Esto E. Escanan
Closes #14662. Signed-off-by: Ealden Esto E. Escanan <ealden@gmail.com> Closes #14662. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-22postgresql: explicitly initialize with utf8 encodingThomas Dippel
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-20postgresql: don't call uuid-config if building without ossp-uuidJack Nagel
Fixes #14314. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-19postgresql: Don't depend on ossp-uuid if building withoutCharlie Sharpsteen
Fixes #14296.
2012-08-13postgresql: use options DSLJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-31PostgreSQL: build uuid-ossp with _XOPEN_SOURCE.Steven Schlansker
Fixes build on Mountain Lion Fixes #10315. Fixes #13639. Closes #13803. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-26postgresql: update Python patch per MacPortsAdam Vandenberg
2012-06-10postgresql: fix audit warningJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-07postgresql: fix PL/Python buildClay McClure
Fixes #11162 Closes #12134 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-07postgresql 9.1.4Ali Asad Lotia
Closes #12644. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-05postgresql: optional ossp-uuidBrian Cunnie & Matthew Kocher
A certain large cat doesn't work with ossp-uuid. Closes #12210. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-02-27PostgreSQL 9.1.3Pete Deffendol
Closes #10537. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-25Add "require hardware" to formula.rbAdam Vandenberg
Now individual formulae don't need to require this if they want to use Hardware methods outside of `def install`.
2012-02-07postgresql: style clean-upsAdam Vandenberg
2012-02-04Minor cleanup on plist caveats.Matthew Lewinski
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-03postgresql: add 32-bit only buildAdam Vandenberg
2012-02-03PostgreSQL: add extension instructions to caveatsChris Winslett
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-03Add and use plist helper methodsJack Nagel
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-03Normalize paths in embedded plist filesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06Fix spelling mistakesBrett Koonce
Closes #9449. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-10PostgreSQL 9.1.2Jay Levitt
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-04Postgres changed their ftp urlsKeith Marcum
Signed-off-by: Adam Vandenberg <flangy@gmail.com>