Difference between revisions of "Libuser"
Weibullguy (talk | contribs) |
|||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http:// | + | |http://download.fedora.redhat.com/pub/fedora/linux/core/6/source/SRPMS/libuser-{{Libuser-Version}}-2.src.rpm |
|} | |} | ||
---- | ---- | ||
− | {{ | + | {{Package-Introduction|The libuser library implements a standardized interface for manipulating and administering user and group accounts. The library uses pluggable back-ends to interface to its data sources.|}} |
== Extracting the RPM == | == Extracting the RPM == | ||
An extracted package can be downloaded from: http://cross-lfs.org/~jciccone/libuser-{{Libuser-Version}}.tar.gz | An extracted package can be downloaded from: http://cross-lfs.org/~jciccone/libuser-{{Libuser-Version}}.tar.gz | ||
− | Make sure that you have [[rpm2cpio]] and [[Cpio]] installed | + | === rpm2cpio Method === |
+ | Make sure that you have [[rpm2cpio]] and [[Cpio]] installed. | ||
rpm2cpio libuser-{{Libuser-Version}}-2.src.rpm | cpio -d -i | rpm2cpio libuser-{{Libuser-Version}}-2.src.rpm | cpio -d -i | ||
− | + | === disrpm Method === | |
+ | Make sure you have [[Cpio]] and a hexdump utility installed. Download bjdouma's disrpm script from http://www.xs4all.nl/~bjdouma/disrpm and use it to extract the rpm. This script also extracts *.deb packages. | ||
+ | |||
+ | wget http://www.xs4all.nl/~bjdouma/disrpm && | ||
+ | mv -v disrpm /usr/bin && | ||
+ | chmod +x /usr/bin/disrpm && | ||
+ | disrpm -x libuser-{{Libuser-Version}}-2.src.rpm | ||
+ | |||
+ | Both methods will create 2 files. '''libuser-{{Libuser-Version}}.tar.gz''' and '''libuser.spec'''. It is safe to delete '''libuser.spec''' | ||
== Dependencies == | == Dependencies == | ||
Line 85: | Line 94: | ||
make install | make install | ||
− | = Contents = | + | == Configuring == |
+ | |||
+ | Edit the installed /etc/libuser.conf. Ensure the variable <b>moduledir</b> points to the correct library path for your installed ABI. | ||
+ | |||
+ | == Contents == | ||
{| style="text-align: left;" | {| style="text-align: left;" |
Revision as of 09:25, 3 October 2007
Download Source: | http://download.fedora.redhat.com/pub/fedora/linux/core/6/source/SRPMS/libuser-0.56.16-2.src.rpm |
---|
Contents
Introduction to Libuser
The libuser library implements a standardized interface for manipulating and administering user and group accounts. The library uses pluggable back-ends to interface to its data sources.
Project Homepage:
Extracting the RPM
An extracted package can be downloaded from: http://cross-lfs.org/~jciccone/libuser-0.56.16.tar.gz
rpm2cpio Method
Make sure that you have rpm2cpio and Cpio installed.
rpm2cpio libuser-0.56.16-2.src.rpm | cpio -d -i
disrpm Method
Make sure you have Cpio and a hexdump utility installed. Download bjdouma's disrpm script from http://www.xs4all.nl/~bjdouma/disrpm and use it to extract the rpm. This script also extracts *.deb packages.
wget http://www.xs4all.nl/~bjdouma/disrpm && mv -v disrpm /usr/bin && chmod +x /usr/bin/disrpm && disrpm -x libuser-0.56.16-2.src.rpm
Both methods will create 2 files. libuser-0.56.16.tar.gz and libuser.spec. It is safe to delete libuser.spec
Dependencies
Required
Optional
Non-Multilib
Compile the package:
sed -i "/^all:.*libuser/d" docs/Makefile.in && ./configure --prefix=/usr --sysconfdir=/etc && make
Install the package
make install
Multilib
32Bit
Compile the package:
sed -i "/^all:.*libuser/d" docs/Makefile.in && CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ ./configure --prefix=/usr --sysconfdir=/etc && make
Install the package
make install
N32
Compile the package:
sed -i "/^all:.*libuser/d" docs/Makefile.in && CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 && make
Install the package
make install
64Bit
Compile the package:
sed -i "/^all:.*libuser/d" docs/Makefile.in && CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 && make
Install the package
make install
Configuring
Edit the installed /etc/libuser.conf. Ensure the variable moduledir points to the correct library path for your installed ABI.
Contents
Installed Programs: | ??? |
---|---|
Installed Libraries: | ??? |
Installed Directory: | ??? |
Short Descriptions
program1 | ??? |
---|---|
program2 | ??? |