Commit graph

94 commits

Author SHA1 Message Date
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