Libuser: Difference between revisions

From CBLFS
Jump to navigationJump to search
Lemoinet (talk | contribs)
No edit summary
 
(16 intermediate revisions by 6 users not shown)
Line 2: Line 2:
|-
|-
!Download Source:
!Download Source:
| http://mirrors.dotsrc.org/fedora/development/source/SRPMS/libuser-0.54.7-2.src.rpm
|https://fedorahosted.org/releases/l/i/libuser/libuser-{{Libuser-Version}}.tar.xz
|}
|}


----
----


== Extracting the 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.|https://fedorahosted.org/libuser/}}
An extracted package can be downloaded from: http://cross-lfs.org/~jciccone/libuser-0.54.7.tar.gz
 
Make sure that you have [[rpm2cpio]] and [[Cpio]] installed. This is not the only way to extract the tarball. If you know of a better way that has almost no dependencies, By all means add it.
 
rpm2cpio libuser-0.54.7-2.src.rpm | cpio -d -i
 
The above command will create 2 files. '''libuser-0.54.7.tar.gz''' and '''libuser.spec'''. It is safe to delete '''libuser.spec'''


== Dependencies ==
== Dependencies ==
Line 21: Line 14:
* [[Glib2]]
* [[Glib2]]
* [[Popt]]
* [[Popt]]
* [[Linux-Pam]]
* [[Linux-PAM]]
* [[linuxdoc-tools]]


=== Optional ===
=== Optional ===
Line 29: Line 21:
* [[Python]]
* [[Python]]
* [[SELinux]]
* [[SELinux]]
* [[MIT Krb5]] or [[Heimdal]]
* [[MIT krb5]] or [[Heimdal]]


== Non-Multilib ==
== Non-Multilib ==
Line 35: Line 27:
Compile the package:
Compile the package:


sed -i "/^all:.*libuser/d" docs/Makefile.in &&
  ./configure --prefix=/usr --sysconfdir=/etc &&
  ./configure --prefix=/usr --sysconfdir=/etc &&
  make
  make
Line 48: Line 41:
Compile the package:
Compile the package:


sed -i "/^all:.*libuser/d" docs/Makefile.in &&
  CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
  CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
  ./configure --prefix=/usr --sysconfdir=/etc &&
  ./configure --prefix=/usr --sysconfdir=/etc &&
Line 60: Line 54:
Compile the package:
Compile the package:


  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
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
  make


Line 71: Line 67:
Compile the package:
Compile the package:


  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
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
  make


Line 77: Line 75:


  make install
  make install
== Contents ==
{| style="text-align: left;"
|-
! Installed Programs:
| ???
|-
! Installed Libraries:
| ???
|-
! Installed Directory:
| ???
|}
[[Category:Security]]

Latest revision as of 03:20, 14 May 2010

Download Source: https://fedorahosted.org/releases/l/i/libuser/libuser-0.56.16.tar.xz

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: https://fedorahosted.org/libuser/

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


Contents

Installed Programs: ???
Installed Libraries: ???
Installed Directory: ???