r1899 - in profiles/BLFS/branches/build-as-user: chapter03 chapter04 config_standard misc

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Sun May 29 11:49:54 PDT 2005


Author: thomasp
Date: 2005-05-29 12:49:51 -0600 (Sun, 29 May 2005)
New Revision: 1899

Modified:
   profiles/BLFS/branches/build-as-user/chapter03/autofs.xml
   profiles/BLFS/branches/build-as-user/chapter04/cracklib.xml
   profiles/BLFS/branches/build-as-user/chapter04/cyrus-sasl.xml
   profiles/BLFS/branches/build-as-user/chapter04/gnupg.xml
   profiles/BLFS/branches/build-as-user/chapter04/heimdal.xml
   profiles/BLFS/branches/build-as-user/chapter04/iptables.xml
   profiles/BLFS/branches/build-as-user/chapter04/linuxpam.xml
   profiles/BLFS/branches/build-as-user/chapter04/mitkrb.xml
   profiles/BLFS/branches/build-as-user/chapter04/openssl.xml
   profiles/BLFS/branches/build-as-user/chapter04/shadow.xml
   profiles/BLFS/branches/build-as-user/chapter04/stunnel.xml
   profiles/BLFS/branches/build-as-user/chapter04/tripwire.xml
   profiles/BLFS/branches/build-as-user/config_standard/config.ent
   profiles/BLFS/branches/build-as-user/misc/template-bootscripts.xml
   profiles/BLFS/branches/build-as-user/misc/template.xml
Log:
added support for build user in chapters 3 and 4, also updated templates

Modified: profiles/BLFS/branches/build-as-user/chapter03/autofs.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/chapter03/autofs.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/chapter03/autofs.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -17,6 +17,9 @@
 <alfs>
 <package name="autofs" version="&autofs-version;">
   <stage name="Unpacking.">
+    <stageinfo>
+      <user>&build-user;</user>
+    </stageinfo>
     <unpack>
       <digest>&autofs-md5;</digest>
       <archive>&packages_dir;/&autofs-package;</archive>
@@ -26,6 +29,7 @@
   &bootscripts-get;
   <stage name="Patching."> 
     <stageinfo>
+      <user>&build-user;</user>
       <base>&build_dir;/&autofs-directory;</base>
     </stageinfo>
     <patch>
@@ -69,8 +73,9 @@
       <param>-i &packages_dir;/&autofs-multi-over-patch;</param>
     </patch>
   </stage>
-  <stage name="Installing.">
+  <stage name="Building.">
     <stageinfo>
+      <user>&build-user;</user>
       <base>&build_dir;/&autofs-directory;</base>
     </stageinfo>
     <configure>
@@ -78,6 +83,11 @@
       <param>--mandir=/usr/share/man</param>
     </configure>
     <make />
+  </stage>
+  <stage name="Installing">
+    <stageinfo>
+      <base>&build_dir;/&autofs-directory;</base>
+    </stageinfo>
     <make>
       <param>install</param>
     </make>

Modified: profiles/BLFS/branches/build-as-user/chapter04/cracklib.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/chapter04/cracklib.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/chapter04/cracklib.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -13,6 +13,9 @@
 <alfs>
   <package name="cracklib" version="&cracklib-version;">
     <stage name="Unpacking">
+      <stageinfo>
+	<user>&build-user;</user>
+      </stageinfo>
       <unpack>
         <digest>&cracklib-md5;</digest>
 	<archive>&packages_dir;/&cracklib-package;</archive>
@@ -24,10 +27,7 @@
         <destination>&build_dir;</destination>
       </unpack>
     </stage>
-    <stage name="Installing">
-      <stageinfo>
-        <base>&build_dir;/&cracklib-directory;</base>
-      </stageinfo>
+    <stage name="Pre-Building Configuration">
       <mkdir>
         <option>parents</option>
         <name>/usr/share/dict</name>
@@ -52,6 +52,12 @@
         <param>>></param>
         <param>/usr/share/dict/extra.words</param>
       </execute>
+    </stage>
+    <stage name="Building">
+      <stageinfo>
+	<user>&build-user;</user>
+        <base>&build_dir;/&cracklib-directory;</base>
+      </stageinfo>
       <patch>
         <param>-N</param>
         <param>-p1</param>
@@ -67,6 +73,11 @@
         <param>-p1</param>
         <param>-i &packages_dir;/&cracklib-heimdal-patch;</param>
       </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&cracklib-directory;</base>
+      </stageinfo>
       <make>
         <param>install</param>
       </make>

