Commit Graph

31 Commits

Author SHA1 Message Date
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
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
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
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
Andreas Klemm
358c2408d6 Update to postgresql 7 beta 5
closes PR

PR:		17736
2000-04-17 20:56:06 +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
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
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
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
Steve Price
a1f4ee2ef1 Forgot the PLIST changes. 1999-02-04 02:07:59 +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
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
Tim Vanderhoek
878a2c2268 Long live feminism! No manpages! Nyah-hah-hah! 1998-08-17 08:32:00 +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
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
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
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
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
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
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
James FitzGibbon
38b7858712 Upgrade to v1.08
Reviewed by:	jfitz@FreeBSD.ORG
Submitted by:	matt@bdd.net
1996-10-10 12:54:03 +00:00
James FitzGibbon
7e2c38daba Upgrade to 1.07
Reviewed by:	jfitz@FreeBSD.ORG
Submitted by:	matt@bdd.net
1996-09-26 01:43:09 +00:00
James FitzGibbon
05209f589d Import of Postgres95, a next-generation DMBS research prototype.
Reviewed by:	jfitz@FreeBSD.ORG
Submitted by:	Matthew Stein <matt@bdd.net>
1996-09-23 22:40:15 +00:00