Commit graph

358 commits

Author SHA1 Message Date
Palle Girgensohn
6b11e89876 Update postgresql to 8.2.1, 8.1.6, 8.0.10, 7.4.15 and 7.3.17.
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
2007-01-09 16:29:35 +00:00
Palle Girgensohn
ac681feb0c Fix build problems when using WITH_THREADSAFE 2006-12-07 14:28:41 +00:00
Palle Girgensohn
5b1dcdfc6f Welcome new release of the world's most advanced open source database:
PostgreSQL 8.2.0

Complete release notes are available at
http://www.postgresql.org/docs/current/static/release-8-2.html
2006-12-06 16:50:34 +00:00
Palle Girgensohn
74002c4532 Mark as work in progress 2006-11-06 09:03:04 +00:00
Palle Girgensohn
c03d288c14 The update to handle different versions of ICU was not sufficient.
Update the patches to handle ICU version 3.6 and fall back to 3.4.
2006-09-27 12:58:53 +00:00
Palle Girgensohn
82002cf629 Fix bad file name to the ICU patch.
Pointed out by:	Penty Wenngren <penty.wenngren@dgc.se>
Pointy hat to:	me
2006-09-21 16:32:49 +00:00
Palle Girgensohn
ec763040d0 Update the patch to be more agnostic with regards to the version of icu.
It now links with icu-3.6 as well as the earlier versions.
2006-09-20 09:00:40 +00:00
Maxim Sobolev
f782d82915 There is no point in setting mode of rc.d file to be 554, set it to 555.
Otherwise there could be problems with the service not starting up in the
case when owner of the file has been changed.
2006-06-26 22:24:10 +00:00
Palle Girgensohn
85e4e49806 Update all PostgreSQL to fix a security flaw
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
2006-05-23 21:18:58 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
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.
2006-02-20 20:47:50 +00:00
Palle Girgensohn
2466e8fe26 Minor release 8.1.3 patches security issue
Release Note: http://www.postgresql.org/docs/8.1/static/release.html#RELEASE-8-1-3

PR:		ports/93440
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
2006-02-17 20:12:14 +00:00
Edwin Groothuis
f2ab1844f2 Add missing ) around SIZE statements. 2006-01-30 09:38:49 +00:00
Edwin Groothuis
d568611c3e eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 05:52:28 +00:00
Palle Girgensohn
1d992c44d7 Update postgresql with latest patch release.
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
2006-01-09 17:30:38 +00:00
Ade Lovett
faa33cf979 Add 'config' to the list of directories installed by postgresql81-client,
so as to fully install everything needed for pgxs to work correctly.

Approved by:	maintainer
2006-01-07 00:14:42 +00:00
Palle Girgensohn
d6b6d44388 Handle a change in rc.subr. nowadays, "faststart" is used instead of
"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>
2005-12-25 20:06:23 +00:00
Palle Girgensohn
4ec6208676 Update postgresql to 8.1.1
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
PR:		90443
2005-12-22 20:13:30 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Palle Girgensohn
170eff296f Let postgresql (libpq.so) only link with the Kerberos implementations
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
2005-11-14 23:59:26 +00:00
Palle Girgensohn
77596b1b62 Fix UNIQUENAME
Pointed out by: Vivek Khera <vivek@khera.org>
2005-11-11 16:05:25 +00:00
Palle Girgensohn
418503c81d Don't break the port for ppl who have old configs that includes the
HIER option.

Pointed out by: Reko Turja <reko.turja@liukuma.net>
2005-11-11 02:09:36 +00:00
Palle Girgensohn
d587b3a37a Welcome to PostgreSQL 8.1.
The new release includes performance improvements and advanced SQL
features which will support bigger data warehouses, higher-volume
transaction processing, and more complex distributed enterprise
software.

Major new features in this release include:

      Roles:
           PostgreSQL now supports database roles, which simplify the
           management of large numbers of users with complex
           overlapping database rights.

      IN/OUT Parameters:
           PostgreSQL functions now support IN, OUT and INOUT
           parameters, which substantially improves support of complex
           business logic for J2EE and .NET applications.

      Two-Phase Commit (2PC):
           Long in demand for WAN applications and heterogeneous data
           centers using PostgreSQL, this feature allows
           ACID-compliant transactions across widely separated
           servers.

Some Performance Enhancements found in this release include:

      Improved Multiprocessor (SMP) Performance:
           The buffer manager for 8.1 has been enhanced to scale almost
           linearly with the number of processors, leading to significant
           performance gains on 8-way, 16-way, dual-core, and multi-core
           CPU servers.

      Bitmap Scan:
           Indexes will be dynamically converted to bitmaps in memory when
           appropriate, giving up to twenty times faster index performance
           on complex queries against very large tables.

      Table Partitioning:
           The query planner is now able to avoid scanning whole sections
           of a large table using a technique known as Constraint
           Exclusion.

       Shared Row Locking:
           PostgreSQL's "better than row-level locking" now supports even
           higher levels of concurrency through the addition of shared
           row locks for foreign keys.

For a more complete listing of changes in this release, please see the
Release Notes visible at:

http://www.postgresql.org/docs/current/static/release.html#RELEASE-8-1
2005-11-10 02:23:38 +00:00
Palle Girgensohn
3e949e031a Mark as work-in-progress 2005-09-28 23:12:18 +00:00
Palle Girgensohn
7417412a43 Fix building with the HIER option. It needs bison. [1]
Update the ICU patch with a assert fix, courtesy of Magnus Hagander.

Pointed out by: Marcos Tischer Vallim [ports/84720]
PR:	80377, 84720
2005-08-30 01:33:40 +00:00
Palle Girgensohn
ebc37b4280 Fixing problems with the recent security patch: When bison was not
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)
2005-05-11 00:40:15 +00:00
Palle Girgensohn
2acfba6325 Update the ICU patch with some bug fixes 2005-05-06 02:36:50 +00:00
Palle Girgensohn
aded68be0b Update the link to the ICU patch. 2005-04-16 22:51:52 +00:00
Palle Girgensohn
763de9d278 Upgrade PostgreSQL to 8.0.2. Here's the brief release note:
Over the past several weeks, Tom Lane has been working on replacing
  our old Cache Management Alorithm (ARC) with a new, patent free one
  (2Q).

  In order to reduce the number of 8.x deployments out there that are
  using the old manager, we have just released 8.0.2, and encourage
  adminstrators to upgrade at their earliest convience.

  For those already running 8.x on your production servers, please
  note that this upgrade does *NOT* require a dump restore, but due to
  a bump in the major version number for the client library (libpq),
  it *WILL* require all client applications to be recompiled at the
  same time.