Modified: profiles/BLFS/branches/build-as-user/chapter04/cyrus-sasl.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/chapter04/cyrus-sasl.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/chapter04/cyrus-sasl.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -57,6 +57,9 @@
     </utilizes>
   </packageinfo>
   <stage name="Unpacking.">
+    <stageinfo>
+      <user>&build-user;</user>
+    </stageinfo>
     <unpack>
       <digest>&cyrus-sasl-md5;</digest>
       <archive>&packages_dir;/&cyrus-sasl-package;</archive>
@@ -64,8 +67,9 @@
     </unpack>
   </stage>
   &bootscripts-get; 
-  <stage name="Installing.">
+  <stage name="Building">
     <stageinfo>
+      <user>&build-user;</user>
       <base>&build_dir;/&cyrus-sasl-directory;</base>
     </stageinfo>
     <configure>
@@ -75,6 +79,8 @@
       <param>--with-saslauthd=/var/run</param>
     </configure>
     <make />
+  </stage>
+  <stage name="Installing">
     <make>
       <param>install</param>
     </make>

Modified: profiles/BLFS/branches/build-as-user/chapter04/gnupg.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/chapter04/gnupg.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/chapter04/gnupg.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -27,14 +27,18 @@
       </utilizes>
     </packageinfo>
     <stage name="Unpacking">
+      <stageinfo>
+	<user>&build-user;</user>
+      </stageinfo>
       <unpack>
         <digest>&gnupg-md5;</digest>
 	<archive>&packages_dir;/&gnupg-package;</archive>
         <destination>&build_dir;</destination>
       </unpack>
     </stage>
-    <stage name="Installing">
+    <stage name="Building">
       <stageinfo>
+	<user>&build-user;</user>
         <base>&build_dir;/&gnupg-directory;</base>
       </stageinfo>
       <configure>
@@ -42,6 +46,8 @@
         <param>--libexecdir=/usr/lib</param>
       </configure>
       <make />
+    </stage>
+    <stage name="Installing">
       <make>
         <param>install</param>
       </make>

Modified: profiles/BLFS/branches/build-as-user/chapter04/heimdal.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/chapter04/heimdal.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/chapter04/heimdal.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -40,7 +40,10 @@
       <name>krb4</name>
     </utilizes>
   </packageinfo>
-  <stage name="Unpacking.">
+  <stage name="Unpacking">
+    <stageinfo>
+      <user>&build-user;</user>
+    </stageinfo>
     <unpack>
       <digest>&heimdal-md5;</digest>
       <archive>&packages_dir;/&heimdal-package;</archive>
@@ -48,8 +51,9 @@
     </unpack>
   </stage>
   &bootscripts-get;
-  <stage name="Patching.">
+  <stage name="Patching">
     <stageinfo>
+      <user>&build-user;</user>
       <base>&build_dir;/&heimdal-directory;</base>
     </stageinfo>
     <patch>
@@ -63,14 +67,17 @@
       <param>-i &packages_dir;/&heimdal-cracklib-patch;</param>
     </patch>
   </stage>
-  <stage name="Installing.">
-    <stageinfo>
-      <base>&build_dir;/&heimdal-directory;</base>
-    </stageinfo>
+  <stage name="Pre-Building Configuration">
     <move base="/usr/bin">
       <source>ftp</source>
       <destination>ftpn</destination>
     </move>
+  </stage>
+  <stage name="Building">
+    <stageinfo>
+      <user>&build-user;</user>
+      <base>&build_dir;/&heimdal-directory;</base>
+    </stageinfo>
     <configure>
       <param>--prefix=/usr</param>
       <param>--sysconfdir=/etc/heimdal</param>
@@ -82,6 +89,11 @@
       <param>--with-readline=/usr</param>
     </configure>
     <make />
+  </stage>
+  <stage name="Installing">
+    <stageinfo>
+      <base>&build_dir;/&heimdal-directory;</base>
+    </stageinfo>
     <make>
       <param>install</param>
     </make>

Modified: profiles/BLFS/branches/build-as-user/chapter04/iptables.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/chapter04/iptables.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/chapter04/iptables.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -15,14 +15,18 @@
 <alfs>
   <package name="iptables" version="&iptables-version;">
     <stage name="Unpacking">
+      <stageinfo>
+	<user>&build-user;</user>
+      </stageinfo>
       <unpack>
         <digest>&iptables-md5;</digest>
 	<archive>&packages_dir;/&iptables-package;</archive>
         <destination>&build_dir;</destination>
       </unpack>
     </stage>
