Thus spake Brian Elliott Finley ([EMAIL PROTECTED]):
Michael's update attached...
I'd be curious to see what you think. And his source rpm can be found here:
http://caos.nplus1.net/~mej/systemimager-3.2.2-1.src.rpm
Please combine your spec file and his as you see fit.
Cheers, -Brian
Thus spake Brian Elliott Finley ([EMAIL PROTECTED]):Jerry,
Michael Jennings is sending me some spec file updates he's recommending. I'll pass them along for your review soon as I receive them. Let's not worry about building the RPMs until we get those updates -- apparently Michael is rpmizing 3.2.2 as we speak, for the http://www.caosity.org/ distribution, so we should have them plenty soon.
Cheers, -Brian
--
---------------------------------------------------------
Brian Elliott Finley Argonne, MCS Division Phone: 630.631.6621 http://thefinleys.com
gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
---------------------------------------------------------
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Sisuite-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-devel
--
---------------------------------------------------------
Brian Elliott Finley Argonne, MCS Division Phone: 630.631.6621 http://thefinleys.com
gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
---------------------------------------------------------
--
---------------------------------------------------------
Brian Elliott Finley Argonne, MCS Division Phone: 630.631.6621 http://thefinleys.com
gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
---------------------------------------------------------
%if "x%{!?boot_flavor:no}" != "x" %define boot_flavor standard %endif %if "%{build_boot_only}" == "1" %define build_server 0 %define build_flamethrower 0 %define build_common 0 %define build_client 0 %endif
Summary: Software that automates Linux installs, software distribution, and production deployment. Name: systemimager Version: 3.2.2 Release: 1 Copyright: GPL Group: Applications/System Source0: http://download.sourceforge.net/systemimager/%{name}-%{version}.tar.bz2 BuildRoot: /tmp/%{name}-%{version}-root BuildArchitectures: noarch Packager: dann frazier <[EMAIL PROTECTED]> URL: http://systemimager.org/ Distribution: System Installation Suite Requires: rsync >= 2.4.6, syslinux >= 1.48, libappconfig-perl, dosfstools, /usr/bin/perl AutoReqProv: no %description This is bogus and not used anywhere %if "%{build_server}" != "0" %package server Summary: Software that automates Linux installs, software distribution, and production deployment. Group: Applications/System Requires: rsync >= 2.4.6, systemimager-common = %{version}, perl-AppConfig, dosfstools, /sbin/chkconfig, perl, perl-XML-Simple AutoReqProv: no %description server SystemImager is software that automates Linux installs, software distribution, and production deployment. SystemImager makes it easy to do installs, software distribution, content or data distribution, configuration changes, and operating system updates to your network of Linux machines. You can even update from one Linux release version to another! It can also be used to ensure safe production deployments. By saving your current production image before updating to your new production image, you have a highly reliable contingency mechanism. If the new production enviroment is found to be flawed, simply roll-back to the last production image with a simple update command! Some typical environments include: Internet server farms, database server farms, high performance clusters, computer labs, and corporate desktop environments. The server package contains those files needed to run a SystemImager server. %endif %if "%{build_flamethrower}" != "0" %package flamethrower Summary: Software that automates Linux installs, software distribution, and production deployment. Group: Applications/System Requires: systemimager-server = %{version}, /sbin/chkconfig, perl, flamethrower >= 0.1.6 AutoReqProv: no %description flamethrower SystemImager is software that automates Linux installs, software distribution, and production deployment. SystemImager makes it easy to do installs, software distribution, content or data distribution, configuration changes, and operating system updates to your network of Linux machines. You can even update from one Linux release version to another! It can also be used to ensure safe production deployments. By saving your current production image before updating to your new production image, you have a highly reliable contingency mechanism. If the new production enviroment is found to be flawed, simply roll-back to the last production image with a simple update command! Some typical environments include: Internet server farms, database server farms, high performance clusters, computer labs, and corporate desktop environments. The server package allows you to use the flamethrower utility to perform installations over multicast. %endif %if "%{build_common}" != "0" %package common Summary: Software that automates Linux installs, software distribution, and production deployment. Group: Applications/System BuildRequires: e2fsprogs-devel readline-devel docbook-utils bc Requires: perl, systemconfigurator AutoReqProv: no %description common SystemImager is software that automates Linux installs, software distribution, and production deployment. SystemImager makes it easy to do installs, software distribution, content or data distribution, configuration changes, and operating system updates to your network of Linux machines. You can even update from one Linux release version to another! It can also be used to ensure safe production deployments. By saving your current production image before updating to your new production image, you have a highly reliable contingency mechanism. If the new production enviroment is found to be flawed, simply roll-back to the last production image with a simple update command! Some typical environments include: Internet server farms, database server farms, high performance clusters, computer labs, and corporate desktop environments. The common package contains files common to SystemImager clients and servers. %endif %if "%{build_client}" != "0" %package client Summary: Software that automates Linux installs, software distribution, and production deployment. Group: Applications/System Requires: systemimager-common = %{version}, systemconfigurator, perl-AppConfig, rsync >= 2.4.6, perl AutoReqProv: no %description client SystemImager is software that automates Linux installs, software distribution, and production deployment. SystemImager makes it easy to do installs, software distribution, content or data distribution, configuration changes, and operating system updates to your network of Linux machines. You can even update from one Linux release version to another! It can also be used to ensure safe production deployments. By saving your current production image before updating to your new production image, you have a highly reliable contingency mechanism. If the new production enviroment is found to be flawed, simply roll-back to the last production image with a simple update command! Some typical environments include: Internet server farms, database server farms, high performance clusters, computer labs, and corporate desktop environments. The client package contains the files needed on a machine for it to be imaged by a SystemImager server. %endif %if "%{build_boot}" != "0" %package %{_build_arch}boot-%{boot_flavor} Summary: Software that automates Linux installs, software distribution, and production deployment. Group: Applications/System Obsoletes: systemimager-%{_build_arch}boot Requires: systemimager-server >= %{version} AutoReqProv: no %description %{_build_arch}boot-%{boot_flavor} SystemImager is software that automates Linux installs, software distribution, and production deployment. SystemImager makes it easy to do installs, software distribution, content or data distribution, configuration changes, and operating system updates to your network of Linux machines. You can even update from one Linux release version to another! It can also be used to ensure safe production deployments. By saving your current production image before updating to your new production image, you have a highly reliable contingency mechanism. If the new production enviroment is found to be flawed, simply roll-back to the last production image with a simple update command! Some typical environments include: Internet server farms, database server farms, high performance clusters, computer labs, and corporate desktop environments. The %{_build_arch}boot package provides specific kernel, ramdisk, and fs utilities to boot and install %{_build_arch} Linux machines during the SystemImager autoinstall process. %endif %prep %setup -q %{__make} %{?mflags} %{!?mflags:-j11} get_source %build # Only build everything if on x86, this helps with PPC build issues %if "%{build_common}" != "0" %{__make} %{?mflags} all %else %{__make} %{?mflags} binaries %endif %install %if "%{build_common}" != "0" %if "%{build_server}" != "0" %{__make} %{?mflags} install_server_all DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} %endif %if "%{build_client}" != "0" %{__make} %{?mflags} install_client_all DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} %endif %else %{__make} %{?mflags} install_binaries DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} %endif rm -f `find $RPM_BUILD_ROOT -name '*~'` file `find $RPM_BUILD_ROOT -type f -perm -0111` %clean test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT %if "%{build_server}" != "0" %pre server # /etc/systemimager/rsyncd.conf is now generated from stubs stored # in /etc/systemimager/rsync_stubs. if upgrading from an early # version, we need to create stub files for all image entries if [ -f /etc/systemimager/rsyncd.conf -a \ ! -d /etc/systemimager/rsync_stubs ]; then echo "You appear to be upgrading from a pre-rsync stubs release." echo "/etc/systemimager/rsyncd.conf is now auto-generated from stub" echo "files stored in /etc/systemimager/rsync_stubs." echo "Backing up /etc/systemimager/rsyncd.conf to:" echo -n " /etc/systemimager/rsyncd.conf-before-rsync-stubs... " mv /etc/systemimager/rsyncd.conf \ /etc/systemimager/rsyncd.conf-before-rsync-stubs ## leave an extra copy around so the postinst knows to make stub files from it cp /etc/systemimager/rsyncd.conf-before-rsync-stubs \ /etc/systemimager/rsyncd.conf-before-rsync-stubs.tmp echo "done." fi %post server # First we check for rsync service under xinetd and get rid of it # also note the use of DURING_INSTALL, which is used to # support using this package in Image building without affecting # processes running on the parrent if [[ -a /etc/xinetd.d/rsync ]]; then mv /etc/xinetd.d/rsync /etc/xinetd.d/rsync.presis~ `pidof xinetd > /dev/null` if [[ $? == 0 ]]; then if [ -z $DURING_INSTALL ]; then /etc/init.d/xinetd restart fi fi fi # If we are upgrading from a pre-rsync-stubs release, the preinst script # will have left behind a copy of the old rsyncd.conf file. we need to parse # it and make stubs files for each image. # This assumes that this file has been managed by systemimager, and # that there is nothing besides images entries that need to be carried # forward. in_image_section=0 current_image="" if [ -f /etc/systemimager/rsyncd.conf-before-rsync-stubs.tmp ]; then echo "Migrating image entries from existing /etc/systemimager/rsyncd.conf to" echo "individual files in the /etc/systemimager/rsync_stubs/ directory..." while read line; do ## Ignore all lines until we get to the image section if [ $in_image_section -eq 0 ]; then echo $line | grep -q "^# only image entries below this line" if [ $? -eq 0 ]; then in_image_section=1 fi else echo $line | grep -q "^\[.*]$" if [ $? -eq 0 ]; then current_image=$(echo $line | sed 's/^\[//' | sed 's/\]$//') echo -e "\tMigrating entry for $current_image" if [ -e "/etc/systemimager/rsync_stubs/40$current_image" ]; then echo -e "\t/etc/systemimager/rsync_stubs/40$current_image already exists." echo -e "\tI'm not going to overwrite it with the value from" echo -e "\t/etc/systemimager/rsyncd.conf-before-rsync-stubs.tmp" current_image="" fi fi if [ "$current_image" != "" ]; then echo "$line" >> /etc/systemimager/rsync_stubs/40$current_image fi fi done < /etc/systemimager/rsyncd.conf-before-rsync-stubs.tmp rm -f /etc/systemimager/rsyncd.conf-before-rsync-stubs.tmp echo "Migration complete - please make sure to migrate any configuration you have" echo " made in /etc/systemimager/rsyncd.conf outside of the image section." fi ## END make stubs from pre-stub /etc/systemimager/rsyncd.conf file /usr/sbin/mkrsyncd_conf if [[ -a /usr/lib/lsb/install_initd ]]; then /usr/lib/lsb/install_initd /etc/init.d/systemimager-server-rsyncd fi if [[ -a /sbin/chkconfig ]]; then /sbin/chkconfig --add systemimager-server-rsyncd fi %preun server /etc/init.d/systemimager-server-rsyncd stop if [[ -a /usr/lib/lsb/remove_initd ]]; then /usr/lib/lsb/remove_initd /etc/init.d/systemimager-server-rsyncd fi if [[ -a /sbin/chkconfig ]]; then /sbin/chkconfig --del systemimager-server-rsyncd fi if [[ -a /etc/xinetd.d/rsync.presis~ ]]; then mv /etc/xinetd.d/rsync.presis~ /etc/xinetd.d/rsync `pidof xinetd > /dev/null` if [[ $? == 0 ]]; then /etc/init.d/xinetd restart fi fi %endif %if "%{build_common}" != "0" %files common %defattr(-, root, root) %{_bindir}/lsimage %{_mandir}/man8/lsimage* %{_mandir}/man5/autoinstall* %dir %{_libdir}/%{name} %{_libdir}/%{name}/perl/SystemImager/Common.pm %{_libdir}/%{name}/perl/SystemImager/Config.pm %{_libdir}/%{name}/perl/SystemImager/Options.pm %endif %if "%{build_server}" != "0" %files server %defattr(-, root, root) %doc CHANGE.LOG COPYING CREDITS README VERSION # These should move to a files doc section, because they are missing if you don't do doc #%doc doc/manual/systemimager* doc/manual/html doc/manual/examples %doc doc/autoinstall* doc/local.cfg %dir /var/log/systemimager %dir /var/lib/systemimager/images %dir /var/lib/systemimager/scripts %dir /var/lib/systemimager/overrides /var/lib/systemimager/overrides/README %dir %{_sysconfdir}/systemimager %config %{_sysconfdir}/systemimager/pxelinux.cfg/* %config %{_sysconfdir}/systemimager/autoinstallscript.template %config(noreplace) %{_sysconfdir}/systemimager/rsync_stubs/* %config(noreplace) %{_sysconfdir}/systemimager/systemimager.conf %config %{_sysconfdir}/systemimager/imagemanip.conf %config %{_sysconfdir}/systemimager/imagemanip.perm %{_sysconfdir}/init.d/systemimager-server-rsyncd %{_sysconfdir}/init.d/systemimager-server-netboot* /var/lib/systemimager/images/* %{_sbindir}/addclients %{_sbindir}/cpimage %{_sbindir}/getimage %{_sbindir}/mk* %{_sbindir}/mvimage %{_sbindir}/netbootmond %{_sbindir}/pushupdate %{_sbindir}/rmimage %{_sbindir}/imagemanip %{_bindir}/mkautoinstall* %{_libdir}/%{name}/perl/SystemImager/Server.pm %{_libdir}/%{name}/perl/SystemImager/Config.pm %{_libdir}/%{name}/perl/confedit %{_mandir}/man5/systemimager* %{_mandir}/man8/addclients* %{_mandir}/man8/cpimage* %{_mandir}/man8/getimage* %{_mandir}/man8/mk* %{_mandir}/man8/mvimage* %{_mandir}/man8/rmimage* %{_mandir}/man8/pushupdate* %endif %if "%{build_client}" != "0" %files client %defattr(-, root, root) %doc CHANGE.LOG COPYING CREDITS README VERSION %dir %{_sysconfdir}/systemimager %config %{_sysconfdir}/systemimager/updateclient.local.exclude %config %{_sysconfdir}/systemimager/client.conf %{_sbindir}/updateclient %{_sbindir}/prepareclient %{_mandir}/man8/updateclient* %{_mandir}/man8/prepareclient* %{_libdir}/%{name}/perl/SystemImager/Client.pm %endif %if "%{build_flamethrower}" != "0" %files flamethrower %defattr(-, root, root) %doc CHANGE.LOG COPYING CREDITS README VERSION %dir /var/state/systemimager/flamethrower %config %{_sysconfdir}/systemimager/flamethrower.conf %{_sysconfdir}/init.d/systemimager-server-flamethrowerd %endif %if "%{build_boot}" != "0" %files %{_build_arch}boot-%{boot_flavor} %defattr(-, root, root) %dir %{_datadir}/systemimager/boot/%{_build_arch} %{_datadir}/systemimager/boot/%{_build_arch}/* %endif %changelog * Wed Nov 12 2003 sis devel <[EMAIL PROTECTED]> 3.1.6-1 - new upstream release - add version dependency for systemimager-flamethrower package * Tue Aug 19 2003 sis devel <[EMAIL PROTECTED]> 3.1.5-1 - new upstream release * Tue Jul 14 2003 sis devel <[EMAIL PROTECTED]> 3.1.4-1 - new upstream release * Tue Jul 09 2003 sis devel <[EMAIL PROTECTED]> 3.1.3-1 - new upstream release * Tue Jul 08 2003 sis devel <[EMAIL PROTECTED]> 3.1.2-5 - add missing Client.pm, pushupdate manpage & overrides readme * Sun Jul 06 2003 sis devel <[EMAIL PROTECTED]> 3.1.2-4 - add missing conf file & state dir to systemimager-server-flamethrower * Sat Jul 05 2003 sis devel <[EMAIL PROTECTED]> 3.1.2-3 - install missing autoinstallscript.template * Tue Jul 01 2003 sis devel <[EMAIL PROTECTED]> 3.1.2-2 - make systemimager-flamethrower depend on flamethrower - patch the x86 config to support sk98lin, so it does not go interactive * Tue Jul 01 2003 sis devel <[EMAIL PROTECTED]> 3.1.2-1 - new upstream development release * Tue Apr 02 2003 sis devel <[EMAIL PROTECTED]> 3.0.1-4 - fix mkautoinstallcd on ia64 - 751740 * Tue Apr 02 2003 sis devel <[EMAIL PROTECTED]> 3.0.1-3 - added a patch from bef that no longer sorts module names - 755463 * Tue Apr 02 2003 sis devel <[EMAIL PROTECTED]> 3.0.1-2 - remove eepro100 (but keep e100) so boel will fit on a floppy again * Sun Mar 30 2003 sis devel <[EMAIL PROTECTED]> 3.0.1-1 - new upstream bug-fix release * Sun Jan 08 2003 sis devel <[EMAIL PROTECTED]> 3.0.0-2 - various ia64 fixes - stop attempting to build ps manual * Sun Dec 08 2002 sis devel <[EMAIL PROTECTED]> 3.0.0-1 - new upstream release * Sun Nov 18 2002 dann frazier <[EMAIL PROTECTED]> 2.9.5-1 - new upstream release * Sun Oct 27 2002 dann frazier <[EMAIL PROTECTED]> 2.9.4-1 - new upstream release * Thu Oct 13 2002 dann frazier <[EMAIL PROTECTED]> 2.9.3-2 - added code to migrate users to rsync stubs * Thu Oct 02 2002 dann frazier <[EMAIL PROTECTED]> 2.9.3-1 - new upstream release * Thu Sep 19 2002 Sean Dague <[EMAIL PROTECTED]> 2.9.1-1 - Added \%if \%{_build_all} stanzas to make building easier. * Tue Feb 5 2002 Sean Dague <[EMAIL PROTECTED]> 2.1.1-1 - Added section 5 manpages - removed syslinux requirement, as it isn't need for ia64 * Mon Jan 14 2002 Sean Dague <[EMAIL PROTECTED]> 2.1.0-1 - Set Macro to build $ARCHboot packages propperly - Targetted rpms for noarch target ([EMAIL PROTECTED]) - Synced up file listing * Wed Dec 5 2001 Sean Dague <[EMAIL PROTECTED]> 2.0.1-1 - Update SystemImager version - Changed prefix to /usr - Made seperate i386boot package * Mon Nov 5 2001 Sean Dague <[EMAIL PROTECTED]> 2.0.0-4 - Added build section for true SRPM ability * Mon Oct 28 2001 Sean Dague <[EMAIL PROTECTED]> 2.0.0-3 - Added common package * Sat Oct 20 2001 Sean Dague <[EMAIL PROTECTED]> 2.0.0-2 - Recombined client and server into one spec file * Thu Oct 18 2001 Sean Dague <[EMAIL PROTECTED]> 2.0.0-1 - Initial build - Based on work by Ken Segura <[EMAIL PROTECTED]>