aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql73-server
Commit message (Collapse)AuthorAgeFilesLines
* - Remove USE_GETOPT_LONG which is a no-op since March 200Pav Lucistnik2008-03-201-8/+0
| | | | Notes: svn path=/head/; revision=209418
* Update all PostgreSQL ports to latest versions.Palle Girgensohn2008-01-073-21/+17
| | | | | | | | | | This includes a bunch of security fixes: CVE-2007-6067, CVE-2007-4772, CVE-2007-6601, CVE-2007-6600 and CVE-2007-4769. Security: http://www.postgresql.org/about/news.905 Notes: svn path=/head/; revision=205167
* Update PostgreSQL ports to the latest patch releases.Palle Girgensohn2007-09-172-14/+14
| | | | | | | PR: ports/104075 Notes: svn path=/head/; revision=199626
* - Accept --infodir argument in configure script so it won't fail when weRong-En Fan2007-07-231-0/+12
| | | | | | | | | | | set --mandir and --infodir in bsd.port.mk for GNU_CONFIGURE PR: ports/111470 Approved by: portmgr Tested by: pointyhat exp run Notes: svn path=/head/; revision=196110
* - Welcome X.org 7.2 \o/.Florent Thoumie2007-05-193-13/+1
| | | | | | | | - Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}. Notes: svn path=/head/; revision=191544
* Update PostgreSQL to 7.3.19, 7.4.17, 8.0.13, 8.1.9 and 8.2.4 respectively:Palle Girgensohn2007-04-232-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PostgreSQL Global Development Group has released updated versions for PostgreSQL 8.2 and all back versions to patch a privilege escalation exploit in SECURITY DEFINER functions. All users of this feature are urged to update to the latest minor version and follow instructions on securing these functions as soon as possible. This minor release also contains other fixes, so all users should plan to deploy it. Once you have updated, additional steps are required to secure your database against the exploit. Please read the release notes at http://www.postgresql.org/docs/8.2/static/release.html and the TechDocs article at http://www.postgresql.org/docs/techdocs.77 on how to lock down your security definer functions, if you use them. As always, application of a minor release does not require a dump and reload of the database. The frequency of security fixes recently is a result of increased scrutiny of the PostgreSQL code by government agencies and security-conscious companies. Rapid turnaround on security patches is key to keeping PostgreSQL the most secure SQL database. Your work and vigilance in applying the latest security updates ensures that there will never be a PostgreSQL "worm". http://www.postgresql.org/docs/8.2/static/release-8-2-4.html http://www.postgresql.org/docs/8.1/static/release.html#RELEASE-8-1-9 http://www.postgresql.org/docs/8.0/static/release.html#RELEASE-8-0-13 http://www.postgresql.org/docs/7.4/static/release.html#RELEASE-7-4-17 http://www.postgresql.org/docs/techdocs.77 Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2138 Notes: svn path=/head/; revision=190743
* Update PostgreSQL with, amongst other things, a security fix:Palle Girgensohn2007-02-052-13/+13
| | | | | | | | | | | | | | | | | A vulnerability allows suppressing the normal checks that a SQL function returns the data type it's declared to do. These errors can easily be exploited to cause a backend crash, and in principle might be used to read database content that the user should not be able to access. [CVE-2007-0555] The release includes a set of other fixes as well. Please see the release information at http://www.postgresql.org/docs/7.3/static/release.html#RELEASE-7-3-18 Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0555 Notes: svn path=/head/; revision=184277
* Update postgresql to 8.2.1, 8.1.6, 8.0.10, 7.4.15 and 7.3.17.Palle Girgensohn2007-01-097-49/+74
| | | | | | | | | | | | | | | | | | | | | Release notes: http://www.postgresql.org/docs/7.3/static/release.html#RELEASE-7-3-17 http://www.postgresql.org/docs/7.4/static/release.html#RELEASE-7-4-15 http://www.postgresql.org/docs/8.0/static/release.html#RELEASE-8-0-10 http://www.postgresql.org/docs/8.1/static/release.html#RELEASE-8-1-6 http://www.postgresql.org/docs/8.2/static/release-8-2-1.html The server-side utilities of postgresql (initdb, initlocation, ipcclean, pg_controldata, pg_ctl, pg_id and pg_resetxlog) are now installed by the respective postgresql*-server port (previously they where installed with the client). If you update the client, you should also update the server to make sure you are not left without the server-side tools. Do something like: portupgrade postgresql-client postgresql-server Notes: svn path=/head/; revision=181869
* Update PostgreSQL to latest versions: 8.1.5, 8.0.9, 7.4.14 and 7.3.16.Palle Girgensohn2006-11-0810-41/+46
| | | | | | | | | | | | | | | | | | | | | | | | | Release notes: 8.1.5 http://www.postgresql.org/docs/8.1/static/release.html#RELEASE-8-1-5 8.0.9 http://www.postgresql.org/docs/8.0/static/release.html#RELEASE-8-0-9 7.4.14 http://www.postgresql.org/docs/7.4/static/release.html#RELEASE-7-4-14 7.3.16 http://www.postgresql.org/docs/7.3/static/release.html#RELEASE-7-3-16 Change name of the rc script from '010.pgsql.sh' to 'postgresql' Add optional hierachy patch added for 7.4 and 8.1 ports. Chase heimdal libs update [reported by several] For 8.1+ the port enables autovacuum in ~pgsql/postgresql.conf when running initdb Cleanup the ports, moving pkg-message-* to files/pkg-message-*.in and files/pgsql.sh.tmpl to files/postgresql.in. [ports/97767] PR: ports/97767, submitted by delphij@FreeBSD.org Notes: svn path=/head/; revision=176828
* There is no point in setting mode of rc.d file to be 554, set it to 555.Maxim Sobolev2006-06-261-2/+2
| | | | | | | | Otherwise there could be problems with the service not starting up in the case when owner of the file has been changed. Notes: svn path=/head/; revision=166410
* Update all PostgreSQL to fix a security flawPalle Girgensohn2006-05-233-15/+15
| | | | | | | | | | | | | | | | | | | | | | The PostgreSQL Global Development Group today released versions 8.1.4, 8.0.8, 7.4.13 and 7.3.15. This is an urgent update to close a security hole which can permit a SQL injection attack on some applications running PostgreSQL. Users are urged to apply the update as soon as reasonably possible. Since the update affects client functionality, most driver projects will be updating this week as well. Because the security issue involved is complex, we have added a section in Techdocs to explain it: http://www.postgresql.org/docs/techdocs.52. Please read this first before applying the updates. Also, fix rc_subr startup problems on FreeBSD-7.x. Security: http://www.postgresql.org/docs/techdocs.50 PR: ports/95154 Notes: svn path=/head/; revision=163198
* Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.Doug Barton2006-02-201-1/+1
| | | | | | | | | | We have not checked for this KEYWORD for a long time now, so this is a complete noop, and thus no PORTREVISION bump. Removing it at this point is mostly for pedantic reasons, and partly to avoid perpetuating this anachronism by copy and paste to future scripts. Notes: svn path=/head/; revision=156534
* Security patch, update to version 7.3.14.Palle Girgensohn2006-02-182-13/+13
| | | | | | | Security: http://www.postgresql.org/docs/8.1/static/release-7-3-14.html Notes: svn path=/head/; revision=156293
* Add missing ) around SIZE statements.Edwin Groothuis2006-01-301-4/+4
| | | | Notes: svn path=/head/; revision=154780
* eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryEdwin Groothuis2006-01-226-32/+32
| | | | | | | | Approved by: krion@ PR: ports/88711 (related) Notes: svn path=/head/; revision=154134
* Fix patch problem; failed to remove this patch when updating.Palle Girgensohn2006-01-161-19/+0
| | | | | | | Pointy hat to: girgen Notes: svn path=/head/; revision=153641
* Update postgresql with latest patch release.Palle Girgensohn2006-01-092-14/+14
| | | | | | | | | | | | | | | | | | | | | A critical fix repairs an error in ReadBuffer that can cause data loss due to overwriting recently-added pages. This applies to the 8.1 and 8.0 branches on all platforms. Note that this update might require a reindex of textual columns under certain conditions; please see UPDATING. Other fixes included are: -- Character string locale comparison bug. This may require a REINDEX on text column indexes in some locales, such as Hungarian. -- Prevent accidental changes of locale by plperl -- Two fixes for Japanese encodings -- Two fixes for COPY CSV -- Fixes for functions returning RECORD -- Fixes to autovacuum, dblink and pgcrypto Notes: svn path=/head/; revision=153149
* Handle a change in rc.subr. nowadays, "faststart" is used instead ofPalle Girgensohn2005-12-252-3/+3
| | | | | | | | | | | | | "start" when booting, since there's no need waste time checking for running processes when the OS is starting up. Bumping portrevision. PR: 90884 Submitted by: Victor Snezhko <snezhko@indorsoft.ru> Notes: svn path=/head/; revision=152024
* Update postgresql to 7.3.12Palle Girgensohn2005-12-222-9/+13
| | | | | | | | Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> PR: 90446 Notes: svn path=/head/; revision=151877
* Let postgresql (libpq.so) only link with the Kerberos implementationsPalle Girgensohn2005-11-141-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | installed from ports. The base heimdal distribution installs libraries that have no depenency information. While this is quite correct, it means that each library that links with libpq.so must also know if libpq.so is linked with libkrb.so et al. Problem is, there's no good way to get this information (pg_config has a --libs option starting at version 8.1) and all ports using postgresql must be changed to make it possible to link with a libpq.so that was configured to use the Kerberos implementation installed in /usr by default. Hence, we require one of the ports (heimdal or krb5) if postgresql is to be linked with Kerberos. At least for now, until we can fix this in some better way. Also, if MIT Kerberos (security/krb5) is installed, users should ideally remove the base heimdal installation so linkers will not pick it up in preference to the krb5 libs (base heimdal has higher version numbers than krb5 port). PR: 80869, 88098, 85178 Notes: svn path=/head/; revision=148301
* Update to version 7.3.11Palle Girgensohn2005-10-042-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migration to version 7.3.11 A dump/restore is not required for those running 7.3.X. However, if you are upgrading from a version earlier than 7.3.10, see the release notes for 7.3.10. __________________________________________________________________ Changes * Fix error that allowed "VACUUM" to remove ctid chains too soon, and add more checking in code that follows ctid links This fixes a long-standing problem that could cause crashes in very rare circumstances. * Fix CHAR() to properly pad spaces to the specified length when using a multiple-byte character set (Yoshiyuki Asaba) In prior releases, the padding of CHAR() was incorrect because it only padded to the specified number of bytes without considering how many characters were stored. * Fix missing rows in queries like UPDATE a=... WHERE a... with GiST index on column a * Improve checking for partially-written WAL pages * Improve robustness of signal handling when SSL is enabled * Various memory leakage fixes * Various portability improvements * Fix PL/PgSQL to handle var := var correctly when the variable is of pass-by-reference type Notes: svn path=/head/; revision=144228
* Fix build on 6Sam Lawrance2005-08-011-0/+19
| | | | | | | | Approved by: girgen (maintainer) is away Obtained from: mjl on #bsdports Notes: svn path=/head/; revision=140601
* Update PostgreSQL to latest versions. For details on the fixes,Palle Girgensohn2005-05-104-159/+10
| | | | | | | | | | | | | | | | | | | please see the HISTORY file included in the Release, but a summary consists of: * Change encoding function signature to prevent misuse * Change "contrib/tsearch2" to avoid unsafe use of INTERNAL function results * Repair race condition between relation extension and VACUUM This could theoretically have caused loss of a page's worth of freshly-inserted data, although the scenario seems of very low probability. There are no known cases of it having caused more than an Assert failure. Security: http://www.postgresql.org/about/news.315 Notes: svn path=/head/; revision=135023
* Modify 8.0's startup script to simulate a full login (su -l) [1]. AlsoPalle Girgensohn2005-03-192-43/+53
| | | | | | | | | | | | | | | | add support to select login class for running postgresql [2]. The new startup script, using rc.subr, is now installed for all versions of postgresql. Bump portrevisions, since startup script is modified. PR: 78630 [1] Submitted by: Vivek Khera [1] Submitted by: Brian B. [2] Approved by: seanc (implicit) Notes: svn path=/head/; revision=131605
* Fixing problems with the recent security patch: When bison was notPalle Girgensohn2005-02-202-1/+81
| | | | | | | | | | | | | | | | | | | | installed, the patched gram.y file would not be used and the security patch would be a no-op. Also, I've had reports of compilation errors related to bison. Since checking for the correct version of bison is hard and error prone, I'm doing what the postgresql distribution does - patching the yacc:ed .c file to get rid of the building dependency. Bumping portrevision of -server. Pointy hat to: me Noticed by: Mike Harding and others Security: http://www.vuxml.org/freebsd/6b4b0b3f-8127-11d9-a9e7-0001020eed82.html Approved by: seanc (implicit) Notes: svn path=/head/; revision=129331
* Fix security alert using a patch from PostgreSQL's CVS repository:Palle Girgensohn2005-02-192-9/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent overrunning a heap-allocated buffer if more than 1024 parameters to a refcursor declaration are specified. This is a minimally-invasive fix for the buffer overrun. Define LATEST_LINK to avoid package name clashes between the different branches of PostgreSQL. [1] (Since postgresql-tcltk is hardwired to branch 7.4, keep its LATEST_LINK to a generic value.) Set UNIQUENAME and let it be the same for server & client, so each branch's ports will share the same options file. This adds some no-op knobs to the -client port, but IMO it is better this way. Add space inside paranthesis in OSVERSION conditional to work around (ancient) make bug. [2] Remove the Rendez-Vouz knob for 8.0 since I can't find the software needed to even compile it on FreeBSD. Bump portrevision (for -server only). Noted by: kris [1] PR: ports/77530 [2] Security: http://www.vuxml.org/freebsd/6b4b0b3f-8127-11d9-a9e7-0001020eed82.html Approved by: seanc (mentor) Notes: svn path=/head/; revision=129277
* Let pkg-message reflect the renaming of the startup script.Palle Girgensohn2005-02-091-2/+2
| | | | | | | | Submitted by: Nick Pavlica <linicks at gmail dot com> Approved by: ade (mentor) Notes: svn path=/head/; revision=128395
* In order to address a potential security hole recently identified withPalle Girgensohn2005-02-033-12/+12
| | | | | | | | | | | | | | | | | | | | | | the "LOAD" option, the PostgreSQL Global Development Group is announcing the release of new versions of PostgreSQL. Update to 7.3.9, 7.4.7 & 8.0.1. Take the opportunity to reset PORTREVISION of slave ports. Back out name change of startup script. The new script uses rc.subr(8), and as such also uses rcorder(8). But, rcorder does not exist in FreeBSD 4.x. Hence rename the script it back to the top of the directory list. [1] The periodic script should of course be executable. [2] [1] Noted by Niels Chr. Bank-Pedersen <ncbp at bank-pedersen dot dk> [2] Noted by Fritz Heinrichmeyer <fritz.heinrichmeyer at fernuni-hagen dot de> Notes: svn path=/head/; revision=127966
* Split the postgresql ports into a server and a client part. ThePalle Girgensohn2005-01-3115-465/+455
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | following knobs can be used by ports depending on PostgreSQL: # USE_PGSQL - Add PostgreSQL client dependency. # If no version is given (by the maintainer via the port or # by the user via defined variable), try to find the # currently installed version. Fall back to default if # necessary (PostgreSQL-7.4 = 74). # DEFAULT_PGSQL_VER # - PostgreSQL default version. Can be overridden within a port. # Default: 74. # WANT_PGSQL_VER # - Maintainer can set an arbitrary version of PostgreSQL by # using it. # BROKEN_WITH_PGSQL # - This variable can be defined if the ports doesn't support # one or more versions of PostgreSQL. Note that a periodic script is installed that will, by default, vacuum all databases nightly. You may want to tweak the settings, see the script at ${LOCALBASE}/etc/periodic/daily/502.pgsql To run PostgreSQL at boot time, set postgresql_enable=yes in /etc/rc.conf. Note PR: 75344 Approved by: portmgr@ (kris), ade & sean (mentors) Notes: svn path=/head/; revision=127734
* PR ports/75344 - This needs testing and an probably experimentalPalle Girgensohn2004-12-211-1/+1
| | | | | | | | | | build, so it will not be out the door before the ports freeze. Meanwhile, modify BROKEN text to something more informative. Approved by: ade (mentor) Notes: svn path=/head/; revision=124724
* Add myself as committer, and use my @FreeBSD.org address.Palle Girgensohn2004-12-061-1/+1
| | | | | | | Approved by: ade (mentor) Notes: svn path=/head/; revision=123277
* Another step along the road to the postgresql new world order.Ade Lovett2004-11-2326-745/+1081
| | | | | | | | | | | | Note that none of these ports are (yet) hooked into the tree, and will not compile unless you set a specific environmental variable. This should be warning enough to leave well alone for now :) Submitted by: maintainer Notes: svn path=/head/; revision=122238
* Update postgresql 7.3.7 -> 7.3.8 and 7.4.5 -> 7.4.6 due to securityAde Lovett2004-11-052-9/+9
| | | | | | | | | | | | advisories in http://www.postgresql.org/news/234.html Note that postgresql 7.2.x is NOT being updated here since it is due for termination real soon now. Submitted by: maintainer, also referenced in ports/73142 (no patch) Notes: svn path=/head/; revision=120905
* - update to version 7.3.7:Oliver Eikemeier2004-08-312-12/+12
| | | | | | | | | | | * Prevent possible loss of committed transactions during crash. PR: 71179 Submitted by: SUGIMURA Takashi <sugimura@jp.FreeBSD.org> Reviewed by: Palle Girgensohn <girgen@pingpong.net> (maintainer) Notes: svn path=/head/; revision=117736
* Remove empty line from distinfoEdwin Groothuis2004-05-151-1/+0
| | | | Notes: svn path=/head/; revision=109189
* Fix CONFLICTS variable.Edwin Groothuis2004-05-141-1/+1
| | | | Notes: svn path=/head/; revision=109118
* [PATCH] databases/postgresql73: update to 7.3.6Edwin Groothuis2004-05-142-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert erroneous changes in rule permissions checking * Repair incorrect order of operations in GetNewTransactionId() * Ensure configure selects -fno-strict-aliasing even when an external value for CFLAGS is supplied * Make pg_restore handle 64-bit off_t correctly * Make contrib/dblink not assume that local and remote type OIDs match (Joe) * Quote connectby()'s start_with argument properly (Joe) * Don't crash when a rowtype argument to a plpgsql function is NULL * Avoid generating invalid character encoding sequences in corner cases when planning LIKE operations * Ensure text_position() cannot scan past end of source string in multibyte cases (Korea PostgreSQL Users' Group) * Fix index optimization and selectivity estimates for LIKE operations on bytea columns (Joe) This version, as with most minor versions, does not require a dump/reload to put into place. PR: ports/63698 Submitted by: Palle Girgensohn <girgen@pingpong.net> Notes: svn path=/head/; revision=109117
* Add WITHOUT_NLS knob.Trevor Johnson2004-02-051-2/+2
| | | | | | | | PR: 61836 Submitted by: Palle Girgensohn (maintainer) Notes: svn path=/head/; revision=100046
* Add USE_GETTEXT and bump PORTREVISION.Joe Marcus Clarke2004-02-041-2/+2
| | | | | | | | Submitted by: trevor Tested by: bento Notes: svn path=/head/; revision=99914
* Use a unique LATEST_LINKKris Kennaway2004-01-291-0/+1
| | | | Notes: svn path=/head/; revision=99393
* Now gettext 0.12.1 is gettext-old.Trevor Johnson2004-01-231-1/+1
| | | | Notes: svn path=/head/; revision=98909
* Update the PostgreSQL ports to use the KRB5_HOME variable instead ofSean Chittenden2004-01-181-1/+1
| | | | | | | | | | LOCALBASE to find krb5-config in the MIT case. Prodded by: Our friendly folks at the ISC who want to use FreeBSD's PostgreSQL ports instead of an unmanaged build from a tarball. Notes: svn path=/head/; revision=98447
* [MAINTAINER] databases/postgresql73: wrong MD5_FILE for subportsEdwin Groothuis2004-01-112-2/+1
| | | | | | | | | | | Just realized that after the repo-copy, the MD5_FILE pointer for subports was never updated. PR: ports/61193 Submitted by: Palle Girgensohn <girgen@pingpong.net> Notes: svn path=/head/; revision=97914
* Preemptive strike against future bogons for PORTREVSION bumps.Sean Chittenden2003-12-041-0/+1
| | | | Notes: svn path=/head/; revision=94923
* Update to PostgreSQL 7.3.5. See the release notes for details. ASean Chittenden2003-12-042-7/+10
| | | | | | | | | | | | | dump is *not* required when upgrading from any 7.3 release to 7.3.5. Release notes: http://developer.postgresql.org/docs/postgres/release-7-3-5.html Notified: maintainer Repo-copy by: joe Notes: svn path=/head/; revision=94911
* Set pkg-comment only when there isn't one set yet (make portEdwin Groothuis2003-10-131-1/+1
| | | | | | | master/slave clean) Notes: svn path=/head/; revision=91009
* Bump the PORTREVISION for the ports directly affected by the gettext upgrade.Joe Marcus Clarke2003-08-261-0/+1
| | | | | | | Prodded by: kris Notes: svn path=/head/; revision=87743
* Chase the libintl.so shared lib version.Joe Marcus Clarke2003-08-251-1/+1
| | | | Notes: svn path=/head/; revision=87644
* Fix my fault in previous commit: put a pkg-messageSergey A. Osokin2003-08-121-0/+0
| | | | | | | | | into right place. Notify from: Palle Girgensohn <girgen@pingpong.net> Notes: svn path=/head/; revision=86812
* Update to 7.3.4Sergey A. Osokin2003-08-125-63/+30
| | | | | | | | | | | | | | "In order to address a potentially serious (although rare) server startup failure that was recently reported, we have released PostgreSQL version 7.3.4. This release is critical for users of PostgreSQL version 7.3.3, and highly recommended for all other PostgreSQL users." Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer) PR: 55354 Notes: svn path=/head/; revision=86803