For full release info, see
http://www.postgresql.org/docs/8.0/static/release.html#RELEASE-8-0-2

Apart from the upgrade, three new config options are added:

 A patch (experimental) for supporting proper collation
 of utf-8 encoded locales, using IBM's ICU package (devel/icu). See
 http://people.freebsd.org/~girgen/postgresql-icu/README.html for more
 info.

 An optional patch written by Evgen Potemkin, which allows
 PostgreSQL to make hierarchical queries à la Oracle [1].

 An option is added that allows the use of 64 bit ints to
 store dates [2].

PR: ports/79165 [1], ports/76999 [2]
Submitted by: Marcos Tischer Vallim [1], Christian Ullrich [2]
Approved by: ade, seanc (implicit)
2005-04-13 23:15:49 +00:00
Palle Girgensohn
7506374126 Modify 8.0's startup script to simulate a full login (su -l) [1]. Also
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)
2005-03-19 03:51:45 +00:00
Palle Girgensohn
11c6621cb5 Fixing problems with the recent security patch: When bison was not
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)
2005-02-20 05:38:24 +00:00
Palle Girgensohn
9c89540227 Fix security alert using a patch from PostgreSQL's CVS repository:
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)
2005-02-19 12:07:46 +00:00
Palle Girgensohn
e2621de6a1 The postgresql_* knobs from /etc/rc.conf where read too late to
actually make a difference.

Noticed by:	Salvatore Montefusco, Brian B.
Approved by:	ade (mentor)
2005-02-15 00:30:50 +00:00
Palle Girgensohn
623d68908a Let pkg-message reflect the renaming of the startup script.
Submitted by: Nick Pavlica <linicks at gmail dot com>
Approved by: ade (mentor)
2005-02-09 17:48:10 +00:00
Palle Girgensohn
91f82d0809 Add some forgotten manpages.
Approved by: ade (mentor)
2005-02-06 21:59:13 +00:00
Palle Girgensohn
88413af3b8 In order to address a potential security hole recently identified with
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>
2005-02-03 09:30:27 +00:00
Palle Girgensohn
771a9c4a3d Remove forgotten "beta" no_latest_link, and fix broken master_site_subdir
Approved by: seanc (mentor)
2005-01-31 14:56:24 +00:00
Palle Girgensohn
dde08c696b Say hello to postgresql-8.0. Some of the highlights of the new version
are savepoints (within transactions), point-in-time recovery and
tablespaces. Check out the release notes and the shiny new
PostgreSQL.org website at:

http://www.PostgreSQL.org/docs/8.0/static/release.html#RELEASE-8-0

The port uses the new postgresql ports' layout and is split into a
server and a client part. The 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.

PR:		75344
Approved by:	portmgr@ (kris), ade & sean (mentors)
2005-01-31 00:36:16 +00:00
Sean Chittenden
1b5152db3b Enter PostgreSQL 8.0.0. Given 4.11 is still being released, abuse -devel by
stuffing the 8.0.0 release in here for the time being.  Port epoch bumped
because 8.0.rc* is greater than 8.0.0.  A note from UPDATING to people who
want to use 8.0.0 via -devel in production:

  The -devel port has been updated to contain 8.0 release since
  postgresql80-server can not be updated until 4.11 is released and the
  changes in PR ports/75344 are committed.  Users who need 8.0 now can
  use the -devel port, however, once postgresql80-server has been
  committed, -devel will begin tracking 8.1.  Please be smart about
  tracking ports and if used in production, update to
  databases/postgresql80-server as soon as it becomes available.  No
  dump/reload will be required when changing from -devel to
  postgresql80-server.

Check out the release notes and the shiny new PostgreSQL.org website at:

http://www.PostgreSQL.org/docs/8.0/static/release.html#RELEASE-8-0
2005-01-23 10:06:21 +00:00
Palle Girgensohn
80dd9ee47d PR ports/75344 - This needs testing and an probably experimental
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)
2004-12-21 20:16:16 +00:00
Palle Girgensohn
ae413f56b6 Add myself as committer, and use my @FreeBSD.org address.
Approved by: ade (mentor)
2004-12-06 03:59:56 +00:00
Ade Lovett
03e63e3bdb Another step along the road to the postgresql new world order.
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
2004-11-23 19:15:12 +00:00
Ade Lovett
6fde77975b Update postgresql 7.3.7 -> 7.3.8 and 7.4.5 -> 7.4.6 due to security
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)
2004-11-05 19:23:27 +00:00
Oliver Eikemeier
bdfa85f755 - update to version 7.4.5:
* Prevent possible loss of committed transactions during crash
* Repair possible crash during concurrent btree index insertions

PR:		71176
Submitted by:	SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
Reviewed by:	Palle Girgensohn <girgen@pingpong.net> (maintainer)
2004-08-31 13:46:52 +00:00
Vanilla I. Shu
10b5ded080 Upgrade to 7.4.3.
PR:		ports/68456
Submitted by:	maintainer
2004-06-28 21:48:56 +00:00
Sergey A. Osokin
1bff58fcf6 Add a note about changes in latest release of PostgreSQL.
Submitted by:	Palle Girgensohn <girgen@pingpong.net> (maintainer)
PR:		64933
2004-03-30 11:14:24 +00:00
Sergey A. Osokin
88154be9c2 Update to latest release 7.4.2.
Release notes available at http://www.postgresql.org/news/173.html

NOTICE: unlike most minor versions, this version does require
some updates to the pg_* system tables.  Full instructions for
how to do this are included in the full HISTORY file.
DO NOT UPGRADE WITHOUT READING THESE INSTRUCTIONS.

SIZEfy.
Submitted by:	Palle Girgensohn <girgen@pingpong.net> (maintainer)
PR:		64105
2004-03-11 14:45:42 +00:00
Trevor Johnson
6c2cc3d5fd Add WITHOUT_NLS knob. Move USE_GETTEXT to proper place.
PR:		61836
Submitted by:	Palle Girgensohn (maintainer)
Pointy hat to:	me
2004-02-05 12:56:00 +00:00
Joe Marcus Clarke
186b8ba82f Add USE_GETTEXT and bump PORTREVISION.
Submitted by:	trevor
Tested by:	bento
2004-02-04 04:36:30 +00:00
Kirill Ponomarev
cf746e92c2 - Add note that the function "elog" has been removed from
pg-7.4

