diff options
-rw-r--r-- | databases/postgresql73-lib/DESCR | 9 | ||||
-rw-r--r-- | databases/postgresql73-lib/INSTALL | 14 | ||||
-rw-r--r-- | databases/postgresql73-lib/Makefile | 47 | ||||
-rw-r--r-- | databases/postgresql73-lib/PLIST | 368 | ||||
-rw-r--r-- | databases/postgresql73-lib/buildlink3.mk | 24 | ||||
-rw-r--r-- | databases/postgresql73-lib/files/man.lib | 3 |
6 files changed, 465 insertions, 0 deletions
diff --git a/databases/postgresql73-lib/DESCR b/databases/postgresql73-lib/DESCR new file mode 100644 index 00000000000..8e9d35b4af6 --- /dev/null +++ b/databases/postgresql73-lib/DESCR @@ -0,0 +1,9 @@ +PostgreSQL is a robust, next-generation, Object-Relational DBMS (ORDBMS), +derived from the Berkeley Postgres database management system. While +PostgreSQL retains the powerful object-relational data model, rich data types +and easy extensibility of Postgres, it replaces the PostQuel query language +with an extended subset of SQL. + +PostgreSQL is free and the complete source is available. + +This package contains the database headers and libraries. diff --git a/databases/postgresql73-lib/INSTALL b/databases/postgresql73-lib/INSTALL new file mode 100644 index 00000000000..a712ce8319d --- /dev/null +++ b/databases/postgresql73-lib/INSTALL @@ -0,0 +1,14 @@ +#!/bin/sh +# +# $NetBSD: INSTALL,v 1.1.1.1 2004/07/24 22:17:56 recht Exp $ + +case ${STAGE} in +VIEW-INSTALL) + ${RM} -f ${PKG_PREFIX}/include/pgsql + ${LN} -fs postgresql ${PKG_PREFIX}/include/pgsql + ;; + +VIEW-DEINSTALL) + ${RM} -f ${PKG_PREFIX}/include/pgsql + ;; +esac diff --git a/databases/postgresql73-lib/Makefile b/databases/postgresql73-lib/Makefile new file mode 100644 index 00000000000..dc3481fc697 --- /dev/null +++ b/databases/postgresql73-lib/Makefile @@ -0,0 +1,47 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/07/24 22:17:56 recht Exp $ + +PKGNAME= postgresql73-lib-${BASE_VERS} +SVR4_PKGNAME= pstgl +COMMENT= PostgreSQL database headers and libraries + +PKG_INSTALLATION_TYPES= overwrite pkgviews +USE_BUILDLINK3= yes + +.include "../../databases/postgresql73/Makefile.common" + +CONFIGURE_ARGS+= --with-openssl=${SSLBASE} +BUILD_DIRS= ${WRKSRC}/src/include +BUILD_DIRS+= ${WRKSRC}/src/interfaces +BUILD_DIRS+= ${WRKSRC}/src/pl + +USE_PKGINSTALL= yes +DEINSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL +INSTALL_EXTRA_TMPL= ${.CURDIR}/INSTALL + +INSTALLATION_DIRS= man + +.if ${OPSYS} == "FreeBSD" +PLIST_SUBST+= LIBECPG="@comment " +PLIST_SUBST+= LIBPQ="@comment " +.else +PLIST_SUBST+= LIBECPG= +PLIST_SUBST+= LIBPQ= +.endif + +post-buildlink: +# +# Avoid conflict between "${LOCALBASE}/include/openssl/des.h" and +# "/usr/include/crypt.h" -- we want the definitions in the former. +# +.if (${OPSYS} == "SunOS") + ${TOUCH} ${BUILDLINK_DIR}/include/crypt.h +.endif + +post-install: + cd ${WRKSRC}/src/include && ${SETENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} install-all-headers + ${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \ + `${SED} -e "s|^#.*||" ${FILESDIR}/man.lib` + +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/postgresql73-lib/PLIST b/databases/postgresql73-lib/PLIST new file mode 100644 index 00000000000..ba41c18edda --- /dev/null +++ b/databases/postgresql73-lib/PLIST @@ -0,0 +1,368 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:17:58 recht Exp $ +bin/ecpg +include/postgresql/ecpgerrno.h +include/postgresql/ecpglib.h +include/postgresql/ecpgtype.h +include/postgresql/internal/c.h +include/postgresql/internal/lib/dllist.h +include/postgresql/internal/libpq-int.h +include/postgresql/internal/libpq/pqcomm.h +include/postgresql/internal/postgres_fe.h +include/postgresql/internal/pqexpbuffer.h +include/postgresql/libpq-fe.h +include/postgresql/libpq/libpq-fs.h +include/postgresql/pg_config.h +include/postgresql/pg_config_os.h +include/postgresql/postgres_ext.h +include/postgresql/server/access/attnum.h +include/postgresql/server/access/clog.h +include/postgresql/server/access/genam.h +include/postgresql/server/access/gist.h +include/postgresql/server/access/gistscan.h +include/postgresql/server/access/hash.h +include/postgresql/server/access/heapam.h +include/postgresql/server/access/hio.h +include/postgresql/server/access/htup.h +include/postgresql/server/access/ibit.h +include/postgresql/server/access/iqual.h +include/postgresql/server/access/istrat.h +include/postgresql/server/access/itup.h +include/postgresql/server/access/nbtree.h +include/postgresql/server/access/printtup.h +include/postgresql/server/access/relscan.h +include/postgresql/server/access/rmgr.h +include/postgresql/server/access/rtree.h +include/postgresql/server/access/rtscan.h +include/postgresql/server/access/sdir.h +include/postgresql/server/access/skey.h +include/postgresql/server/access/strat.h +include/postgresql/server/access/transam.h +include/postgresql/server/access/tupdesc.h +include/postgresql/server/access/tupmacs.h +include/postgresql/server/access/tuptoaster.h +include/postgresql/server/access/valid.h +include/postgresql/server/access/xact.h +include/postgresql/server/access/xlog.h +include/postgresql/server/access/xlogdefs.h +include/postgresql/server/access/xlogutils.h +include/postgresql/server/bootstrap/bootstrap.h +include/postgresql/server/c.h +include/postgresql/server/catalog/catalog.h +include/postgresql/server/catalog/catname.h +include/postgresql/server/catalog/catversion.h +include/postgresql/server/catalog/dependency.h +include/postgresql/server/catalog/heap.h +include/postgresql/server/catalog/index.h +include/postgresql/server/catalog/indexing.h +include/postgresql/server/catalog/namespace.h +include/postgresql/server/catalog/pg_aggregate.h +include/postgresql/server/catalog/pg_am.h +include/postgresql/server/catalog/pg_amop.h +include/postgresql/server/catalog/pg_amproc.h +include/postgresql/server/catalog/pg_attrdef.h +include/postgresql/server/catalog/pg_attribute.h +include/postgresql/server/catalog/pg_cast.h +include/postgresql/server/catalog/pg_class.h +include/postgresql/server/catalog/pg_constraint.h +include/postgresql/server/catalog/pg_control.h +include/postgresql/server/catalog/pg_conversion.h +include/postgresql/server/catalog/pg_database.h +include/postgresql/server/catalog/pg_depend.h +include/postgresql/server/catalog/pg_description.h +include/postgresql/server/catalog/pg_group.h +include/postgresql/server/catalog/pg_index.h +include/postgresql/server/catalog/pg_inherits.h +include/postgresql/server/catalog/pg_language.h +include/postgresql/server/catalog/pg_largeobject.h +include/postgresql/server/catalog/pg_listener.h +include/postgresql/server/catalog/pg_namespace.h +include/postgresql/server/catalog/pg_opclass.h +include/postgresql/server/catalog/pg_operator.h +include/postgresql/server/catalog/pg_proc.h +include/postgresql/server/catalog/pg_rewrite.h +include/postgresql/server/catalog/pg_shadow.h +include/postgresql/server/catalog/pg_statistic.h +include/postgresql/server/catalog/pg_trigger.h +include/postgresql/server/catalog/pg_type.h +include/postgresql/server/catalog/pg_version.h +include/postgresql/server/commands/async.h +include/postgresql/server/commands/cluster.h +include/postgresql/server/commands/comment.h +include/postgresql/server/commands/conversioncmds.h +include/postgresql/server/commands/copy.h +include/postgresql/server/commands/dbcommands.h +include/postgresql/server/commands/defrem.h +include/postgresql/server/commands/explain.h +include/postgresql/server/commands/lockcmds.h +include/postgresql/server/commands/portalcmds.h +include/postgresql/server/commands/prepare.h +include/postgresql/server/commands/proclang.h +include/postgresql/server/commands/schemacmds.h +include/postgresql/server/commands/sequence.h +include/postgresql/server/commands/tablecmds.h +include/postgresql/server/commands/trigger.h +include/postgresql/server/commands/user.h +include/postgresql/server/commands/vacuum.h +include/postgresql/server/commands/variable.h +include/postgresql/server/commands/version.h +include/postgresql/server/commands/view.h +include/postgresql/server/dynloader.h +include/postgresql/server/executor/execdebug.h +include/postgresql/server/executor/execdefs.h +include/postgresql/server/executor/execdesc.h +include/postgresql/server/executor/executor.h +include/postgresql/server/executor/functions.h +include/postgresql/server/executor/hashjoin.h +include/postgresql/server/executor/instrument.h +include/postgresql/server/executor/nodeAgg.h +include/postgresql/server/executor/nodeAppend.h +include/postgresql/server/executor/nodeFunctionscan.h +include/postgresql/server/executor/nodeGroup.h +include/postgresql/server/executor/nodeHash.h +include/postgresql/server/executor/nodeHashjoin.h +include/postgresql/server/executor/nodeIndexscan.h +include/postgresql/server/executor/nodeLimit.h +include/postgresql/server/executor/nodeMaterial.h +include/postgresql/server/executor/nodeMergejoin.h +include/postgresql/server/executor/nodeNestloop.h +include/postgresql/server/executor/nodeResult.h +include/postgresql/server/executor/nodeSeqscan.h +include/postgresql/server/executor/nodeSetOp.h +include/postgresql/server/executor/nodeSort.h +include/postgresql/server/executor/nodeSubplan.h +include/postgresql/server/executor/nodeSubqueryscan.h +include/postgresql/server/executor/nodeTidscan.h +include/postgresql/server/executor/nodeUnique.h +include/postgresql/server/executor/spi.h +include/postgresql/server/executor/spi_priv.h +include/postgresql/server/executor/tuptable.h +include/postgresql/server/fmgr.h +include/postgresql/server/funcapi.h +include/postgresql/server/lib/dllist.h +include/postgresql/server/lib/lispsort.h +include/postgresql/server/lib/stringinfo.h +include/postgresql/server/libpq/auth.h +include/postgresql/server/libpq/be-fsstubs.h +include/postgresql/server/libpq/crypt.h +include/postgresql/server/libpq/hba.h +include/postgresql/server/libpq/libpq-be.h +include/postgresql/server/libpq/libpq-fs.h +include/postgresql/server/libpq/libpq.h +include/postgresql/server/libpq/password.h +include/postgresql/server/libpq/pqcomm.h +include/postgresql/server/libpq/pqformat.h +include/postgresql/server/libpq/pqsignal.h +include/postgresql/server/mb/pg_wchar.h +include/postgresql/server/miscadmin.h +include/postgresql/server/nodes/execnodes.h +include/postgresql/server/nodes/makefuncs.h +include/postgresql/server/nodes/memnodes.h +include/postgresql/server/nodes/nodeFuncs.h +include/postgresql/server/nodes/nodes.h +include/postgresql/server/nodes/params.h +include/postgresql/server/nodes/parsenodes.h +include/postgresql/server/nodes/pg_list.h +include/postgresql/server/nodes/plannodes.h +include/postgresql/server/nodes/primnodes.h +include/postgresql/server/nodes/print.h +include/postgresql/server/nodes/readfuncs.h +include/postgresql/server/nodes/relation.h +include/postgresql/server/optimizer/clauses.h +include/postgresql/server/optimizer/cost.h +include/postgresql/server/optimizer/geqo.h +include/postgresql/server/optimizer/geqo_copy.h +include/postgresql/server/optimizer/geqo_gene.h +include/postgresql/server/optimizer/geqo_misc.h +include/postgresql/server/optimizer/geqo_mutation.h +include/postgresql/server/optimizer/geqo_pool.h +include/postgresql/server/optimizer/geqo_random.h +include/postgresql/server/optimizer/geqo_recombination.h +include/postgresql/server/optimizer/geqo_selection.h +include/postgresql/server/optimizer/joininfo.h +include/postgresql/server/optimizer/pathnode.h +include/postgresql/server/optimizer/paths.h +include/postgresql/server/optimizer/plancat.h +include/postgresql/server/optimizer/planmain.h +include/postgresql/server/optimizer/planner.h +include/postgresql/server/optimizer/prep.h +include/postgresql/server/optimizer/restrictinfo.h +include/postgresql/server/optimizer/subselect.h +include/postgresql/server/optimizer/tlist.h +include/postgresql/server/optimizer/var.h +include/postgresql/server/parser/analyze.h +include/postgresql/server/parser/gramparse.h +include/postgresql/server/parser/keywords.h +include/postgresql/server/parser/parse.h +include/postgresql/server/parser/parse_agg.h +include/postgresql/server/parser/parse_clause.h +include/postgresql/server/parser/parse_coerce.h +include/postgresql/server/parser/parse_expr.h +include/postgresql/server/parser/parse_func.h +include/postgresql/server/parser/parse_node.h +include/postgresql/server/parser/parse_oper.h +include/postgresql/server/parser/parse_relation.h +include/postgresql/server/parser/parse_target.h +include/postgresql/server/parser/parse_type.h +include/postgresql/server/parser/parser.h +include/postgresql/server/parser/parsetree.h +include/postgresql/server/parser/scansup.h +include/postgresql/server/pg_config.h +include/postgresql/server/pg_config_os.h +include/postgresql/server/pgstat.h +include/postgresql/server/port/aix.h +include/postgresql/server/port/beos.h +include/postgresql/server/port/bsdi.h +include/postgresql/server/port/darwin.h +include/postgresql/server/port/dgux.h +include/postgresql/server/port/freebsd.h +include/postgresql/server/port/hpux.h +include/postgresql/server/port/irix5.h +include/postgresql/server/port/linux.h +include/postgresql/server/port/netbsd.h +include/postgresql/server/port/nextstep.h +include/postgresql/server/port/openbsd.h +include/postgresql/server/port/osf.h +include/postgresql/server/port/qnx4.h +include/postgresql/server/port/sco.h +include/postgresql/server/port/solaris.h +include/postgresql/server/port/sunos4.h +include/postgresql/server/port/svr4.h +include/postgresql/server/port/ultrix4.h +include/postgresql/server/port/univel.h +include/postgresql/server/port/unixware.h +include/postgresql/server/port/win.h +include/postgresql/server/port/win32.h +include/postgresql/server/postgres.h +include/postgresql/server/postgres_ext.h +include/postgresql/server/postgres_fe.h +include/postgresql/server/regex/cclass.h +include/postgresql/server/regex/cname.h +include/postgresql/server/regex/regex.h +include/postgresql/server/regex/regex2.h +include/postgresql/server/regex/utils.h +include/postgresql/server/rewrite/prs2lock.h +include/postgresql/server/rewrite/rewriteDefine.h +include/postgresql/server/rewrite/rewriteHandler.h +include/postgresql/server/rewrite/rewriteManip.h +include/postgresql/server/rewrite/rewriteRemove.h +include/postgresql/server/rewrite/rewriteSupport.h +include/postgresql/server/rusagestub.h +include/postgresql/server/storage/backendid.h +include/postgresql/server/storage/block.h +include/postgresql/server/storage/buf.h +include/postgresql/server/storage/buf_internals.h +include/postgresql/server/storage/buffile.h +include/postgresql/server/storage/bufmgr.h +include/postgresql/server/storage/bufpage.h +include/postgresql/server/storage/fd.h +include/postgresql/server/storage/freespace.h +include/postgresql/server/storage/ipc.h +include/postgresql/server/storage/item.h +include/postgresql/server/storage/itemid.h +include/postgresql/server/storage/itempos.h +include/postgresql/server/storage/itemptr.h +include/postgresql/server/storage/large_object.h +include/postgresql/server/storage/lmgr.h +include/postgresql/server/storage/lock.h +include/postgresql/server/storage/lwlock.h +include/postgresql/server/storage/off.h +include/postgresql/server/storage/page.h +include/postgresql/server/storage/pg_sema.h +include/postgresql/server/storage/pg_shmem.h +include/postgresql/server/storage/pmsignal.h +include/postgresql/server/storage/pos.h +include/postgresql/server/storage/proc.h +include/postgresql/server/storage/relfilenode.h +include/postgresql/server/storage/s_lock.h +include/postgresql/server/storage/shmem.h +include/postgresql/server/storage/sinval.h +include/postgresql/server/storage/sinvaladt.h +include/postgresql/server/storage/smgr.h +include/postgresql/server/storage/spin.h +include/postgresql/server/strdup.h +include/postgresql/server/tcop/dest.h +include/postgresql/server/tcop/fastpath.h +include/postgresql/server/tcop/pquery.h +include/postgresql/server/tcop/tcopdebug.h +include/postgresql/server/tcop/tcopprot.h +include/postgresql/server/tcop/utility.h +include/postgresql/server/utils/acl.h +include/postgresql/server/utils/array.h +include/postgresql/server/utils/ascii.h +include/postgresql/server/utils/bit.h +include/postgresql/server/utils/builtins.h +include/postgresql/server/utils/cash.h +include/postgresql/server/utils/catcache.h +include/postgresql/server/utils/date.h +include/postgresql/server/utils/datetime.h +include/postgresql/server/utils/datum.h +include/postgresql/server/utils/dynahash.h +include/postgresql/server/utils/dynamic_loader.h +include/postgresql/server/utils/elog.h +include/postgresql/server/utils/fcache.h +include/postgresql/server/utils/fmgroids.h +include/postgresql/server/utils/fmgrtab.h +include/postgresql/server/utils/formatting.h +include/postgresql/server/utils/geo_decls.h +include/postgresql/server/utils/guc.h +include/postgresql/server/utils/hsearch.h +include/postgresql/server/utils/inet.h +include/postgresql/server/utils/int8.h +include/postgresql/server/utils/inval.h +include/postgresql/server/utils/logtape.h +include/postgresql/server/utils/lsyscache.h +include/postgresql/server/utils/memutils.h +include/postgresql/server/utils/nabstime.h +include/postgresql/server/utils/numeric.h +include/postgresql/server/utils/palloc.h +include/postgresql/server/utils/pg_crc.h +include/postgresql/server/utils/pg_locale.h +include/postgresql/server/utils/pg_lzcompress.h +include/postgresql/server/utils/portal.h +include/postgresql/server/utils/ps_status.h +include/postgresql/server/utils/rel.h +include/postgresql/server/utils/relcache.h +include/postgresql/server/utils/selfuncs.h +include/postgresql/server/utils/sets.h +include/postgresql/server/utils/syscache.h +include/postgresql/server/utils/timestamp.h +include/postgresql/server/utils/tqual.h +include/postgresql/server/utils/tuplesort.h +include/postgresql/server/utils/tuplestore.h +include/postgresql/server/utils/varbit.h +include/postgresql/sql3types.h +include/postgresql/sqlca.h +lib/libecpg.a +lib/libecpg.so +lib/libecpg.so.3 +${LIBECPG}lib/libecpg.so.3.6 +lib/libpq.a +lib/libpq.so +lib/libpq.so.3 +${LIBPQ}lib/libpq.so.3.0 +lib/postgresql/plpgsql.so +man/man1/ecpg.1 +@dirrm lib/postgresql +@dirrm include/postgresql/server/utils +@dirrm include/postgresql/server/tcop +@dirrm include/postgresql/server/storage +@dirrm include/postgresql/server/rewrite +@dirrm include/postgresql/server/regex +@dirrm include/postgresql/server/port +@dirrm include/postgresql/server/parser +@dirrm include/postgresql/server/optimizer +@dirrm include/postgresql/server/nodes +@dirrm include/postgresql/server/mb +@dirrm include/postgresql/server/libpq +@dirrm include/postgresql/server/lib +@dirrm include/postgresql/server/executor +@dirrm include/postgresql/server/commands +@dirrm include/postgresql/server/catalog +@dirrm include/postgresql/server/bootstrap +@dirrm include/postgresql/server/access +@dirrm include/postgresql/server +@dirrm include/postgresql/libpq +@dirrm include/postgresql/internal/libpq +@dirrm include/postgresql/internal/lib +@dirrm include/postgresql/internal +@dirrm include/postgresql diff --git a/databases/postgresql73-lib/buildlink3.mk b/databases/postgresql73-lib/buildlink3.mk new file mode 100644 index 00000000000..513f846010b --- /dev/null +++ b/databases/postgresql73-lib/buildlink3.mk @@ -0,0 +1,24 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/07/24 22:17:58 recht Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +POSTGRESQL73_LIB_BUILDLINK3_MK:= ${POSTGRESQL73_LIB_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= postgresql73-lib +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql73-lib} +BUILDLINK_PACKAGES+= postgresql73-lib + +.if !empty(POSTGRESQL73_LIB_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.postgresql73-lib+= postgresql73-lib>=7.3.6 +BUILDLINK_PKGSRCDIR.postgresql73-lib?= ../../databases/postgresql73-lib +BUILDLINK_INCDIRS.postgresql73-lib?= include/postgresql +BUILDLINK_FILES.postgresql73-lib+= include/pgsql/* +BUILDLINK_FILES.postgresql73-lib+= include/pgsql/server/*.h +BUILDLINK_FILES.postgresql73-lib+= include/pgsql/server/utils/*.h +.endif # POSTGRESQL73_LIB_BUILDLINK3_MK + +.include "../../security/openssl/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/databases/postgresql73-lib/files/man.lib b/databases/postgresql73-lib/files/man.lib new file mode 100644 index 00000000000..567f6450874 --- /dev/null +++ b/databases/postgresql73-lib/files/man.lib @@ -0,0 +1,3 @@ +# $NetBSD: man.lib,v 1.1.1.1 2004/07/24 22:17:58 recht Exp $ +# +man1/ecpg.1 |