pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases + Name the programs installed by the db(2) p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a7cb363072a
branches:  trunk
changeset: 538951:7a7cb363072a
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 21 19:32:23 2008 +0000

description:
+ Name the programs installed by the db(2) package db2_*.

+ Put documentation under ${PREFIX}/share/doc instead of
  ${PREFIX}/share/doc/html.  Packages that install documentation under the
  "html" directory are supposed to move them to the "doc" directory when
  they're updated, but these packages are basically EOL'ed so just move
  them now.

+ Add full DESTDIR support.

Bump the PKGREVISION of databases/db to 3 and databases/db3 to 4.

diffstat:

 databases/db/Makefile          |    10 +-
 databases/db/PLIST             |  1076 +++++++++++++-------------
 databases/db/distinfo          |     4 +-
 databases/db/patches/patch-aa  |    51 +-
 databases/db3/Makefile         |     7 +-
 databases/db3/PLIST            |  1634 ++++++++++++++++++++--------------------
 databases/db3/distinfo         |     4 +-
 databases/db3/patches/patch-aa |   231 ++--
 8 files changed, 1521 insertions(+), 1496 deletions(-)

diffs (truncated from 3257 to 300 lines):

diff -r 47e79e21e8eb -r 7a7cb363072a databases/db/Makefile
--- a/databases/db/Makefile     Thu Feb 21 19:31:32 2008 +0000
+++ b/databases/db/Makefile     Thu Feb 21 19:32:23 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2008/02/16 05:25:57 obache Exp $
+# $NetBSD: Makefile,v 1.30 2008/02/21 19:32:23 jlam Exp $
 
 DISTNAME=      db-2.7.7
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    databases
 MASTER_SITES=  http://download.oracle.com/berkeley-db/
 
@@ -12,16 +12,18 @@
 NO_PKGTOOLS_REQD_CHECK=        yes     # (needed for pkgtools/pkg_install)
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 WRKSRC=                        ${WRKDIR}/${DISTNAME}/build_unix
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
 CONFIGURE_SCRIPT=      ../dist/configure
+CONFIGURE_ARGS+=       --program-transform-name=s,db_,db2_,
 CONFIGURE_ARGS+=       --enable-compat185
 
-INSTALLATION_DIRS=     bin include/db2 lib share/doc/html
+INSTALLATION_DIRS=     bin include/db2 lib share/doc/db2
 
 post-install:
-       ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/doc/html/db
+       ${CHOWN} -R ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/share/doc/db2
 
 .include "../../mk/bsd.pkg.mk"
diff -r 47e79e21e8eb -r 7a7cb363072a databases/db/PLIST
--- a/databases/db/PLIST        Thu Feb 21 19:31:32 2008 +0000
+++ b/databases/db/PLIST        Thu Feb 21 19:32:23 2008 +0000
@@ -1,543 +1,543 @@
-@comment $NetBSD: PLIST,v 1.7 2004/09/22 08:09:22 jlam Exp $
-bin/db_archive
-bin/db_checkpoint
-bin/db_deadlock
-bin/db_dump
-bin/db_load
-bin/db_printlog
-bin/db_recover
-bin/db_stat
+@comment $NetBSD: PLIST,v 1.8 2008/02/21 19:32:23 jlam Exp $
+bin/db2_archive
+bin/db2_checkpoint
+bin/db2_deadlock
+bin/db2_dump
+bin/db2_load
+bin/db2_printlog
+bin/db2_recover
+bin/db2_stat
 include/db2/db.h
 include/db2/db_185.h
 include/db2/db_cxx.h
 lib/libdb2.la