PR:		ports/62167
Submitted by:	maintainer
2004-02-01 15:05:44 +00:00
Trevor Johnson
78da40aa98 Now gettext 0.12.1 is gettext-old. 2004-01-23 18:12:26 +00:00
Sean Chittenden
9985ef677d Update the PostgreSQL ports to use the KRB5_HOME variable instead of
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.
2004-01-18 05:46:54 +00:00
Sean Chittenden
b919b91069 Maintainer update to PostgreSQL 7.4.1. This release includes fixed ident
authentication support for FreeBSD (been broken since 7.4).  Merry
Christmas to all, and to all a good night.

Release notes:
http://developer.postgresql.org/docs/postgres/release.html#RELEASE-7-4-1

Prompted by PR:	ports/60542
Obtained from:	maintainer
2003-12-25 10:55:39 +00:00
Sean Chittenden
3581faeeac Remove the PORTNAME from postgreql-client. PORTNAME is set by
MASTERDIR/Makefile[1].  Improve the CONFLICTS messages[2].  Fix the DEPENDS
so that MIT krb5 depends on security/krb5, not heimdal[3].  Add a file that
was missing in the upgrade that has PostgreSQL log to syslog by default[4].

PR:		[4] Originally submitted in ports/59402
Submitted by:	[1,2,4] maintainer
		[3] keoki seu <keoki@camelot.physics.wm.edu>
2003-12-05 21:22:42 +00:00
Erwin Lansing
29d43bdac2 Make PORTNAME ovverrideable by slave ports again.
This fixes INDEX build
2003-12-04 15:24:57 +00:00
Sean Chittenden
8a928af72d Introduce the world to PostgreSQL 7.4! By and large this release is
regarded as a major release with features with interest to those with
large databases.  The updates are extensive and the best source of info
is in the release notes.  Enjoy and direct questions to database@!

Release notes:
http://www.postgresql.org/docs/7.4/static/release.html#RELEASE-7-4

PR:		ports/59403, ports/59404, ports/59393, ports/59394,
		ports/59395, ports/59397, ports/59398, ports/59402, &&
		ports/59401
Submitted by:	maintainer
Approved by:	marcus (portmgr@ hat)
2003-12-04 12:00:49 +00:00
Edwin Groothuis
7f0aef52d7 Set pkg-comment only when there isn't one set yet (make port
master/slave clean)
2003-10-13 09:54:16 +00:00
Joe Marcus Clarke
a3108b1e51 Bump the PORTREVISION for the ports directly affected by the gettext upgrade.
Prodded by:	kris
2003-08-26 20:25:58 +00:00
Joe Marcus Clarke
adccc29aad Chase the libintl.so shared lib version. 2003-08-25 05:41:38 +00:00
Sergey A. Osokin
f179ebfd06 Fix my fault in previous commit: put a pkg-message
into right place.

Notify from:	Palle Girgensohn <girgen@pingpong.net>
2003-08-12 14:00:35 +00:00
Sergey A. Osokin
661fe60c66 Update to 7.3.4
"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
2003-08-12 09:58:13 +00:00
FUJISHIMA Satsuki
b185046be2 get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
2003-07-14 02:53:03 +00:00
Daichi GOTO
9594eef7a2 postgresql slave ports, reduce unnecessary portrevision bumps
PR:		52867
Submitted by:	Palle Girgensohn <girgen@pingpong.net> (maintainer)
2003-06-19 09:12:56 +00:00
Sergey A. Osokin
861994e7a0 The control script that ships with the postgres
port (files/pgsql.sh.tmpl) lacks a parameter in the
restart option, causing logs to be send to stdout,
instead of the log file.

Submitted by:	Fernando Schapachnik <fernando@mecon.gov.ar>
Approved by:	maintainer
PR:		53142
Approved by:	fjoe (implicit)
2003-06-11 23:25:24 +00:00
Sergey A. Osokin
22b9703b35 Use ${MASTER_SITE_PGSQL} instead of multiple sites
Submitted by:	osa
Approved by:	maintainer
PR:		50397
Approved by:	fjoe (implicit)
2003-06-11 09:23:15 +00:00
Norikatsu Shigemura
5312f7a038 Remove a patch file which is no need for 7.3.3.
Submitted by:	Mike Harding <mvh@ix.netcom.com>
2003-06-02 03:55:39 +00:00
Norikatsu Shigemura
21b5e839a3 Update to 7.3.3.
1. Optionally link with libc_r to get plpython working. [1]
2. Fix kerberos build. [2]
3. There was a duplication of some declarations. [3]

PR:		ports/52851
PR:		ports/51080 [2]
Submitted by:	Mike Meyer <mwm@mired.org> [1]
Submitted by:	Gerweck <andy@tacnode.com> [2]
Pointed out by:	Mike Harding <mvh@ix.netcom.com> [3]
Submitted by:	Palle Girgensohn <girgen@pingpong.net> (maintainer)
2003-06-02 01:44:03 +00:00
Sean Chittenden
42b61aee6e Add patch for a fix for braindead applications that were depending on
atoi('') (ex: RT and Horde).  While I'm here, de-"pkg-comment"-ify.  Port
revision bump.

Submitted by:	Larry Rosenman <ler@lerctr.org>
Approved by:	maintainer
2003-02-20 01:14:12 +00:00
Sean Chittenden
3697f927cc Add a patch fix a long standing bug in PostgreSQL with LISTEN/NOTIFY
queues and shutting down the database.  Not bumping port revision, but if
you are having problems related to the above, update as necessary.

Submitted by:	 Larry Rosenman <ler@lerctr.org>
2003-02-19 20:12:55 +00:00
Sean Chittenden
4153e1deae Update PostgreSQL to the maintenance release 7.3.2.
Fixes numerous bugs especially with various interface libraries and
pg_dump.  All users are advised to upgrade. This update fixes all known
problems with the postgresql7 port.  See release notes for details:

http://developer.postgresql.org/docs/postgres/release-7-3-2.html

A dump/restore is *not* required when upgrading to this version.

PR:		ports/47983 [1], ports/47284 [2], ports/47808 [3]
Submitted by:	maintainer [1]
		Jason C. Wells [2]
		Michel Oosterhof <m.oosterhof@xs4all.nl> [3]
