Commit graph

34 commits

Author SHA1 Message Date
wiz
7744631da9 Add comment character before line continuation. 2002-08-30 16:58:44 +00:00
hubertf
fcc4db1c36 Hint on what's need for SSL 2002-08-30 16:41:07 +00:00
jlam
1c57323789 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:48:57 +00:00
hubertf
e0d518ae4c Replace all these URLs with some real information 2002-08-22 22:36:26 +00:00
jlam
32ff560e01 Copy crypt.h handling on SunOS from the postgresql-lib package. This
addresses pkg/17781 submitted by Julien T. Letessier
<julien.letessier at sun dot com>.
2002-08-07 07:28:35 +00:00
cjs
37230c83e7 Don't hard-code PGHOME; get it from the passwd file. 2002-07-18 01:40:07 +00:00
jlam
721e70574c Add a few error checks for whether the commands we want to execute actually
exist.
2002-04-05 16:23:23 +00:00
abs
5f28d1c502 If we do not have /etc/rc.subr, but we do have /etc/rc.conf, still source it. 2002-04-05 09:50:16 +00:00
jlam
90a9130fb1 Update postgresql and related packages to 7.2. Thanks to Michael Graff
<explorer@flame.org> for most of the work on this update.

Pkgsrc changes from the previous version include removing Makefile.ssl and
some patches that have been integrated into this release of PostgreSQL.  We
leave open the question of when to byte-compile the Python modules for the
PyGreSQL interface and just do it as before, although we should consider
doing the compilation as a post-install step to ensure that the timestamps
are correct.  We also reorder some lines in the Makefile to include
Makefile.common below certain definitions (GNU_CONFIGURE, USE_BUILDLINK_ONLY)
as they may possibly trigger different portions of Makefile.common.

*** Please note that a dump/restore is required to migrate an existing ***
*** PostgreSQL installation to 7.2.                                    ***

Major changes from version 7.1.3 are geared toward improving use in
high-volume applications and include:

   VACUUM
	   Vacuuming no longer locks tables, thus allowing normal user access
           during the vacuum. A new "VACUUM FULL" command does old-style
           vacuum by locking the table and shrinking the on-disk copy of the
           table.

   Transactions
           There is no longer a problem with installations that exceed four
           billion transactions.

   OID's
           OID's are now optional. Users can now create tables without OID's
           for cases where OID usage is excessive.

   Optimizer
           The system now computes histogram column statistics during
           "ANALYZE", allowing much better optimizer choices.

   Security
           A new MD5 encryption option allows more secure storage and
           transfer of passwords. A new Unix-domain socket authentication
           option is available on Linux and BSD systems. PAM authentication
           is also available.

   Statistics
           Administrators can use the new table access statistics module to
           get fine-grained information about table and index usage.
2002-04-04 07:41:00 +00:00
jlam
159f541497 Fix bug in in "/etc/rc.d/pgsql stop": we need to use "fast" mode rather
than "smart" mode so that the the database will always cleanly shutdown.
Previously, postgres would wait for clients to disconnect before stopping
the database process, which sometimes resulted in unclean shutdowns.
Problem noted by Curt Sampson <cjs@cynic.net> in private email.

I also convert this to use /etc/rc.subr if it is present.
2002-04-04 05:21:50 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
jlam
a77c19dfb9 Remove dependency on libgetopt. Systems without libgetopt in the base
install will simply use the PostgreSQL getopt implementation instead.
2001-12-31 20:53:53 +00:00
jlam
35cdfd9d76 Use PKGREVISION to manage the package-specific version number when it
differs from the distfile version number.  G/C some the unused variables
in postgresql/Makefile.common related to the old way of handling version
numbers.
2001-12-03 08:06:24 +00:00
jlam
55ffb37406 bsd.pkg.install.mk calls the INSTALL script at the right times
automatically, so no need to do it ourselves.
2001-12-02 06:56:38 +00:00
jlam
678c0f86f8 Use PKG_{USERS,GROUPS} instead of PKG_{USER,GROUP}. 2001-11-26 20:38:31 +00:00
jlam
cdec44e8b4 RCD_SCRIPTS now just lists the filenames (see bsd.pkg.install.mk). 2001-11-21 15:44:22 +00:00
jlam
b23d2e8626 Adapt to use shared INSTALL/DEINSTALL scripts by using the logic in
bsd.pkg.install.mk:

	* Remove old DEINSTALL/INSTALL scripts.
	* Move some text printed at POST-INSTALL time into the MESSAGE file.
	* Adjust rc.d scripts to respect rc.conf settings, so that the
	  script may be directly copied into /etc/rc.d.
