Difference between revisions of "Libnfsidmap"
From CBLFS
Jump to navigationJump to search (→Multilib: Added a quick patch that's required for 0.25 and above seeing how they hard-code their plugins path) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 30: | Line 30: | ||
=== 32Bit === | === 32Bit === | ||
− | + | Configure and compile the package: | |
+ | |||
+ | CC="gcc ${BUILD32}" ./configure --prefix=/usr && | ||
+ | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install | ||
=== N32 === | === N32 === | ||
− | + | ||
+ | Configure and compile the package: | ||
+ | |||
+ | sed -i "/PATH_PLUGINS/s:/usr/lib:&32:" libnfsidmap.c | ||
+ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | ||
+ | --libdir=/usr/lib32 && | ||
+ | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install | ||
=== 64Bit === | === 64Bit === | ||
− | + | Configure and compile the package: | |
+ | |||
+ | sed -i "/PATH_PLUGINS/s:/usr/lib:&64:" libnfsidmap.c | ||
+ | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | ||
+ | --libdir=/usr/lib64 && | ||
+ | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install && | ||
+ | install -m644 -v idmapd.conf /etc/idmapd.conf | ||
== Configuring == | == Configuring == | ||
Line 44: | Line 71: | ||
=== idmapd.conf === | === idmapd.conf === | ||
− | Create a basic idmapd.conf, edit as you see fit: | + | Create a basic idmapd.conf, You can use the configuration file installed above as a base, edit as you see fit: |
cat > /etc/idmapd.conf << "EOF" | cat > /etc/idmapd.conf << "EOF" | ||
Line 57: | Line 84: | ||
# End of /etc/idmapd.conf | # End of /etc/idmapd.conf | ||
EOF | EOF | ||
+ | |||
+ | [[Category:General Libs]] |
Latest revision as of 05:39, 8 July 2013
Download Source: | http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-0.25.tar.gz |
---|
Contents
Introduction to Libnfsidmap
Library to help mapping id's, mainly for NFSv4.
Project Homepage: http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/
Dependencies
Optional
Non-Multilib
Configure and compile the package:
./configure --prefix=/usr && make
Install the package:
make install && install -m644 -v idmapd.conf /etc/idmapd.conf
Multilib
32Bit
Configure and compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr && make
Install the package:
make install
N32
Configure and compile the package:
sed -i "/PATH_PLUGINS/s:/usr/lib:&32:" libnfsidmap.c CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ --libdir=/usr/lib32 && make
Install the package:
make install
64Bit
Configure and compile the package:
sed -i "/PATH_PLUGINS/s:/usr/lib:&64:" libnfsidmap.c CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --libdir=/usr/lib64 && make
Install the package:
make install && install -m644 -v idmapd.conf /etc/idmapd.conf
Configuring
idmapd.conf
Create a basic idmapd.conf, You can use the configuration file installed above as a base, edit as you see fit:
cat > /etc/idmapd.conf << "EOF" # Begin /etc/idmapd.conf [General] Domain = <dns domain> [Translation] Method = nsswitch # End of /etc/idmapd.conf EOF