2003-02-06 20:46:51 +00:00
Jimmy Olgeni
c4acdc239f Add new man pages.
PR:		47054
Submitted by:	Palle Girgensohn <girgen@rambutan.pingpong.net>
2003-01-14 17:00:24 +00:00
Edwin Groothuis
d2087c2111 Fix DISTFILES typo in databases/postgresql7/Makefile
PR:		ports/46749, ports/46748
Submitted by:	"Sergey A.Osokin" <osa@FreeBSD.org.ru>,Rong-en Fan <rafan@infor.org>
2003-01-04 12:18:54 +00:00
Sean Chittenden
d4d9e7f42f Download the PostgreSQL documentation and MD5 for the test bundle. These
should ideally be downloaded as needed to save bandwidth.

Submitted by:	Eric Hodel
2003-01-04 08:47:23 +00:00
Sean Chittenden
62e1bb4432 Update PostgreSQL to 7.3.1[1]. Fixes builds for spac64. Many speed,
security, and feature additions.  Reduce diffs between postgresql-devel
port.  Re-initdb required when upgrading from previous release.  See
release notes for details.

Schemas added are system catalogs updated. ::braces for impact::

http://developer.postgresql.org/docs/postgres/release.html#RELEASE-7-3-1

PR:		ports/46701
Submitted by:	girgen@pingpong.net
2003-01-04 01:10:15 +00:00
Nick Sayer
b77926499e Port update submitted by maintainer
PR: ports/44983
Submitted by: girgen@pingpong.net
2002-11-06 01:41:53 +00:00
Patrick Li
e62206d1a3 Update to 7.2.3 and maintainer's email address. All advised to update
to this version as soon as possible. Check PR description.

PR:		ports/43676
Submitted by:	maintainer
2002-10-06 07:42:36 +00:00
Akinori MUSHA
7f72a16364 Remove a dead .jp mirror and add the official .jp mirror instead.
Submitted by:	fenner's distfiles survey
2002-09-13 10:41:46 +00:00
Trevor Johnson
c80f4eaad8 Update to 7.2.2, which fixes several security bugs. Do not install
documentation--it will be in a separate port.

PR:			42009
Submitted by:		Palle Girgensohn (maintainer)
2002-08-26 08:12:40 +00:00
Trevor Johnson
8a19a03907 Forbid because of unconfirmed security bugs:
The following buffer overruns have been identified and
	addressed [in 7.2.2]:

	    * in handling long datetime input
	    * in repeat()
	    * in lpad() and rpad() with multibyte
	    * in SET TIME ZONE and TZ env var
2002-08-25 04:49:26 +00:00
Ade Lovett
c8eaa93644 Chase shlib rev of devel/gettext
Submitted by:	lots and lots
Pointy hat to:	ade
2002-08-01 16:22:41 +00:00
Sheldon Hearn
a1223905c9 Fix build on -CURRENT:
* The compiler in -CURRENT now complains if you precede -I/usr/include
  with -I... .  The same applies to -I/usr/lib .

* The distribution's configure file treats the compiler's unexpected
  warning message as a failure and errors out.

Maintainer notified in private mail.
2002-06-26 19:46:51 +00:00
Ade Lovett
f18cbf2fa6 gettext upgrade uber-patch (stage 3)
- switch devel/gettext (0.11.1) on, installing full package
- flip devel/gettext-old (0.10.35) to installing only static binaries
  with a "-old" suffix -- gettext-old will have its deorbit burn
  sequence initiated just after 4.6-RELEASE
- fix up ports for the new world order

Reviewed by:	portmgr
2002-04-12 17:10:20 +00:00
Ying-Chieh Liao
b345761190 upgrade to 7.2.1
PR:		36975
Submitted by:	maintainer
2002-04-11 04:58:11 +00:00
Mikhail Teterin
58f343497e Fix some bitrot for the non-default case of WITH_GETTEXT -- lib-depend
on -lintl instead of build-depending on msgfmt and make sure -lintl is
linked into the shared -lpq.

Approved by:	maintainer
2002-04-01 23:04:21 +00:00
Maxim Sobolev
62f2687e21 Add USE_SUBMAKE, where it might be necessary. 2002-03-25 09:19:20 +00:00
Ade Lovett
9210b7cb07 Stage 1 of gettext update.
Move gettext (0.10.35) with gettext-old
Update gettext from gettext-devel (0.10.40)
Remove gettext-devel
Fix dependencies

Stage 2 will involve upgraded gettext to 0.11 and fixing issues
Stage 3 involves a de-orbit burn sequence for gettext-old

Reviewed by:	portmgr
2002-03-15 19:44:29 +00:00
Tom Hukins
1476b01ea7 Fix building this Port with Kerberos.
The MAINTAINER has approved this (see ports/35161).

PR:		ports/35160
Submitted by:	Sean Chittenden <sean@chittenden.org>
Reviewed by:	maintainer
2002-02-21 17:55:48 +00:00
Pete Fritchman
a9e1eb0451 Fix a typo: $1 -> $? (we want to check the return code from dialog)
PR:		35143
Submitted by:	maintainer
Reported & fixed by:	olgeni
2002-02-20 16:47:48 +00:00
Vanilla I. Shu
0c0bcdc10b Upgrade to 7.2, and spilit into several ports.
PR:		ports/34855
Submitted by:	maintainer.
2002-02-19 08:23:22 +00:00
Ying-Chieh Liao
48b5404008 pre-everything needs two colons
PR:		32755
Submitted by:	Palle Girgensohn <girgen@partitur.se>
2001-12-12 19:30:35 +00:00
Mario Sergio Fujikawa Ferreira
75ad5febcb Style police: WWW tags should either end in a file/script or TRAILING /; Fix the later case 2001-11-20 23:29:38 +00:00
FUJISHIMA Satsuki
468686bf37 retire problematic MASTER_SITES.
PR:		30805
Submitted by:	maintainer
2001-09-24 22:54:42 +00:00
Peter Pentchev
6cdbe1f2de Correct the config file name.
PR:		30022
Submitted by:	maintainer
2001-08-24 14:32:43 +00:00
Clive Lin
5c871f4845 Update the PostgreSQL port to 7.1.3.
A note about how to install languages into a PostgreSQL database is added.