-    <stage name="Installing">
+    <stage name="Building">
       <stageinfo>
+	<user>&build-user;</user>
         <base>&build_dir;/&iptables-directory;</base>
       </stageinfo>
       <make>
@@ -30,6 +34,11 @@
         <param>LIBDIR=/usr</param>
         <param>BINDIR=/sbin</param>
       </make>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&iptables-directory;</base>
+      </stageinfo>
       <make>
         <param>PREFIX=/usr</param>
         <param>LIBDIR=/usr</param>

Modified: profiles/BLFS/branches/build-as-user/chapter04/linuxpam.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/chapter04/linuxpam.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/chapter04/linuxpam.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -26,6 +26,9 @@
       </utilizes>
     </packageinfo>
     <stage name="Unpacking">
+      <stageinfo>
+	<user>&build-user;</user>
+      </stageinfo>
       <unpack>
         <digest>&linuxpam-md5;</digest>
 	<archive>&packages_dir;/&linuxpam-package;</archive>
@@ -34,6 +37,7 @@
     </stage>
     <stage name="Patching">
       <stageinfo>
+	<user>&build-user;</user>
         <base>&build_dir;/&linuxpam-directory;</base>
       </stageinfo>
       <patch>
@@ -42,8 +46,9 @@
         <param>-i &packages_dir;/&linuxpam-linkage-patch;</param>
       </patch>
     </stage>
-    <stage name="Installing">
+    <stage name="Building">
       <stageinfo>
+	<user>&build-user;</user>
         <base>&build_dir;/&linuxpam-directory;</base>
       </stageinfo>
       <execute command="autoconf" />
@@ -59,6 +64,11 @@
         <param>--sysconfdir=/etc</param>
       </configure>
       <make />
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&linuxpam-directory;</base>
+      </stageinfo>
       <make>
         <param>install</param>
       </make>

Modified: profiles/BLFS/branches/build-as-user/chapter04/mitkrb.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/chapter04/mitkrb.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/chapter04/mitkrb.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -29,6 +29,9 @@
     </utilizes>
   </packageinfo>
   <stage name="Unpacking.">
+    <stageinfo>
+      <user>&build-user;</user>
+    </stageinfo>
     <unpack>
       <digest>&mitkrb-md5;</digest>
       <archive>&packages_dir;/&mitkrb-package;</archive>
@@ -36,8 +39,9 @@
     </unpack>
   </stage>
   &bootscripts-get;
-  <stage name="Installing.">
+  <stage name="Building.">
     <stageinfo>
+      <user>&build-user;</user>
       <base>&build_dir;/&mitkrb-directory;/src</base>
     </stageinfo>
     <configure>
@@ -49,6 +53,11 @@
       <param>--mandir=/usr/share/man</param>  
     </configure>
     <make />
+  </stage>
+  <stage name="Installing">
+    <stageinfo>
+      <base>&build_dir;/&mitkrb-directory;/src</base>
+    </stageinfo>
     <make>
       <param>install</param>
     </make>

Modified: profiles/BLFS/branches/build-as-user/chapter04/openssl.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/chapter04/openssl.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/chapter04/openssl.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -18,14 +18,18 @@
       </utilizes>
     </packageinfo>
     <stage name="Unpacking">
+      <stageinfo>
+	<user>&build-user;</user>
+      </stageinfo>
       <unpack>
         <digest>&openssl-md5;</digest>
 	<archive>&packages_dir;/&openssl-package;</archive>
         <destination>&build_dir;</destination>
       </unpack>
     </stage>
-    <stage name="Installing">
+    <stage name="Building">
       <stageinfo>
+	<user>&build-user;</user>
         <base>&build_dir;/&openssl-directory;</base>
       </stageinfo>
       <search_replace base="&build_dir;/&openssl-directory;/doc/apps">
@@ -54,6 +58,11 @@
       <make>
         <param>MANDIR=/usr/share/man</param>
       </make>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&openssl-directory;</base>
+      </stageinfo>
       <make>
         <param>MANDIR=/usr/share/man</param>
         <param>install</param>

Modified: profiles/BLFS/branches/build-as-user/chapter04/shadow.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/chapter04/shadow.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/chapter04/shadow.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -20,6 +20,9 @@
       </requires>
     </packageinfo>
     <stage name="Unpacking">
+      <stageinfo>
+	<user>&build-user;</user>
+      </stageinfo>
       <unpack>
         <digest>&shadow-md5;</digest>
 	<archive>&packages_dir;/&shadow-package;</archive>
@@ -28,6 +31,7 @@
     </stage>
     <stage name="Patching">
       <stageinfo>
