Nss db

From CBLFS
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
Retrieved from "?title=Nss_db&oldid=18631"