PR: ports/29916
Submitted by: Palle Girgensohn <girgen@partitur.se> (MAINTAINER)
              Michal Pasternak <doc@lublin.t1.pl> (the note)
2001-08-21 04:31:39 +00:00
Sheldon Hearn
3980028e05 Work around the way in which the package building cluster validates
ports by defining LIB_DEPENDS for the BATCH defaults in the Makefile.
The dynamic determination of LIB_DEPENDS in configure.postgresql
remains in place for the !BATCH case and is unaffected by this.

Remove trailing whitespace and an extraneous LDCONFIG_DIRS.

Submitted by:	maintainer
2001-07-27 11:56:39 +00:00
Sheldon Hearn
ce93c84ea1 Fix mtree errors preventing automated package building:
* Take a stab at removing the pgsql user's home directory on deinstall.

* Only remove man/manl and others when PG_PREFIX is set.

Submitted by:	maintainer
2001-07-25 08:07:44 +00:00
Jimmy Olgeni
6e24cd8744 Fix build when BATCH is defined, and remove redundant ${MKDIR} "-p" option.
PR:		28120
Submitted by:	Palle Girgensohn <girgen@partitur.se>
2001-06-13 14:37:45 +00:00
Akinori MUSHA
2d50ab98aa The configure script *must* run pre-fetch, since the dependencies are
checked in the fetch target. Before the patch below, make install will
fail to depend on Tcl/Tk, for instance.

Synchronize the batch and default interactive selections for optional
parts of the port.

PR:		ports/27949
Submitted by:	Palle Girgensohn <girgen@partitur.se> (MAINTAINER)
2001-06-13 03:16:57 +00:00
James E. Housley
9811a25b6c Forgotten file.
Add character sets to the server

PR:		27846
Submitted by:	Palle Girgensohn <girgen@partitur.se>
2001-06-04 11:53:50 +00:00
James E. Housley
80c544e830 Add character sets to the server
PR:		27846
Submitted by:	Palle Girgensohn <girgen@partitur.se>
2001-06-04 11:52:52 +00:00
David E. O'Brien
90eb686abd Use proper POSIX syntax for `chown'. 2001-06-01 06:05:18 +00:00
Ying-Chieh Liao
a668e73aec forget to remove patch
PR:		27676
Submitted by:	Palle Girgensohn <girgen@partitur.se>
2001-05-28 00:51:17 +00:00
FUJISHIMA Satsuki
b0cfe74d9c add Japanese mirror to MASTER_SITES. 2001-05-27 14:31:05 +00:00
Ying-Chieh Liao
bcb99491a7 upgrade to 7.1.2
PR:		27676
Submitted by:	maintainer
2001-05-27 12:10:49 +00:00
Alexander Langer
1f4300a57a Change the way the configure script is executed and included in order
to make dependencies work.
Call the script pre-fetch and include Makefile.inc AFTER it has been
created.

Reported by:	Disturbed FreeBSD newbie who couldn't figure out
		why this didn't work as expected.
2001-05-24 13:26:47 +00:00
Mikhail Teterin
8367fe1128 Fix the autogenerated LIB_DEPENDS for TCL.
PR:		ports/27416
Submitted by:	girgen@partitur.se (the maintainer)
2001-05-18 01:30:20 +00:00
Vanilla I. Shu
dc12b45807 Upgrade to 7.1.1
PR:		ports/27220
Submitted by:	maintainer
2001-05-09 06:00:37 +00:00
Jimmy Olgeni
785d876b22 Cosmetic changes for the shutdown procedure.
* Pass the -s option to pg_ctl, to avoid clobbering the display.
  It will show error messages only.

* Echo the port name after shutdown.

No functional changes, no PORTREVISION.
2001-05-02 11:44:38 +00:00
Jimmy Olgeni
87656e7d3f Specify the full path of the jakarta port's "ant" utility (/usr/local/bin) so
it won't be confused with the "ant" screensaver (in /usr/X11R6/bin).

PR:		26841
Submitted by:	Palle Girgensohn <girgen@partitur.se>
2001-04-25 17:23:33 +00:00
Jimmy Olgeni
a3b8729fbc Misc. changes and cleanups.
* Move the call to configure.postgresql7 from pre-fetch to pre-extract, so it
won't hang while performing batch fetch operations (like portupgrade -F)

* Add some TCL related files to pkg-plist.tcl, and add a PLIST_SUB in the
Makefile to register the correct tcl version in the plist.

* Do not start postgresql if the database directory does not exist: the
startup sequence could hang because of this.

* Use the "-s" option when starting postgresql with pg_ctl, so it won't
display informational messages. Display only the port name, as do other
packages startup scripts.

Approved by:	Palle Girgensohn <girgen@partitur.se>
2001-04-25 17:17:56 +00:00
Dmitry Sivachenko
b68f7c3ba9 Remove extra empty line. 2001-04-24 10:48:58 +00:00
Dmitry Sivachenko
a45b9d2e54 Add one more MASTER_SITE 2001-04-24 10:47:36 +00:00
Vanilla I. Shu
a2dae98959 Fix postgresql.jar link probram, and bump version too.
PR:		ports/26761
Submitted by:	maintainer
2001-04-23 04:13:02 +00:00
Vanilla I. Shu
bfb9f8e6c9 Upgrade to 7.1, change to new layout style.
PR:				ports/26741
Submitted by:	maintainer
2001-04-21 11:34:34 +00:00
Clive Lin
cf193c59d9 ldconfig PostgreSQL's lib should happen before starting *ANY* ports.
This would cure headache like apache module linking against libpq
fail to work after rebooting.

Originally, maintainer and I want this commit to go with the
PostgreSQL updating. But we both think that the latest PostgreSQL
would not be released before FreeBSD 4.3-RELEASE ports freeze.

As a conclusion, PORTREVISION bumped.

Discussed with/Submitted by: MAINTAINER
2001-03-15 19:26:26 +00:00
Clive Lin
429d8d4a88 Fix problems when installing postgresql7 with pkg_add:
- pkg-install used wrong uid#
- chown lib dir *after* it is created
- pkg-install created data dir where Makefile didn't
- add pkg-deinstall and remove user & group
- don't chown data dir, since we don't create it anymore
- spell and documentation fixes in the rc.d script

PR: ports/25817
Submitted by: MAINTAINER
2001-03-15 07:23:08 +00:00
Jimmy Olgeni
fc9e13fd5d Remove IS_INTERACTIVE, support batch compilation.
PR:		25247
Submitted by:	maintainer
2001-02-25 00:41:44 +00:00
Jimmy Olgeni
fa2d0e0a64 Treat pgsql's .profile as data: it could have been customized to change the
default database location.

Approved by:	maintainer
2001-02-22 21:06:03 +00:00
Jimmy Olgeni
84c5d89a6e Make the port more "package friendly".
Do not call initdb from Makefile's post-install. Users are required to
manually run initdb, maybe after configuring their preferred database
location in pgsql's user .profile. pkg_add used to simply replace some
existing data files.

Add pkg-message to tell the user about initdb.

Remove 2 empty directories from pkg-plist (pgsql/include/port/freebsd,
pgsql/include/port), since they are not included in "make package" anyway
and cause pkg_deinstall to complain about the plist.

Remove all pgsql/data contents from pkg-plist, so "make deinstall" and
pkg_delete won't clobber existing databases. Minor version upgrades can now be
performed by means of pkg_delete and "make install", without using pg_dump.

Chown %D/pgsql/lib to root:wheel to satisfy ldconfig's recent security
requirements.

Change @dirrm of pgsql to "@unexec rmdir": pkg_deinstall won't complain if
data still exists in that directory at deinstall time.

Approved by:	maintainer
2001-02-20 21:45:15 +00:00
Joseph Koshy
bc953d2968 Define IS_INTERACTIVE.
PR:		ports/23861
Submitted by:	David W. Chapman Jr. <dwcjr@inethouston.net>
2001-01-30 07:31:10 +00:00
Joseph Koshy
ac22c22af7 Do not set the shell for user "pgsql" to `/bin/nologin' at package install
time: this breaks the rc.d script.  Default to `/bin/sh' as a `make install'
would do.

