im going to try this on OES sp2, and ill let you know if i get any
errors with that one. The reason i dropped OES was because i couldnt get
toaster to work with it.

jer



On Fri, 2006-06-16 at 18:22 +0200, Weberhofer GmbH wrote:
> Dear all,
> 
> as I have switched several systems from self-built qmail systems to the 
> qmail-toaster pckages, I have created a patch, which let me compile the whole 
> system in an clean OpenSuse build environment.
> 
> I had to change many "BuildRequires" sections in the spec files; in the 
> "djbdns.spec" file I removed the "chkconfig" and "initscripts" packages from 
> the "Requires" section: Those should be installed on every (redhat) system 
> and are not available on OpenSuSE; if you think it necessary to keep it, a 
> seperate section for OpenSuSE should be included into the spec file.
> 
> Attached you find a diff file to updtae all spec files.
> 
> Additionally I have attached a shell script which builds the whole toaster 
> package in the Opensuse 10.1 build environment. Download the source packages 
> files, and copy the current-opensuse-build.sh file to the same directory. 
> Check the paths in the head section of the script and run it: It should 
> result in a clean set of RPM files. sed will incorporate the above mentioned 
> changes to the spec files. The script has been tested for Opensuse 10.1 
> x86_64 and i586 environments.
> 
> Best regards,
> Johannes Weberhofer
> plain text document attachment (current-opensuse-build.sh)
> #!/bin/sh
> #
> # build the system for opensuse 10.1 system
> #
> # author: Johannes Weberhofer, May 2006 
> #
> 
> # use this repository to store the qmail RPM's
> QMAILRPM=`dirname ~/qmailrpm`/`basename ~/qmailrpm`
> 
> # build for this architecture
> ARCH="$BUILD_ARCH"
> #ARCH="x86_64"
> ARCH="i586"
> 
> # here are the default SuSE RPM's located
> DEFAULTRPM="$BUILD_RPMS"
> 
> # ####################################################################
> # no changes should be done below this point
> 
> if test ! -d "$QMAILRPM" ; then
>       mkdir -p "$QMAILRPM"
> fi
> 
> 
> # ####################################################################
> # and now build the packages
> 
> BUILDPKGS="daemontools-toaster ucspi-tcp-toaster vpopmail-toaster 
> libdomainkeys qmail-toaster courier-authlib-toaster courier-imap-toaster 
> autorespond-toaster control-panel-toaster ezmlm-toaster qmailadmin-toaster 
> qmailmrtg-toaster maildrop-toaster isoqlog-toaster vqadmin-toaster 
> squirrelmail-toaster spamassassin-toaster clamav-toaster ripmime-toaster 
> simscan-toaster djbdns"
> 
> for PACKAGE in $BUILDPKGS ; do
>       DIR=`ls $PACKAGE-*.src.rpm | tail | sed -e 's/.src.rpm//'`
>       if test ! -e "$QMAILRPM/RPMS/$ARCH/$DIR.$ARCH.rpm" -a ! -e 
> "$QMAILRPM/RPMS/noarch/$DIR.noarch.rpm"; then
>               if test ! -d "$DIR" ; then
>                       mkdir "$DIR"
>               else
>                       rm -rf "$DIR/*"
>               fi
>               pushd "$DIR" 2>&1 > /dev/null
>               unrpm "../$DIR.src.rpm"
> 
>               # do some package-related things
>               WASPATCHED=1
>               case "$PACKAGE" in
>                       libdomainkeys-toaster)
>                               SEDS='s/ripMIME for qmail-toaster/DomainKey 
> library/'
>                               ;;
>                       qmail-toaster)
>                               SEDS='s/^\(BuildRequires:.*openssl-devel >= 
> 0.9.7, krb5-devel >= 1.4.1\)/\1, mysql-devel, libdomainkeys-toaster/'
>                               ;;
>                       courier-authlib-toaster)
>                               SEDS='s/^\(BuildRequires:.*automake, 
> autoconf\)/\1, mysql-devel, expect, gcc-c++, qmail-toaster/'
>                               ;;
>                       courier-imap-toaster)
>                               SEDS='s/^\(BuildRequires:.*openssl-devel >= 
> 0.9.7, expect >= 5.43.0, gdbm-devel >= 1.8.0\)/\1, mysql-devel/'
>                               ;;
>                       control-panel-toaster)
>                               SEDS='s/^\(Requires:.*apache2 >= 2.0.52, 
> php[45] >= [0-9\.]*\)/Requires:\tapache2 >= 2.0.52, php >= 
> 4.4.0\nBuildRequires:\tapache2/'
>                               ;;
>                       qmailmrtg-toaster)
>                               SEDS='s/^\(Requires:.*cron >= 4.1, apache2 >= 
> 2.0.54, php4 >= 4.4.0, mrtg\)/Requires:\tcron >= 4.1, apache2 >= 2.0.54, php 
> >= 4.4.0, mrtg/'
>                               ;;
>                       maildrop-toaster)
>                               SEDS='s/^\(%define.*ostype SuSE 10.* 
> Linux\)/\1\nBuildRequires:\tgcc-c++, pcre-devel/'
>                               ;;
>                       isoqlog-toaster)
>                               SEDS='s/^\(%define.*ostype SuSE 10.* 
> Linux\)/\1\nBuildRequires:\tqmail-toaster, control-panel-toaster, php/'
>                               ;;
>                       squirrelmail-toaster)
>                               SEDS='s/^\(Requires:.*apache2 >= 2.0.54, php4 
> >= 4.4.0\)/Requires:\tapache2 >= 2.0.54, php >= 4.4.0/'
>                               ;;
>                       spamassassin-toaster)
>                               SEDS='s/^\(BuildRequires:.*perl >= 5.8.7, 
> perl(Digest::SHA1), perl(HTML::Parser), openssl-devel\)/BuildRequires:\tperl 
> >= 5.8.7, perl-Digest-SHA1, perl-HTML-Parser, openssl-devel/ ; 
> s/^\(Requires:.*perl(Digest::SHA1), perl(HTML::Parser), perl(Pod::Usage), 
> procmail\)/Requires:\tperl-Digest-SHA1, perl-HTML-Parser, procmail/'
>                               ;;
>                       ripmime-toaster)
>                               SEDS='s/^\(BuildRequires:.*automake, 
> autoconf\)/BuildRequires:\tqmail-toaster/'
>                               ;;
>                       simscan-toaster)
>                               SEDS='s/^\(BuildRequires:.*automake, 
> autoconf\)/BuildRequires:\tqmail-toaster, clamav-toaster, 
> spamassassin-toaster, perl-Digest-SHA1, perl-HTML-Parser, ripmime-toaster/'
>                               ;;
>                       djbdns)
>                               SEDS='
> s/chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster/sh-utils, daemontools-toaster, ucspi-tcp-toaster/ ;
> s/^\(# create log symlinks\)$/# touch logs\npushd 
> %{buildroot}\/var\/djbdns\nmkdir -p dnscachex\/log dnscache\/log tinydns\/log 
> axfrdns\/log\ntouch dnscachex\/log\/main dnscache\/log\/main 
> tinydns\/log\/main axfrdns\/log\/main\npopd\n\n\1/ ;
> s/^\(\/var\/log\/djbdns\/axfrdns\)$/\1\n%config(noreplace)\/var\/djbdns\/tinydns\/log\/main\n%config(noreplace)\/var\/djbdns\/axfrdns\/log\/main/
>  ;
> s/^\(\/var\/log\/djbdns\/dnscachex\)$/\1\n%config(noreplace)\/var\/djbdns\/dnscachex\/log\/main/
>  ;
> s/^\(\/var\/log\/djbdns\/dnscache\)$/\1\n%config(noreplace)\/var\/djbdns\/dnscache\/log\/main/'
>                               ;;
>                       *)
>                               WASPATCHED=0
>                               ;;
>               esac
> 
>               if test $WASPATCHED -eq 1 ; then
>                       sed -i.orig -e "$SEDS" *.spec
>                       diff -u *.spec.orig *.spec > ../$PACKAGE.diff
>               fi
>               if test "$ARCH" == "i586" ; then
>                       sed -i -e 
> 's/\(^%define.*build_sus_101[^0-9]*\)\(0$\)/\1 1/' *.spec
>               else
>                       sed -i -e 
> 's/\(%define.*build_sus_10164[^0-9]*\)\(0$\)/\1 1/' *.spec
>               fi
> 
>               build --clean --arch=$ARCH --rpms 
> $DEFAULTRPM/:$QMAILRPM/RPMS/$ARCH:$QMAILRPM/RPMS/noarch
>               if test $? -ne 0 ; then
>                       exit 1
>               fi
> 
>               #cp /var/tmp/build-root/usr/src/packages/RPMS/$ARCH/* 
> "$QMAILRPM/RPMS/$ARCH/"
>               #cp /var/tmp/build-root/usr/src/packages/RPMS/noarch/* 
> "$QMAILRPM/RPMS/noarch/" 2>&1 > /dev/null
>               #cp /var/tmp/build-root/usr/src/packages/SRPMS/* 
> "$QMAILRPM/SRPMS/"
>               cp -a /var/tmp/build-root/usr/src/packages/* "$QMAILRPM/"
> 
>               popd 2>&1 > /dev/null
>               rm -rf "$DIR"
>       fi
> done
> 
> if test -e all-toaster-opensuse.diff ; then
>       rm all-toaster-opensuse.diff
> fi
> cat *.diff > all-toaster-opensuse.diff
> plain text document attachment (all-toaster-opensuse.diff)
> --- control-panel-toaster.spec        2006-06-06 01:47:14.000000000 +0200
> +++ control-panel-toaster.spec        2006-06-12 13:21:54.052244000 +0200
> @@ -88,7 +88,8 @@
>  %define              apachegroup www
>  %define              _dopasswd htpasswd2
>  Prereq:      /usr/bin/perl
> -Requires:    apache2 >= 2.0.52, php4 >= 4.4.0
> +Requires:    apache2 >= 2.0.52, php >= 4.4.0
> +BuildRequires:       apache2
>  %define              build_sus_100  1
>  %define              default        0
>  %endif
> @@ -103,7 +104,8 @@
>  %define              apachegroup www
>  %define              _dopasswd htpasswd2
>  Prereq:      /usr/bin/perl
> -Requires:    apache2 >= 2.0.52, php4 >= 4.4.0
> +Requires:    apache2 >= 2.0.52, php >= 4.4.0
> +BuildRequires:       apache2
>  %define              build_sus_10064  1
>  %define              default        0
>  %endif
> @@ -118,7 +120,8 @@
>  %define              apachegroup www
>  %define              _dopasswd htpasswd2
>  Prereq:      /usr/bin/perl
> -Requires:    apache2 >= 2.0.52, php5 >= 5.1.2
> +Requires:    apache2 >= 2.0.52, php >= 4.4.0
> +BuildRequires:       apache2
>  %define              build_sus_101  1
>  %define              default        0
>  %endif
> @@ -133,7 +136,8 @@
>  %define              apachegroup www
>  %define              _dopasswd htpasswd2
>  Prereq:      /usr/bin/perl
> -Requires:    apache2 >= 2.0.52, php5 >= 5.1.2
> +Requires:    apache2 >= 2.0.52, php >= 4.4.0
> +BuildRequires:       apache2
>  %define              build_sus_10164  1
>  %define              default        0
>  %endif
> --- courier-authlib-toaster.spec      2006-06-08 00:17:26.000000000 +0200
> +++ courier-authlib-toaster.spec      2006-06-16 15:29:21.041871593 +0200
> @@ -81,7 +81,7 @@
>  %if %{build_sus_100}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 Linux
> -BuildRequires:       automake, autoconf
> +BuildRequires:       automake, autoconf, mysql-devel, expect, gcc-c++, 
> qmail-toaster
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_100  1
> @@ -91,7 +91,7 @@
>  %if %{build_sus_10064}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 x86_64 Linux
> -BuildRequires:       automake, autoconf
> +BuildRequires:       automake, autoconf, mysql-devel, expect, gcc-c++, 
> qmail-toaster
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_10064  1
> @@ -101,7 +101,7 @@
>  %if %{build_sus_101}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 Linux
> -BuildRequires:       automake, autoconf
> +BuildRequires:       automake, autoconf, mysql-devel, expect, gcc-c++, 
> qmail-toaster
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_101  1
> @@ -111,7 +111,7 @@
>  %if %{build_sus_10164}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 x86_64 Linux
> -BuildRequires:       automake, autoconf
> +BuildRequires:       automake, autoconf, mysql-devel, expect, gcc-c++, 
> qmail-toaster
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_10164  1
> --- courier-imap-toaster.spec 2006-06-09 02:51:38.000000000 +0200
> +++ courier-imap-toaster.spec 2006-06-16 15:33:58.916424394 +0200
> @@ -82,7 +82,7 @@
>  %if %{build_sus_100}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 Linux
> -BuildRequires:       openssl-devel >= 0.9.7, expect >= 5.43.0, gdbm-devel >= 
> 1.8.0
> +BuildRequires:       openssl-devel >= 0.9.7, expect >= 5.43.0, gdbm-devel >= 
> 1.8.0, mysql-devel
>  BuildRequires:       gcc-c++, sed, perl
>  Requires:    openssl >= 0.9.7
>  %define              ccflags %{optflags} -DHAVE_VLOGAUTH
> @@ -94,7 +94,7 @@
>  %if %{build_sus_10064}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 x86_64 Linux
> -BuildRequires:       openssl-devel >= 0.9.7, expect >= 5.43.0, gdbm-devel >= 
> 1.8.0
> +BuildRequires:       openssl-devel >= 0.9.7, expect >= 5.43.0, gdbm-devel >= 
> 1.8.0, mysql-devel
>  BuildRequires:       gcc-c++, sed, perl
>  Requires:    openssl >= 0.9.7
>  %define              ccflags %{optflags} -DHAVE_VLOGAUTH
> @@ -106,7 +106,7 @@
>  %if %{build_sus_101}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 Linux
> -BuildRequires:       openssl-devel >= 0.9.7, expect >= 5.43.0, gdbm-devel >= 
> 1.8.0
> +BuildRequires:       openssl-devel >= 0.9.7, expect >= 5.43.0, gdbm-devel >= 
> 1.8.0, mysql-devel
>  BuildRequires:       gcc-c++, sed, perl
>  Requires:    openssl >= 0.9.7
>  %define              ccflags %{optflags} -DHAVE_VLOGAUTH
> @@ -118,7 +118,7 @@
>  %if %{build_sus_10164}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 x86_64 Linux
> -BuildRequires:       openssl-devel >= 0.9.7, expect >= 5.43.0, gdbm-devel >= 
> 1.8.0
> +BuildRequires:       openssl-devel >= 0.9.7, expect >= 5.43.0, gdbm-devel >= 
> 1.8.0, mysql-devel
>  BuildRequires:       gcc-c++, sed, perl
>  Requires:    openssl >= 0.9.7
>  %define              ccflags %{optflags} -DHAVE_VLOGAUTH
> --- djbdns.spec       2006-05-21 19:00:55.000000000 +0200
> +++ djbdns.spec       2006-06-16 16:04:17.027510405 +0200
> @@ -127,7 +127,7 @@
>  %if %{build_mdk_103}
>  %define              release %{rpmrelease}mdk
>  %define      ostype Mandriva 2006 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -138,7 +138,7 @@
>  %if %{build_mdk_10364}
>  %define              release %{rpmrelease}mdk
>  %define      ostype Mandriva 2006 x86_64 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -149,7 +149,7 @@
>  %if %{build_mdk_102}
>  %define              release %{rpmrelease}mdk
>  %define      ostype Mandriva 2005 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -160,7 +160,7 @@
>  %if %{build_mdk_101}
>  %define              release %{rpmrelease}mdk
>  %define      ostype Mandrake 10.1 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -171,7 +171,7 @@
>  %if %{build_mdk_100}
>  %define              release %{rpmrelease}mdk
>  %define      ostype Mandrake 10.0 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -182,7 +182,7 @@
>  %if %{build_rht_90}
>  %define              release %{rpmrelease}
>  %define      ostype RedHat 9 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -193,7 +193,7 @@
>  %if %{build_fdr_10}
>  %define              release %{rpmrelease}
>  %define      ostype Fedora Core 1 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -204,7 +204,7 @@
>  %if %{build_fdr_20}
>  %define              release %{rpmrelease}
>  %define      ostype Fedora Core 2 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -215,7 +215,7 @@
>  %if %{build_fdr_30}
>  %define              release %{rpmrelease}
>  %define      ostype Fedora Core 3 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -226,7 +226,7 @@
>  %if %{build_fdr_40}
>  %define              release %{rpmrelease}
>  %define      ostype Fedora Core 4 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -237,7 +237,7 @@
>  %if %{build_fdr_4064}
>  %define              release %{rpmrelease}
>  %define      ostype Fedora Core 4 x86_64 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -248,7 +248,7 @@
>  %if %{build_fdr_50}
>  %define              release %{rpmrelease}
>  %define      ostype Fedora Core 5 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -259,7 +259,7 @@
>  %if %{build_fdr_5064}
>  %define              release %{rpmrelease}
>  %define      ostype Fedora Core 5 x86_64 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -270,7 +270,7 @@
>  %if %{build_cnt_40}
>  %define              release %{rpmrelease}
>  %define      ostype CentOS 4 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -281,7 +281,7 @@
>  %if %{build_cnt_4064}
>  %define              release %{rpmrelease}
>  %define      ostype CentOS 4 x86_64 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -292,7 +292,7 @@
>  %if %{build_trx_20}
>  %define              release %{rpmrelease}
>  %define      ostype Trustix 2.0 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -303,7 +303,7 @@
>  %if %{default}
>  %define              release %{rpmrelease}
>  %define      ostype RedHat 9 Linux
> -Requires:    chkconfig, initscripts, sh-utils, daemontools-toaster, 
> ucspi-tcp-toaster
> +Requires:    sh-utils, daemontools-toaster, ucspi-tcp-toaster
>  Conflicts:   bind, caching-nameserver, %{name}-extcache
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
> @@ -599,6 +599,12 @@
>    ln -s %{djbdir}/axfrdns axfrdns
>  popd
> 
> +# touch logs
> +pushd %{buildroot}/var/djbdns
> +mkdir -p dnscachex/log dnscache/log tinydns/log axfrdns/log
> +touch dnscachex/log/main dnscache/log/main tinydns/log/main axfrdns/log/main
> +popd
> +
>  # create log symlinks
>  mkdir -p %{buildroot}%{_logdir}
>  pushd %{buildroot}%{_logdir}
> --- isoqlog-toaster.spec      2006-06-06 02:15:25.000000000 +0200
> +++ isoqlog-toaster.spec      2006-06-16 15:52:06.405295679 +0200
> @@ -81,6 +81,7 @@
>  %if %{build_sus_100}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 Linux
> +BuildRequires:       qmail-toaster, control-panel-toaster, php
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              apacheuser wwwrun
> @@ -93,6 +94,7 @@
>  %if %{build_sus_10064}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 x86_64 Linux
> +BuildRequires:       qmail-toaster, control-panel-toaster, php
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              apacheuser wwwrun
> @@ -105,6 +107,7 @@
>  %if %{build_sus_101}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 Linux
> +BuildRequires:       qmail-toaster, control-panel-toaster, php
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              apacheuser wwwrun
> @@ -117,6 +120,7 @@
>  %if %{build_sus_10164}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 x86_64 Linux
> +BuildRequires:       qmail-toaster, control-panel-toaster, php
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              apacheuser wwwrun
> --- maildrop-toaster.spec     2006-06-06 02:05:50.000000000 +0200
> +++ maildrop-toaster.spec     2006-06-16 15:47:26.706685946 +0200
> @@ -83,6 +83,7 @@
>  %if %{build_sus_100}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 Linux
> +BuildRequires:       gcc-c++, pcre-devel
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_100  1
> @@ -92,6 +93,7 @@
>  %if %{build_sus_10064}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 x86_64 Linux
> +BuildRequires:       gcc-c++, pcre-devel
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_10064  1
> @@ -101,6 +103,7 @@
>  %if %{build_sus_101}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 Linux
> +BuildRequires:       gcc-c++, pcre-devel
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_101  1
> @@ -110,6 +113,7 @@
>  %if %{build_sus_10164}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 x86_64 Linux
> +BuildRequires:       gcc-c++, pcre-devel
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_10164  1
> --- qmail-toaster.spec        2006-06-06 01:36:32.000000000 +0200
> +++ qmail-toaster.spec        2006-06-16 15:27:22.871684541 +0200
> @@ -84,7 +84,7 @@
>  %define              crontab /etc/crontab
>  %define              rcpath /etc/init.d
>  %define              _initpath /etc/init.d
> -BuildRequires:       openssl-devel >= 0.9.7, krb5-devel >= 1.4.1
> +BuildRequires:       openssl-devel >= 0.9.7, krb5-devel >= 1.4.1, 
> mysql-devel, libdomainkeys-toaster
>  Requires:    openssl >= 0.9.7
>  BuildPreReq: bzip2, net-tools
>  Provides:    smtp_daemon, MTA
> @@ -101,7 +101,7 @@
>  %define              crontab /etc/crontab
>  %define              rcpath /etc/init.d
>  %define              _initpath /etc/init.d
> -BuildRequires:       openssl-devel >= 0.9.7, krb5-devel >= 1.4.1
> +BuildRequires:       openssl-devel >= 0.9.7, krb5-devel >= 1.4.1, 
> mysql-devel, libdomainkeys-toaster
>  Requires:    openssl >= 0.9.7
>  BuildPreReq: bzip2, net-tools
>  Provides:    smtp_daemon, MTA
> @@ -118,7 +118,7 @@
>  %define              crontab /etc/crontab
>  %define              rcpath /etc/init.d
>  %define              _initpath /etc/init.d
> -BuildRequires:       openssl-devel >= 0.9.7, krb5-devel >= 1.4.1
> +BuildRequires:       openssl-devel >= 0.9.7, krb5-devel >= 1.4.1, 
> mysql-devel, libdomainkeys-toaster
>  Requires:    openssl >= 0.9.7
>  BuildPreReq: bzip2, net-tools
>  Provides:    smtp_daemon, MTA
> @@ -135,7 +135,7 @@
>  %define              crontab /etc/crontab
>  %define              rcpath /etc/init.d
>  %define              _initpath /etc/init.d
> -BuildRequires:       openssl-devel >= 0.9.7, krb5-devel >= 1.4.1
> +BuildRequires:       openssl-devel >= 0.9.7, krb5-devel >= 1.4.1, 
> mysql-devel, libdomainkeys-toaster
>  Requires:    openssl >= 0.9.7
>  BuildPreReq: bzip2, net-tools
>  Provides:    smtp_daemon, MTA
> --- qmailmrtg-toaster.spec    2006-06-06 02:02:18.000000000 +0200
> +++ qmailmrtg-toaster.spec    2006-06-16 15:45:46.273441969 +0200
> @@ -85,7 +85,7 @@
>  %define              apachegroup www
>  %define              crontab /etc/crontab
>  %define              outputdir %{basedir}/htdocs/mrtg
> -Requires:    cron >= 4.1, apache2 >= 2.0.54, php4 >= 4.4.0, mrtg
> +Requires:    cron >= 4.1, apache2 >= 2.0.54, php >= 4.4.0, mrtg
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_100  1
> @@ -99,7 +99,7 @@
>  %define              apachegroup www
>  %define              crontab /etc/crontab
>  %define              outputdir %{basedir}/htdocs/mrtg
> -Requires:    cron >= 4.1, apache2 >= 2.0.54, php4 >= 4.4.0, mrtg
> +Requires:    cron >= 4.1, apache2 >= 2.0.54, php >= 4.4.0, mrtg
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_10064  1
> --- ripmime-toaster.spec      2006-06-06 02:38:57.000000000 +0200
> +++ ripmime-toaster.spec      2006-06-16 16:00:00.938103250 +0200
> @@ -81,7 +81,7 @@
>  %if %{build_sus_100}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 Linux
> -BuildRequires:       automake, autoconf
> +BuildRequires:       qmail-toaster
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_100  1
> @@ -91,7 +91,7 @@
>  %if %{build_sus_10064}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 x86_64 Linux
> -BuildRequires:       automake, autoconf
> +BuildRequires:       qmail-toaster
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_10064  1
> @@ -101,7 +101,7 @@
>  %if %{build_sus_101}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 Linux
> -BuildRequires:       automake, autoconf
> +BuildRequires:       qmail-toaster
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_101  1
> @@ -111,7 +111,7 @@
>  %if %{build_sus_10164}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 x86_64 Linux
> -BuildRequires:       automake, autoconf
> +BuildRequires:       qmail-toaster
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_10164  1
> --- simscan-toaster.spec      2006-06-06 02:45:54.000000000 +0200
> +++ simscan-toaster.spec      2006-06-16 16:02:13.021017635 +0200
> @@ -81,7 +81,7 @@
>  %if %{build_sus_100}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 Linux
> -BuildRequires:       automake, autoconf
> +BuildRequires:       qmail-toaster, clamav-toaster, spamassassin-toaster, 
> perl-Digest-SHA1, perl-HTML-Parser, ripmime-toaster
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_100  1
> @@ -91,7 +91,7 @@
>  %if %{build_sus_10064}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 x86_64 Linux
> -BuildRequires:       automake, autoconf
> +BuildRequires:       qmail-toaster, clamav-toaster, spamassassin-toaster, 
> perl-Digest-SHA1, perl-HTML-Parser, ripmime-toaster
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_10064  1
> @@ -101,7 +101,7 @@
>  %if %{build_sus_101}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 Linux
> -BuildRequires:       automake, autoconf
> +BuildRequires:       qmail-toaster, clamav-toaster, spamassassin-toaster, 
> perl-Digest-SHA1, perl-HTML-Parser, ripmime-toaster
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_101  1
> @@ -111,7 +111,7 @@
>  %if %{build_sus_10164}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 x86_64 Linux
> -BuildRequires:       automake, autoconf
> +BuildRequires:       qmail-toaster, clamav-toaster, spamassassin-toaster, 
> perl-Digest-SHA1, perl-HTML-Parser, ripmime-toaster
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_10164  1
> --- spamassassin-toaster.spec 2006-06-09 00:01:35.000000000 +0200
> +++ spamassassin-toaster.spec 2006-06-16 15:55:46.480796654 +0200
> @@ -81,8 +81,8 @@
>  %if %{build_sus_100}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 Linux
> -BuildRequires:       perl >= 5.8.7, perl(Digest::SHA1), perl(HTML::Parser), 
> openssl-devel
> -Requires:    perl(Digest::SHA1), perl(HTML::Parser), perl(Pod::Usage), 
> procmail
> +BuildRequires:       perl >= 5.8.7, perl-Digest-SHA1, perl-HTML-Parser, 
> openssl-devel
> +Requires:    perl-Digest-SHA1, perl-HTML-Parser, procmail
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_100  1
> @@ -92,8 +92,8 @@
>  %if %{build_sus_10064}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.0 x86_64 Linux
> -BuildRequires:       perl >= 5.8.7, perl(Digest::SHA1), perl(HTML::Parser), 
> openssl-devel
> -Requires:    perl(Digest::SHA1), perl(HTML::Parser), perl(Pod::Usage), 
> procmail
> +BuildRequires:       perl >= 5.8.7, perl-Digest-SHA1, perl-HTML-Parser, 
> openssl-devel
> +Requires:    perl-Digest-SHA1, perl-HTML-Parser, procmail
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_10064  1
> @@ -103,8 +103,8 @@
>  %if %{build_sus_101}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 Linux
> -BuildRequires:       perl >= 5.8.7, perl(Digest::SHA1), perl(HTML::Parser), 
> openssl-devel
> -Requires:    perl(Digest::SHA1), perl(HTML::Parser), perl(Pod::Usage), 
> procmail
> +BuildRequires:       perl >= 5.8.7, perl-Digest-SHA1, perl-HTML-Parser, 
> openssl-devel
> +Requires:    perl-Digest-SHA1, perl-HTML-Parser, procmail
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_101  1
> @@ -114,8 +114,8 @@
>  %if %{build_sus_10164}
>  %define              release %{bversion}.%{rpmrelease}
>  %define      ostype SuSE 10.1 x86_64 Linux
> -BuildRequires:       perl >= 5.8.7, perl(Digest::SHA1), perl(HTML::Parser), 
> openssl-devel
> -Requires:    perl(Digest::SHA1), perl(HTML::Parser), perl(Pod::Usage), 
> procmail
> +BuildRequires:       perl >= 5.8.7, perl-Digest-SHA1, perl-HTML-Parser, 
> openssl-devel
> +Requires:    perl-Digest-SHA1, perl-HTML-Parser, procmail
>  %define              ccflags %{optflags}
>  %define              ldflags %{optflags}
>  %define              build_sus_10164  1
> --- squirrelmail-toaster.spec 2006-06-06 02:27:54.000000000 +0200
> +++ squirrelmail-toaster.spec 2006-06-12 13:46:22.840037500 +0200
> @@ -87,7 +87,7 @@
>  %define              apacheuser wwwrun
>  %define              apachegroup www
>  Prereq:      /usr/bin/perl
> -Requires:    apache2 >= 2.0.54, php4 >= 4.4.0
> +Requires:    apache2 >= 2.0.54, php >= 4.4.0
>  %define              build_sus_100  1
>  %define              default        0
>  %endif
> @@ -101,7 +101,7 @@
>  %define              apacheuser wwwrun
>  %define              apachegroup www
>  Prereq:      /usr/bin/perl
> -Requires:    apache2 >= 2.0.54, php4 >= 4.4.0
> +Requires:    apache2 >= 2.0.54, php >= 4.4.0
>  %define              build_sus_10064  1
>  %define              default        0
>  %endif
> 
> ---------------------------------------------------------------------
>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to