Difference between revisions of "Portmap"

From CBLFS
Jump to navigationJump to search
 
 
(9 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.porcupine.org/pub/security/portmap_5beta.tar.gz
+
| http://neil.brown.name/portmap/portmap-{{Portmap-Version}}.tgz
|-
 
!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
 
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|The portmap package is a more secure replacement for the original SUN portmap package. Portmap is used to forward RPC requests to RPC daemons such as NFS and NIS.|http://neil.brown.name/portmap/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 17: Line 13:
 
=== 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 22: Line 24:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../portmap-5beta-compilation_fixes-3.patch &&
 
patch -Np1 -i ../portmap-5beta-glibc_errno_fix-1.patch &&
 
 
  make
 
  make
  
Line 33: Line 33:
 
'''''This package does not provide any libraries so only one installation is needed.'''''
 
'''''This package does not provide any libraries so only one installation is needed.'''''
  
=== 32Bit ===
+
=== 64Bit ===
  
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../portmap-5beta-compilation_fixes-3.patch &&
+
  make CC="gcc ${BUILD64}"
patch -Np1 -i ../portmap-5beta-glibc_errno_fix-1.patch &&
 
  make CC="gcc ${BUILD32}"
 
  
 
Install the package
 
Install the package
Line 45: Line 43:
 
  make install
 
  make install
  
=== N32 ===
+
== Configuring ==
  
Compile the package:
+
=== Bootscript ===
  
patch -Np1 -i ../portmap-5beta-compilation_fixes-3.patch &&
+
Install the init script provided by the [[bootscripts]] package:
patch -Np1 -i ../portmap-5beta-glibc_errno_fix-1.patch &&
 
make CC="gcc ${BUILDN32}"
 
  
Install the package
+
make install-portmap
  
make install
+
[[Category:Network Applications]]
 
 
=== 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
 

Latest revision as of 16:18, 13 October 2009

Download Source: http://neil.brown.name/portmap/portmap-6.0.tgz

Introduction to Portmap

The portmap package is a more secure replacement for the original SUN portmap package. Portmap is used to forward RPC requests to RPC daemons such as NFS and NIS.

Project Homepage: http://neil.brown.name/portmap/

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:

make

Install the package

make install

Multilib

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

64Bit

Compile the package:

make CC="gcc ${BUILD64}"

Install the package

make install

Configuring

Bootscript

Install the init script provided by the bootscripts package:

make install-portmap