Nss db

From CBLFS
Revision as of 17:56, 8 July 2009 by Jciccone (talk | contribs) (Created page with '{| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://ftp.de.debian.org/debian/pool/main/libn/libnss-db/libnss-db_{{nss_db-Version}}.orig.tar.gz…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://ftp.de.debian.org/debian/pool/main/libn/libnss-db/libnss-db_2.2.3pre1.orig.tar.gz
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/nss_db/nss_db-2.2.3pre1-fixes-1.patch

Introduction to Nss db

nss_db is a set of C library extensions which allow Berkeley Databases to be used as a primary source of aliases, ethers, groups, hosts, networks, protocol, users, RPCs, services, and shadow passwords (instead of or in addition to using flat files or NIS). Install nss_db if your flat name service files are too large and lookups are slow.[1]

Project Homepage: http://www.gnu.org/software/libc/

Dependencies

Optional

Non-Multilib

Compile the package:

patch -Np1 -i ../nss_db-2.2.3pre1-fixes-1.patch &&
sed -i "s/-D_LIBC//" src/Makefile.in &&
./configure --prefix=/usr --libdir=/usr/lib &&
make slibdir=/lib

Install the package:

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../nss_db-2.2.3pre1-fixes-1.patch &&
sed -i "s/-D_LIBC//" src/Makefile.in &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/usr/lib &&
make

Install the package:

make slibdir=/lib install

N32

Compile the package:

patch -Np1 -i ../nss_db-2.2.3pre1-fixes-1.patch &&
sed -i "s/-D_LIBC//" src/Makefile.in &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make slibdir=/lib32 install

64Bit

Compile the package:

patch -Np1 -i ../nss_db-2.2.3pre1-fixes-1.patch &&
sed -i "s/-D_LIBC//" src/Makefile.in &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make slibdir=/lib64 install