Hi,

here's an updated patch on the portmap page. I did some wording fixes 
(suggested by Randy) and removed obsolete additional downloads.

-- 
Thomas
Index: basicnet/netprogs/portmap.xml
===================================================================
--- basicnet/netprogs/portmap.xml	(Revision 7201)
+++ basicnet/netprogs/portmap.xml	(Arbeitskopie)
@@ -16,10 +16,10 @@
     <!-- <para>This package does not come with a test suite.</para> -->
     <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
 
-  <!ENTITY portmap-download-http " ">
-  <!ENTITY portmap-download-ftp  "ftp://ftp.porcupine.org/pub/security/portmap_&portmap-version;.tar.gz";>
-  <!ENTITY portmap-md5sum        "781e16ed4487c4caa082c6fef09ead4f">
-  <!ENTITY portmap-size          "18 KB">
+  <!ENTITY portmap-download-http "http://neil.brown.name/portmap/portmap-&portmap-version;.tgz";>
+  <!ENTITY portmap-download-ftp  " ">
+  <!ENTITY portmap-md5sum        "ac108ab68bf0f34477f8317791aaf1ff">
+  <!ENTITY portmap-size          "21 KB">
   <!ENTITY portmap-buildsize     "268 KB">
   <!ENTITY portmap-time          "0.01 SBU">
 ]>
@@ -68,18 +68,6 @@
       </listitem>
     </itemizedlist>
 
-    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
-    <itemizedlist spacing='compact'>
-      <listitem>
-        <para>Required Patch: <ulink
-        url="&patch-root;/portmap-&portmap-version;-compilation_fixes-3.patch"/></para>
-      </listitem>
-      <listitem>
-        <para>Required Patch: <ulink
-        url="&patch-root;/portmap-&portmap-version;-glibc_errno_fix-1.patch"/></para>
-      </listitem>
-    </itemizedlist>
-
     <bridgehead renderas="sect3">Portmap Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -93,19 +81,22 @@
   <sect2 role="installation">
     <title>Installation of Portmap</title>
 
-    <para>Portmap runs as a daemon with a uid of 1.  This uid is not
-    configurable.  To set up a user to match this uid, as the
-    <systemitem class="username">root</systemitem> user, run:</para>
+    <para>Portmap runs as a daemon with a uid of 1.  This uid is only
+    configurable at compile time and is used as default. To set up a
+    user to match this uid, as the <systemitem class="username">root</systemitem>
+    user, issue:</para>
 
 <screen><userinput>useradd -u 1 -g 1 -d /dev/null -s /bin/false bin</userinput></screen>
 
     <para>Install <application>portmap</application> with the following
     commands:</para>
 
-<screen><userinput>patch -Np1 -i ../portmap-&portmap-version;-compilation_fixes-3.patch &amp;&amp;
-patch -Np1 -i ../portmap-&portmap-version;-glibc_errno_fix-1.patch &amp;&amp;
-make</userinput></screen>
+<screen><userinput>make</userinput></screen>
 
+    <para>If you want the portmap daemon to use a uid/gid other than the
+    defaults, pass DAEMON_UID=x and DAEMON_GID=y as shown below:</para>
+    <para><command>make DAEMON_UID=x DAEMON_GID=y</command></para>
+
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role='root'><userinput>make install</userinput></screen>
Index: general.ent
===================================================================
--- general.ent	(Revision 7200)
+++ general.ent	(Arbeitskopie)
@@ -341,7 +341,7 @@
 <!ENTITY wireless-tools-version       "28">
 <!ENTITY ntp-version                  "4.2.4p0">
 <!ENTITY openssh-version              "4.7p1">
-<!ENTITY portmap-version              "5beta">
+<!ENTITY portmap-version              "6.0">
 <!ENTITY rsync-version                "2.6.9">
 <!ENTITY samba3-version               "3.0.25b">
 <!ENTITY subversion-version           "1.4.4">
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to