Commit graph

167 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
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