+	<user>&build-user;</user>
         <base>&build_dir;/&shadow-directory;</base>
       </stageinfo>
       <patch>
@@ -36,8 +40,9 @@
         <param>-i &packages_dir;/&shadow-pam-patch;</param>
       </patch>
     </stage>
-    <stage name="Installing">
+    <stage name="Building">
       <stageinfo>
+	<user>&build-user;</user>
         <base>&build_dir;/&shadow-directory;</base>
       </stageinfo>
       <configure>
@@ -57,6 +62,11 @@
 	<replace>/* extern char *malloc (); */</replace>
       </search_replace>
       <make />
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&shadow-directory;</base>
+      </stageinfo>
       <make>
         <param>install</param>
       </make>

Modified: profiles/BLFS/branches/build-as-user/chapter04/stunnel.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/chapter04/stunnel.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/chapter04/stunnel.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -26,6 +26,9 @@
     </utilizes>
   </packageinfo>
   <stage name="Unpacking.">
+    <stageinfo>
+      <user>&build-user;</user>
+    </stageinfo>
     <unpack>
       <digest>&stunnel-md5;</digest>
       <archive>&packages_dir;/&stunnel-package;</archive>
@@ -45,10 +48,7 @@
       <param>stunnel</param>
     </execute>
   </stage>
-  <stage name="Installing.">
-    <stageinfo>
-      <base>&build_dir;/&stunnel-directory;</base>
-    </stageinfo>
+  <stage name="Pre-Building Configuration">
     <mkdir>
       <option>parents</option>
       <name>/var/lib/stunnel/run</name>
@@ -58,7 +58,14 @@
     </permissions>
     <ownership user="stunnel" group="stunnel">
       <name>/var/lib/stunnel/run</name>
-    </ownership><textdump>
+    </ownership>
+  </stage>
+  <stage name="Building">
+    <stageinfo>
+      <user>&build-user;</user>
+      <base>&build_dir;/&stunnel-directory;</base>
+    </stageinfo>
+    <textdump>
       <file>stunnel_answers</file>
       <content>
         =&stunnel-country;
@@ -76,6 +83,11 @@
     <make>
       <param>< stunnel_answers</param>
     </make>
+  </stage>
+  <stage name="Installing">
+    <stageinfo>
+      <base>&build_dir;/&stunnel-directory;</base>
+    </stageinfo>
     <make>
       <param>install</param>
     </make>
@@ -93,7 +105,7 @@
     </copy>
   </stage>
   &bootscripts-clean; 
-  <stage name="Cleanup.">
+  <stage name="Cleanup">
     <remove>&build_dir;/&stunnel-directory;</remove>
   </stage>
   </package>

Modified: profiles/BLFS/branches/build-as-user/chapter04/tripwire.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/chapter04/tripwire.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/chapter04/tripwire.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -13,14 +13,18 @@
 <alfs>
   <package name="tripwire-portable" version="&tripwire-portable-version;">
     <stage name="Unpacking">
+      <stageinfo>
+	<user>&build-user;</user>
+      </stageinfo>
       <unpack>
         <digest>&tripwire-portable-md5;</digest>
 	<archive>&packages_dir;/&tripwire-portable-package;</archive>
         <destination>&build_dir;</destination>
       </unpack>
     </stage>
-    <stage name="Installing">
+    <stage name="Building">
       <stageinfo>
+	<user>&build-user;</user>
         <base>&build_dir;/&tripwire-portable-directory;</base>
       </stageinfo>
       <search_replace>
@@ -28,12 +32,10 @@
 	<find>TWDB="${prefix}</find>
 	<replace>TWDB="/var</replace>
       </search_replace>
-
       <configure>
 	<param>--prefix=/usr</param>
 	<param>--sysconfdir=/etc/tripwire</param>
       </configure>
-
       <make />
 
 <!--The default configuration is not to use a local MTA. If you wish to your local MTA comment out the 
@@ -66,18 +68,20 @@
         <find># TWSMTPPORT=25</find>
         <replace>TWSMTPPORT=&tripwire-smtp-port;</replace>
       </search_replace>
-
       <execute command="sed">
 	<param>-i 's at ./install/install.sh@&real-amp; </param>
 	<param>-n -s "$(SITEPASS)" -l "$(LOCALPASS)"@g' Makefile</param>
       </execute>
-
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/&tripwire-portable-directory;</base>
+      </stageinfo>
       <make>
 	<param>SITEPASS="&tripwire-sitepassphrase;"</param>
 	<param>LOCALPASS="&tripwire-localpassphrase;"</param>
 	<param>install</param>
       </make>
