Difference between revisions of "Usermode"

From CBLFS
Jump to navigationJump to search
(Optional)
(I added the template for the package description and "Contents" sections.)
Line 6: Line 6:
  
 
----
 
----
 +
 +
== Introduction to Usermode ==
 +
 +
<Package Description Needed>
 +
  
 
== Extracting the RPM ==
 
== Extracting the RPM ==
Line 97: Line 102:
  
 
  chmod -v 4755 /usr/sbin/userhelper
 
  chmod -v 4755 /usr/sbin/userhelper
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-
 +
! Installed Programs:
 +
| ???
 +
|-
 +
! Installed Libraries:
 +
| ???
 +
|-
 +
! Installed Directory:
 +
| ???
 +
|}
 +
 +
=== Short Descriptions ===
 +
 +
{| style="text-align: left;"
 +
|-
 +
! program1
 +
| ???
 +
|-
 +
! program2
 +
| ???
 +
|}

Revision as of 19:33, 7 December 2006

Download Source: http://mirrors.dotsrc.org/fedora/development/source/SRPMS/usermode-1.87-3.src.rpm

Introduction to Usermode

<Package Description Needed>


Extracting the RPM

An extracted package can be downloaded from: http://cross-lfs.org/~jciccone/usermode-1.87.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 usermode-1.87-3.src.rpm | cpio -d -i

The above command will create 2 files. usermode-1.87.tar.gz and usermode.spec. It is safe to delete usermode.spec

Dependencies

Required

Optional

Non-Multilib

Compile the package:

sed -i -e "/--add-category AdvancedSettings/d" \
       -e "/--add-category X-Red-Hat-Base/d" \
       -e "/--add-category Application/d" Makefile.in &&
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

sed -i -e "/--add-category AdvancedSettings/d" \
       -e "/--add-category X-Red-Hat-Base/d" \
       -e "/--add-category Application/d" 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 -e "/--add-category AdvancedSettings/d" \
       -e "/--add-category X-Red-Hat-Base/d" \
       -e "/--add-category Application/d" Makefile.in &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

64Bit

Compile the package:

sed -i -e "/--add-category AdvancedSettings/d" \
       -e "/--add-category X-Red-Hat-Base/d" \
       -e "/--add-category Application/d" Makefile.in &&
CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package

make install

Configuring usermode

If you would like users to beable to change their own passwords and information using the gui tools run the following command:

chmod -v 4755 /usr/sbin/userhelper

Contents

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

Short Descriptions

program1 ???
program2 ???