Commit graph

39 commits

Author SHA1 Message Date
snj
67721bd22d Convert to buildlink3. 2004-04-27 04:59:42 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
jlam
05458d686b Remove USE_BUILDLINK2 from Makefile.common and distribute the setting to
all of the package Makefiles that include Makefile.common.
2004-01-20 14:11:49 +00:00
explorer
1bf96bf4ba Add 'ulimit -n 4096' to increase the number of FDs postgresql can use. This is what we do for mysql-server as well. Bump to nb3. 2003-11-14 01:46:39 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
jmmv
6d9ccf016f Specify the category when including other files and when depending on other
packages.  From PR pkg/21864 by ccatrian at eml.cc.
2003-09-18 16:25:08 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
abs
205966be42 Update to postgresql-server-7.3.3nb1
In rc.d/pgsql call pgsql_initdb directly for initial database
	setup, rather than trying to determine the script location
	from $0 and calling '$rcd_dir/pgsql initdb'. The previous
	form broke when called from /etc/rc.
2003-07-16 10:35:15 +00:00
cjep
36f9d769e6 Add in SVR4 pkg names. 2003-03-25 15:13:47 +00:00
mycroft
a5b71796c1 Update postgresql-* to 7.3.2. Contains numerous bug fixes, including remote
holes.

   Restore creation of OID column in CREATE TABLE AS / SELECT INTO
   Fix pg_dump core dump when dumping views having comments
   Dump DEFERRABLE/INITIALLY DEFERRED constraints properly
   Fix UPDATE when child table's column numbering differs from parent
   Increase default value of max_fsm_relations
   Fix problem when fetching backwards in a cursor for a single-row query
   Make backward fetch work properly with cursor on SELECT DISTINCT query
   Fix problems with loading pg_dump files containing contrib/lo usage
   Fix problem with all-numeric user names
   Fix possible memory leak and core dump during disconnect in libpgtcl
   Make plpython's spi_execute command handle nulls properly (Andrew Bosma)
   Adjust plpython error reporting so that its regression test passes again
   Work with bison 1.875
   Handle mixed-case names properly in plpgsql's %type (Neil)
   Fix core dump in pltcl when executing a query rewritten by a rule
   Repair array subscript overruns (per report from Yichen Xie)
   Reduce MAX_TIME_PRECISION from 13 to 10 in floating-point case
   Correctly case-fold variable names in per-database and per-user settings
   Fix coredump in plpgsql's RETURN NEXT when SELECT into record returns
        no rows
   Fix outdated use of pg_type.typprtlen in python client interface
   Correctly handle fractional seconds in timestamps in JDBC driver
   Improve performance of getImportedKeys() in JDBC
   Make shared-library symlinks work standardly on HPUX (Giles)
   Repair inconsistent rounding behavior for timestamp, time, interval
   SSL negotiation fixes (Nathan Mueller)
   Make libpq's ~/.pgpass feature work when connecting with PQconnectDB
   Update my2pg, ora2pg
   Translation updates
   Add casts between types lo and oid in contrib/lo
   fastpath code now checks for privilege to call function
2003-02-21 16:09:51 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
lukem
8b21c4ee4b fix typo 2003-01-20 22:39:27 +00:00
jlam
c870cd3712 Install the conversion modules and SQL script for postgresql. Bump the
PKGREVISION of databases/postgresql-server to 1.
2003-01-11 02:13:54 +00:00
jlam
4ec712783e Updated databases/postgresql to 7.3.1.
==================================================================
      | NOTE:  A dump-and-restore is required to update your databases |
      |        if you wish to update postgresql-server. If your        |
      |        application examines the system catalogs, additional    |
      |        changes will be required due to the introduction of     |
      |        schemas in 7.3; for more information, see:              |
      |                                                                |
      |   http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3   |
      ==================================================================

Major changes from version 7.2.3 include:

   Schemas
          Schemas allow users to create objects in separate namespaces,
          so two people or applications can have tables with the same
          name. There is also a public schema for shared tables.
          Table/index creation can be restricted by removing permissions
          on the public schema.

   Drop Column
          PostgreSQL now supports the ALTER TABLE ... DROP COLUMN
          functionality.

   Table Functions
          Functions returning multiple rows and/or multiple columns are
          now much easier to use than before. You can call such a "table
          function" in the SELECT FROM clause, treating its output like a
          table. Also, PL/pgSQL functions can now return sets.

   Prepared Queries
          PostgreSQL now supports prepared queries, for improved
          performance.

   Dependency Tracking
          PostgreSQL now records object dependencies, which allows
          improvements in many areas. "DROP" statements now take either
          CASCADE or RESTRICT to control whether dependent objects are
          also dropped.

   Privileges
          Functions and procedural languages now have privileges, and
          functions can be defined to run with the privileges of their
          creator.

   Internationalization
          Both multibyte and locale support are now always enabled.

   Logging
          A variety of logging options have been enhanced.

   Interfaces
          A large number of interfaces have been moved to
          http://gborg.postgresql.org where they can be developed and
          released independently.

   Functions/Identifiers
          By default, functions can now take up to 32 parameters, and
          identifiers can be up to 63 bytes long. Also, OPAQUE is now
          deprecated: there are specific "pseudo-datatypes" to represent
          each of the former meanings of OPAQUE in function argument and
          result types.
2003-01-05 20:12:07 +00:00
jlam
60667c3404 Don't create ${PGHOME} at install time, as the rc.d script will do it for
us the first time that pgsql is run.
2002-10-19 19:03:59 +00:00
jlam
1f2f4c68c5 Update databases/postgresql to version 7.2.3.
This has a variety of fixes from 7.2.2, including fixes to prevent
   possible data loss.

   A dump/restore is *not* required for those running 7.2.X.

Changes from version 7.2.2 include:

 Prevent possible compressed transaction log loss (Tom)
 Prevent non-superuser from increasing most recent vacuum info (Tom)
 Handle pre-1970 date values in newer versions of glibc (Tom)
 Fix possible hang during server shutdown
 Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima)
 Fix pg_dump to properly dump FULL JOIN USING (Tom)
2002-10-19 03:03:49 +00:00
jlam
5c053dd06a Take advantage of the auto-generation and installation of rc.d scripts. 2002-09-19 09:04:02 +00:00
jlam
e507190d0d When using bsd.pkg.install.mk, if a DEINSTALL or INSTALL file already
exists, then use it as the default value of DEINSTALL_EXTRA_TMPL or
INSTALL_EXTRA_TMPL.
2002-09-18 21:15: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
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
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
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
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
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
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