-
       <copy>
         <source>policy/*.txt</source>
         <destination>/usr/share/doc/tripwire</destination>

Modified: profiles/BLFS/branches/build-as-user/config_standard/config.ent
===================================================================
--- profiles/BLFS/branches/build-as-user/config_standard/config.ent	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/config_standard/config.ent	2005-05-29 18:49:51 UTC (rev 1899)
@@ -1,3 +1,6 @@
+<!-- User to build packages as -->
+<!ENTITY build-user "tomp">
+
 <!-- The directory that contains the packages -->
 <!ENTITY packages_dir "/usr/src/packages">
 

Modified: profiles/BLFS/branches/build-as-user/misc/template-bootscripts.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/misc/template-bootscripts.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/misc/template-bootscripts.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -13,37 +13,46 @@
 <!ENTITY bootscripts-clean SYSTEM "../config/bootscripts_clean.ent">
 ]>
 <alfs>
-<package name="" version="">
-  <stage name="Unpacking.">
-    <unpack>
-      <archive>&packages_dir;/</archive>
-      <destination>&build_dir;</destination>
-    </unpack>
-  </stage>
-  &bootscripts-get;
-  <stage name="Installing.">
-    <stageinfo>
-      <base>&build_dir;/</base>
-    </stageinfo>
-    <configure>
-      <param>--prefix=/usr</param>
-    </configure>
-    <make />
-    <make>
-      <param>install</param>
-    </make>
-  </stage>
-  <stage name="Installing bootscript and configuration">
-    <stageinfo>
-      <base>&build_dir;/&blfs-bootscripts-directory;</base>
-    </stageinfo>
-    <make>
-      <param></param>
-    </make>
-  </stage>
-  &bootscripts-clean;
-  <stage name="Cleanup.">
-    <remove>&build_dir;/</remove>
-  </stage>
-</package>
+  <package name="" version="">
+    <stage name="Unpacking">
+      <stageinfo>
+	<user>&build-user;</user>
+      </stageinfo>
+      <unpack>
+        <archive>&packages_dir;/</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    &bootscripts-get;
+    <stage name="Building">
+      <stageinfo>
+	<user>&build-user;</user>
+        <base>&build_dir;/</base>
+      </stageinfo>
+      <configure>
+        <param>--prefix=/usr</param>
+      </configure>
+      <make />
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/</base>
+      </stageinfo>
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Installing bootscript and configuration">
+      <stageinfo>
+        <base>&build_dir;/&blfs-bootscripts-directory;</base>
+      </stageinfo>
+      <make>
+        <param></param>
+      </make>
+    </stage>
+    &bootscripts-clean;
+    <stage name="Cleanup">
+      <remove>&build_dir;/</remove>
+    </stage>
+  </package>
 </alfs>

Modified: profiles/BLFS/branches/build-as-user/misc/template.xml
===================================================================
--- profiles/BLFS/branches/build-as-user/misc/template.xml	2005-05-24 17:50:41 UTC (rev 1898)
+++ profiles/BLFS/branches/build-as-user/misc/template.xml	2005-05-29 18:49:51 UTC (rev 1899)
@@ -11,27 +11,36 @@
 
 ]>
 <alfs>
-<package name="" version="">
-  <stage name="Unpacking.">
-    <unpack>
-      <archive>&packages_dir;/</archive>
-      <destination>&build_dir;</destination>
-    </unpack>
-  </stage>
-  <stage name="Installing.">
-    <stageinfo>
-      <base>&build_dir;/</base>
-    </stageinfo>
-    <configure>
-      <param>--prefix=/usr</param>
-    </configure>
-    <make />
-    <make>
-      <param>install</param>
-    </make>
-  </stage>
-  <stage name="Cleanup.">
-    <remove>&build_dir;/</remove>
-  </stage>
-</package>
+  <package name="" version="">
+    <stage name="Unpacking">
+      <stageinfo>
+	<user>&build-user;</user>
+      </stageinfo>
+      <unpack>
+        <archive>&packages_dir;/</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Building">
+      <stageinfo>
+	<user>&build-user;</user>
+        <base>&build_dir;/</base>
+      </stageinfo>
+      <configure>
+        <param>--prefix=/usr</param>
+      </configure>
+      <make />
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+	<base>&build_dir;/</base>
+      </stageinfo>
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup.">
+      <remove>&build_dir;/</remove>
+    </stage>
+  </package>
 </alfs>




More information about the alfs-log mailing list