Commit Graph

117 Commits

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