2001-11-19 16:23:08 +00:00
zuntum
0ca28723fb Move pkg/ files into package's toplevel directory 2001-11-01 00:11:36 +00:00
jlam
eaa7dc2c7c Manually add LIBS+=${LIBGETOPT} to the package Makefile as it's no longer
automatically added by libgetopt/buildlink.mk.
2001-08-20 03:55:31 +00:00
jlam
e085ee5316 grep isn't used anymore, so don't substitute for @GREP@ in the INSTALL
files.  Substitute for @ID@ instead of directly using 'id', and use the
value of ${ID} already set in defs.*.mk.
2001-08-14 03:41:37 +00:00
veego
e109514d03 Fix same problems with the user check:
- use 'id' instead of 'finger'. this is not a real problem, but it
  is enough and fixing the next problem makes it possible to use it.
- grep -q doesn't work on solaris, so use a different way to suppress
  the output from the user check.
- the return code check for the user was reversed.
2001-08-12 19:55:56 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
a85615f592 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-21 21:40:07 +00:00
jlam
dbfde59b14 The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra
definitions to add them from the package Makefiles.  As advised by the
bsd.buildlink.mk file, also ensure that the buildlink.mk files are
included prior to defining any package-specific CFLAGS/LDFLAGS to ensure
that the buildlink directories are at the head of the compiler search
paths.
2001-06-11 02:05:07 +00:00
jlam
3bc5e40254 Remove dependency on ${BUILDLINK_TARGETS} in pre-configure and pre-build
targets as the buildlink.mk files now add the dependency automatically.
Remove any NO_CONFIGURE definitions as they seem to be useless.
2001-06-10 00:08:41 +00:00
jlam
54718a4db7 Standardize name of file to include for build-links to be "buildlink.mk".
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers
and libraries.  Create a variable BUILDLINK_TARGETS whose value is the
list of build-link targets to execute.
2001-05-24 08:53:54 +00:00
abs
37e6cc7ad4 Use useradd and groupadd on Linux as well as SunOS 2001-05-21 16:02:50 +00:00
jlam
d4ab5f3da9 Move the message that informs the user of the possible need to dump the
databases prior to installing a new version of PostgreSQL from PRE-INSTALL
time to DEINSTALL time.  Remove ${CAT} from the INSTALL file as it's no
longer needed in the script.
2001-05-18 06:13:54 +00:00
jlam
ab99782500 Cosmetic change: sort Makefile includes 2001-05-16 15:28:42 +00:00
abs
b892878632 Update for moved Makefile.getopt 2001-05-16 09:48:58 +00:00
jlam
10595de167 Surround possible empty string in quotes so [ sees an argument. 2001-05-14 21:19:42 +00:00
jlam
8c14b14d95 Generalize some of the code a bit to make it easier to cut-and-paste into
other scripts.
2001-05-14 21:02:39 +00:00
jlam
aac27413ec Move database initialization step from the INSTALL script to a
start_precmd in the pgsql rc.d script.  This is more correct, since if
postgresql-server is installed but never used, then no database really
needs to be initialized.  As a side-effect, the bulk-builds of postgresql
should now leave less crud in the aftermath of deinstalling postgresql.
2001-05-14 20:38:56 +00:00
jlam
d5ea6e5030 postgresql-server: PostgreSQL database backend server programs
This package also has an enhanced rc.d-style startup script that respects
rc.conf settings.  If you are running NetBSD>=1.5, then add pgsql=YES to
/etc/rc.conf, and set pgsql_flags to any options you wish to pass to the
postmaster.
2001-05-14 14:50:23 +00:00