PR:		ports/23534
Submitted by:	Nick Sayer
2001-01-30 07:27:00 +00:00
Will Andrews
60f2b6b7a8 Goodbye, YEAR2000. Hello, 2001.
Approved by:	asami
2001-01-01 10:15:16 +00:00
Steve Price
a348e709cc Update to version 7.0.3.
PR:		23371
Submitted by:	maintainer
2000-12-11 03:22:07 +00:00
Steve Price
1722222585 Palle Girgensohn <girgen@partitur.se> stepped forward and said that he
would like to maintain this port.
2000-12-08 06:12:19 +00:00
Andreas Klemm
444f1bc0fd hand maintenance of this port over to ports@FreeBSD.ORG
due to lack of time for maintaining and testing. Maybe
somebody other can do better than I.
2000-11-23 06:20:17 +00:00
Satoshi Asami
606d04df37 Rename PLIST.* to pkg-plist.*. 2000-10-08 00:04:36 +00:00
Andreas Klemm
4d0172d6b4 pl/Perl and ODBC support
Submitted by:	Nadav Eiron <nadav@cs.technion.ac.il>
2000-09-23 16:13:56 +00:00
Andreas Klemm
2c74b4f374 avoid:
ldconfig: /usr/local/pgsql/lib: ignoring directory not owned by root
during startup.

Submitted by:	tobez@tobez.org
2000-09-09 06:29:15 +00:00
Andreas Klemm
9c5433f993 sorry, forgot to remove that ... 2000-08-31 13:36:32 +00:00
Andreas Klemm
38b11af5db allow PostgreSQL to compile and run on Alpha.
The DB is 64-bit capable so really only a few
bits of configuration for FreeBSD were needed.

Submitted by:	Thomas Valentino Crimi <tcrimi+@andrew.cmu.edu>
2000-08-31 13:35:45 +00:00
Andreas Klemm
ade3e50d9e -LDCONFIG_DIRS= %%PREFIX%%/pgsql
+LDCONFIG_DIRS= %%PREFIX%%/pgsql/lib

