Hello!
The build script is completely defferent, because there is no need to install any
development tools except "build.rpm". This tool installs a clean build
environment (under /var/tmp/build-root) and does the complete build process in that
environment.
Before you start building, you need a complete and fast installation repository
for the SuSE version you like to build the packages for. A second repository of
RPM will be collected during the toaster build. Those RPM packages will be used
to install the required packages for the other packages.
This type of build process has several advantages:
* The build process does not influence your system
* The environment used for the build process is clean
* You can build for System versions other than the installed
* You can build for architectures other than the installed
Qmail-Toaster can not be compiled in the 10.0 and below versions of SuSE, because
"#usedforbuild" is used instead of "BuildRequires". I will have a look to SuSE
distributions before < 10.1 in the next days.
Best regards,
Johannes
Nick Hemmesch schrieb:
Hi Johannes,
Thank you very much. I will test your patch and script this weekend.
How much different is your SuSE 10.1 build than the instructions I wrote?
This was only my second experience with SuSE. My first was a poorly
written installation note for SuSE 10.0.
I did find SuSE 10.1 to ve a very stable platform, both i586 and x86_64.
Thanks again . . .
Regards,
Nick
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
--
|---------------------------------
| weberhofer GmbH | Johannes Weberhofer
| information technologies, Austria
|
| phone : +43 (0)1 5454421 0 | email: [EMAIL PROTECTED]
| fax : +43 (0)1 5454421 19 | web : http://weberhofer.at
| mobile: +43 (0)699 11998315
|----------------------------------------------------------->>
---------------------------------------------------------------------
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]
--
|---------------------------------
| weberhofer GmbH | Johannes Weberhofer
| information technologies, Austria
|
| phone : +43 (0)1 5454421 0 | email: [EMAIL PROTECTED]
| fax : +43 (0)1 5454421 19 | web : http://weberhofer.at
| mobile: +43 (0)699 11998315
|----------------------------------------------------------->>
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]