cvs commit: ALFS/profiles/BLFS/wget chapter19.urls chapter20.urls chapter21.urls chapter22.urls chapter23.urls chapter24.urls chapter25.urls

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Wed May 19 08:42:44 PDT 2004


thomasp     04/05/19 09:42:44

  Modified:    profiles/BLFS BLFS.xml general.ent packages.ent system.ent
  Added:       profiles/BLFS/chapter22 bind.xml dhcp.xml leafnode.xml
                        openldap.xml openssh.xml rsync.xml samba.xml
                        xinetd.xml
               profiles/BLFS/chapter23 db.xml db3.xml mysql.xml
                        postgresql.xml
               profiles/BLFS/chapter24 apache.xml php.xml proftpd.xml
               profiles/BLFS/chapter25 xfree86.xml
               profiles/BLFS/wget chapter19.urls chapter20.urls
                        chapter21.urls chapter22.urls chapter23.urls
                        chapter24.urls chapter25.urls
  Removed:     profiles/BLFS/chapter23 bind.xml leafnode.xml openldap.xml
                        openssh.xml rsync.xml xinetd.xml
               profiles/BLFS/chapter24 db.xml db3.xml mysql.xml
                        postgresql.xml
               profiles/BLFS/chapter25 apache.xml php.xml proftpd.xml
               profiles/BLFS/chapter26 xfree86.xml
  Log:
  Chapters 22-25 updated
  
  Revision  Changes    Path
  1.30      +6 -3      ALFS/profiles/BLFS/BLFS.xml
  
  Index: BLFS.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/BLFS.xml,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- BLFS.xml	19 May 2004 02:38:52 -0000	1.29
  +++ BLFS.xml	19 May 2004 15:42:43 -0000	1.30
  @@ -263,13 +263,15 @@
   </stage>
   
   <stage name="Chapter 22 (Other Server Software)">
  -
  +    
  +    &bind;
  +    &dhcp;
  +    &leafnode;
       &openssh;
       &rsync;
       &openldap;
  -    &bind;
  +    &samba;
       &xinetd;
  -    &leafnode;
   
   </stage>
   
  @@ -292,6 +294,7 @@
   
   <stage name="Chapter 25 (X Window Environment)">
   
  +    &xorg;
       &xfree86;
   
   </stage>
  
  
  
  1.8       +1 -1      ALFS/profiles/BLFS/general.ent
  
  Index: general.ent
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/general.ent,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- general.ent	16 May 2004 10:54:04 -0000	1.7
  +++ general.ent	19 May 2004 15:42:43 -0000	1.8
  @@ -44,7 +44,7 @@
   
   <!-- the fully qualified host name, used by postfix -->
   <!ENTITY hostname  "vassilidzuba.net1.nerim.net">
  -
  +<!ENTITY domain "your.domain">
   
   <!-- where to put gnome -->
   <!ENTITY gnome-prefix "/opt/gnome-2.4">
  
  
  
  1.40      +78 -63    ALFS/profiles/BLFS/packages.ent
  
  Index: packages.ent
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/packages.ent,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- packages.ent	19 May 2004 02:38:52 -0000	1.39
  +++ packages.ent	19 May 2004 15:42:43 -0000	1.40
  @@ -587,80 +587,95 @@
   <!ENTITY courier-directory "courier-&courier-version;">
   
   
  -<!--************* packages for chapter 23 *************-->
  +<!--************* packages for chapter 22 *************-->
   
  -<!ENTITY openssh-version   "3.7.1p1">
  -<!ENTITY openssh-package   "openssh-3.7.1p1.tar.gz">
  -<!ENTITY openssh-directory "openssh-3.7.1p1">
  -
  -<!ENTITY rsync-version   "2.5.6">
  -<!ENTITY rsync-package   "rsync-2.5.6.tar.gz">
  -<!ENTITY rsync-directory "rsync-2.5.6">
  -
  -<!ENTITY openldap-version   "2.1.17">
  -<!ENTITY openldap-package   "openldap-2.1.17.tgz">
  -<!ENTITY openldap-directory "openldap-2.1.17">
  -
  -<!ENTITY bind-version   "9.2.2">
  -<!ENTITY bind-package   "bind-9.2.2.tar.gz">
  -<!ENTITY bind-directory "bind-9.2.2">
  -
  -<!ENTITY xinetd-version   "2.3.12">
  -<!ENTITY xinetd-package   "xinetd-2.3.12.tar.gz">
  -<!ENTITY xinetd-directory "xinetd-2.3.12">
  -
  -<!ENTITY leafnode-version   "1.9.33">
  -<!ENTITY leafnode-package   "leafnode-1.9.33.rel.tar.bz2">
  -<!ENTITY leafnode-directory "leafnode-1.9.33.rel">
  +<!ENTITY bind-version   "9.2.3">
  +<!ENTITY bind-package   "bind-&bind-version;.tar.gz">
  +<!ENTITY bind-directory "bind-&bind-version;">
  +
  +<!ENTITY dhcp-version "3.0pl2">
  +<!ENTITY dhcp-package "dhcp-&dhcp-version;.tar.gz">
  +<!ENTITY dhcp-directory "dhcp-&dhcp-version;">
  +
  +<!ENTITY leafnode-version   "1.9.43">
  +<!ENTITY leafnode-package   "leafnode-&leafnode-version;.rel.tar.bz2">
  +<!ENTITY leafnode-directory "leafnode-&leafnode-version;.rel">
  +
  +<!ENTITY openssh-version   "3.8.1p1">
  +<!ENTITY openssh-package   "openssh-&openssh-version;.tar.gz">
  +<!ENTITY openssh-directory "openssh-&openssh-version;">
  +
  +<!ENTITY rsync-version   "2.6.0">
  +<!ENTITY rsync-package   "rsync-&rsync-version;.tar.gz">
  +<!ENTITY rsync-directory "rsync-&rsync-version;">
  +
  +<!ENTITY openldap-version   "2.1.29">
  +<!ENTITY openldap-package   "openldap-&openldap-version;.tgz">
  +<!ENTITY openldap-directory "openldap-&openldap-version;">
  +
  +<!ENTITY samba-version "2.2.8a">
  +<!ENTITY samba-package "samba-&samba-version;.tar.bz2">
  +<!ENTITY samba-directory "samba-&samba-version;">
  +
  +<!ENTITY xinetd-version   "2.3.13">
  +<!ENTITY xinetd-package   "xinetd-&xinetd-version;.tar.gz">
  +<!ENTITY xinetd-directory "xinetd-&xinetd-version;">
   
  -<!--************* packages for chapter 24 *************-->
  +<!--************* packages for chapter 23 *************-->
   
   <!ENTITY db-version   "4.1.25">
  -<!ENTITY db-package   "db-4.1.25.tar.gz">
  -<!ENTITY db-directory "db-4.1.25">
  +<!ENTITY db-package   "db-&db-version;.tar.gz">
  +<!ENTITY db-directory "db-&db-version;">
   
   <!ENTITY db3-version   "3.3.11">
  -<!ENTITY db3-package   "db-3.3.11.tar.gz">
  -<!ENTITY db3-directory "db-3.3.11">
  +<!ENTITY db3-package   "db-&db3-version;.tar.gz">
  +<!ENTITY db3-directory "db-&db3-version;">
  +
  +<!ENTITY mysql-version   "4.0.18">
  +<!ENTITY mysql-package   "mysql-&mysql-version;.tar.gz">
  +<!ENTITY mysql-directory "mysql-&mysql-version;">
  +
  +<!ENTITY postgresql-version   "7.4.2">
  +<!ENTITY postgresql-package   "postgresql-&postgresql-version;.tar.bz2">
  +<!ENTITY postgresql-directory "postgresql-&postgresql-version;">
  +
  +<!--************* packages for chapter 24 **************-->
   
  -<!ENTITY mysql-version   "4.0.15a">
  -<!ENTITY mysql-package   "mysql-4.0.15a.tar.gz">
  -<!ENTITY mysql-directory "mysql-4.0.15a">
  -
  -<!ENTITY postgresql-version   "7.3.4">
  -<!ENTITY postgresql-package   "postgresql-7.3.4.tar.gz">
  -<!ENTITY postgresql-directory "postgresql-7.3.4">
  +<!ENTITY apache-version   "2.0.49">
  +<!ENTITY apache-package   "httpd-&apache-version;.tar.gz">
  +<!ENTITY apache-directory "httpd-&apache-version;">
  +
  +<!ENTITY apache-patch     "httpd-&apache-version;-config.patch">
  +
  +<!ENTITY php-version   "4.3.6">
  +<!ENTITY php-package   "php-&php-version;.tar.bz2">
  +<!ENTITY php-directory "php-&php-version;">
  +
  +<!ENTITY proftpd-version   "1.2.9">
  +<!ENTITY proftpd-package   "proftpd-&proftpd-version;.tar.bz2">
  +<!ENTITY proftpd-directory "proftpd-&proftpd-version;">
   
   <!--************* packages for chapter 25 *************-->
   
  -<!ENTITY apache-version   "2.0.47">
  -<!ENTITY apache-package   "httpd-2.0.47.tar.gz">
  -<!ENTITY apache-directory "httpd-2.0.47">
  -
  -<!ENTITY apache-patch     "httpd-2.0.47-config.patch">
  -
  -<!ENTITY php-version   "4.3.3">
  -<!ENTITY php-package   "php-4.3.3.tar.bz2">
  -<!ENTITY php-directory "php-4.3.3">
  -
  -<!ENTITY proftpd-version   "1.2.8p">
  -<!ENTITY proftpd-package   "proftpd-1.2.8p.tar.bz2">
  -<!ENTITY proftpd-directory "proftpd-1.2.8">
  -
  -<!--************* packages for chapter 26 *************-->
  -
  -<!ENTITY xfree86-version   "4.3.0">
  -<!ENTITY xfree86-package1  "X430src-1.tgz">
  -<!ENTITY xfree86-package2  "X430src-2.tgz">
  -<!ENTITY xfree86-package3  "X430src-3.tgz">
  -<!ENTITY xfree86-package4  "X430src-4.tgz">
  -<!ENTITY xfree86-package5  "X430src-5.tgz">
  -<!ENTITY xfree86-package6  "X430src-6.tgz">
  -<!ENTITY xfree86-package7  "X430src-7.tgz">
  +<!ENTITY xorg-version "6.7.0">
  +<!ENTITY xorg-package1 "X11R&xorg-version;-src1.tar.bz2">
  +<!ENTITY xorg-package2 "X11R&xorg-version;-src2.tar.bz2">
  +<!ENTITY xorg-package3 "X11R&xorg-version;-src3.tar.bz2">
  +<!ENTITY xorg-package4 "X11R&xorg-version;-src4.tar.bz2">
  +<!ENTITY xorg-package5 "X11R&xorg-version;-src5.tar.bz2">
  +<!ENTITY xorg-package6 "X11R&xorg-version;-src6.tar.bz2">
  +<!ENTITY xorg-package7 "X11R&xorg-version;-src7.tar.bz2">
  +<!ENTITY xorg-directory "xc">
  +
  +<!ENTITY xfree86-version   "4.4.0">
  +<!ENTITY xfree86-package1  "XFree86-&xfree86-version;-src-1.tgz">
  +<!ENTITY xfree86-package2  "XFree86-&xfree86-version;-src-2.tgz">
  +<!ENTITY xfree86-package3  "XFree86-&xfree86-version;-src-3.tgz">
  +<!ENTITY xfree86-package4  "XFree86-&xfree86-version;-src-4.tgz">
  +<!ENTITY xfree86-package5  "XFree86-&xfree86-version;-src-5.tgz">
  +<!ENTITY xfree86-package6  "XFree86-&xfree86-version;-src-6.tgz">
  +<!ENTITY xfree86-package7  "XFree86-&xfree86-version;-src-7.tgz">
   <!ENTITY xfree86-directory "xc">
  -
  -<!ENTITY xfree86-ppatch    "4.3.0-4.3.0.1.diff.gz">
  -<!ENTITY xfree86-patch     "4.3.0-4.3.0.1.diff">
   
   <!--************* packages for chapter 27 *************-->
   
  
  
  
  1.25      +19 -16    ALFS/profiles/BLFS/system.ent
  
  Index: system.ent
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/system.ent,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- system.ent	19 May 2004 02:38:52 -0000	1.24
  +++ system.ent	19 May 2004 15:42:43 -0000	1.25
  @@ -156,27 +156,30 @@
   <!ENTITY qpopper   SYSTEM "./chapter21/qpopper.xml">
   <!ENTITY courier   SYSTEM "./chapter21/courier.xml">
   
  +<!-- chapter 22 -->
  +<!ENTITY bind      SYSTEM "./chapter22/bind.xml">
  +<!ENTITY dhcp 	   SYSTEM "./chapter22/dhcp.xml">
  +<!ENTITY leafnode  SYSTEM "./chapter22/leafnode.xml">
  +<!ENTITY openssh   SYSTEM "./chapter22/openssh.xml">
  +<!ENTITY rsync     SYSTEM "./chapter22/rsync.xml">
  +<!ENTITY openldap  SYSTEM "./chapter22/openldap.xml">
  +<!ENTITY samba     SYSTEM "./chapter22/samba.xml">
  +<!ENTITY xinetd    SYSTEM "./chapter22/xinetd.xml">
  +
   <!-- chapter 23 -->
  -<!ENTITY openssh   SYSTEM "./chapter23/openssh.xml">
  -<!ENTITY rsync     SYSTEM "./chapter23/rsync.xml">
  -<!ENTITY openldap  SYSTEM "./chapter23/openldap.xml">
  -<!ENTITY bind      SYSTEM "./chapter23/bind.xml">
  -<!ENTITY xinetd    SYSTEM "./chapter23/xinetd.xml">
  -<!ENTITY leafnode  SYSTEM "./chapter23/leafnode.xml">
  +<!ENTITY db         SYSTEM "./chapter23/db.xml">
  +<!ENTITY db3        SYSTEM "./chapter23/db3.xml">
  +<!ENTITY mysql      SYSTEM "./chapter23/mysql.xml">
  +<!ENTITY postgresql SYSTEM "./chapter23/postgresql.xml">
   
   <!-- chapter 24 -->
  -<!ENTITY db         SYSTEM "./chapter24/db.xml">
  -<!ENTITY db3        SYSTEM "./chapter24/db3.xml">
  -<!ENTITY mysql      SYSTEM "./chapter24/mysql.xml">
  -<!ENTITY postgresql SYSTEM "./chapter24/postgresql.xml">
  +<!ENTITY apache    SYSTEM "./chapter24/apache.xml">
  +<!ENTITY php       SYSTEM "./chapter24/php.xml">
  +<!ENTITY proftpd   SYSTEM "./chapter24/proftpd.xml">
   
   <!-- chapter 25 -->
  -<!ENTITY apache    SYSTEM "./chapter25/apache.xml">
  -<!ENTITY php       SYSTEM "./chapter25/php.xml">
  -<!ENTITY proftpd   SYSTEM "./chapter25/proftpd.xml">
  -
  -<!-- chapter 26 -->
  -<!ENTITY xfree86   SYSTEM "./chapter26/xfree86.xml">
  +<!ENTITY xorg      SYSTEM "./chapter25/xorg.xml">
  +<!ENTITY xfree86   SYSTEM "./chapter25/xfree86.xml">
   
   <!-- chapter 27 -->
   <!ENTITY qt         SYSTEM "./chapter27/qt.xml">
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter22/bind.xml
  
  Index: bind.xml
  ===================================================================
  <package name="bind" version="&bind-version;">
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&bind-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&blfs-bootscripts-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&bind-directory;</base>
  		</stageinfo>
  
  		<configure>
  		        <param>--prefix=/usr</param>
  		        <param>--sysconfdir=/etc</param>
  		</configure>
  
  		<make />
  
  		<make>
  		        <param>install</param>
  		</make>
  
  		<execute command="grep ^named /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  			<param>-g 200</param>
  			<param>named</param>
  		</execute>
  
  		<execute command="grep ^named /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  			<param>-m</param>
  			<param>-g named</param>
  		        <param>-u 200</param>
  			<param>-s /bin/false</param>
  			<param>named</param>
  		</execute>
  
  		<mkdir base="/home/named">
  			<option>parents</option>
  			<name>dev</name>
  			<name>etc/namedb/slave</name>
  			<name>var/run</name>
  		</mkdir>
  
  		<execute command="mknod /home/named/dev/null c 1 3" />
  		<execute command="mknod /home/named/dev/random c 1 8" />
  		
  		<permissions mode="666">
  			<name>/home/named/dev/null</name>
  			<name>/home/named/dev/random</name>
  		</permissions>
  
  		<mkdir>
  			<option>parents</option>
  			<name>/home/named/etc/namedb/pz</name>
  		</mkdir>
  
  		<copy>
  			<source>/etc/localtime</source>
  			<destination>/home/named/etc</destination>
  		</copy>
  	</stage>
  
  	<stage name="Configuring bind">
  		<textdump>
  			<file>/home/named/etc/namedb/pz/127.0.0</file>
  			<content>
  			=$TTL 3D
  			=@      IN      SOA     ns.local.domain. hostmaster.local.domain. (
  			=                        1       ; Serial
  			=                        8H      ; Refresh
  			=                        2H      ; Retry
  			=                        4W      ; Expire
  			=                        1D)     ; Minimum TTL
            		=	         NS      ns.local.domain.
  			=1               PTR     localhost.
  			</content>
  		</textdump>
  
  		<textdump>
  			<file>/home/named/etc/namedb/root.hints</file>
  			<content>
  			=.                       6D  IN      NS      A.ROOT-SERVERS.NET.
  			=.                       6D  IN      NS      B.ROOT-SERVERS.NET.
  			=.                       6D  IN      NS      C.ROOT-SERVERS.NET.
  			=.                       6D  IN      NS      D.ROOT-SERVERS.NET.
  			=.                       6D  IN      NS      E.ROOT-SERVERS.NET.
  			=.                       6D  IN      NS      F.ROOT-SERVERS.NET.
  			=.                       6D  IN      NS      G.ROOT-SERVERS.NET.
  			=.                       6D  IN      NS      H.ROOT-SERVERS.NET.
  			=.                       6D  IN      NS      I.ROOT-SERVERS.NET.
  			=.                       6D  IN      NS      J.ROOT-SERVERS.NET.
  			=.                       6D  IN      NS      K.ROOT-SERVERS.NET.
  			=.                       6D  IN      NS      L.ROOT-SERVERS.NET.
  			=.                       6D  IN      NS      M.ROOT-SERVERS.NET.
  			=A.ROOT-SERVERS.NET.     6D  IN      A       198.41.0.4
  			=B.ROOT-SERVERS.NET.     6D  IN      A       128.9.0.107
  			=C.ROOT-SERVERS.NET.     6D  IN      A       192.33.4.12
  			=D.ROOT-SERVERS.NET.     6D  IN      A       128.8.10.90
  			=E.ROOT-SERVERS.NET.     6D  IN      A       192.203.230.10
  			=F.ROOT-SERVERS.NET.     6D  IN      A       192.5.5.241
  			=G.ROOT-SERVERS.NET.     6D  IN      A       192.112.36.4
  			=H.ROOT-SERVERS.NET.     6D  IN      A       128.63.2.53
  			=I.ROOT-SERVERS.NET.     6D  IN      A       192.36.148.17
  			=J.ROOT-SERVERS.NET.     6D  IN      A       192.58.128.30
  			=K.ROOT-SERVERS.NET.     6D  IN      A       193.0.14.129
  			=L.ROOT-SERVERS.NET.     6D  IN      A       198.32.64.12
  			=M.ROOT-SERVERS.NET.     6D  IN      A       202.12.27.33
  			</content>
  		</textdump>
  
  		<textdump>
  			<file>/etc/rndc.conf</file>
  			<content>
  			=key rndc_key {
  			=algorithm "hmac-md5";
  			=    secret
  			=    "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
  			=    };
  			=options {
  			=    default-server localhost;
  			=    default-key    rndc_key;
  			=};
  			</content>
  		</textdump>
  
  		<copy base="/etc">
  			<source>resolv.conf</source>
  			<destination>resolv.conf.bak</destination>
  		</copy>
  
  		<textdump>
  			<file>/etc/resolv.conf</file>
  			<content>
  			=search &domain;
  			=nameserver 127.0.0.1
  			</content>
  		</textdump>
  
  		<ownership user="named" group="named">
  			<option>recursive</option>
  			<name>/home/named</name>
  		</ownership>
  	</stage>
  
  	<stage name="Install bind bootscript">
  		<stageinfo>
  			<base>&build_dir;/&blfs-bootscripts-directory;</base>
  		</stageinfo>
  
  		<make>
  			<param>install-bind</param>
  		</make>
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&bind-directory;</remove>
  		<remove>&build_dir;/&blfs-bootscripts-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter22/dhcp.xml
  
  Index: dhcp.xml
  ===================================================================
  <package name="dhcp" version="&dhcp-version;">
  
  	<stage name="Unpacking.">
  		<unpack>
  			<archive>&packages_dir;/&dhcp-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&blfs-bootscripts-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  
  	<stage name="Installing.">
  		<stageinfo>
  			<base>&build_dir;/&dhcp-package;</base>
  		</stageinfo>
  
  		<configure />
  
  		<make />
  
  		<make>
  			<param>LIBDIR=/usr/lib</param>
  			<param>INCDIR=/usr/include</param>
  			<param>install</param>
  		</make>
  
  		<execute command="touch /var/state/dhcp/dhcpd.leases" />
  
  		<textdump>
  			<file>/etc/dhcpd.conf</file>
  			<content>
  			=default-lease-time 72000;
  			=max-lease-time 144000;
  			=ddns-update-style ad-hoc;
  			=
  			=subnet 192.168.5.0 netmask 255.255.255.0 {
  			=  range 192.168.5.10 192.168.5.240;
  			=  option broadcast-address 195.168.5.255;
  			=  option routers 192.168.5.1;
  			=}
  			</content>
  		</textdump>
  	</stage>
  
  	<stage name="Install dhcp bootscript">
  		<stageinfo>
  			<base>&build_dir;/&blfs-bootscripts-directory;</base>
  		</stageinfo>
  	
  		<make>
  			<param>install-dhcp</param>
  		</make>
  	</stage>
  
  
  
  	<stage name="Cleanup.">
  		<remove>&build_dir;/&dhcp-directory;</remove>
  		<remove>&build_dir;/&blfs-bootscripts-directory;</remove>
  	</stage>
  </package>
  
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter22/leafnode.xml
  
  Index: leafnode.xml
  ===================================================================
  <package name="leafnode" version="&leafnode-version;">
  
          <packageinfo>
                  <requires><name>pcre</name></requires>
                  <requires><name>xinetd</name></requires>
          </packageinfo>
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&leafnode-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&leafnode-directory;</base>
  		</stageinfo>
  
  		<execute command="grep ^news /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  		        <param>news</param>
  		</execute>
  		
  		<execute command="grep ^news /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  			<param>-g news</param>
  			<param>news</param>
  		</execute>
  
  		<configure>
  			<param>--prefix=/usr</param>
  			<param>--localstatedir=/var</param>
  			<param>--sysconfdir=/etc/news</param>
  			<param>--with-lockfile=/var/lock/fetchnews.lck</param>
  		</configure>
  
  		<make />
  
  		<make>
  		        <param>install</param>
  		</make>
  
  		<execute command="/sbin/ldconfig" />
  
  		<make>
  		        <param>update</param>
  		</make>
  
  
  		<textdump mode="append" base="/etc">
  			<file>xinetd.conf</file>		
  			<content>
  		        =
  		        =service nntp
  			={
  			=    flags           = NAMEINARGS NOLIBWRAP
  			=    socket_type     = stream
  			=    protocol        = tcp
  			=    wait            = no
  			=    user            = news
  			=    server          = /usr/sbin/tcpd
  			=    server_args     = /usr/sbin/leafnode
  			=    instances       = 7
  			=    per_source      = 3
  			=}
  			</content>
  		</textdump>
  
  		<copy>
  		        <source>/etc/news/config.example</source>
  			<destination>/etc/news/config</destination>
  		</copy>
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&leafnode-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter22/openldap.xml
  
  Index: openldap.xml
  ===================================================================
  <package name="openldap" version="&openldap-version;">
  
          <packageinfo>
  	        <requires><name>db</name></requires>
  	</packageinfo>
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&openldap-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&openldap-directory;</base>
  		</stageinfo>
  
  		<configure>
  		        <param>--prefix=/usr</param>
  			<param>--libexecdir=/usr/sbin</param>
  			<param>--sysconfdir=/etc</param>
  			<param>--disable-debug</param>
  			<param>--enable-ldbm</param>
  		</configure>
  
  		<make>
  		        <param>depend</param>
  		</make>
  
  		<make />
  
  		<make>
  		        <param>test</param>
  		</make>
  
  		<make>
  		        <param>install</param>
  		</make>
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&openldap-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter22/openssh.xml
  
  Index: openssh.xml
  ===================================================================
  <package name="openssh" version="&openssh-version;">
  
          <packageinfo>
                  <requires><name>openssl</name></requires>
  		<utilizes><name>linuxpam</name></utilizes>
          </packageinfo>
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&openssh-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  		
  		<unpack>
  			<archive>&packages_dir;/&blfs-bootscripts-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&openssh-directory;</base>
  		</stageinfo>
  
  		<mkdir>
  		        <option>parents</option>
  			<name>/var/empty</name>
  		</mkdir>
  
  		<ownership user="root" group="sys">
  		        <name>/var/empty</name>
                  </ownership>
  
  		<execute command="grep ^sshd /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  		        <param>sshd</param>
  		</execute>
  		
  		<execute command="grep ^sshd /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  			<param>-c 'sshd privsep'</param>
  			<param>-d /var/empty</param>
  			<param>-g sshd</param>
  			<param>-s /bin/false</param>
  			<param>sshd</param>
  		</execute>
  
  		<search_replace>
  			<file>configure</file>
  			<find>-lcryptp</find>
  			<replace>/usr/lib/libcrypto.a</replace>
  		</search_replace>
  
  		<configure>
  		        <param>--prefix=/usr</param>
  		        <param>--sysconfdir=/etc/ssh</param>
  		        <param>--libexecdir=/usr/sbin</param>
  		        <param>--with-md5-passwords</param>
  		</configure>
  
  		<make />
  
  		<make>
  		        <param>install</param>
  		</make>
  	</stage>
  
  	<stage name="Installing openssh bootscript">
  		<stageinfo>
  			<base>&build_dir;/&blfs-bootscripts-directory;</base>
  		</stageinfo>
  
  		<make>
  			<param>install-sshd</param>
  		</make>
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&openssh-directory;</remove>
  		<remove>&build_dir;/&blfs-bootscripts-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter22/rsync.xml
  
  Index: rsync.xml
  ===================================================================
  <package name="rsync" version="&rsync-version;">
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&rsync-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&rsync-directory;</base>
  		</stageinfo>
  
  		<execute command="grep ^rsyncd /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  		        <param>rsyncd</param>
  		</execute>
  		
  		<execute command="grep ^rsyncd /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  			<param>-c rsyncd</param>
  			<param>-d /home/rsync</param>
  			<param>-g rsyncd</param>
  			<param>-s /bin/false</param>
  			<param>rsyncd</param>
  		</execute>
  
  		<configure>
  		        <param>--prefix=/usr</param>
  		</configure>
  
  		<make />
  
  		<make>
  		        <param>install</param>
  		</make>
  		
  		<textdump base="/etc">
          		<file>/etc/rsync.conf</file>
  			<content>
  			=# This is a basic rsync configuration file
  			=# It exports a single module without user authentification.
  			=
  			=motd file = /home/rsync/welcome.msg
  			=use chroot = yes
  			=
  			=[localhost]
  			=	path = /home/rsync
  			=	comment = Default rsync module
  			=	read only = yes
  			=	list = yes
  			=	uid = rsyncd
  			=	gid = rsyncd
  			=
  			</content>
       		 </textdump>		
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&rsync-directory;</remove>
  		<remove>&build_dir;/&blfs-bootscripts-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter22/samba.xml
  
  Index: samba.xml
  ===================================================================
  <package name="samba" version="2.2.8a">
  
  	<stage name="Unpacking.">
  		<unpack>
  			<archive>&packages_dir;/&samba-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&blfs-bootscripts-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  
  	<stage name="Installing.">
  		<stageinfo>
  			<base>&build_dir;/&samba-directory;/source</base>
  		</stageinfo>
  
  		<mkdir>
  			<option>parents</option>
  			<name>/etc/samba/private</name>
  			<name>/var/cache/samba</name>
  		</mkdir>
  
  		<configure>
  			<param>--prefix=/usr</param>
  			<param>--sysconfdir=/etc</param>
  			<param>--localstatedir=/var</param>
  			<param>--with-piddir=/var/run</param>
  			<param>--with-fhs</param>
  			<param>--with-smbmount</param>
  		</configure>
  
  		<make />
  
  		<make>
  			<param>install</param>
  		</make>
  
  		<remove>/usr/private</remove>
  	
  		<textdump mode="append">
  			<file>/etc/services</file>
  			<content>
  			=swat 901/tcp
  			</content>
  		</textdump>
  
  		<textdump mode="append">
  			<file>/etc/inetd.conf</file>
  			<content>
  			=swat stream tcp nowait.400 root /usr/sbin/swat swat
  			</content>
  		</textdump>
  	</stage>
  
  	<stage name="Configuring samba">
  		<mkdir>
  			<option>parents</option>
  			<name>/var/lib/samba</name>
  			<name>/var/lib/samba/netlogon</name>
  			<name>/var/lib/samba/ntprofile</name>
  			<name>/var/lib/samba/profiles</name>
  		</mkdir>
  
  		<permissions mode="1777">
  			<option>recursive</option>
  			<name>/var/lib/samba</name>
  		</permissions>
  
  		<textdump>
  			<file>/etc/samba/smb.conf</file>
  			<content>
  			=[global]
  			=    netbios name = SAMBABOX
  			=    workgroup = DOMAIN01
  			=    os level = 64
  			=    preferred master = yes
  			=    domain master = yes
  			=    local master = yes
  			=    security = user
  			=    encrypt passwords = yes
  			=    domain logons = yes
  			=    log file = /var/log/log.%m
  			=    log level = 1
  			=    logon path = \\%N\home\%u\windows
  			=    logon drive = H:
  			=    logon home = \\homeserver\%u\windows
  			=    logon script = logon.cmd
  			=[netlogon]
  			=      path = /var/lib/samba/netlogon
  			=      read only = yes
  			=      write list = ntadmin
  			=[profiles]
  			=      path = /var/lib/samba/ntprofile
  			=      read only = no
  			=      create mask = 0600
  			=      directory mask = 0700
  			=; World writable share for testing
  			=[tmp]
  			=comment = Temporary file space
  			=        path = /tmp
  			=        read only = no
  			=        public = yes
  			=[home]
  			=comment = Users' home directories
  			=        path = /home
  			=        read only = no
  			=        public = no
  			</content>
  		</textdump>
  	</stage>
  
  	<stage name="Installing samba bootscript">
  		<stageinfo>
  			<base>&build_dir;/&samba-directory;</base>	
  		</stageinfo>
  
  		<make>
  			<param>install-samba</param>
  		</make>
  	</stage>
  
  	<stage name="Cleanup.">
  		<remove>&build_dir;/&samba-directory;</remove>
  		<remove>&build_dir;/&blfs-bootscripts-directory;</remove>
  	</stage>
  </package>
  
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter22/xinetd.xml
  
  Index: xinetd.xml
  ===================================================================
  <package name="xinetd" version="&xinetd-version;">
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&xinetd-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&blfs-bootscripts-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&xinetd-directory;</base>
  		</stageinfo>
  
  		<configure>
  		        <param>--prefix=/usr</param>
  		</configure>
  
  		<make />
  
  		<make>
  		        <param>install</param>
  		</make>
  
  		<copy>
  			<source>xinetd/sample.conf</source>
  			<destination>/etc/xinetd.conf</destination>
  		</copy>
  
  		<search_replace>
  			<file>/etc/xinetd.conf</file>
  			<find>/etc</find>
  			<replace>/sbin</replace>
  		</search_replace>		
  
  	</stage>
  
  	<stage name="Installing xinetd bootscript">
  		<stageinfo>
  			<base>&build_dir;/&blfs-bootscripts-directory;</base>
  		</stageinfo>
  
  		<make>
  			<param>install-xinetd</param>
  		</make>
  	</stage>
  		
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&xinetd-directory;</remove>
  		<remove>&build_dir;/&blfs-bootscripts-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter23/db.xml
  
  Index: db.xml
  ===================================================================
  <package name="db" version="&db-version;">
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&db-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&db-directory;/build_unix</base>
  		</stageinfo>
  
  		<configure command="../dist/configure">
  			<param>--prefix=/usr</param>
  			<param>--enable-compat185</param>
  			<param>--enable-cxx</param>
  		</configure>
  
  		<make/>
  
  		<make>
  			<param>docdir=/usr/share/doc/db-&db-version;</param>
  			<param>install</param>
  		</make>
  
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&db-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter23/db3.xml
  
  Index: db3.xml
  ===================================================================
  <package name="db3" version="&db3-version;">
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&db3-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&db3-directory;/build_unix</base>
  		</stageinfo>
  
  		<configure command="../dist/configure">
  			<param>--prefix=/opt/db-3.3</param>
  			<param>--enable-compat185</param>
  		</configure>
  
  		<make />
  
  		<make>
  			<param>docdir=/opt/db-3.3/Berkeley-DB</param>
  			<param>install</param>
  		</make>
  
  
  		<remove>/opt/db-3.3/lib/libdb.so</remove>
  
  		<execute command="cd /opt/db-3.3/lib/ && for i in $(ls); do mv $i /usr/lib; ln -sf /usr/lib/$i; done" />
  		<execute command="sed 's/^DB185/DB/' /opt/db-3.3/include/db_185.h > /opt/db-3.3/include/db_185.h.new" />
  
  		<move>
  		        <source>/opt/db-3.3/include/db_185.h.new</source>
  			<destination>/opt/db-3.3/include/db_185.h</destination>
  		</move>
  
  		<execute command = "ln -nsf /opt/db-3.3/include /usr/include/db3" />
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&db3-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter23/mysql.xml
  
  Index: mysql.xml
  ===================================================================
  <package name="mysql" version="&mysql-version;">
  
          <packageinfo>
  	        <utilizes><name>readline</name></utilizes>
  	        <utilizes><name>openssl</name></utilizes>
  	</packageinfo>
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&mysql-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&blfs-bootscripts-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&mysql-directory;</base>
  		</stageinfo>
  
  		<execute command="grep ^mysql /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  			<param>mysql</param>
  		</execute>
  
  		<execute command="grep ^mysql /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  		        <param>-c mysql</param>
  			<param>-d /dev/null</param>
  			<param>-g mysql</param>
  			<param>-s /bin/false</param>
  			<param>mysql</param>
  		</execute>
  
  		<configure>
                          <param>--prefix=/usr</param>
                          <param>--sysconfdir=/etc</param>
                          <param>--libexecdir=/usr/sbin</param>
                          <param>--localstatedir=/var/lib/mysql</param>
                          <param>--enable-thread-safe-client</param>
  			<param>--enable-local-infile</param>
  			<param>--enable-assembler</param>
                          <param>--without-debug</param>
                          <param>--without-bench</param>
  		</configure>
  
  		<make>
  			<param>testdir=/usr/lib/mysql/mysql-test</param>
  		</make>
  
  		<make>
  			<param>testdir=/usr/lib/mysql/mysql-test</param>
  			<param>install</param>
  		</make>
  
  		<execute command="cd /usr/lib && 
  			ln -sf mysql/libmysqlclient{,_r}.so* ." />
  
  		<!-- CONFIGURATION -->
  
  		<copy>
  		        <source>/usr/share/mysql/my-medium.cnf</source>
  			<destination>/etc/my.cnf</destination>
  		</copy>
  
  		<execute command="mysql_install_db" />
  
  		<ownership user="mysql" group="mysql">
  		    <option>recursive</option>
  		    <name>/var/lib/mysql</name>
  		</ownership>
  
  		<!--
  
  		<execute command="safe_mysqld 2>&1 >/dev/null &" />
  
  		<textdump>
  		        <file>/tmp/mysql.script</file>
  			<content>
  			=UPDATE user SET password=password(&mysql-password;) WHERE user='root';
  			=FLUSH PRIVILEGES;
  			=EXIT;
  			</content>
  		</textdump>
  
  		<execute command="mysql -uroot mysql < /tmp/mysql.script" />
  
  		<remove>/tmp/mysql.script</remove>
  
  		<execute command="kill `pidof -x safe_mysqld mysqld`" />
  		-->
  	</stage>
  
  	<stage name="Install mysql bootscript">
  		<stageinfo>
  			<base>&build_dir;/&blfs-bootscripts-directory;</base>
  		</stageinfo>
  	
  		<make>
  			<param>install-mysql</param>
  		</make>
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&mysql-directory;</remove>
  		<remove>&build_dir;/&blfs-bootscripts-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter23/postgresql.xml
  
  Index: postgresql.xml
  ===================================================================
  <package name="postgresql" version="&postgresql-version;">
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&postgresql-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&blfs-bootscripts-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&postgresql-directory;</base>
  		</stageinfo>
  
  		<configure>
                          <param>--prefix=/usr</param>
  		</configure>
  
  		<make/>
  
  		<make>
  			<param>install</param>
  		</make>
  
  		<mkdir>
  		        <option>parents</option>
  			<name>/var/pgsql/data</name>
  		</mkdir>
  
  
  		<execute command="grep ^postgres /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  			<param>-d /var/pgsql/data</param>
  			<param>postgres</param>
  		</execute>
  
  		<ownership user="postgres">
  		        <name>/var/pgsql/data</name>
  		</ownership>
  
  		<execute command="su - postgres -c '/usr/bin/initdb -D /var/pgsql/data'" />
  	</stage>
  
  	<stage name="Installing postgresql bootscript">
  		<stageinfo>
  			<base>&build_dir;/&blfs-bootscripts-directory;</base>
  		</stageinfo>
  
  		<make>
  			<param>install-postgresql</param>
  		</make>
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&postgresql-directory;</remove>
  		<remove>&build_dir;/&blfs-bootscripts-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter24/apache.xml
  
  Index: apache.xml
  ===================================================================
  <package name="apache" version="&apache-version;">
  
  	<packageinfo>
  		<utilizes><name>db</name></utilizes>
  		<utilizes><name>gdbm</name></utilizes>
  		<utilizes><name>openssl</name></utilizes>
  		<utilizes><name>openldap</name></utilizes>
  		<utilizes><name>lynx</name></utilizes>
  	</packageinfo>
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&apache-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<copy>
  			<source>&packages_dir;/&apache-patch;</source>
  			<destination>&build_dir;</destination>
  		</copy>
  	
  		<unpack>
  			<archive>&packages_dir;/&blfs-bootscripts-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&apache-directory;</base>
  		</stageinfo>
  
  		<execute command="grep ^apache /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  			<param>apache</param>
  		</execute>
  
  		<execute command="grep ^apache /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  			<param>-c apache</param>
  			<param>-d /dev/null</param>
  			<param>-g apache</param>
  			<param>-s /bin/false</param>
  			<param>apache</param>
  		</execute>
  
  		<patch>
  			<param>-N</param>
  			<param>-p1</param>
  			<param>-i ../&apache-patch;</param>
  		</patch>
  
  		<configure>
  			<param>--enable-layout=LFS</param>
  			<param>--enable-mods-shared=all</param>
  		</configure>
  
  		<make />
  
  		<make>
  			<param>install</param>
  		</make>
  		
  		<search_replace base="/etc/apache">
  			<file>httpd.conf</file>
  			<find>User nobody</find>
  			<replace>User apache</replace>
  		</search_replace>
  
  		<search_replace base="/etc/apache">
  			<file>httpd.conf</file>
  			<find>Group #-1</find>
  			<replace>Group apache</replace>
  		</search_replace>
  	</stage>
  
  	<stage name="Installing apache bootscript">
  		<stageinfo>
  			<base>&build_dir;/&blfs-bootscripts-directory;</base>
  		</stageinfo>
  
  		<make>
  			<param>install-apache</param>
  		</make>
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&apache-directory;</remove>
  		<remove>&build_dir;/&blfs-bootscripts-directory;</remove>
  	</stage>
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter24/php.xml
  
  Index: php.xml
  ===================================================================
  <package name="php" version="&php-version;">
  
          <packageinfo>
                  <requires><name>mysql</name></requires>
                  <requires><name>apache</name></requires>
  		
  		<utilizes><name>openssl</name></utilizes>
                  <utilizes><name>bc</name></utilizes>
                  <utilizes><name>curl</name></utilizes>
                  <utilizes><name>db</name></utilizes>
                  <utilizes><name>libjpeg</name></utilizes>
                  <utilizes><name>libpng</name></utilizes>
  		<utilizes><name>freetype</name></utilizes>
                  <utilizes><name>gdbm</name></utilizes>
                  <utilizes><name>sendmail</name></utilizes>
                  <utilizes><name>pcre</name></utilizes>
                  <utilizes><name>postgesql</name></utilizes>
                  <utilizes><name>readline</name></utilizes>
                  <utilizes><name>libtiff</name></utilizes>
                  <utilizes><name>readline</name></utilizes>
                  <utilizes><name>expat</name></utilizes>
                  <utilizes><name>gmp</name></utilizes>
          </packageinfo>
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&php-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&php-directory;</base>
  		</stageinfo>
  
  		<configure>
  		        <param>--prefix=/usr</param>
  			<param>--sysconfdir=/etc</param>
  			<param>--with-apxs2</param>
  			<param>--with-config-file-path=/etc</param>
  			<param>--with-zlib</param>
  			<param>--with-bz2</param>
  			<param>--enable-ftp</param>
  			<param>--with-gettext</param>
  			<param>--with-iconv</param>
  			<param>--with-mysql=/usr</param>
  			<param>--with-ncurses</param>
  		</configure>
  
  		<make />
  
  		<make>
  			<param>install</param>
  		</make>
  
  		<copy>
  		        <source>php.ini-dist</source>
  			<destination>/etc/php.ini</destination>
  		</copy>
  
  	</stage>
  
  
  	<stage name="Configuring a package.">
  
  	<!-- remove line if already inserted -->
  		<search_replace base="/etc/apache">
  			<file>httpd.conf</file>
  			<find>AddType application/x-httpd-php .php</find>
  			<replace></replace>
  		</search_replace>
  	
  		<textdump mode="append" base="/etc/apache">
  	        	<file>httpd.conf</file>
  			<content>
                  	=AddType application/x-httpd-php .php
  			</content>
  		</textdump>
  	</stage>
  
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&php-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter24/proftpd.xml
  
  Index: proftpd.xml
  ===================================================================
  <package name="proftpd" version="&proftpd-version;">
  
          <stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&proftpd-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&blfs-bootscripts-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&proftpd-directory;</base>
  		</stageinfo>
  
  		<execute command="grep ^proftpd /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  		        <param>proftpd</param>
  		</execute>
  
  		<execute command="grep ^proftpd /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  		        <param>-c proftpd</param>
  			<param>-d /home/ftp</param>
  			<param>-g proftpd</param>
  			<param>-s /bin/false</param>
  			<param>proftpd</param>
  		</execute>
  
  		<configure>
  			<prefix>install_user=proftpd</prefix>
  			<prefix>install_group=proftpd</prefix>                 
  		        <param>--prefix=/usr</param>
                          <param>--sysconfdir=/etc</param>
                          <param>--localstatedir=/var</param>
  		</configure>
  
  		<make />
  
  		<make>
  			<param>install</param>
  		</make>
  	</stage>
  
  	<stage name="Configuring a package.">
  		<textdump base="/etc">
  			<file>proftpd.conf</file>
  			<content>
  			=# This is a basic ProFTPD configuration file
  			=# It establishes a single server and a single anonymous login.
  			=
  			=ServerName			"ProFTPD Default Installation"
  			=ServerType			standalone
  			=DefaultServer			on
  			=
  			=# Port 21 is the standard FTP port.
  			=Port				21
  			=# Umask 022 is a good standard umask to prevent new dirs and files
  			=# from being group and world writable.
  			=Umask				022
  			=
  			=# To prevent DoS attacks, set the maximum number of child processes
  			=# to 30.  If you need to allow more than 30 concurrent connections
  			=# at once, simply increase this value.  Note that this ONLY works
  			=# in standalone mode, in inetd mode you should use an inetd server
  			=# that allows you to limit maximum number of processes per service
  			=# (such as xinetd)
  			=MaxInstances			30
  			=
  			=# Set the user and group that the server normally runs at.
  			=User				proftpd
  			=Group				proftpd
  			=
  			=# Normally, we want files to be overwriteable.
  			=<Directory /*>
  			=  AllowOverwrite		on
  			=</Directory>
  			=
  			=# A basic anonymous configuration, no upload directories.
  			=<Anonymous ~proftpd>
  			=  User				proftpd
  			=  Group				proftpd
  			=  # We want clients to be able to login with "anonymous" as well as "proftpd"
  			=  UserAlias			anonymous proftpd
  			=
  			=  # Limit the maximum number of anonymous logins
  			=  MaxClients			10
  			=
  			=  # We want 'welcome.msg' displayed at login, and '.message' displayed
  			=  # in each newly chdired directory.
  			=  DisplayLogin			welcome.msg
  			=  DisplayFirstChdir		.message
  			=
  			=  # Limit WRITE everywhere in the anonymous chroot
  			=  <Limit WRITE>
  			=    DenyAll
  			=  </Limit>
  			=</Anonymous>
  			</content>
  		</textdump>
  	</stage>
  
  	<stage name="Installing proftpd bootscript">
  		<stageinfo>
  			<base>&build_dir;/&blfs-bootscripts-directory;</base>
  		</stageinfo>
  
  		<make>
  			<param>install-proftpd</param>
  		</make>
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&proftpd-directory;</remove>
  		<remove>&build_dir;/&blfs-bootscripts-directory;</remove>
  	</stage>
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter25/xfree86.xml
  
  Index: xfree86.xml
  ===================================================================
  <package name="xfree86" version="&xfree86-version;">
  
          <packageinfo>
                  <requires><name>expat</name></requires>
                  <requires><name>libpng</name></requires>
  		<requires><name>freetype</name></requires>
  		<requires><name>fontconfig</name></requires>
          </packageinfo>
  
  	<stage name="Unpacking and patching a package.">
  		<unpack>
  			<archive>&packages_dir;/&xfree86-package1;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&xfree86-package2;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&xfree86-package3;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&xfree86-package4;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&xfree86-package5;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&xfree86-package6;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  
  		<unpack>
  			<archive>&packages_dir;/&xfree86-package7;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&xfree86-directory;</base>
  		</stageinfo>
  
  		<textdump base="&build_dir;/&xfree86-directory;/config/cf">
  		    <file>host.def</file>
  		    <content>
  		    =/* Begin XFree86 host.def file */
  		    =
  		    =/* System Related Information.  If you read and configure only one
  		    = * section then it should be this one.  The Intel architecture defaults are 
  		    = * set for a i686 and higher.  Axp is for the Alpha architecture and Ppc is  
  		    = * for the Power PC.  Note that there have been reports that the Ppc 
  		    = * optimization line causes segmentation faults during build.  If that 
  		    = * happens, try building without the DefaultGcc2PpcOpt line.  **************/
  		    =
  		    =/* #define DefaultGcc2i386Opt  -O2 -fomit-frame-pointer -march=i686 */
  		    =/* #define DefaultGcc2AxpOpt   -O2 -mcpu=ev6 */
  		    =/* #define DefaultGcc2PpcOpt   -O2 -mcpu=750 */
  		    =
  		    =/* The following definitions are normally set properly by XFree86's scripts.
  		    = * You can uncomment them if you want to make sure. ************************/
  		    = 
  		    =/* #define HasMTRRSupport      YES  */ /* Enabled in kernel see kernel docs*/
  		    =/* #define HasMMXSupport        NO  */ /* Any i586 or above */
  		    =/* #define HasKatmaiSupport     NO  */ /* PIII SSE instructions */
  		    =/* #define Has3DNowSupport      NO  */ /* AMD instructions */
  		    =
  		    =
  		    =/* This setting reduces compile time a little by omitting rarely used input 
  		    = * devices.  You can find the complete list in config/cf/xfree86.cf ********/
  		    = 
  		    =#define XInputDrivers                 mouse void
  		    =
  		    =/* VIDEO DRIVERS ***********************************************************/
  		    =
  		    =/* If you are sure you only want the drivers for one or a few video cards,
  		    = * you can delete the drivers you do not want. *****************************/ 
  		    =
  		    =
  		    =#define XF86CardDrivers  mga glint nv tga s3 s3virge sis rendition \
  		    =                         neomagic i740 tdfx savage \
  		    =                         cirrus vmware tseng trident chips apm \
  		    =                         GlideDriver fbdev i128 nsc \
  		    =                         ati i810 AgpGartDrivers DevelDrivers ark \
  		    =                         cyrix siliconmotion \
  		    =                         vesa vga \
  		    =                         dummy XF86OSCardDrivers XF86ExtraCardDrivers
  		    =
  		    =
  		    =/* FONT SERVER AND LIBRARY SETTINGS ****************************************/
  		    =
  		    =/* These settings are the defaults   ***************************************/
  		    =
  		    =/* #define BuildFontServer          YES  */ /* For Ghostscript Print Server*/
  		    =/* #define SharedLibFont            YES  */
  		    =/* #define CompressAllFonts         YES  */
  		    =/* #define GzipFontCompression      YES  */
  		    =
  		    =/* These settings ensure we use our libraries ******************************/
  		    =#define HasFreetype2             YES
  		    =#define HasFontconfig            YES
  		    =#define HasExpat                 YES
  		    =#define HasLibpng                YES
  		    =#define HasZlib                  YES
  		    =
  		    =/* The font path can be redefined in the XF86Config file *******************/
  		    =
  		    =/*
  		    =#define DefaultFontPath                $(FONTDIR)/misc/,$(FONTDIR)/75dpi/,\
  		    =$(FONTDIR)/100dpi/,$(FONTDIR)/Type1,$(FONTDIR)/local,\
  		    =$(FONTDIR)/TrueType,$(FONTDIR)/CID,$(FONTDIR)/Speedo
  		    =*/
  		    =
  		    =
  		    =/* INTERNATIONAL FONTS.  Change to YES if you need any of them.  These  are
  		    = * the defaults. ***********************************************************/
  		    =
  		    =#define BuildCyrillicFonts            YES
  		    =#define BuildArabicFonts              YES
  		    =#define BuildISO8859_6Fonts           YES
  		    =#define BuildGreekFonts               YES
  		    =#define BuildISO8859_7Fonts           YES
  		    =#define BuildHebrewFonts              YES
  		    =#define BuildISO8859_8Fonts           YES
  		    =#define BuildKOI8_RFonts              YES
  		    =#define BuildJapaneseFonts            YES
  		    =#define BuildJISX0201Fonts            YES
  		    =#define BuildKoreanFonts              YES
  		    =#define BuildChineseFonts             YES
  		    =
  		    =/* DOCUMENTATION SETTINGS **************************************************/
  		    =
  		    =/* These setting are the defaults. *****************************************/
  		    =
  		    =/* #define BuildLinuxDocHtml             NO  */  /* X Docs in Html format */
  		    =/* #define BuildLinuxDocPS               NO  */  /* PostScript format */
  		    =/* #define BuildAllSpecsDocs             NO  */  /* Various docs */
  		    =/* #define BuildHtmlManPages             NO  */
  		    =
  		    =/* GENERAL SETTINGS: You generally want to leave these alone when
  		    = * building X on an LFS system *********************************************/
  		    =
  		    =#define GccWarningOptions         -pipe /* Speed up compiles */
  		    =#define TermcapLibrary            -lncurses
  		    =#define XprtServer                YES /* Needed by realplayer */
  		    =#define XnestServer               YES
  		    =#define XAppLoadDir               EtcX11Directory/app-defaults
  		    =#define VarLibDir                 /var/lib
  		    =#define XFree86Devel               NO
  		    =#define FSUseSyslog               YES
  		    =#define ThreadedX                 YES
  		    =#define HasPam                     NO        
  		    =#define SystemManDirectory        /usr/share/man  /* Instead of /usr/man */
  		    =#define HasLibCrypt               YES
  		    =#define InstallXinitConfig        YES
  		    =#define InstallXdmConfig          YES
  		    =#define ForceNormalLib            YES
  		    =#define BuildSpecsDocs             NO
  		    =
  		    =/* End XFree86 host.def file */
  		    </content>
  		</textdump>
  
  		<make>
  		        <param>World</param>
  		</make>
  
  		<make>
  		        <param>install</param>
  		</make>
  
  		<make>
  		        <param>install.man</param>
  		</make>
  
                  <link>
  		        <option>force</option>
  		        <target>/usr/X11R6/bin</target>
  			<name>/usr/bin/X11</name>
  		</link>
  
                  <link>
  		        <option>force</option>
  		        <target>/usr/X11R6/lib/X11</target>
  			<name>/usr/lib/X11</name>
  		</link>
  
                  <link>
  		        <option>force</option>
  		        <target>/usr/X11R6/include/X11</target>
  			<name>/usr/include/X11</name>
  		</link>
  		
  		
  		<!-- update /etc/ld.so.conf -->
  
  		<search_replace base="/etc">
  		    	<file>ld.so.conf</file>
  		    	<find>/usr/X11R6/lib</find>
  		    	<replace></replace>
                  </search_replace>
  
  		<textdump mode="append" base="/etc">
  		    	<file>ld.so.conf</file>
  		    	<content>
                          =/usr/X11R6/lib
  		    	</content>
  		</textdump>
  		
  		<execute command="/sbin/ldconfig" />
  		
  		<link base="/dev">
  		    	<option>force</option>
  		    	<target>psaux</target>
  		    	<name>mouse</name>
  		</link>
  		
  		<textdump base="/root">
  		    	<file>.xinitrc</file>
  		    	<content>
                          =# Begin .xinitrc file
                          =xterm  -g 80x40+0+0   &
                          =xclock -g 100x100-0+0 &
                          =twm
                          =# End .xinitrc file
  		    	</content>
  		</textdump>
  
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&xfree86-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/wget/chapter19.urls
  
  Index: chapter19.urls
  ===================================================================
  ftp://ftp.ee.lbl.gov/traceroute-1.4a12.tar.gz
  
  http://download.insecure.org/nmap/dist/nmap-3.50.tar.bz2
  
  ftp://ftp.linux.it/debian/pool/main/w/whois/whois_4.6.9.tar.gz
  
  ftp://ftp.isc.org/isc/bind9/9.2.3/bind-9.2.3.tar.gz
  
  
  
  1.1                  ALFS/profiles/BLFS/wget/chapter20.urls
  
  Index: chapter20.urls
  ===================================================================
  http://nail.berlios.de/archive/nail-10.7.tar.bz2
  
  ftp://ftp.procmail.net/pub/procmail/procmail-3.22.tar.gz
  
  http://www.catb.org/~esr/fetchmail/fetchmail-6.2.5.tar.gz
  
  ftp://ftp.mutt.org/mutt/mutt-1.4.2.1i.tar.gz
  
  ftp://ftp.cac.washington.edu/pine/pine4.58.tar.bz2
  http://www.linuxfromscratch.org/patches/blfs/cvs/pine-4.58-fhs-2.patch
  
  ftp://ftp.fh-heilbronn.de/pub/mirrors/slrn/slrn-0.9.8.0.tar.bz2
  
  
  
  1.1                  ALFS/profiles/BLFS/wget/chapter21.urls
  
  Index: chapter21.urls
  ===================================================================
  ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-2.0.19.tar.gz
  
  ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.12.10.tar.gz
  
  ftp://ftp.exim.org/pub/exim/exim4/exim-4.24.tar.bz2
  
  ftp://ftp.qualcomm.com/eudora/servers/unix/popper/qpopper4.0.5.tar.gz
  
  http://osdn.dl.sourceforge.net/sourceforge/courier/courier-0.45.4.tar.bz2
  
  
  
  1.1                  ALFS/profiles/BLFS/wget/chapter22.urls
  
  Index: chapter22.urls
  ===================================================================
  ftp://ftp.isc.org/isc/bind9/9.2.3/bind-9.2.3.tar.gz
  
  ftp://ftp.isc.org/isc/dhcp/dhcp-3.0pl2.tar.gz
  
  http://unc.dl.sourceforge.net/sourceforge/leafnode/leafnode-1.9.43.rel.tar.bz2
  
  ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-3.8.1p1.tar.gz
  
  ftp://gd.tuwien.ac.at/utils/admin-tools/rsync/rsync-2.6.0.tar.gz
  
  ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.1.29.tgz
  
  http://us1.samba.org/samba/ftp/old-versions/samba-2.2.8a.tar.bz2
  
  ftp://gd.tuwien.ac.at/infosys/servers/xinetd/xinetd-2.3.13.tar.gz
  
  
  
  1.1                  ALFS/profiles/BLFS/wget/chapter23.urls
  
  Index: chapter23.urls
  ===================================================================
  ftp://ftp.us.xemacs.org/pub/xemacs/aux/db-4.1.25.tar.gz
  
  ftp://ftp.pu.edu.tw/Unix/Database/BerkeleyDB/db-3.3.11.tar.gz
  
  ftp://mirror.mcs.anl.gov/pub/mysql/Downloads/MySQL-4.0/mysql-4.0.18.tar.gz
  
  ftp://ftp.fr.postgresql.org/v7.4.2/postgresql-7.4.2.tar.bz2
  
  
  
  1.1                  ALFS/profiles/BLFS/wget/chapter24.urls
  
  Index: chapter24.urls
  ===================================================================
  ftp://ftp.tux.org/pub/net/apache/dist/httpd/httpd-2.0.49.tar.gz
  http://www.linuxfromscratch.org/patches/blfs/cvs/httpd-2.0.49-config.patch
  
  ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-4.3.6.tar.bz2
  
  ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.9.tar.bz2
  
  
  
  1.1                  ALFS/profiles/BLFS/wget/chapter25.urls
  
  Index: chapter25.urls
  ===================================================================
  http://freedesktop.org/~xorg/X11R6.7.0/src/X11R6.7.0-src1.tar.gz
  http://freedesktop.org/~xorg/X11R6.7.0/src/X11R6.7.0-src2.tar.gz
  http://freedesktop.org/~xorg/X11R6.7.0/src/X11R6.7.0-src3.tar.gz
  http://freedesktop.org/~xorg/X11R6.7.0/src/X11R6.7.0-src4.tar.gz
  http://freedesktop.org/~xorg/X11R6.7.0/src/X11R6.7.0-src5.tar.gz
  http://freedesktop.org/~xorg/X11R6.7.0/src/X11R6.7.0-src6.tar.gz
  http://freedesktop.org/~xorg/X11R6.7.0/src/X11R6.7.0-src7.tar.gz
  
  ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-1.tgz
  ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-2.tgz
  ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-3.tgz
  ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-4.tgz
  ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-5.tgz
  ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-6.tgz
  ftp://ftp.xfree86.org/pub/XFree86/4.4.0/source/XFree86-4.4.0-src-7.tgz
  
  
  



More information about the alfs-log mailing list