diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-01-28 17:30:44 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-01-28 17:30:44 +0000 |
commit | 1d4bc50956ddfa55abade42f1fae15c35efe496f (patch) | |
tree | 6fcf7dc6f33ff924b01429ae3e30f396053ee750 /macros.in | |
parent | f137e323fd887e96cf1f657cbe5642b090e9f0b2 (diff) | |
download | rpm-setup-1d4bc50956ddfa55abade42f1fae15c35efe496f.tar rpm-setup-1d4bc50956ddfa55abade42f1fae15c35efe496f.tar.gz rpm-setup-1d4bc50956ddfa55abade42f1fae15c35efe496f.tar.bz2 rpm-setup-1d4bc50956ddfa55abade42f1fae15c35efe496f.tar.xz rpm-setup-1d4bc50956ddfa55abade42f1fae15c35efe496f.zip |
drop some unused comments
Diffstat (limited to 'macros.in')
-rw-r--r-- | macros.in | 128 |
1 files changed, 0 insertions, 128 deletions
@@ -291,91 +291,6 @@ then %{_scrollkeeper_bin} -q || true ; fi \ #============================================================================== -# ---- Database configuration macros. -# Macros used to configure Berkley db parameters. -# -# rpmdb macro configuration values are a colon (or white space) separated -# list of tokens, with an optional '!' negation to explicitly disable bit -# values, or a "=value" if a parameter. A per-tag value is used (e.g. -# %_dbi_config_Packages) if defined, otherwise a per-rpmdb default -# (e.g. %_dbi_config). The configuration is also conditioned on the -# existence of an internal %{_rpmdb_rebuild} switch to permit changing -# the configuration while rebuilding an rpmdb database. -# -# The rpmdb configuration tokens are in a popt table in rpmdb/dbconfig.c, -# see that for the latest gory details. Note carefully that, unless you -# are writing an rpm installer, you shouldn't have to touch *any* of these -# parameters. -# -# Here's a short list of the tokens, with a guess of whether the option is -# useful: -# (nothing) currently used in rpm, known to work. -# "+++" under development, will be supported in rpm eventually. -# "???" I have no clue, you're mostly on your own. -# -# If you do find yourself inclined to fiddle, here's what I see (shrug): -# 1) Only the value of mp_size has any serious impact on overall performance, -# and you will need ~256Kb to handle a typical machine install. -# 2) Only the Packages hash, because of the size of the values (i.e. headers), -# will ever need tuning. Diddle the pagesize if you're interested, although -# I believe that you will find pagesize=512 "best". -# 3) Adding nofsync increases speed, but risks total data loss. Fiddle shared -# and/or mp_size instead. -# 4) btree is faster than hash, but would require some painful rpm release -# engineering to convert everbody's databases to btree, not gonna happen -# soon. -# -# See the db3-devel package, or http://www.sleepycat.com for Berkeley db-3.x -# documentation. -# -# token works? Berkeley db flag or value -#================================================== -#---------------------- DBENV->open parameters and tunable values: -# mmapsize=16Mb DBENV->set_mp_mmapsize -# cachesize=1Mb DBENV->set_cachesize, DB->set_cachesize -#---------------------- DBENV->open and DB->open common bits: -# create DB_CREATE -# thread ??? DB_THREAD (useless w/o posix mutexes on linux) -#---------------------- DBENV->open bits: -# joinenv DB_JOIN_ENV -# mpool DB_INIT_MPOOL -# cdb +++ DB_INIT_CDB -# txn ??? DB_INIT_TXN -# log ??? DB_INIT_LOG -# lock ??? DB_INIT_LOCK -# recover ??? DB_RECOVER -# recover_fatal ??? DB_RECOVER_FATAL -# use_environ ??? DB_USE_ENVIRON -# use_environ_root ??? DB_USE_ENVIRON_ROOT -# private +++ DB_PRIVATE -# lockdown ??? DB_LOCKDOWN -# shared +++ DB_SYSTEM_MEM -#---------------------- DB->open parameters and tunable values: -# pagesize=512 +++ DB->set_pagesize -#---------------------- DB->open bits: -# excl ??? DB_EXCL -# nommap ??? DB_NOMMAP -# rdonly DB_RDONLY -#---------------------- DB->open types: -# btree DB_BTREE -# hash DB_HASH -# recno ??? DB_RECNO -# queue ??? DB_QUEUE -# unknown +++ DB_UNKNOWN -#---------------------- DB->set_flags bits: -# bt_dup +++ (btree only) DB_DUP -# bt_dupsort +++ (btree only) DB_DUPSORT -# ht_dup +++ (hash only) DB_DUP -# ht_dupsort +++ (hash only) DB_DUPSORT -#----------------------- rpmdb specific configuration: -# usedbenv (always on) Use db3 environment? -# verify (db3 only) Verify Packages db after RW close? -# lockdbfd (always on for Packages) Use fcntl(2) locking ? -# nofsync Disable fsync(2) call performed after db3 writes? -# temporary Unlink file when closing. -# - -#============================================================================== # ---- GPG/PGP/PGP5 signature macros. # Macro(s) to hold the arguments passed to GPG/PGP for package # signing and verification. @@ -393,14 +308,6 @@ then %{_scrollkeeper_bin} -q || true ; fi \ %_vsflags_query 0xc0c00 -#============================================================================== -# ---- Transaction macros. -# Macro(s) used to parameterize transactions. -# -# The output binary package file name template used when building -# binary packages. -# - # Open all indices before doing chroot(2). # %_openall_before_chroot 1 @@ -411,41 +318,6 @@ then %{_scrollkeeper_bin} -q || true ; fi \ %_rpmlock_path %{_dbpath}/__db.000 -#============================================================================== -# ---- Cache configuration macros. -# Macro(s) used to configure the universe of headers used to -# solve dependencies using rpmcache(8). -# -# Note: These values are specific to my machine, and most certainly -# are incorrect for any non-redhat.com machine. The macros are -# included here only to document the macro names and usage. - -#============================================================================== -# ---- per-platform macros. -# Macros that are specific to an individual platform. The values here -# will be used if the per-platform macro file does not exist.. -# - -#============================================================================== -# ---- Scriptlet template templates. -# Global defaults used for building scriptlet templates. -# - -#============================================================================== -# ---- Scriptlet templates. -# Macro(s) that expand to a command and script that is executed. -# CAVEAT: All macro expansions must fit in a BUFSIZ (8192 byte) buffer. -# - -#============================================================================== -# ---- configure macros. -# Macro(s) slavishly copied from autoconf's config.status. -# - -#============================================================================== -# ---- config.guess platform macros. -# Macro(s) similar to the tokens used by configure. -# #============================================================================== # ---- specfile macros. |