Hello community, here is the log from the commit of package cfengine for openSUSE:Factory checked in at Wed Dec 16 17:43:17 CET 2009. -------- --- cfengine/cfengine.changes 2009-09-07 20:54:31.000000000 +0200 +++ /mounts/work_src_done/STABLE/cfengine/cfengine.changes 2009-12-14 14:37:53.000000000 +0100 @@ -1,0 +2,9 @@ +Mon Dec 14 14:30:46 CET 2009 - anicka@suse.cz + +- update to 3.02 + * cfengine3 is a major rewrite, much simpler but with many + new features +- added new init scripts +- remove all the patches + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- cfengine-2.2.8-automake.dif cfengine-2.2.8-chflags.dif cfengine-2.2.8-closedir.diff cfengine-2.2.8-free.diff cfengine-2.2.8-ia64.dif cfengine-2.2.8-overflow.diff cfengine-2.2.8-printf.diff cfengine-2.2.8-strict-aliasing-fix.diff cfengine-2.2.8.tar.bz2 cfenvd cfexecd cfservd New: ---- cfengine-3.0.2.tar.bz2 cf-execd cf-monitord cf-serverd ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cfengine.spec ++++++ --- /var/tmp/diff_new_pack.afsvtD/_old 2009-12-16 17:38:49.000000000 +0100 +++ /var/tmp/diff_new_pack.afsvtD/_new 2009-12-16 17:38:49.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package cfengine (Version 2.2.8) +# spec file for package cfengine (Version 3.0.2) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,26 +19,18 @@ Name: cfengine -BuildRequires: bison db-devel flex openssl-devel texlive -License: GPL v2 or later +BuildRequires: bison db-devel flex mysql-devel openssl-devel pcre-devel texlive +License: GPLv2+ Group: Productivity/Networking/System AutoReqProv: on -Version: 2.2.8 -Release: 7 +Version: 3.0.2 +Release: 1 Summary: A Tool to Maintain Complicated Networks Url: http://www.cfengine.org/ Source: %{name}-%{version}.tar.bz2 -Source2: cfenvd -Source3: cfexecd -Source4: cfservd -Patch: %{name}-%{version}-ia64.dif -Patch3: %{name}-%{version}-chflags.dif -Patch4: %{name}-%{version}-automake.dif -Patch5: %{name}-%{version}-strict-aliasing-fix.diff -Patch7: %{name}-%{version}-printf.diff -Patch9: %{name}-%{version}-overflow.diff -Patch10: %{name}-%{version}-free.diff -Patch11: %{name}-%{version}-closedir.diff +Source2: cf-monitord +Source3: cf-execd +Source4: cf-serverd BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %install_info_prereq @@ -56,61 +48,58 @@ %prep %setup -q -%patch -%patch3 -%patch4 -%patch5 -%patch7 -%patch9 -%patch10 -%patch11 %build %{suse_update_config -f} autoreconf -fi CC=gcc CFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=/usr \ - --with-docs \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ - --datadir=%{_defaultdocdir} + --datadir=/var/lib/cfengine/inputs \ + --docdir=%{_docdir}/cfengine \ + --with-workdir=/var/lib/cfengine make -chmod a-x inputs/cf.preconf.example %install make "DESTDIR=$RPM_BUILD_ROOT" install install -d $RPM_BUILD_ROOT/{usr/sbin,etc/init.d} install -m 744 %{S:2} %{S:3} %{S:4} $RPM_BUILD_ROOT/etc/init.d/ -ln -sf ../../etc/init.d/cfenvd $RPM_BUILD_ROOT/%{_sbindir}/rccfenvd -ln -sf ../../etc/init.d/cfexecd $RPM_BUILD_ROOT/%{_sbindir}/rccfexecd -ln -sf ../../etc/init.d/cfservd $RPM_BUILD_ROOT/%{_sbindir}/rccfservd -rm $RPM_BUILD_ROOT/%{_libdir}/libcfengine.la -rm $RPM_BUILD_ROOT/%{_libdir}/libcfengine.a +ln -sf ../../etc/init.d/cf-monitord $RPM_BUILD_ROOT/%{_sbindir}/rccf-monitord +ln -sf ../../etc/init.d/cf-execd $RPM_BUILD_ROOT/%{_sbindir}/rccf-execd +ln -sf ../../etc/init.d/cf-serverd $RPM_BUILD_ROOT/%{_sbindir}/rccf-serverd +mkdir -p $RPM_BUILD_ROOT/var/lib/cfengine/bin +ln -sf ../../../../usr/sbin/cf-promises $RPM_BUILD_ROOT/var/lib/cfengine/bin/cf-promises +rm -rf $RPM_BUILD_ROOT/%{_libdir}/libpromises.la +rm -rf $RPM_BUILD_ROOT/%{_libdir}/libpromises.a +mkdir -p $RPM_BUILD_ROOT/var/lib/cfengine/inputs/ +cp $RPM_BUILD_ROOT/usr/share/doc/packages/cfengine/inputs/* $RPM_BUILD_ROOT/var/lib/cfengine/inputs/ +chmod 0644 $RPM_BUILD_ROOT/var/lib/cfengine/inputs/* %clean [ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot} %post -%install_info --info-dir=%{_infodir} %{_infodir}/%{name}-Reference.info.gz -%install_info --info-dir=%{_infodir} %{_infodir}/%{name}-Tutorial.info.gz +%install_info --name=cfengine --info-dir=%{_infodir} %{_infodir}/cf3-reference.info.gz %postun -%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}-Reference.info.gz -%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}-Tutorial.info.gz +%install_info_delete --name=cfengine --info-dir=%{_infodir} %{_infodir}/cf3-reference.info.gz %insserv_cleanup %preun -%stop_on_removal cfenvd -%stop_on_removal cfservd -%stop_on_removal cfexecd +%stop_on_removal cf-monitord +%stop_on_removal cf-serverd +%stop_on_removal cf-execd %files %defattr(-,root,root) -%doc AUTHORS ChangeLog NEWS README COPYING TODO inputs/*.example +%doc AUTHORS ChangeLog README COPYING docs/cf3-Reference.pdf docs/ContributorStatement.pdf /usr/sbin/* %{_mandir}/man?/* -%{_infodir}/*.info* +%dir /var/lib/cfengine +/var/lib/cfengine/* +%config(noreplace) /var/lib/cfengine/inputs/* %attr(0755,root,root) %config /etc/init.d/* %changelog ++++++ cfengine-2.2.8.tar.bz2 -> cfengine-3.0.2.tar.bz2 ++++++ ++++ 393950 lines of diff (skipped) ++++++ cf-execd ++++++ #! /bin/sh # # Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. # All rights reserved. # # Author: Petr Ostadal, feedback to http://www.suse.de/feedback # # /etc/init.d/cf-execd # # and its symbolic link # # /usr/sbin/rccf-execd # ### BEGIN INIT INFO # Provides: cf-execd # Required-Start: $local_fs $remote_fs # Should-Start: $time sendmail # Required-Stop: $local_fs $remote_fs # Should-Stop: $time sendmail # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: cf-execd daemon is a wrapper for local execution of cfagent # Description: The cf-execd is a wrapper for local execution of cfagent. # It may be used to capture cfagent output and send it as mail when run # cron cron, e.g. ### END INIT INFO cfexecd_BIN=/usr/sbin/cf-execd test -x $cfexecd_BIN || exit 5 . /etc/rc.status # Reset status of this service rc_reset # Return values acc. to LSB for all commands but status: # 0 - success # 1 - generic or unspecified error # 2 - invalid or excess argument(s) # 3 - unimplemented feature (e.g. "reload") # 4 - user had insufficient privileges # 5 - program is not installed # 6 - program is not configured # 7 - program is not running # 8--199 - reserved (8--99 LSB, 100--149 distrib, 150--199 appl) # # Note that starting an already running service, stopping # or restarting a not-running service as well as the restart # with force-reload (in case signaling is not supported) are # considered a success. case "$1" in start) echo -n "Starting cf-execd " ## Start daemon with startproc(8). If this fails ## the return value is set appropriately by startproc. eval startproc $cfexecd_BIN # Remember status and be verbose rc_status -v ;; stop) echo -n "Shutting down cf-execd " ## Stop daemon with killproc(8) and if this fails ## killproc sets the return value according to LSB. killproc -TERM $cfexecd_BIN # Remember status and be verbose rc_status -v ;; try-restart) ## Do a restart only if the service was active before. ## Note: try-restart is not (yet) part of LSB (as of 1.2) $0 status >/dev/null && $0 restart # Remember status and be quiet rc_status ;; restart) ## Stop the service and regardless of whether it was ## running or not, start it again. $0 stop $0 start # Remember status and be quiet rc_status ;; reload) exit 3 ;; status) echo -n "Checking for service cf-execd " ## Check status with checkproc(8), if process is running ## checkproc will return with exit status 0. # Return value is slightly different for the status command: # 0 - service up and running # 1 - service dead, but /var/run/ pid file exists # 2 - service dead, but /var/lock/ lock file exists # 3 - service not running (unused) # 4 - service status unknown :-( # 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.) # NOTE: checkproc returns LSB compliant status values. checkproc $cfexecd_BIN # NOTE: rc_status knows that we called this init script with # "status" option and adapts its messages accordingly. rc_status -v ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart}" exit 1 ;; esac rc_exit ++++++ cf-monitord ++++++ #! /bin/sh # # Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. # All rights reserved. # # Author: Petr Ostadal, feedback to http://www.suse.de/feedback # # /etc/init.d/cf-monitord # # and its symbolic link # # /usr/sbin/rccf-monitord # ### BEGIN INIT INFO # Provides: cf-monitord # Required-Start: $local_fs $remote_fs # Should-Start: $time sendmail # Required-Stop: $local_fs $emote_fs # Should-Stop: $time sendmail # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: cf-monitord daemon for collecting random events # Description: Start cf-monitord to allow collecting random events, # which are an excellent source of entropy for random number generation. # It is used by cfkey program to produce random number from this source # of randomness. ### END INIT INFO cfmonitord_BIN=/usr/sbin/cf-monitord test -x $cfmonitord_BIN || exit 5 . /etc/rc.status # Reset status of this service rc_reset # Return values acc. to LSB for all commands but status: # 0 - success # 1 - generic or unspecified error # 2 - invalid or excess argument(s) # 3 - unimplemented feature (e.g. "reload") # 4 - user had insufficient privileges # 5 - program is not installed # 6 - program is not configured # 7 - program is not running # 8--199 - reserved (8--99 LSB, 100--149 distrib, 150--199 appl) # # Note that starting an already running service, stopping # or restarting a not-running service as well as the restart # with force-reload (in case signaling is not supported) are # considered a success. case "$1" in start) echo -n "Starting cf-monitord " ## Start daemon with startproc(8). If this fails ## the return value is set appropriately by startproc. eval startproc $cfmonitord_BIN # Remember status and be verbose rc_status -v ;; stop) echo -n "Shutting down cf-monitord " ## Stop daemon with killproc(8) and if this fails ## killproc sets the return value according to LSB. killproc -TERM $cfmonitord_BIN # Remember status and be verbose rc_status -v ;; try-restart) ## Do a restart only if the service was active before. ## Note: try-restart is not (yet) part of LSB (as of 1.2) $0 status >/dev/null && $0 restart # Remember status and be quiet rc_status ;; restart) ## Stop the service and regardless of whether it was ## running or not, start it again. $0 stop $0 start # Remember status and be quiet rc_status ;; reload) exit 3 ;; status) echo -n "Checking for service cf-monitord " ## Check status with checkproc(8), if process is running ## checkproc will return with exit status 0. # Return value is slightly different for the status command: # 0 - service up and running # 1 - service dead, but /var/run/ pid file exists # 2 - service dead, but /var/lock/ lock file exists # 3 - service not running (unused) # 4 - service status unknown :-( # 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.) # NOTE: checkproc returns LSB compliant status values. checkproc $cfmonitord_BIN # NOTE: rc_status knows that we called this init script with # "status" option and adapts its messages accordingly. rc_status -v ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart}" exit 1 ;; esac rc_exit ++++++ cf-serverd ++++++ #! /bin/sh # # Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. # All rights reserved. # # Author: Petr Ostadal, feedback to http://www.suse.de/feedback # # /etc/init.d/cf-serverd # # and its symbolic link # # /usr/sbin/rccf-serverd # ### BEGIN INIT INFO # Provides: cf-serverd # Required-Start: $local_fs $remote_fs # Should-Start: $time sendmail # Required-Stop: $local_fs $remote_fs # Should-Stop: $time sendmail # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: cf-serverd daemon for starting cfengine remotely # Description: The cf-serverd is a file server and protective wrapper for # starting cfengine remotely. It performs access control based on RSA # authentication and IP address. ### END INIT INFO cfserverd_BIN=/usr/sbin/cf-serverd test -x $cfserverd_BIN || exit 5 . /etc/rc.status # Reset status of this service rc_reset # Return values acc. to LSB for all commands but status: # 0 - success # 1 - generic or unspecified error # 2 - invalid or excess argument(s) # 3 - unimplemented feature (e.g. "reload") # 4 - user had insufficient privileges # 5 - program is not installed # 6 - program is not configured # 7 - program is not running # 8--199 - reserved (8--99 LSB, 100--149 distrib, 150--199 appl) # # Note that starting an already running service, stopping # or restarting a not-running service as well as the restart # with force-reload (in case signaling is not supported) are # considered a success. case "$1" in start) echo -n "Starting cf-serverd " ## Start daemon with startproc(8). If this fails ## the return value is set appropriately by startproc. eval startproc $cfserverd_BIN # Remember status and be verbose rc_status -v ;; stop) echo -n "Shutting down cf-serverd " ## Stop daemon with killproc(8) and if this fails ## killproc sets the return value according to LSB. killproc -TERM $cfserverd_BIN # Remember status and be verbose rc_status -v ;; try-restart) ## Do a restart only if the service was active before. ## Note: try-restart is not (yet) part of LSB (as of 1.2) $0 status >/dev/null && $0 restart # Remember status and be quiet rc_status ;; restart) ## Stop the service and regardless of whether it was ## running or not, start it again. $0 stop $0 start # Remember status and be quiet rc_status ;; reload) exit 3 ;; status) echo -n "Checking for service cf-serverd " ## Check status with checkproc(8), if process is running ## checkproc will return with exit status 0. # Return value is slightly different for the status command: # 0 - service up and running # 1 - service dead, but /var/run/ pid file exists # 2 - service dead, but /var/lock/ lock file exists # 3 - service not running (unused) # 4 - service status unknown :-( # 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.) # NOTE: checkproc returns LSB compliant status values. checkproc $cfserverd_BIN # NOTE: rc_status knows that we called this init script with # "status" option and adapts its messages accordingly. rc_status -v ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart}" exit 1 ;; esac rc_exit ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org