Difference between revisions of "Portmap"

From CBLFS
Jump to navigationJump to search
 
Line 17: Line 17:
 
=== Required ===
 
=== Required ===
 
* [[TCP Wrappers]]
 
* [[TCP Wrappers]]
 +
 +
== Creating the bin User ==
 +
 +
Portmap runs as a daemon with a uid of 1 which is not configurable.
 +
 +
useradd -u 1 -g 1 -d /dev/null -s /bin/false bin
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 68: Line 74:
  
 
  make install
 
  make install
 +
 +
== Configuring ==
 +
 +
=== Bootscript ===
 +
 +
Install the initscript provided by the [[blfs-bootscripts]] package:
 +
 +
make install-portmap

Revision as of 11:07, 5 November 2006

Download Source: ftp://ftp.porcupine.org/pub/security/portmap_5beta.tar.gz
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/portmap/portmap-5beta-compilation_fixes-3.patch
Download Patch http://svn.cross-lfs.org/svn/repos/patches/portmap/portmap-5beta-glibc_errno_fix-1.patch

Dependencies

Required

Creating the bin User

Portmap runs as a daemon with a uid of 1 which is not configurable.

useradd -u 1 -g 1 -d /dev/null -s /bin/false bin

Non-Multilib

Compile the package:

patch -Np1 -i ../portmap-5beta-compilation_fixes-3.patch &&
patch -Np1 -i ../portmap-5beta-glibc_errno_fix-1.patch &&
make

Install the package

make install

Multilib

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

32Bit

Compile the package:

patch -Np1 -i ../portmap-5beta-compilation_fixes-3.patch &&
patch -Np1 -i ../portmap-5beta-glibc_errno_fix-1.patch &&
make CC="gcc ${BUILD32}"

Install the package

make install

N32

Compile the package:

patch -Np1 -i ../portmap-5beta-compilation_fixes-3.patch &&
patch -Np1 -i ../portmap-5beta-glibc_errno_fix-1.patch &&
make CC="gcc ${BUILDN32}"

Install the package

make install

64Bit

Compile the package:

patch -Np1 -i ../portmap-5beta-compilation_fixes-3.patch &&
patch -Np1 -i ../portmap-5beta-glibc_errno_fix-1.patch &&
make CC="gcc ${BUILD64}"

Install the package

make install

Configuring

Bootscript

Install the initscript provided by the blfs-bootscripts package:

make install-portmap
Retrieved from "?title=Portmap&oldid=3718"