Hi,

as promised, here two patches to upgrade portmap and nfsutils.  The nfsutils 
patch is just a version upgrade, install command etc are all the same. Works 
fine for weeks here (both packages in the actual versions).
The portmap thing is an version upgrade and a modification of the download 
location. I also added a short note about the uid used in portmap.

If accepted, the tickets 2387 and 2388 can be closed.

-- 
Thomas
Index: general.ent
===================================================================
--- general.ent	(Revision 7200)
+++ general.ent	(Arbeitskopie)
@@ -371,7 +371,7 @@
 <!-- Chapter 21 -->
 <!ENTITY apache-version               "2.2.4">
 <!-- bind (chapter 19) -->
-<!ENTITY nfs-utils-version            "1.0.10">
+<!ENTITY nfs-utils-version            "1.1.1">
 <!-- openssh (chapter 18) -->
 <!ENTITY proftpd-version              "1.3.0">
 <!-- samba3 (chapter 18) -->
Index: server/major/nfs-utils.xml
===================================================================
--- server/major/nfs-utils.xml	(Revision 7200)
+++ server/major/nfs-utils.xml	(Arbeitskopie)
@@ -6,8 +6,8 @@
 
   <!ENTITY nfs-utils-download-http "http://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-&nfs-utils-version;.tar.gz";>
   <!ENTITY nfs-utils-download-ftp  "ftp://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-&nfs-utils-version;.tar.gz";>
-  <!ENTITY nfs-utils-md5sum        "db97cc425e845e60f0dad855ba6a9830">
-  <!ENTITY nfs-utils-size          "520 KB">
+  <!ENTITY nfs-utils-md5sum        "407785488241f9db67b1874e3f36370e">
+  <!ENTITY nfs-utils-size          "785 KB">
   <!ENTITY nfs-utils-buildsize     "8.2 MB">
   <!ENTITY nfs-utils-time          "0.2 SBU">
 ]>
Index: basicnet/netprogs/portmap.xml
===================================================================
--- basicnet/netprogs/portmap.xml	(Revision 7200)
+++ 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,6 +68,7 @@
       </listitem>
     </itemizedlist>
 
+<!--
     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing='compact'>
       <listitem>
@@ -79,7 +80,8 @@
         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 +95,21 @@
   <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. We are going to use this default. To set up a user to match
+    this uid, as the <systemitem class="username">root</systemitem> user, run:</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 portman run with another uid/gid, then pass the options
+    DAEMON_UID=x and DAEMON_GID=y to the above make: 
+    <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