-share/doc/html/db/api_c/Db/close.html
-share/doc/html/db/api_c/Db/cursor.html
-share/doc/html/db/api_c/Db/del.html
-share/doc/html/db/api_c/Db/fd.html
-share/doc/html/db/api_c/Db/get.html
-share/doc/html/db/api_c/Db/join.html
-share/doc/html/db/api_c/Db/open.html
-share/doc/html/db/api_c/Db/put.html
-share/doc/html/db/api_c/Db/stat.html
-share/doc/html/db/api_c/Db/sync.html
-share/doc/html/db/api_c/DbEnv/appexit.html
-share/doc/html/db/api_c/DbEnv/appinit.html
-share/doc/html/db/api_c/DbEnv/env.html
-share/doc/html/db/api_c/DbEnv/version.html
-share/doc/html/db/api_c/DbInfo/info.html
-share/doc/html/db/api_c/DbLock/put.html
-share/doc/html/db/api_c/DbLockTab/close.html
-share/doc/html/db/api_c/DbLockTab/detect.html
-share/doc/html/db/api_c/DbLockTab/get.html
-share/doc/html/db/api_c/DbLockTab/id.html
-share/doc/html/db/api_c/DbLockTab/open.html
-share/doc/html/db/api_c/DbLockTab/stat.html
-share/doc/html/db/api_c/DbLockTab/unlink.html
-share/doc/html/db/api_c/DbLockTab/vec.html
-share/doc/html/db/api_c/DbLog/archive.html
-share/doc/html/db/api_c/DbLog/close.html
-share/doc/html/db/api_c/DbLog/compare.html
-share/doc/html/db/api_c/DbLog/db_register.html
-share/doc/html/db/api_c/DbLog/db_unregister.html
-share/doc/html/db/api_c/DbLog/file.html
-share/doc/html/db/api_c/DbLog/flush.html
-share/doc/html/db/api_c/DbLog/get.html
-share/doc/html/db/api_c/DbLog/lsn.html
-share/doc/html/db/api_c/DbLog/open.html
-share/doc/html/db/api_c/DbLog/put.html
-share/doc/html/db/api_c/DbLog/stat.html
-share/doc/html/db/api_c/DbLog/unlink.html
-share/doc/html/db/api_c/DbMpool/close.html
-share/doc/html/db/api_c/DbMpool/db_register.html
-share/doc/html/db/api_c/DbMpool/open.html
-share/doc/html/db/api_c/DbMpool/stat.html
-share/doc/html/db/api_c/DbMpool/sync.html
-share/doc/html/db/api_c/DbMpool/trickle.html
-share/doc/html/db/api_c/DbMpool/unlink.html
-share/doc/html/db/api_c/DbMpoolFile/close.html
-share/doc/html/db/api_c/DbMpoolFile/get.html
-share/doc/html/db/api_c/DbMpoolFile/open.html
-share/doc/html/db/api_c/DbMpoolFile/put.html
-share/doc/html/db/api_c/DbMpoolFile/set.html
-share/doc/html/db/api_c/DbMpoolFile/sync.html
-share/doc/html/db/api_c/DbTxn/abort.html
-share/doc/html/db/api_c/DbTxn/commit.html
-share/doc/html/db/api_c/DbTxn/id.html
-share/doc/html/db/api_c/DbTxn/prepare.html
-share/doc/html/db/api_c/DbTxnMgr/begin.html
-share/doc/html/db/api_c/DbTxnMgr/checkpoint.html
-share/doc/html/db/api_c/DbTxnMgr/close.html
-share/doc/html/db/api_c/DbTxnMgr/open.html
-share/doc/html/db/api_c/DbTxnMgr/stat.html
-share/doc/html/db/api_c/DbTxnMgr/unlink.html
-share/doc/html/db/api_c/Dbc/close.html
-share/doc/html/db/api_c/Dbc/del.html
-share/doc/html/db/api_c/Dbc/get.html
-share/doc/html/db/api_c/Dbc/put.html
-share/doc/html/db/api_c/Dbt/dbt.html
-share/doc/html/db/api_c/historic/dbm.html
-share/doc/html/db/api_c/historic/hsearch.html
-share/doc/html/db/api_c/index/flags.html
-share/doc/html/db/api_c/index/function.html
-share/doc/html/db/api_c/index/structure.html
-share/doc/html/db/api_c/internal/db_jump_set.html
-share/doc/html/db/api_c/internal/db_value_set.html
-share/doc/html/db/api_cxx/Db/class.html
-share/doc/html/db/api_cxx/Db/close.html
-share/doc/html/db/api_cxx/Db/cursor.html
-share/doc/html/db/api_cxx/Db/del.html
-share/doc/html/db/api_cxx/Db/fd.html
-share/doc/html/db/api_cxx/Db/get.html
-share/doc/html/db/api_cxx/Db/get_byteswapped.html
-share/doc/html/db/api_cxx/Db/get_type.html
-share/doc/html/db/api_cxx/Db/join.html
-share/doc/html/db/api_cxx/Db/open.html
-share/doc/html/db/api_cxx/Db/put.html
-share/doc/html/db/api_cxx/Db/stat.html
-share/doc/html/db/api_cxx/Db/sync.html
-share/doc/html/db/api_cxx/DbEnv/appexit.html
-share/doc/html/db/api_cxx/DbEnv/appinit.html
-share/doc/html/db/api_cxx/DbEnv/class.html
-share/doc/html/db/api_cxx/DbEnv/get_lg_info.html
-share/doc/html/db/api_cxx/DbEnv/get_lk_info.html
-share/doc/html/db/api_cxx/DbEnv/get_mp_info.html
-share/doc/html/db/api_cxx/DbEnv/get_tx_info.html
-share/doc/html/db/api_cxx/DbEnv/set_errcall.html
-share/doc/html/db/api_cxx/DbEnv/set_errfile.html
-share/doc/html/db/api_cxx/DbEnv/set_error_model.html
-share/doc/html/db/api_cxx/DbEnv/set_error_stream.html
-share/doc/html/db/api_cxx/DbEnv/set_errpfx.html
-share/doc/html/db/api_cxx/DbEnv/set_lg_max.html
-share/doc/html/db/api_cxx/DbEnv/set_lk_conflicts.html
-share/doc/html/db/api_cxx/DbEnv/set_lk_detect.html
-share/doc/html/db/api_cxx/DbEnv/set_lk_max.html
-share/doc/html/db/api_cxx/DbEnv/set_lk_modes.html
-share/doc/html/db/api_cxx/DbEnv/set_lorder.html
-share/doc/html/db/api_cxx/DbEnv/set_mp_mmapsize.html
-share/doc/html/db/api_cxx/DbEnv/set_mp_size.html
-share/doc/html/db/api_cxx/DbEnv/set_tx_max.html
-share/doc/html/db/api_cxx/DbEnv/set_tx_recover.html
-share/doc/html/db/api_cxx/DbEnv/set_verbose.html
-share/doc/html/db/api_cxx/DbEnv/version.html
-share/doc/html/db/api_cxx/DbException/class.html
-share/doc/html/db/api_cxx/DbException/get_errno.html
-share/doc/html/db/api_cxx/DbException/what.html
-share/doc/html/db/api_cxx/DbInfo/class.html
-share/doc/html/db/api_cxx/DbInfo/set_bt_compare.html
-share/doc/html/db/api_cxx/DbInfo/set_bt_maxkey.html
-share/doc/html/db/api_cxx/DbInfo/set_bt_minkey.html
-share/doc/html/db/api_cxx/DbInfo/set_bt_prefix.html
-share/doc/html/db/api_cxx/DbInfo/set_cachesize.html
-share/doc/html/db/api_cxx/DbInfo/set_compare.html
-share/doc/html/db/api_cxx/DbInfo/set_flags.html
-share/doc/html/db/api_cxx/DbInfo/set_h_ffactor.html
-share/doc/html/db/api_cxx/DbInfo/set_h_hash.html
-share/doc/html/db/api_cxx/DbInfo/set_h_nelem.html
-share/doc/html/db/api_cxx/DbInfo/set_lorder.html
-share/doc/html/db/api_cxx/DbInfo/set_malloc.html
-share/doc/html/db/api_cxx/DbInfo/set_pagesize.html
-share/doc/html/db/api_cxx/DbInfo/set_re_delim.html
-share/doc/html/db/api_cxx/DbInfo/set_re_len.html
-share/doc/html/db/api_cxx/DbInfo/set_re_pad.html
-share/doc/html/db/api_cxx/DbInfo/set_re_source.html
-share/doc/html/db/api_cxx/DbLock/class.html
-share/doc/html/db/api_cxx/DbLock/put.html
-share/doc/html/db/api_cxx/DbLockTab/class.html
-share/doc/html/db/api_cxx/DbLockTab/close.html
-share/doc/html/db/api_cxx/DbLockTab/detect.html
-share/doc/html/db/api_cxx/DbLockTab/get.html
-share/doc/html/db/api_cxx/DbLockTab/id.html
-share/doc/html/db/api_cxx/DbLockTab/open.html
-share/doc/html/db/api_cxx/DbLockTab/stat.html
-share/doc/html/db/api_cxx/DbLockTab/unlink.html
-share/doc/html/db/api_cxx/DbLockTab/vec.html
-share/doc/html/db/api_cxx/DbLog/archive.html
-share/doc/html/db/api_cxx/DbLog/class.html
-share/doc/html/db/api_cxx/DbLog/close.html
-share/doc/html/db/api_cxx/DbLog/compare.html
-share/doc/html/db/api_cxx/DbLog/db_register.html
-share/doc/html/db/api_cxx/DbLog/db_unregister.html
-share/doc/html/db/api_cxx/DbLog/file.html
-share/doc/html/db/api_cxx/DbLog/flush.html
-share/doc/html/db/api_cxx/DbLog/get.html
-share/doc/html/db/api_cxx/DbLog/open.html
-share/doc/html/db/api_cxx/DbLog/put.html
-share/doc/html/db/api_cxx/DbLog/stat.html
-share/doc/html/db/api_cxx/DbLog/unlink.html
-share/doc/html/db/api_cxx/DbLsn/class.html
-share/doc/html/db/api_cxx/DbMpool/class.html
-share/doc/html/db/api_cxx/DbMpool/close.html
-share/doc/html/db/api_cxx/DbMpool/db_register.html
-share/doc/html/db/api_cxx/DbMpool/open.html
-share/doc/html/db/api_cxx/DbMpool/stat.html
-share/doc/html/db/api_cxx/DbMpool/sync.html
-share/doc/html/db/api_cxx/DbMpool/trickle.html
-share/doc/html/db/api_cxx/DbMpool/unlink.html
-share/doc/html/db/api_cxx/DbMpoolFile/class.html
-share/doc/html/db/api_cxx/DbMpoolFile/close.html
-share/doc/html/db/api_cxx/DbMpoolFile/get.html
-share/doc/html/db/api_cxx/DbMpoolFile/open.html
-share/doc/html/db/api_cxx/DbMpoolFile/put.html
-share/doc/html/db/api_cxx/DbMpoolFile/set.html
-share/doc/html/db/api_cxx/DbMpoolFile/sync.html
-share/doc/html/db/api_cxx/DbTxn/abort.html
-share/doc/html/db/api_cxx/DbTxn/class.html
-share/doc/html/db/api_cxx/DbTxn/commit.html
-share/doc/html/db/api_cxx/DbTxn/id.html
-share/doc/html/db/api_cxx/DbTxn/prepare.html
-share/doc/html/db/api_cxx/DbTxnMgr/begin.html
-share/doc/html/db/api_cxx/DbTxnMgr/checkpoint.html
-share/doc/html/db/api_cxx/DbTxnMgr/class.html
-share/doc/html/db/api_cxx/DbTxnMgr/close.html
-share/doc/html/db/api_cxx/DbTxnMgr/open.html
-share/doc/html/db/api_cxx/DbTxnMgr/stat.html
-share/doc/html/db/api_cxx/DbTxnMgr/unlink.html
-share/doc/html/db/api_cxx/Dbc/class.html
-share/doc/html/db/api_cxx/Dbc/close.html
-share/doc/html/db/api_cxx/Dbc/del.html
-share/doc/html/db/api_cxx/Dbc/get.html
-share/doc/html/db/api_cxx/Dbc/put.html
-share/doc/html/db/api_cxx/Dbt/class.html
-share/doc/html/db/api_cxx/index/class.html
-share/doc/html/db/api_java/Db/class.html
-share/doc/html/db/api_java/Db/close.html
-share/doc/html/db/api_java/Db/cursor.html
-share/doc/html/db/api_java/Db/del.html
-share/doc/html/db/api_java/Db/fd.html
-share/doc/html/db/api_java/Db/get.html
-share/doc/html/db/api_java/Db/get_byteswapped.html
-share/doc/html/db/api_java/Db/get_type.html
-share/doc/html/db/api_java/Db/join.html
-share/doc/html/db/api_java/Db/open.html
-share/doc/html/db/api_java/Db/put.html
-share/doc/html/db/api_java/Db/stat.html
-share/doc/html/db/api_java/Db/sync.html
-share/doc/html/db/api_java/DbEnv/appexit.html
-share/doc/html/db/api_java/DbEnv/appinit.html
-share/doc/html/db/api_java/DbEnv/class.html
-share/doc/html/db/api_java/DbEnv/get_lg_info.html
-share/doc/html/db/api_java/DbEnv/get_lk_info.html
-share/doc/html/db/api_java/DbEnv/get_mp_info.html
-share/doc/html/db/api_java/DbEnv/get_tx_info.html
-share/doc/html/db/api_java/DbEnv/set_errcall.html
-share/doc/html/db/api_java/DbEnv/set_error_stream.html
-share/doc/html/db/api_java/DbEnv/set_errpfx.html
-share/doc/html/db/api_java/DbEnv/set_lg_max.html
-share/doc/html/db/api_java/DbEnv/set_lk_conflicts.html
-share/doc/html/db/api_java/DbEnv/set_lk_detect.html
-share/doc/html/db/api_java/DbEnv/set_lk_max.html
-share/doc/html/db/api_java/DbEnv/set_lk_modes.html
-share/doc/html/db/api_java/DbEnv/set_lorder.html
-share/doc/html/db/api_java/DbEnv/set_mp_mmapsize.html
-share/doc/html/db/api_java/DbEnv/set_mp_size.html
-share/doc/html/db/api_java/DbEnv/set_tx_max.html
-share/doc/html/db/api_java/DbEnv/set_verbose.html
-share/doc/html/db/api_java/DbEnv/version.html
-share/doc/html/db/api_java/DbException/class.html
-share/doc/html/db/api_java/DbException/get_errno.html
-share/doc/html/db/api_java/DbInfo/class.html
-share/doc/html/db/api_java/DbInfo/set_bt_compare.html
-share/doc/html/db/api_java/DbInfo/set_bt_maxkey.html
-share/doc/html/db/api_java/DbInfo/set_bt_minkey.html
-share/doc/html/db/api_java/DbInfo/set_bt_prefix.html
-share/doc/html/db/api_java/DbInfo/set_cachesize.html
-share/doc/html/db/api_java/DbInfo/set_compare.html
-share/doc/html/db/api_java/DbInfo/set_flags.html
-share/doc/html/db/api_java/DbInfo/set_h_ffactor.html
-share/doc/html/db/api_java/DbInfo/set_h_hash.html
-share/doc/html/db/api_java/DbInfo/set_h_nelem.html
-share/doc/html/db/api_java/DbInfo/set_lorder.html
-share/doc/html/db/api_java/DbInfo/set_malloc.html
-share/doc/html/db/api_java/DbInfo/set_pagesize.html
-share/doc/html/db/api_java/DbInfo/set_re_delim.html



Home | Main Index | Thread Index | Old Index