Submitted by:	"Chris D. Faulhaber" <jedgar@fxp.org>
2000-07-11 19:03:58 +00:00
Akinori MUSHA
d78d23752a Use ${PKG_PREFIX} instead of `/usr/local'. 2000-06-20 05:16:27 +00:00
Akinori MUSHA
7145c7d0d1 Update to 7.0.2.
Fix NOPORTDOCS support.

Fix PLIST in many respects, especially for pgacess.
2000-06-20 05:08:07 +00:00
Akinori MUSHA
44de5f52b2 Enable multibyte support by default, and add knobs to disable it or set the
default encoding.

Still the "default" default encoding is singlebyte, so this shouldn't hurt
anything but a little code increase.

Approved by:	andreas (the maintainer)
2000-06-04 16:47:24 +00:00
Andreas Klemm
989d7f9fd3 make startup script work (start/stop)
Obtained from:	Palle Girgensohn <girgen@partitur.se>
2000-05-25 09:35:25 +00:00
Andreas Klemm
af0564d809 upgrade postgresql to v 7.0 release
thanks for complete diffs ;-)
closed PR

PR:	18699
Obtained from:	Palle Girgensohn <girgen@partitur.se>
2000-05-24 14:11:19 +00:00
Michael Haro
ad963fa132 portlint 2000-04-20 05:04:31 +00:00
Andreas Klemm
358c2408d6 Update to postgresql 7 beta 5
closes PR

PR:		17736
2000-04-17 20:56:06 +00:00
Jeremy Lea
877b8a533b Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO.  Begin the process of reserving these prefixes for user defined
options.

No comment by:	ports
2000-04-17 00:18:05 +00:00
Andreas Klemm
d6eb50cc40 Close PR
Postgresql port now can be packaged.
User and group will be created automatically

PR:		17744
Submitted by:	Adrian Filipi-Martin <adrian@ubergeeks.com>
2000-04-16 18:43:19 +00:00
Michael Haro
3da86c6aa2 update with the new PORTNAME/PORTVERSION variables 2000-04-08 22:49:07 +00:00
Andreas Klemm
33820a8bca Long awaited upgrade to postgresql 6.5.3
Upgrade to pgaccess 0.98 follows

PR:		15708 15034
2000-01-03 06:45:51 +00:00
Bill Fumerola
39641c62d5 remove toasted MASTER_SITE 1999-11-23 02:55:53 +00:00
Andreas Klemm
0ed2bcaaa8 More reasonable MANPATH
Submitted by:	Donald Chan <donald@batti.com>
1999-11-08 20:43:39 +00:00
Chris Piazza
d72365ae81 Update to version 6.5.2.
and..

<quote>
This is a really small fix:
 - When compiling postgresql-jdbc, the compilation process presents a
bad path to the installed jar-file.
</quote>

PR:             13838
PR:		13865
Submitted by:   Palle Girgensohn <girgen@partitur.se>
1999-10-10 22:06:35 +00:00
Michael Haro
65ab34a667 FreeBSD.ORG -> FreeBSD.org
Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
1999-08-31 06:53:31 +00:00
Peter Wemm
2b09b24e6f $Id$ -> $FreeBSD$ 1999-08-29 11:03:05 +00:00
David E. O'Brien
c751fc667a Change Id->FreeBSD. 1999-08-25 05:28:01 +00:00
Michael Haro
5281212be3 chmod -> ${CHMOD}
chown -> ${CHOWN}
1999-08-22 19:01:07 +00:00
Andreas Klemm
20d2521641 Update postgresql to 6.5.1
maintenance release with bugfixes
Thanks for the complete submission !

Submitted by:	Palle Girgensohn <girgen@partitur.se>
1999-07-21 07:16:27 +00:00
Andreas Klemm
e804f70a3f Forgot to add the two PLIST files... Sorry.
Submitted by:	Gaute Nessan <gaute@Norway.EU.net>
1999-07-02 13:42:29 +00:00
Andreas Klemm
bb9c54fedd These were missing as well 1999-06-29 20:25:13 +00:00
Andreas Klemm
2f370ca282 Forgot to add this patch 1999-06-29 20:23:43 +00:00
Andreas Klemm
78c0c17b37 upgrade to postgresql 6.5
did some small modifications

Obtained from:	"Palle Girgensohn" <girgen@partitur.se>
1999-06-29 20:21:49 +00:00
David E. O'Brien
d378d1eaa0 BROKEN='unfetchable, version 6.5 is the latest' 1999-06-26 20:59:57 +00:00
Tim Vanderhoek
748713c3f6 As threatened, enforce the "Capital, no period" rule. Ellipses are
permitted.  Note that, given current numeric motif of PW, this is done
in four equally-sized commits of 393 files each.
1999-06-26 17:19:19 +00:00
Steve Price
065887ec00 This one doesn't build on the Alpha yet, but should soon. 1999-06-22 17:16:42 +00:00
Bill Fumerola
86faaeaabf Add some more MASTER_SITES which does absolutly nothing until someone
upgrades this to the allegedly fantastic 6.5. However, it's the thought
that counts, right?
1999-06-18 21:27:38 +00:00
Michael Haro
c088d09f2d s,/usr/local,${PREFIX}, 1999-06-05 19:55:24 +00:00
Michael Haro
43ba6e5a93 add another mastersite 1999-04-20 20:32:53 +00:00
Marc G. Fournier
9eccb6831e Move WWW_SITE to pkg/DESCR:WWW from Makefile 1999-04-14 00:03:19 +00:00
Andreas Klemm
8f862ffba0 add a note, that in order to install and run postgresql, you need kernel with
options	"SYSVSHM, SYSVSEM, SYSVMSG"

PR:		6321
1999-04-12 20:39:12 +00:00
Bill Fumerola
049b253ab2 Proper URLs that reference directories end in '/' 1999-04-08 19:05:48 +00:00
Marc G. Fournier
35401f79cd Commit all Y2K/WWW_SITE changes to Makefiles... 1999-03-11 20:33:50 +00:00
Steve Price
a1f4ee2ef1 Forgot the PLIST changes. 1999-02-04 02:07:59 +00:00
Steve Price
bb494e9cb2 Fix build for ELF and update PLIST to match the current state of affairs.
PR:		9685
1999-02-04 02:06:37 +00:00
Andreas Klemm
587a7150b3 Update from 6.4 to 6.4.2
Reviewed by:	me
Submitted by:	David Kelly <dkelly@nebula.tbe.com>
1999-01-19 21:18:31 +00:00
Marc G. Fournier
46897616d4 Add a Y2K= variable to Makefile pointing at Y2K statement for software
Start up a /usr/ports/YEAR2000 file to provide a central location for all
software.  Will be buildling a nightly run shell script to pull all the Y2K
variables from ports, so that the central list remains reasonably up to date...
1999-01-12 18:17:42 +00:00
Bill Fumerola
0416cf4f66 respect CFLAGS, not set it.
PR:		ports/8803 (sorta)
Reviewed by:	Scrappy (sorta)
Submitted by:	billf
1998-12-23 17:37:03 +00:00
Satoshi Asami
d56acaa582 Fix bogon in previous commit by scrappy -- move ldconfig lines back to
the right place so they will actually be run on the libraries, not some
text files.
1998-12-22 05:36:02 +00:00
Satoshi Asami
ad69327852 Add PKGNAME without the "v" in version number. 1998-11-24 05:09:06 +00:00
Marc G. Fournier
cde9cfb4d2 Upgrade to PostgreSQL v6.4
From: Cyrus Rahman <cr@jcmax.com>
1998-11-22 21:33:20 +00:00
Justin M. Seger
3c92df3d36 Unbreak.
Submitted by:	steve
1998-10-16 02:42:29 +00:00
Justin M. Seger
084e6ca0c4 Mark BROKEN for ELF:
ld -x -Bshareable -Bforcearchive -o libpq.so.1.1 fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-lobj.o dllist.o pqsignal.o pqcomprim.o
/usr/libexec/elf/ld: unrecognized option `-Bforcearchive'
gmake[2]: *** [libpq.so.1.1] Error 1
gmake[2]: Leaving directory `/usr/ports/databases/postgresql/work/postgresql-6.3.2/src/interfaces/libpq'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/databases/postgresql/work/postgresql-6.3.2/src/interfaces'
gmake: *** [all] Error 2
1998-10-12 04:12:35 +00:00
Satoshi Asami
b6d6b302c9 tcl80 has been ELFized. 1998-09-25 10:07:46 +00:00
Tim Vanderhoek
878a2c2268 Long live feminism! No manpages! Nyah-hah-hah! 1998-08-17 08:32:00 +00:00
Satoshi Asami
3e428be080 Andreas forgot to delete PATCH_DEBUG.... 1998-04-22 08:28:07 +00:00
Andreas Klemm
36f89aec96 Upgrade postgresql to version 6.3.2
Many bugfixes and cosmetic changes
Changes by Scrappy and me
My additional changes:
- had to link libpgtcl.so with the crypt library to get rid of the
  pgaccess error message, that crypt is missing
- had to add -i option in the startup script, so that pgaccess is
  able to connect to the postmaster process
- removed all unnecessary patches
- updated PLIST
Thanks to the postgresql developement team, who did a great job to
simplify the postgresql port, by applying the patches and making
the autoconf mechanism more consistent.
Submitted by:	The Hermit Hacker <scrappy@hub.org>
1998-04-21 21:52:10 +00:00
Andreas Klemm
9fa14a7780 Postgresql binary isn't fetchable, was removed from the master sites.
I think this is ok'd by Satoshi.
Submitted by:	jseger@freebsd.scds.com
1998-03-22 16:45:18 +00:00
Andreas Klemm
047fa2d6d6 Forgot cvs add for the previous commit.
Please test.
1998-01-31 18:26:49 +00:00
Alexander Langer
dab61dff14 No need to use += on first appearance of variables. 1997-12-24 01:21:47 +00:00
Satoshi Asami
823b320960 Delete the database before installation if PACKAGE_BUILDING is defined
-- we are obviously not interested in keeping the old versions around
in that case.
1997-12-04 11:44:52 +00:00
Justin M. Seger
cc589c133c Remove bad MASTER_SITE and fix version required line. 1997-11-26 23:42:12 +00:00
Andreas Klemm
d8d6ed40b4 update to 6.2.1, possibly more committs to come (PLIST) 1997-10-30 14:34:25 +00:00
Andreas Klemm
ac27474d25 a symlink was missing
thanks John, for testing the port
Submitted by:	John Fiber
1997-10-05 21:12:29 +00:00
Andreas Klemm
a53f1f9a5e - remove the ampersand, postmaster process automatically goes into
background because of the -S option.
- remove the -D datadir option, it's meaningless, because the pgsql
  user environment overwrites it with the PGDATA env variable.
  Since this is important and might cause some headache, I mentioned
  this in ~pgsql/.profile and the startup script.
Submitted by:	John Fiber
1997-10-05 21:00:49 +00:00
Andreas Klemm
686511f050 Point to pgaccess in the post-installation notes. 1997-10-05 10:23:18 +00:00
Andreas Klemm
463e2f07fc libpq and libpgtcl shared libs get both a major and minor release number.
Fixed the wrong libpq symlink after "make install".
Updated PLIST.
Have to change pgaccess port now, to load the correct lib after
major minor change.
1997-10-05 00:34:53 +00:00
Andreas Klemm
65d15ee84b make pgaccess finally work ;-)
- in order to access the template1 database as pgsql user, the
  environment needs the DISPLAY variable set to at least ":0"
- pgaccess loads dynamically the libpgtcl.1, some symbols from
  another dynamic lib are needed as well -> libpq.so.1.0
  Makefile (patch-af) modified (copied from the Linux clause),
  so that shared lib libpgtcl is created with proper loader flags.
1997-10-04 23:38:59 +00:00
Andreas Klemm
06e9686a05 make USE_TCL=yes compiles libpgtcl subdir which is needed
for building the tcl/tk based database frontend pgaccess.
For an updated version of this tool a separate port will
follow. Please test these changes well, so that we get a
nice PostgreSQL 6.2 version up and running "b4" port freeze ;-)
1997-10-04 22:43:26 +00:00
Andreas Klemm
e0f099c73b forgot the backslashes in the script. 1997-10-03 18:26:54 +00:00
Andreas Klemm
8f5d33e0f1 Upgrade from version 6.1.1 to 6.2
Please note: when performing a migration to 6.2 and you have an existing db,
then you have to use the *new* pg_dumpall script that comes with this new
postgresql release. The INSTALL file points this out explicitely !!!

Changes:
- startup script resides in FILESDIR
- renamed it to be in sync with INSTALL file from sources
- always install this startup script over an existing, because
  of the nature of the rc.d directory I can't install it
  to pgsql.sh-dist, if a pgsql.sh is already presend ...
- portlint detected trailing whitespace, usage of perl with absolute
  path, usage of echo instead of ECHO and plenty things of this kind
- post installation notes updated, mentioned the mailing list
- copies the html pages as well to the share/doc directory (new manual dir)
- had to update PLIST
- shortened DESCR file, to match the 24 lines
- added post build target, that reminds the admin how to proceed when
  already having a database -> INSTALL file describes migration
- updated manpages
1997-10-03 14:13:36 +00:00
Andreas Klemm
addd670635 Upgrade from 6.1 to 6.1.1 1997-09-27 21:43:52 +00:00
Masafumi Max NAKANE
5e5eddfc60 ldconfig -> ${LDCONFIG}. 1997-07-17 15:13:02 +00:00
Andreas Klemm
8293f985d0 - Add shared lib using ldconfig -m before trying to init databases
- Added missing ldconfig -m in startup file
- Modified pgsql user environment
- Make port NOPORTDOCS aware
- Add additional port docs to post-install target and updated PLIST
- recursively change owner of pgsql directory after creating .profile,
  so that .profile can be modified by the pgsql user.
Hope everything is fine now.
1997-06-14 21:10:42 +00:00
Andreas Klemm
7849285de8 Update from 6.0 to 6.1
Enabled locale support, please tell me, if this ok or causes trouble.
Thanks.
1997-06-14 19:40:05 +00:00
Marc G. Fournier
24f9f94485 Change comment so that its there when INDEX regenerates 1997-04-10 23:29:17 +00:00
Marc G. Fournier
7f00346cb9 Update the DESCR file 1997-04-10 22:22:06 +00:00
Marc G. Fournier
3c5198c1f3 Update postgresql port from v1.09 to v6.0 using files from PostgreSQL
port, which is going to be removed
1997-04-10 19:15:12 +00:00
Peter Wemm
52f5f9f7a2 revive postgres95 as postgresql with full history as requested by Satoshi. 1997-04-09 15:30:55 +00:00
James FitzGibbon
733a9d1466 Remove now obsolete postgres95 port
Clean up newly imported PostgreSQL port:
	- variable reorganization and cleanup
	- remove NOMANCOMPRESS conditional in favour of MAN?=
	- prevent import of installing user's $PATH into ${PREFIX}/pgsql/.profile
	- change package name to remove 'v'
	- remove some of the latent bugs left over from the postgres95 port.
1997-04-02 18:18:04 +00:00