cvs commit: ALFS/profiles/BLFS/chapter22 postfix.xml qpopper.xml

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Tue May 18 19:38:53 PDT 2004


thomasp     04/05/18 20:38:53

  Modified:    profiles/BLFS BLFS.xml packages.ent system.ent
               profiles/BLFS/chapter12 j2sdk.xml tcl.xml
               profiles/BLFS/chapter14 dhclient.xml
               profiles/BLFS/chapter19 nmap.xml
               profiles/BLFS/chapter20 mutt.xml nail.xml pine.xml slrn.xml
  Added:       profiles/BLFS/chapter19 bind-utils.xml
               profiles/BLFS/chapter21 courier.xml exim.xml postfix.xml
                        qpopper.xml sendmail.xml
  Removed:     profiles/BLFS/chapter21 daemontools.xml
               profiles/BLFS/chapter22 postfix.xml qpopper.xml
  Log:
  Chapter 19-21 updated
  
  Revision  Changes    Path
  1.29      +5 -2      ALFS/profiles/BLFS/BLFS.xml
  
  Index: BLFS.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/BLFS.xml,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- BLFS.xml	18 May 2004 20:45:20 -0000	1.28
  +++ BLFS.xml	19 May 2004 02:38:52 -0000	1.29
  @@ -9,7 +9,7 @@
         *** ALPHA VERSION ***
     -->
   
  -<!DOCTYPE alfs SYSTEM "nalfs.dtd" [
  +<!DOCTYPE alfs SYSTEM "ALFS-3.1.dtd" [
   
   <!ENTITY % files SYSTEM "files.ent">
   %files;
  @@ -237,6 +237,7 @@
       &traceroute;
       &nmap;
       &whois;
  +    &bind-utils;
   
   </stage>
   
  @@ -251,11 +252,13 @@
   
   </stage>
   
  -
   <stage name="Chapter 21 (Mail Server Software)">
   
       &postfix;
  +    &sendmail;
  +    &exim;
       &qpopper;
  +    &courier;
   
   </stage>
   
  
  
  
  1.39      +52 -42    ALFS/profiles/BLFS/packages.ent
  
  Index: packages.ent
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/packages.ent,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- packages.ent	18 May 2004 20:45:20 -0000	1.38
  +++ packages.ent	19 May 2004 02:38:52 -0000	1.39
  @@ -382,10 +382,10 @@
   <!ENTITY gnat-directory "gnat-&gnat-version;-i686-pc-linux-gnu-bin">
   
   <!ENTITY gcc-full-version   "3.3.2">
  -<!ENTITY gcc-full-package   "gcc-&gcc-version;.tar.bz2">
  -<!ENTITY gcc-full-directory "gcc-&gcc-version;">
  +<!ENTITY gcc-full-package   "gcc-&gcc-full-version;.tar.bz2">
  +<!ENTITY gcc-full-directory "gcc-&gcc-full-version;">
   
  -<!ENTITY gcc-full-patch1    "gcc-&gcc-version;-no_fixincludes-1.patch">
  +<!ENTITY gcc-full-patch1    "gcc-&gcc-full-version;-no_fixincludes-1.patch">
   
   <!ENTITY tcl-version   "8.4.5">
   <!ENTITY tcl-package   "tcl&tcl-version;-src.tar.gz">
  @@ -520,61 +520,71 @@
   <!--************* packages for chapter 19 *************-->
   
   <!ENTITY traceroute-version   "1.4a12">
  -<!ENTITY traceroute-package   "traceroute.tar.gz">
  -<!ENTITY traceroute-directory "traceroute-1.4a12">
  +<!ENTITY traceroute-package   "traceroute-&traceroute-version;.tar.gz">
  +<!ENTITY traceroute-directory "traceroute-&traceroute-version;">
  +
  +<!ENTITY nmap-version   "3.50">
  +<!ENTITY nmap-package   "nmap-&nmap-version;.tar.bz2">
  +<!ENTITY nmap-directory "nmap-&nmap-version;">
  +
  +<!ENTITY whois-version   "4.6.9">
  +<!ENTITY whois-package   "whois_&whois-version;.tar.gz">
  +<!ENTITY whois-directory "whois-&whois-version;">
  +
  +<!ENTITY bind-utils-version "9.2.3">
  +<!ENTITY bind-utils-package "bind-&bind-version;.tar.gz">
  +<!ENTITY bind-utils-directory "bind-&bind-utils-version;">
   
  -<!ENTITY nmap-version   "3.30">
  -<!ENTITY nmap-package   "nmap-3.30.tgz">
  -<!ENTITY nmap-directory "nmap-3.30">
  -
  -<!ENTITY whois-version   "4.6.7">
  -<!ENTITY whois-package   "whois_4.6.7.tar.gz">
  -<!ENTITY whois-directory "whois-4.6.7">
   
   <!--************* packages for chapter 20 *************-->
   
  -<!ENTITY nail-version   "10.5">
  -<!ENTITY nail-package   "nail-10.5.tar.gz">
  -<!ENTITY nail-directory "nail-10.5">
  +<!ENTITY nail-version   "10.7">
  +<!ENTITY nail-package   "nail-&nail-version;.tar.gz">
  +<!ENTITY nail-directory "nail-&nail-version;">
   
   <!ENTITY procmail-version   "3.22">
  -<!ENTITY procmail-package   "procmail-3.22.tar.gz">
  -<!ENTITY procmail-directory "procmail-3.22">
  +<!ENTITY procmail-package   "procmail-&procmail-version;.tar.gz">
  +<!ENTITY procmail-directory "procmail-&procmail-version;">
   
  -<!ENTITY fetchmail-version   "6.2.3">
  -<!ENTITY fetchmail-package   "fetchmail-6.2.3.tar.gz">
  -<!ENTITY fetchmail-directory "fetchmail-6.2.3">
  -
  -<!ENTITY mutt-version   "1.4.1i">
  -<!ENTITY mutt-package   "mutt-1.4.1i.tar.gz">
  -<!ENTITY mutt-directory "mutt-1.4.1">
  +<!ENTITY fetchmail-version   "6.2.5">
  +<!ENTITY fetchmail-package   "fetchmail-&fetchmail-version;.tar.gz">
  +<!ENTITY fetchmail-directory "fetchmail-&fetchmail-version;">
  +
  +<!ENTITY mutt-version   "1.4.2.1i">
  +<!ENTITY mutt-package   "mutt-&mutt-version;.tar.gz">
  +<!ENTITY mutt-directory "mutt-1.4.2.1">
   
   <!ENTITY pine-version   "4.58">
  -<!ENTITY pine-package   "pine4.58.tar.bz2">
  -<!ENTITY pine-directory "pine4.58">
  +<!ENTITY pine-package   "pine&pine-version;.tar.bz2">
  +<!ENTITY pine-directory "pine&pine-version;">
   
  -<!ENTITY pine-patch     "pine-4.58-fhs.patch">
  +<!ENTITY pine-patch     "pine-&pine-version;-fhs.patch">
   
  -<!ENTITY slrn-version   "0.9.7.4">
  -<!ENTITY slrn-package   "slrn-0.9.7.4.tar.bz2">
  -<!ENTITY slrn-directory "slrn-0.9.7.4">
  +<!ENTITY slrn-version   "0.9.8.0">
  +<!ENTITY slrn-package   "slrn-&slrn-version;.tar.bz2">
  +<!ENTITY slrn-directory "slrn-&slrn-version;">
   
   <!--************* packages for chapter 21 *************-->
   
  -<!ENTITY daemontools-version   "0.76">
  -<!ENTITY daemontools-package   "daemontools-0.76.tar.gz">
  -<!ENTITY daemontools-directory "admin">
  -
  -
  -<!--************* packages for chapter 22 *************-->
  -
  -<!ENTITY postfix-version   "2.0.16">
  -<!ENTITY postfix-package   "postfix-2.0.16.tar.gz">
  -<!ENTITY postfix-directory "postfix-2.0.16">
  +<!ENTITY postfix-version   "2.0.19">
  +<!ENTITY postfix-package   "postfix-&postfix-version;.tar.gz">
  +<!ENTITY postfix-directory "postfix-&postfix-version;">
  +
  +<!ENTITY sendmail-version "8.12.10">
  +<!ENTITY sendmail-package "sendmail.&sendmail-version;.tar.gz">
  +<!ENTITY sendmail-directory "sendmail-&sendmail-version;">
  +
  +<!ENTITY exim-version "4.24">
  +<!ENTITY exim-package "exim-&exim-version;.tar.bz2">
  +<!ENTITY exim-directory "exim-&exim-version;">
   
   <!ENTITY qpopper-version   "4.0.5">
  -<!ENTITY qpopper-package   "qpopper4.0.5.tar.gz">
  -<!ENTITY qpopper-directory "qpopper4.0.5">
  +<!ENTITY qpopper-package   "qpopper&qpopper-version;.tar.gz">
  +<!ENTITY qpopper-directory "qpopper&qpopper-version;">
  +
  +<!ENTITY courier-version "0.45.4">
  +<!ENTITY courier-package "courier-&courier-version;.tar.bz2">
  +<!ENTITY courier-directory "courier-&courier-version;">
   
   
   <!--************* packages for chapter 23 *************-->
  
  
  
  1.24      +6 -5      ALFS/profiles/BLFS/system.ent
  
  Index: system.ent
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/system.ent,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- system.ent	18 May 2004 20:45:20 -0000	1.23
  +++ system.ent	19 May 2004 02:38:52 -0000	1.24
  @@ -139,6 +139,7 @@
   <!ENTITY traceroute SYSTEM "./chapter19/traceroute.xml">
   <!ENTITY nmap       SYSTEM "./chapter19/nmap.xml">
   <!ENTITY whois      SYSTEM "./chapter19/whois.xml">
  +<!ENTITY bind-utils SYSTEM "./chapter19/bind-utils.xml">
   
   <!-- chapter 20 -->
   <!ENTITY nail       SYSTEM "./chapter20/nail.xml">
  @@ -149,11 +150,11 @@
   <!ENTITY slrn       SYSTEM "./chapter20/slrn.xml">
   
   <!-- chapter 21 -->
  -<!ENTITY daemontools SYSTEM "./chapter21/daemontools.xml">
  -
  -<!-- chapter 22 -->
  -<!ENTITY postfix   SYSTEM "./chapter22/postfix.xml">
  -<!ENTITY qpopper   SYSTEM "./chapter22/qpopper.xml">
  +<!ENTITY postfix   SYSTEM "./chapter21/postfix.xml">
  +<!ENTITY sendmail  SYSTEM "./chapter21/sendmail.xml">
  +<!ENTITY exim      SYSTEM "./chapter21/exim.xml">
  +<!ENTITY qpopper   SYSTEM "./chapter21/qpopper.xml">
  +<!ENTITY courier   SYSTEM "./chapter21/courier.xml">
   
   <!-- chapter 23 -->
   <!ENTITY openssh   SYSTEM "./chapter23/openssh.xml">
  
  
  
  1.2       +1 -6      ALFS/profiles/BLFS/chapter12/j2sdk.xml
  
  Index: j2sdk.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter12/j2sdk.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- j2sdk.xml	29 Sep 2003 18:11:26 -0000	1.1
  +++ j2sdk.xml	19 May 2004 02:38:53 -0000	1.2
  @@ -1,4 +1,4 @@
  -<package name="j2sdk" version="&j2sdk-version;">
  +<package name="j2sdk" version="&j2sdk-binary-version;">
   
   	<stage name="Unpacking a package.">
   		<stageinfo>
  @@ -22,11 +22,6 @@
   		</permissions>
   
   		<execute command="yes | ./j2sdk*.bin" />
  -
  -		<unpack>
  -			<archive>&packages_dir;/&j2sdk-ppatch;</archive>
  -			<destination>&build_dir;/&j2sdk-directory;/jre/lib/i386</destination>
  -		</unpack>
   
   		<move>
   		        <option>force</option>
  
  
  
  1.4       +1 -1      ALFS/profiles/BLFS/chapter12/tcl.xml
  
  Index: tcl.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter12/tcl.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- tcl.xml	18 May 2004 20:45:20 -0000	1.3
  +++ tcl.xml	19 May 2004 02:38:53 -0000	1.4
  @@ -47,7 +47,7 @@
   
   		<search_replace base="&build_dir;/&tcl-directory;/doc">
   			<file>mkLinks</file>
  -			<search> Thread.3</search>
  +			<find> Thread.3</find>
   			<replace> Tcl_Thread.3</replace>
   		</search_replace>
   
  
  
  
  1.2       +1 -0      ALFS/profiles/BLFS/chapter14/dhclient.xml
  
  Index: dhclient.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter14/dhclient.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- dhclient.xml	18 May 2004 20:45:20 -0000	1.1
  +++ dhclient.xml	19 May 2004 02:38:53 -0000	1.2
  @@ -63,6 +63,7 @@
   			=# end dhclient.conf
   			</content>
   		</textdump>
  +	</stage>
   
   	<stage name="Clean-up.">
   		<remove>&build_dir;/&dhclient-directory;</remove>
  
  
  
  1.3       +4 -1      ALFS/profiles/BLFS/chapter19/nmap.xml
  
  Index: nmap.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter19/nmap.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- nmap.xml	24 Nov 2003 19:25:16 -0000	1.2
  +++ nmap.xml	19 May 2004 02:38:53 -0000	1.3
  @@ -1,7 +1,10 @@
   <package name="nmap" version="&nmap-version;">
   
           <packageinfo>
  -	        <requires><name>gtk+</name></requires>
  +		<utilizes><name>openssl</name></utilizes>
  +		<utilizes><name>pcre</name></utilizes>
  +	        <utilizes><name>gtk+</name></utilizes>
  +		<utilizes><name>libpcap</name></utilizes>
   	</packageinfo>
   
   	<stage name="Unpacking a package.">
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter19/bind-utils.xml
  
  Index: bind-utils.xml
  ===================================================================
  <package name="bind-utils" version="&bind-utils-version;">
  
  	<stage name="Unpacking.">
  		<unpack>
  			<archive>&packages_dir;/&bind-utils-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  
  	<stage name="Installing.">
  		<stageinfo>
  			<base>&build_dir;/&bind-utils-directory;</base>
  		</stageinfo>
  
  		<configure>
  			<param>--prefix=/usr</param>
  		</configure>
  
  		<make>
  			<param>-C lib/dns</param>
  		</make>
  
  		<make>
  			<param>-C lib/isc</param>
  		</make>
  
  		<make>
  			<param>-C bin/dig</param>
  		</make>
  
  		<make>
  			<param>-C bin/dig</param>
  			<param>install</param>
  		</make>
  	</stage>
  
  	<stage name="Cleanup.">
  		<remove>&build_dir;/&bind-utils-directory;</remove>
  	</stage>
  </package>
  
  
  
  
  1.3       +7 -3      ALFS/profiles/BLFS/chapter20/mutt.xml
  
  Index: mutt.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter20/mutt.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mutt.xml	24 Nov 2003 20:02:54 -0000	1.2
  +++ mutt.xml	19 May 2004 02:38:53 -0000	1.3
  @@ -1,5 +1,9 @@
   <package name="mutt" version="&mutt-version;">
   
  +	<packageinfo>
  +		<utilizes><name>gnupg</name></utilizes>
  +	</packageinfo>
  +
   	<stage name="Unpacking a package.">
   		<unpack>
   			<archive>&packages_dir;/&mutt-package;</archive>
  @@ -12,8 +16,8 @@
   			<base>&build_dir;/&mutt-directory;</base>
   		</stageinfo>
   
  -		<!-- uncomment if no MTA is installed -->
  -
  +		<!-- uncomment if no MTA is installed
  +		
   		<execute command="groupadd">
   		        <param>mail</param>
   		</execute>
  @@ -22,7 +26,7 @@
   		        <name>/var/mail</name>
   		</ownership>
   		
  -		<!-- -->
  +		 -->
   
   		<configure>
   		        <param>--prefix=/usr</param>
  
  
  
  1.2       +1 -1      ALFS/profiles/BLFS/chapter20/nail.xml
  
  Index: nail.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter20/nail.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- nail.xml	25 Nov 2003 20:05:39 -0000	1.1
  +++ nail.xml	19 May 2004 02:38:53 -0000	1.2
  @@ -1,6 +1,6 @@
   <package name="nail" version="&nail-version;">
   
  -         <packageinfo>
  +        <packageinfo>
   	        <requires><name>openssl</name></requires>
   	</packageinfo>
   
  
  
  
  1.3       +7 -2      ALFS/profiles/BLFS/chapter20/pine.xml
  
  Index: pine.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter20/pine.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- pine.xml	24 Nov 2003 20:02:54 -0000	1.2
  +++ pine.xml	19 May 2004 02:38:53 -0000	1.3
  @@ -1,5 +1,10 @@
   <package name="pine" version="&pine-version;">
   
  +	<packageinfo>
  +		<requires><name>openssl</name></requires>
  +		<utilizes><name>openldap</name></utilizes>
  +	</packageinfo>
  +
   	<stage name="Unpacking a package.">
   		<unpack>
   			<archive>&packages_dir;/&pine-package;</archive>
  @@ -24,8 +29,8 @@
   		</patch>
   
   		<execute command="./build">
  -		        <param>DEBUG=-0</param>
  -			<param>MAILSPOOL='/var/mail'</param>
  +		        <param>DEBUG=-O</param>
  +			<param>MAILSPOOL=/var/mail</param>
   			<param>SSLDIR=/usr</param>
   			<param>SSLCERTS=/etc/ssl/certs</param>
   			<param>slx</param>
  
  
  
  1.3       +1 -0      ALFS/profiles/BLFS/chapter20/slrn.xml
  
  Index: slrn.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/BLFS/chapter20/slrn.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- slrn.xml	24 Nov 2003 20:02:54 -0000	1.2
  +++ slrn.xml	19 May 2004 02:38:53 -0000	1.3
  @@ -18,6 +18,7 @@
   
   		<configure>
   		        <param>--prefix=/usr</param>
  +			<param>--sysconfdir=/etc</param>
   			<param>--with-slrnpull</param>
   		</configure>
   		
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter21/courier.xml
  
  Index: courier.xml
  ===================================================================
  <package name="courier" version="&courier-version;">
  
  	<packageinfo>
  		<requires><name>gdbm</name></requires>
  	</packageinfo>
  
  	<stage name="Unpacking.">
  		<unpack>
  			<archive>&packages_dir;/&courier-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  
  	<stage name="Installing.">
  		<stageinfo>
  			<base>&build_dir;/&courier-directory;</base>
  		</stageinfo>
  
  		<execute command="grep ^courier /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  			<param>courier</param>
  		</execute>
  
  		<execute command="grep ^courier /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  			<param>-c 'Courier Mail Server'</param>
  			<param>-d /dev/null</param>
  		        <param>-g courier</param>
  			<param>-s /bin/false</param>
  			<param>courier</param>
  		</execute>
  
  		<execute command="grep ^bin /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  			<param>-c 'bin'</param>
  			<param>-d /dev/null</param>
  			<param>-g bin</param>
  			<param>-u 1</param>
  			<param>bin</param>
  		</execute>
  
  		<mkdir>
  			<option>parents</option>
  			<name>/var/run/courier</name>
  		</mkdir>
  
  		<ownership user="courier" group="courier">
  			<name>/var/run/courier</name>
  		</ownership>
  
  		<configure>
  			<param>--prefix=/usr</param>
  			<param>--libexecdir=/usr/lib/courier</param>
  			<param>--datadir=/usr/share/courier</param>
  			<param>--sysconfdir=/etc/courier</param>
  			<param>--localstatedir=/var/lib/courier</param>
  			<param>--with-piddir=/var/run/courier</param>
  			<param>--disable-root-check</param>
  			<param>--with-mailuser=courier</param>
  			<param>--with-mailgroup=courier</param>
  			<param>--with-paranoid-smtpext</param>
  			<param>--disable-autorenamesent</param>
  			<param>--enable-workarounds-for-imap-client-bugs</param>
  			<param>--with-db=gdbm</param>
  		</configure>
  
  		<make />
  
  		<make>
  			<param>install</param>
  		</make>
  
  		<make>
  			<param>install-configure</param>
  		</make>
  	</stage>
  
  	
  
  	<stage name="Cleanup.">
  		<remove>&build_dir;/&courier-directory;</remove>
  	</stage>
  </package>
  
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter21/exim.xml
  
  Index: exim.xml
  ===================================================================
  <package name="exim" version="&exim-version;">
  
  	<packageinfo>
  		<requires><name>db</name></requires>
  	</packageinfo>
  
  	<stage name="Unpacking.">
  		<unpack>
  			<archive>&packages_dir;/&exim-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;/&exim-directory;</base>
  		</stageinfo>
  
  		<execute command="grep ^exim /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  			<param>exim</param>
  		</execute>
  
  		<execute command="grep ^exim /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  			<param>-d /dev/null</param>
  		        <param>-g exim</param>
  			<param>-s /bin/false</param>
  			<param>exim</param>
  		</execute>
  
  		<execute command="sed -e 's/^BIN_DIR.*$/BIN_DIRECTORY=\/usr\/sbin/' src/EDITME | \
    			sed -e 's/^CONF.*$/CONFIGURE_FILE=\/etc\/exim.conf/' | \
   			sed -e 's/^EXIM_USER.*$/EXIM_USER=exim/' | \
    			sed -e 's/^EXIM_MONITOR/#EXIM_MONITOR/' > Local/Makefile" />
  		
  		<make />
  
  		<make>
  			<param>install</param>
  		</make>
  
  		<copy>
  			<source>doc/exim.8</source>
  			<destination>/usr/share/man/man8</destination>
  		</copy>
  		
  		<link>
  			<option>force</option>
  			<target>exim-4.24-1</target>
  			<name>/usr/sbin/exim</name>
  		</link>
  
  		<link>
  			<option>force</option>
  			<target>exim</target>
  			<name>/usr/sbin/sendmail</name>
  		</link>
  
  	</stage>
  
  	<stage name="Install exim bootscript">
  		<stageinfo>
  			<base>&build_dir;/&blfs-bootscripts-directory;</base>
  		</stageinfo>
  
  		<make>
  			<param>install-exim</param>
  		</make>
  	</stage>
  
  	<stage name="Cleanup.">
  		<remove>&build_dir;/&exim-directory;</remove>
  	</stage>
  </package>
  
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter21/postfix.xml
  
  Index: postfix.xml
  ===================================================================
  <package name="postfix" version="&postfix-version;">
  
          <packageinfo>
                  <requires><name>db</name></requires>
          </packageinfo>
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&postfix-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;/&postfix-directory;</base>
  		</stageinfo>
  
  		<execute command="grep ^postfix /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  			<param>postfix</param>
  		</execute>
  		
  		<execute command="grep ^postdrop /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  			<param>postdrop</param>
  		</execute>
  		
  		<execute command="grep ^nogroup /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  		        <param>-g 65534</param>
  			<param>nogroup</param>
  		</execute>
  		
  		<execute command="grep ^postfix /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  		        <param>-c postfix</param>
  			<param>-d /dev/null</param>
  			<param>-g postfix</param>
  			<param>-s /bin/false</param>
  			<param>postfix</param>
  		</execute>
  
  		<execute command="grep ^nobody /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  		        <param>-c nobody</param>
  			<param>-d /home</param>
  			<param>-g nogroup</param>
  			<param>-s /bin/bash</param>
  			<param>-u 65534</param>
  			<param>nobody</param>
  		</execute>
  
  		<ownership user="postfix" group="postfix">
  		        <name>/var/mail</name>
                  </ownership>
  		
  		<make />
  
  		<execute command="sh">
  			<param>postfix-install</param>
  			<param>daemon_directory=/usr/sbin</param>
  			<param>manpage_directory=/usr/share/man</param>
  			<param>sample_directory=/usr/share/doc/postfix</param>
  			<param>-non-interactive</param>
  		</execute>
  
  		<copy>
  			<option>recursive</option>
  			<option>force</option>
  			<source>html/*</source>
  			<destination>/usr/share/doc/postfix</destination>
  		</copy>
  		
  		<textdump>
  		        <file>/etc/aliases</file>
  			<content>
  		        	=# Begin /etc/aliases
  				=
  				=MAILER-DAEMON:    postmaster
  				=postmaster:       root
  				=
  				=root:             &username;
  				=# End /etc/aliases
  			</content>
  		</textdump>
  
  		<copy base="/etc/postfix">
  			<source>main.cf</source>
  			<destination>main.cf.bak</destination>
  		</copy>
  
  		<execute command="sed "s/#myhostname = host.domain.tld/myhostname = &hostname;" \ 
  			/etc/postfix/main.cf.bak > /etc/postfix/main.cf" />
  
  		<execute command="/usr/bin/newaliases" />
  
  	</stage>
  
  	<stage name="Installing postfix bootscript">
  		<stageinfo>
  			<base>&build_dir;/&blfs-bootscripts-directory;</base>
  		</stageinfo>
  
  		<make>
  			<param>install-postfix</param>
  		</make>
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&postfix-directory;</remove>
  		<remove>&build_dir;/&blfs-bootscripts-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter21/qpopper.xml
  
  Index: qpopper.xml
  ===================================================================
  <package name="qpopper" version="&qpopper-version;">
  
          <packageinfo>
                  <requires><name>postfix</name></requires>
          </packageinfo>
  
  	<stage name="Unpacking a package.">
  		<unpack>
  			<archive>&packages_dir;/&qpopper-package;</archive>
  			<destination>&build_dir;</destination>
  		</unpack>
  	</stage>
  
  	<stage name="Installing a package.">
  		<stageinfo>
  			<base>&build_dir;/&qpopper-directory;</base>
  		</stageinfo>
  
  		<configure>
  		        <param>--prefix=/usr</param>
  		</configure>
  
  		<make />
  
  		<make>
  		        <param>install</param>
  		</make>
  
  		<textdump mode="append">
  		        <file>/etc/inetd.conf</file>
  			<content>
  		        	=pop stream tcp nowait root /usr/sbin/popper popper
  			</content>
  		</textdump>
  		
  		<textdump mode="append">
  		        <file>/etc/services</file>
  			<content>
  		       		=pop 110/tcp
  			</content>
  		</textdump>
  
  		<execute command="killall inetd || inetd" />
  
  		<textdump mode="append">
  		        <file>/etc/syslog.conf</file>
  			<content>
  		        	=local0.notice;local0.debug        /var/log/POP.log
  			</content>
  		</textdump>
  
  		<execute command="killall -HUP  syslogd" />
  
  		<textdump mode="append">
  		        <file>/etc/xinetd.conf</file>
  			<content>
  			=     service pop
  			=     {
  			=          port        = 110
  			=          socket_type = stream
  			=          protocol    = tcp
  			=          wait        = no
  			=          user        = root
  			=          passenv     = PATH
  			=          server      = /usr/sbin/popper
  			=         server_args = popper
  			=     }
  			</content>
  		</textdump>
  
  	</stage>
  
  	<stage name="Clean-up.">
  		<remove>&build_dir;/&qpopper-directory;</remove>
  	</stage>
  
  </package>
  
  
  
  1.1                  ALFS/profiles/BLFS/chapter21/sendmail.xml
  
  Index: sendmail.xml
  ===================================================================
  <package name="sendmail" version="&sendmail-version;">
  
  	<packageinfo>
  		<requires><name>db</name></requires>
  		<requires><name>procmail</name></requires>
  	</packageinfo>
  
  	<stage name="Unpacking.">
  		<unpack>
  			<archive>&packages_dir;/&sendmail-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;/&sendmail-directory;</base>
  		</stageinfo>
  
  		<execute command="grep ^smmsp /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  			<param>smmsp</param>
  		</execute>
  
  		<execute command="grep ^mail /etc/group">
  			<param>&> /dev/null</param>
  			<param>|| groupadd</param>
  			<param>mail</param>
  		</execute>
  
  		<execute command="grep ^smmsp /etc/passwd">
  			<param>&> /dev/null</param>
  			<param>|| useradd</param>
  		        <param>-g smmsp</param>
  			<param>-G mail</param>
  			<param>smmsp</param>
  		</execute>
  
  		<textdump>
  			<file>devtools/Site/site.config.m4</file>
  			<content>
  			=define(`confMANGRP',`root')
  			=define(`confMANOWN',`root')
  			=define(`confSBINGRP',`root')
  			=define(`confUBINGRP',`root')
  			=define(`confUBINOWN',`root')
  			</content>
  		</textdump>
  
  		<execute base="&build_dir;/&sendmail-directory;/sendmail" command="sh Build" />
  
  		<copy base="&build_dir;/&sendmail-directory;/cf/cf">
  			<source>generic-linux.mc</source>
  			<destination>sendmail.mc</destination>
  		</copy>
  
  		<mkdir>
  			<name>/etc/mail</name>
  		</mkdir>
  
  		<execute base="&build_dir;/&sendmail-directory;/cf/cf" command="sh Build sendmail.mc" />
  		<execute base="&build_dir;/&sendmail-directory;/cf/cf" command="sh Build install-cf" />
  
  		<execute command="sh Build install" />
  
  		<execute command="echo `hostname` > /etc/mail/local-host-names" />
  
  		<textdump>
  			<file>/etc/mail/aliases</file>
  			<content>
  			=postmaster: root
  			=MAILER-DAEMON: root
  			</content>
  		</textdump>
  
  		<copy>
  			<option>recursive</option>
  			<source>cf/*</source>
  			<destination>/etc/mail</destination>
  		</copy>
  
  		<copy>
  			<source>cf/cf/submit.mc</source>
  			<source>cf/cf/sendmail.mc</source>
  			<destination>/etc/mail</destination>
  		</copy>
  	
  		<execute command="newaliases -v" />
  
  	</stage>
  
  	<stage name="Install sendmail bootscript">
  		<stageinfo>
  			<base>&build_dir;/&blfs-bootscripts-directory;</base>
  		</stageinfo>
  
  		<make>
  			<param>install-sendmail</param>
  		</make>
  	</stage>
  
  	<stage name="Cleanup.">
  		<remove>&build_dir;/&sendmail-directory;</remove>
  		<remove>&build_dir;/&blfs-bootscripts-directory;</remove>
  	</stage>
  </package>
  
  
  
  



More information about the alfs-log mailing list