Commit Graph

132 Commits

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