# $Id: smeserver-yum.spec,v 1.47 2020/06/23 02:39:19 jpp Exp $ %define name smeserver-yum Summary: YUM, an rpm updater Name: %{name} %define version 2.6.0 %define release 34 Version: %{version} Release: %{release}%{?dist} License: GPL Group: SMEServer/addon Source: %{name}-%{version}.tar.xz Patch0: smeserver-yum-2.6.0.SME10.patch Patch1: smeserver-yum-2.6.0.SME10CentOS7EPEL7Keys.rpm Patch2: smeserver-yum-2.6.0.bz8834.DeltaRpm.patch Patch3: smeserver-yum-2.6.0.bz1502.DownloadOnly.patch Patch4: smeserver-yum-2.6.0.bz9903.remiGPG.patch Patch5: smeserver-yum-2.6.0.bz8705.avoidReboot.patch Patch6: smeserver-yum-2.6.0.bz10119.scloGPGkey.patch Patch7: smeserver-yum-2.6.0.bz10156.remContrib.patch Patch8: smeserver-yum-2.6.0.bz8705.avoidReboot-fixKeyError.patch Patch9: smeserver-yum-2.6.0.bz8705.avoidReboot-service-names.patch Patch10: smeserver-yum-2.6.0.bz8705.smeserver-locale.avoidreboot.patch Patch11: smeserver-yum-2.6.0.bz10263.rpmfusionfreeEL7.patch Patch12: smeserver-yum-2.6.0-bz10170-SME10eol.patch Patch13: smeserver-yum-2.6.0.bz6499.yum-plugin-priorities.patch Patch14: smeserver-yum-2.6.0.bz9388.no-double-contribs-check.patch Patch15: smeserver-yum-2.6.0.bz8782-check4contribs-formatting.patch Patch16: smeserver-yum-2.6.0.bz8705.avoidReboot-Nut-reboot-exclusions.patch Patch17: smeserver-yum-2.6.0-bz10742-openfusion.patch Patch18: smeserver-yum-2.6.0.bz10716.smecontribsvisible.patch Patch19: smeserver-yum-2.6.0-bz9697.mirrorlist.patch Patch20: smeserver-yum-2.6.0.bz10249.CentOSVault.onEOL.patch Patch21: smeserver-yum-2.6.0.bz118.groupmark.patch Patch22: smeserver-yum-2.6.0.bz6940.mismatch.btwn.manager.and.cli.patch Patch23: smeserver-yum-2.6.0.bz10843.stripheader.patch Patch24: smeserver-yum-2.6.0.bz10690.autoinstall.patch Patch25: smeserver-yum-2.6.0.bz10873.php-fpm.patch Patch26: smeserver-yum-2.6.0.bz10846.templates.patch Patch27: smeserver-yum-2.6.0.bz10931.mdadm-in-dict.patch Patch28: smeserver-yum-2.6.0-bz11047-executeactions.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-formmagick >= 1.4.0-12 Requires: e-smith-base Requires: perl(CGI::FormMagick) >= 0.91-26 Requires: rpm-python >= 4.0.4-7x.18 Requires: yum >= 1.0.3-1_73 Provides: yumconf Obsoletes: check4updates Provides: check4updates Obsoletes: rpmdb-CentOS Requires: yum-plugin-fastestmirror Requires: yum-plugin-priorities Obsoletes: yum-plugin-installonlyn Obsoletes: yum-protect-packages <= 1.1.16 Requires: yum-plugin-post-transaction-actions Requires: mailx Requires: deltarpm Requires: yum-cron BuildRequires: e-smith-devtools >= 1.13.1-03 BuildRequires: python Conflicts: centos-yumconf AutoReqProv: no %description %name is an implementation of http://linux.duke.edu/projects/yum on SME Server %prep %setup %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch19 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 %patch23 -p1 %patch24 -p1 %patch25 -p1 %patch26 -p1 %patch27 -p1 %patch28 -p1 %build perl createlinks ln -s /var/service/yum root/service/yum mkdir -p root/etc/yum.smerepos.d %install /bin/rm -rf $RPM_BUILD_ROOT (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist \ --file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ --file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ --file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ --file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \ --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ --file /var/service/yum/down 'attr(0644,root,root)' \ --file /var/service/yum/run 'attr(0755,root,root)' \ --dir /var/service/yum/log 'attr(0755,root,root)' \ --dir /var/service/yum/log/supervise 'attr(0700,root,root)' \ --dir /var/service/yum/supervise 'attr(0700,root,root)' \ --file /var/service/yum/log/run 'attr(0755,root,root)' \ --dir /var/log/yum 'attr(2750,smelog,smelog)' \ $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist %clean /bin/rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-%{release}-filelist %defattr(-,root,root) %changelog * Tue Oct 20 2020 Jean-Philipe Pialasse 2.6.0-34.sme - fix smeserver.py not executing action because of wrong path [SME: 11047] * Mon Jun 22 2020 Jean-Philipe Pialasse 2.6.0-33.sme - fix error when key absent of a dict of smeserver plugin at clean stage [SME: 10931] * Thu Jan 30 2020 Jean-Philipe Pialasse 2.6.0-32.sme - avoid missing template error after removal of a rpm [SME: 10846] * Thu Jan 30 2020 Jean-Philipe Pialasse 2.6.0-30.sme - restart php-fpm services when needed [SME: 10873] * Mon Dec 09 2019 Jean-Philipe Pialasse 2.6.0-29.sme - applying patch [SME: 10690] * Sun Dec 08 2019 Jean-Philipe Pialasse 2.6.0-27.sme - fix NameError: global name 'yum_update_dbs' is not defined [SME: 6940] * Fri Dec 06 2019 Jean-Philipe Pialasse 2.6.0-26.sme - use yum-cron with autoupdate feature [SME: 10690] * use yum-cron for download only or auto update * yum-cron.conf templates * update lock path * settings in server-manager * remove yumdownloadonly script and crontab template * Fri Dec 06 2019 Jean-Philipe Pialasse 2.6.0-25.sme - fix typo on patch [SME: 10249] * Wed Dec 04 2019 Jean-Philipe Pialasse 2.6.0-24.sme - fix header detected as package [SME: 10843] - avoid discrepancy between manager, cli and email [SME: 6940] * force refresh of metadata before db generation * add regeneration of db during check4updates, after yum update/install/remove - fix no installed groups file [SME: 118] - switch to centos vault after EOL [SME: 10249] - update http://mirrorlist.contribs.org/mirrorlist to https://mirrorlist.koozali.org/mirrorlist [SME: 9697] - make smecontribs visible [SME: 10716] * Mon Feb 18 2019 Jean-Philipe Pialasse 2.6.0-22.sme - add openfusion gpg key [SME: 10742] * Sat Jan 26 2019 Jean-Philipe Pialasse 2.6.0-21.sme - updated EOL patch [SME: 10170] * Wed Jan 23 2019 Jean-Philipe Pialasse 2.6.0-19.sme - add yum-priority as requirement [SME: 6499] add support for plugin priority using property priority im yum_repositories db initial priority to 10 for sme*, base and updates repos. property yum priority set as enabled as default - avoid double check updates for contribs if smecontribs is set to enabled [SME: 9388] - update check4contribs email format to match check4updates [SME: 8782] - improve yum plugin to avoid reboot [SME: 8705] add nut support, add exclusions for -doc, -devel... subpackages * Tue Jan 22 2019 Jean-Philipe Pialasse 2.6.0-18.sme - add message to indicate EOL after Jun 30 2024 fix [SME: 10170] * Mon Nov 06 2017 Jean-Philipe Pialasse 2.6.0-17.sme - add yum-plugin-post-transaction-actions as requirement [SME: 1100] * Tue May 02 2017 Jean-Philipe Pialasse 2.6.0-16.sme - add rpmfusion free el7 RPM GPG KEY [SME: 10263] * Mon Apr 10 2017 Jean-Philipe Pialasse 2.6.0-15.sme - avoid reboot for smeserver-locale upgrade [SME: 8705] - code by stefano zamboni * Wed Mar 29 2017 Jean-Philipe Pialasse 2.6.0-14.sme - correct service names with plugin to avoid reboot [SME: 8705] - code by stefano zamboni * Mon Mar 27 2017 Jean-Philipe Pialasse 2.6.0-13.sme - fix KeyError with plugin to avoid reboot [SME: 8705] - code by stefano zamboni * Mon Mar 20 2017 Jean-Philipe Pialasse 2.6.0-12.sme - remove centos contrib repo [SME: 10156] * Sat Feb 25 2017 Jean-Philipe Pialasse 2.6.0-11.sme - added centos SCLo SIG gpg rpm signing key [SME: 10119] - will allow to install SCL packages directly from smecontribs * Sat Feb 18 2017 stephane de Labrusse 2.6.0-10.sme - Added smeserver-yum-2.6.0.bz8705.avoidReboot.patch [SME: 8705] - code by stefano zamboni - Avoid to reboot after the installation of a smeserver-* package * Fri Jan 06 2017 Jean-Philipe Pialasse 2.6.0-8.sme - add Remi Collet RPM GPG KEY [SME: 9903] * Thu Aug 04 2016 stephane de Labrusse 2.6.0-7.sme - Rpm updates can be downloaded during the night [SME: 1502] - Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch * Mon Aug 1 2016 stephane de Labrusse 2.6.0-6.sme - Deltarpm is now a setting in the yum panel (disabled by default) - Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834] * Fri May 27 2016 Jean-Philipe Pialasse 2.6.0-5.sme - adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533] * Thu May 12 2016 Daniel Berteaud 2.6.0-4.sme - Rebuild [SME: 9393] * Wed Mar 23 2016 Jean-Philipe Pialasse 2.6.0-3.sme - yum points now to SME10 mirrors [SME: 9377] - moved changelog at the end of file - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, by assuming the date is correct and changing the weekday. Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... * Sun Feb 7 2016 Daniel Berteaud 2.6.0-2.sme - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin [SME: 9229] * Sat Feb 06 2016 stephane de Labrusse 2.6.0-1.sme - Initial release to sme10 * Wed Jan 13 2016 Daniel Berteaud 2.4.0-12.sme - Example to update contribs 1 by 1 [SME: 8850] * Sat Feb 21 2015 Stephane de Labrusse 2.4.0-11.sme - Set the check update frequency of smecontribs through the server-manager - [SME: 8855] * Sat Jan 10 2015 Stephane de Labrusse 2.4.0-10.sme - Add a default Yum db property for check4contribsupdates [SME: 8790] * Wed Nov 19 2014 Stephane de Labrusse 2.4.0-9.sme - Added a check-update for the smecontribs repository [SME: 8672] * Mon Jun 30 2014 Daniel Berteaud 2.4.0-8.sme - Move protected package list to the correct location [SME: 8476] * Fri Mar 22 2013 Ian Wells 2.4.0-7.sme - Change order of mail options in check4updates [SME: 7504] * Sun Mar 17 2013 Ian Wells 2.4.0-6.sme - Change wording of Software Update button [SME: 7499] * Wed Mar 6 2013 Shad L. Lords 2.4.0-5.sme - Obsolete el5 yum-protect-packages, provided by yum [SME: 7273] * Wed Mar 6 2013 Shad L. Lords 2.4.0-4.sme - Update GPG keys for sme9 [SME: 7465] * Wed Feb 27 2013 Daniel Berteaud 2.4.0-3.sme - Add fasttrack and remove addons repo [SME: 7385] * Tue Feb 5 2013 Shad L. Lords 2.4.0-2.sme - Add back in missing parts from new stream [SME: 7305] * Thu Jan 31 2013 Shad L. Lords 2.4.0-1.sme - Roll new stream for sme9 * Fri Aug 31 2012 Shad L. Lords 2.2.0-20.sme - Point mirrorlist to mirrorlist.contribs.org [SME: 7087] * Tue Mar 1 2011 Jonathan Martens 2.2.0-19.sme - Add random wait timer for check4updates script to distribute load on ibiblio [SME: 6534] * Fri Oct 1 2010 Jonathan Martens 2.2.0-18.sme - Trigger post-upgrade and reboot on kernel updates [SME: 6166] * Sat Jun 12 2010 Shad L. Lords 2.2.0-17.sme - Fix migrate fragment to not throw warnings [SME: 5705] * Wed Jun 02 2010 Shad L. Lords 2.2.0-16.sme - Fix yum database removal (missing one) [SME: 5705] * Wed Jun 02 2010 Shad L. Lords 2.2.0-15.sme - Migrate MirrorList properties to sme8 repos [SME: 5705] - Remove BaseURL properties if migrating to sme8 repos [SME: 5949] - Remove yum databases and repodata if migrating to sme8 repos [SME: 5998] * Mon May 17 2010 Jonathan Martens 2.2.0-14.sme - Revert previous change [SME: 5962] * Mon May 17 2010 Jonathan Martens 2.2.0-13.sme - Migrate CentOS Exclude property default values to smeserver-yum [SME: 5962] * Thu Nov 5 2009 Shad L. Lords 2.2.0-12.sme - only unlink file if we created it [SME: 5476] * Wed Oct 14 2009 Filipo Carletti 2.2.0-11.sme - Import only keys not already imported [SME: 5507] * Tue Sep 15 2009 Shad L. Lords 2.2.0-10.sme - set unsaved changes in yum event [SME: 5475] - move yum warming to sme yum plugin [SME: 5474] - ensure file exists before unlinking [SME: 5476] - remove semicolons from yum plugin * Tue Sep 15 2009 Shad L. Lords 2.2.0-9.sme - Add frequency of updates toggle [SME: 3764] - remove stray file * Sat May 30 2009 Shad L. Lords 2.2.0-8.sme - Add /etc/yum.smerepos.d to package [SME: 5305] * Mon May 18 2009 Shad L. Lords 2.2.0-7.sme - Change SME mirrorlists to point to ibiblio [SME: 5242] * Fri Apr 10 2009 Jonathan Martens 2.2.0-6.sme - Require mailx [SME: 5131] * Mon Nov 24 2008 Shad L. Lords 2.2.0-5.sme - Add yum-protect-packages support to prevent removal of needed pacakges [SME: 3133] * Tue Oct 28 2008 Shad L. Lords 2.2.0-4.sme - Make yum update unbuffered for web interface [SME: 4726] * Mon Oct 13 2008 Shad L. Lords 2.2.0-3.sme - Move repos to repodir to fix yum bug [SME: 3676] * Sun Oct 12 2008 Shad L. Lords 2.2.0-2.sme - Fix name for smeextras [SME: 4585] * Tue Oct 7 2008 Shad L. Lords 2.2.0-1.sme - Roll new stream to separate sme7/sme8 trees [SME: 4633] * Tue Oct 7 2008 Shad L. Lords 1.2.0-58 - Fix mirrorlist for sme8 [SME: 4508] * Fri Sep 19 2008 Shad L. Lords 1.2.0-57 - Add smeextras repo database and information [SME: 4585] * Sun Aug 10 2008 Shad L. Lords 1.2.0-56 - Remove links to crontab in bootstrap-console-save [SME: 4494] * Sat Jul 5 2008 Jonathan Martens 1.2.0-55 - Add common tags to e-smith-formmagick's general [SME: 4279] * Sun Apr 27 2008 Jonathan Martens 1.2.0-54 - Add common tags to e-smith-formmagick's general [SME: 4290] * Mon Mar 31 2008 Shad L. Lords 1.2.0-53 - Include installonlyn plugin to manage kernels [SME: 2101] * Mon Mar 31 2008 Stephen Noble 1.2.0-52 - Delete dungog repository, reworked [SME: 4097] * Fri Mar 14 2008 Shad L. Lords 1.2.0-51 - Clean up "rpm -qa" warnings in yum wrapper [SME: 4052] * Wed Feb 13 2008 Stephen Noble 1.2.0-50 - Remove tags now in general [SME: 3914] * Sun Feb 10 2008 Stephen Noble 1.2.0-49 - Remove duplicate entries [SME: 3889] * Fri Jan 11 2008 Shad L. Lords 1.2.0-48 - Put check4updates obsoletes & provides in the right place [SME: 3250] * Fri Jan 11 2008 Shad L. Lords 1.2.0-47 - Add check4update script, make cronjob run same as scheduled dirs [SME: 3250] * Wed Jan 09 2008 Stephen Noble 1.2.0-46 - Add server is up to date message on panel [SME: 2512] * Mon Jan 7 2008 Stephen Noble 1.2.0-45 - remove BaseURL property for repos with mirrorlists [SME: 3275] * Mon Jan 7 2008 Stephen Noble 1.2.0-44 - safesymlink yum into local [SME: 3238] * Mon Jan 7 2008 Stephen Noble 1.2.0-43 - add check4updates cronjob, obsolete check4updates rpm [SME: 3250] * Mon Jan 7 2008 Stephen Noble 1.2.0-42 - yum-import-keys action to yum-update event [SME: 3196] * Mon Dec 24 2007 Stephen Noble 1.2.0-41 - add smecontribs repo [SME: 3551] * Tue Dec 11 2007 Gavin Weight 1.2.0-40 - Remove bad mirror and add two new mirrors. [SME: 3636] * Fri Nov 30 2007 Gavin Weight 1.2.0-39 - Change EnableGroups value to no/yes instead of 0/1. [SME: 3607] * Fri Nov 30 2007 Gavin Weight 1.2.0-38 - Fix use of uninitialized value in migrate 10GPG_and_Groups. [SME: 2491] * Sat Jul 14 2007 Shad L. Lords 1.2.0-37 - Add GPG keys for CentOS 5 [SME: 3160] * Sun Jun 10 2007 Stephen Noble 1.2.0-36 - Refine matching of rpms or repos [SME: 2416] * Sun Jun 10 2007 Stephen Noble 1.2.0-35 - Add db values to restrict available rpms or repos [SME: 2416] * Sun Jun 10 2007 Stephen Noble 1.2.0-34 - remove restrictAvailable patch [SME: 2416] * Fri Jun 08 2007 Stephen Noble 1.2.0-33 - Add db value to restrict available rpms [SME: 2416] * Fri May 25 2007 Shad L. Lords 1.2.0-32 - Add rpm key for epel packages * Wed May 9 2007 Shad L. Lords 1.2.0-31 - Updates to support SME Server 8 * Sun Apr 29 2007 Shad L. Lords - Clean up spec so package can be built by koji/plague * Mon Apr 09 2007 Stephen Noble 1.2.0-30 - remove two of them, leaving pacific.net.au [SME: 2763] * Mon Apr 09 2007 Stephen Noble 1.2.0-29 - add three more repositories to yum.repos.d/mirrors-sme* files [SME: 2763] * Fri Feb 16 2007 Shad L. Lords 1.2.0-28 - Change runsvctrl to sv to support runit v1.7.x [SME: 2486] * Wed Jan 17 2007 Shad L. Lords 1.2.0-27 - Only import keys we don't already have [SME: 1174] * Wed Jan 03 2007 Shad L. Lords 1.2.0-26 - Only allow upstream proxies to cache packages not metadata. * Thu Dec 07 2006 Shad L. Lords - Update to new release naming. No functional changes. - Make Packager generic * Fri Dec 1 2006 Gordon Rowell 1.2.0-25 - Remove defaults for CentOS testing repository [SME: 2119] * Thu Nov 30 2006 Greg Swallow 1.2.0-24 - Change Includepkgs to IncludePkgs [SME: 2049] * Thu Nov 30 2006 Greg Swallow 1.2.0-23 - Add includepkgs option to repository configuration [SME: 2049] * Thu Nov 30 2006 Gordon Rowell 1.2.0-22 - Correct typos in last patch [SME: 2050] * Thu Nov 30 2006 Gordon Rowell 1.2.0-21 - Create local SME Server mirrorlists during build of package - Refer to these mirrorlists from yum.conf - Comment out baseurl if a MirrorList is defined [SME: 2050] * Wed Nov 29 2006 Gordon Rowell 1.2.0-20 - Revert to 10s panel refresh [SME: 2097] * Thu Nov 23 2006 Gordon Rowell 1.2.0-19 Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... - Make CentOS base and updates enabled/Visible by default [SME: 1849] - Migrate CentOS base and updates to Visible, but leave status [SME: 1849] * Thu Nov 23 2006 Gordon Rowell 1.2.0-18 Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... - Adjust wording on post-upgrade page [SME: 2076] * Tue Nov 21 2006 Gordon Rowell 1.2.0-17 - Clean up post-upgrade page LogFile display [SME: 2077] * Tue Nov 21 2006 Gordon Rowell 1.2.0-16 - Fix post-upgrade page handling [SME: 2077] - TODO: Add persistent RebootRequired handling so that the reconfigure page is displayed from other sessions - TODO: Re-add display of LogFile prior to reconfigure * Thu Nov 16 2006 Gordon Rowell 1.2.0-15 Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... - Add dependency on yum-plugin-fastestmirror [SME: 1163] - Alpha sort dependencies * Thu Nov 16 2006 Gordon Rowell 1.2.0-14 Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... - Add MirrorList options to each of the SME repos [SME: 1163] * Thu Nov 16 2006 Gordon Rowell 1.2.0-13 Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... - Put back missed patch for post-upgrade [SME: 2071] * Thu Nov 16 2006 Gordon Rowell 1.2.0-12 Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... - Re-add post-upgrade handling [SME: 2071] - Display yum output - Lower refresh to 3 seconds from 10 * Thu Nov 16 2006 Gordon Rowell 1.2.0-11 - Add Federico Simoncelli's smeserver plugin for yum [SME: 59] - TODO: Add post-upgrade page handling * Tue Nov 14 2006 Gordon Rowell 1.2.0-10 - Add distroverpkg to set release version for CentOS packages [SME: 1163] * Thu Nov 9 2006 Gordon Rowell 1.2.0-09 - Allow MirrorList property to be optional [SME: 1163] * Thu Nov 9 2006 Gordon Rowell 1.2.0-08 - Add mirrorlist option to CentOS repos via MirrorList db property [SME: 1163] - TODO: Create mirrorlist for SME repos. * Thu Nov 9 2006 Gordon Rowell 1.2.0-07 - Explicitly unset reposdir so we ignore the CentOS repo files [SME: 1905] * Fri Sep 1 2006 Charlie Brady 1.2.0-06 - Fix quoting in yum wrapper script. [SME: 1894] * Mon May 1 2006 Charlie Brady 1.2.0-05 - Remove stray yum.pm.orig file. [SME: 1350] * Tue Apr 18 2006 Gordon Rowell 1.2.0-04 - Also display yum output if the yum command fails, e.g. due to an existing yum lock. [SME: 1110] * Tue Apr 18 2006 Gordon Rowell 1.2.0-03 - Update the yum dbs in yum-modify in case the repos have changed [SME: 1261] * Tue Apr 18 2006 Gordon Rowell 1.2.0-02 - Capture and display yum output [SME: 1269] * Wed Mar 15 2006 Charlie Brady 1.2.0-01 - Roll stable stream version. [SME: 1016] * Mon Mar 6 2006 Gordon Rowell 1.1.2-26 - And migrate old SME repo URLs to new paths [SME: 951] * Mon Mar 6 2006 Gordon Rowell 1.1.2-25 - Change SME Server repo URLs to match repo names so we avoid confusion with CentOS repos and can remove the symlinks [SME: 951] * Mon Mar 6 2006 Gordon Rowell 1.1.2-24 - Don't force the BaseURL properties - just set defaults [SME: 951] * Wed Feb 22 2006 Gordon Rowell 1.1.2-23 - Default smeupdates-testing repository to Visible, disabled [SME: 846] * Thu Feb 16 2006 Charlie Brady 1.1.2-22 - Do not suggest post-upgrade/reboot if no rpms were installed or removed. [SME: 676] * Thu Feb 16 2006 Gordon Rowell 1.1.2-21 - Run post-upgrade and reboot in the background so that the front page can be displayed without the "Your system needs to be rebooted" warning - it's already getting one by then. [SME: 611] - Adjust reconfiguration wording [SME: 611] * Thu Feb 16 2006 Gordon Rowell 1.1.2-20 - And add L10N for newly exposed unlocalised message [SME: 611] * Thu Feb 16 2006 Gordon Rowell 1.1.2-19 - Catch error return status from yum commands [SME: 611] * Tue Feb 7 2006 Gordon Rowell 1.1.2-18 - Adjust wording in yum wrapper [SME: 676] * Tue Jan 24 2006 Gordon Rowell 1.1.2-17 - And change "A reboot will be required" to "A reboot will be initiated" in the post-upgrade panel [SME: 199] * Tue Jan 24 2006 Gordon Rowell 1.1.2-16 - Bring back post-upgrade page after performing updates [SME: 199] - Force a reboot after the post-upgrade command [SME: 199] * Tue Jan 24 2006 Gordon Rowell 1.1.2-15 - Add wrapper /sbin/e-smith/yum to remind people to post-upgrade/reboot [SME: 199] * Tue Jan 24 2006 Gordon Rowell 1.1.2-14 - Force yum{AutoInstallUpdates} to disabled and remove toggle from panel for now [SME: 525] * Mon Nov 21 2005 Gordon Rowell 1.1.2-13 - And make them Visible=no by default [SF: 1362528] * Mon Nov 21 2005 Gordon Rowell 1.1.2-12 - Disable centos base/updates/contrib repos by default [SF: 1362528] * Mon Nov 21 2005 Gordon Rowell 1.1.2-11 - Show repositories which are either Visible or enabled [SF: 1362529] * Mon Nov 21 2005 Gordon Rowell 1.1.2-10 - Disable automatic updates by default [SF: 1362526] * Mon Nov 14 2005 Gordon Rowell 1.1.2-09 - Add Conflicts: centos-yumconf [SF: 1356006] * Tue Nov 8 2005 Gordon Rowell 1.1.2-08 - Don't force a post-upgrade/reboot after changes. We don't need to do it in most cases [SF: 1304387, 1349946] * Fri Oct 28 2005 Gordon Rowell 1.1.2-07 - Allow optional GPGKey property [SF: 1332624] * Fri Oct 28 2005 Gordon Rowell 1.1.2-06 - Change CentOS BaseURL values back to /centos/4 [SF: 1334861] - Generate all repositories in /etc/yum.conf with enabled=0/1 [SF: 1332624] - Only display "Visible" repositories in the server-manager panel [SF: 1332624] * Fri Oct 14 2005 Gordon Rowell 1.1.2-05 - Move all L10Ns to smeserver-locale [SF: 1309520] * Mon Oct 10 2005 Gordon Rowell 1.1.2-04 - Fix up auto-selection of all updates [SF: 1321887] * Mon Oct 10 2005 Gordon Rowell 1.1.2-03 - Remove navigation-conf-hidden [SF: 1315730] * Fri Oct 7 2005 Gordon Rowell 1.1.2-02 - Require GPG signatures on all yum packages * Fri Oct 7 2005 Gordon Rowell 1.1.2-01 - Roll new tarball, patches to 1.1.1-07 * Fri Sep 30 2005 Gordon Rowell 1.1.1-07 - And another [SF: 1301044] * Fri Sep 30 2005 Gordon Rowell 1.1.1-06 - Correction to French L10N - Thanks Didier Rambeau [SF: 1301044] * Fri Sep 30 2005 Gordon Rowell 1.1.1-05 - Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] * Fri Sep 30 2005 Gordon Rowell 1.1.1-04 - Added lots of RPM GPG keys [SF: 1309195] * Thu Sep 29 2005 Gordon Rowell 1.1.1-03 - It's obsoletes=1 [SF: 1306265] * Thu Sep 29 2005 Gordon Rowell 1.1.1-02 - Added obsoletes option to yum.conf [SF: 1306265] * Mon Sep 26 2005 Gordon Rowell 1.1.1-01 - Rolled patches up to 1.1.0-26 - Added German L10N * Sun Sep 25 2005 Gordon Rowell 1.1.0-26 - Typo fix - add space between 'yum' and options * Sun Sep 25 2005 Gordon Rowell 1.1.0-25 - Increase debug and error level so we at least capture yum output in the messages log [SF: 1218082] * Sun Sep 25 2005 Gordon Rowell 1.1.0-24 - Need to return a hash, with key equal to package.arch [SF: 1298468] * Sun Sep 25 2005 Gordon Rowell 1.1.0-23 - Display version and repository in picklists [SF: 1298468] * Sun Sep 25 2005 Gordon Rowell 1.1.0-22 - Change 1/0 values for GPGCheck and EnableGroups to yes/no It's more readable in the DB and also works around a bug [SF: 1303885] * Sun Sep 25 2005 Gordon Rowell 1.1.0-21 - Wrap HTML escapes in Fr lexicon in CDATA blocks [SF: 1302289] * Fri Sep 23 2005 Gordon Rowell 1.1.0-20 - Remove XXX - FIXMEs from French lexicon [SF: 1301044] * Fri Sep 23 2005 Gordon Rowell 1.1.0-19 - French L10N fix [SF: 1266152] * Mon Sep 12 2005 chris burnat 1.1.0-18 - Fix equal greater than (=>) to (>=) in two instances in spec file. * Mon Sep 5 2005 Gordon Rowell 1.1.0-17 - Change centos BaseURL entries from /centos/4/ to /centos/4.1/ as it appears that some mirrors aren't following the symlinks correctly - Move BaseURL settings into force fragments as they will need to change as we update the base [SF: 1272438] * Wed Aug 24 2005 Gordon Rowell 1.1.0-16 - Remove XXX entries from panel text [SF: 1267315] * Wed Aug 24 2005 Gordon Rowell 1.1.0-15 - Fix status check in yum cron job - Thanks Filippo Carletti [SF: 1266967] * Wed Aug 17 2005 Charlie Brady 1.1.0-14 - Change dependency to rpmdb-CentOS * Mon Aug 15 2005 Gordon Rowell - [1.1.0-13] - Add dependency on rpmdb package * Mon Jul 18 2005 Gordon Rowell - [1.1.0-12] - And remove now unused action scripts * Mon Jul 18 2005 Gordon Rowell - [1.1.0-11] - Removed the old pre-FM panels, which we haven't used or displayed for a while * Mon Jul 18 2005 Gordon Rowell - [1.1.0-10] - Relocate dbs to /home/e-smith/db. Note yum_update_dbs avoids the ConfigDB interface for speed and to reduce log noise. Maybe it shouldn't, which would give a record of nightly changes. * Thu Jul 14 2005 Gordon Rowell - [1.1.0-09] - French localisation - Merci Didier Rambeau [SF: 1234929] * Thu Jul 14 2005 Gordon Rowell - [1.1.0-08] - Fix cron.daily ordering so yum_update_dbs gets a chance to fix the yum flag file before the standard yum cron job runs [SF: 1237639] - Clean up various old cron jobs which are no longer used - Change cron job template into a shell script * Thu Jul 14 2005 Gordon Rowell - [1.1.0-07] - Remove pid file check - yum leaves stale pid files when an action fails, but cleans up next time. Since we're calling yum, it can do the work. Death to pid files. * Thu Jul 14 2005 Gordon Rowell - [1.1.0-06] - Adjusted repository names sme{addons,core,dev,test,updates} -> addons,os,dev,test,updates - Added updates-testing - Changed BaseURL to use mirror.contribs.org/pub/smeserver for consistency across mirrors - Drop /7.0alpha/ to /7/ * Sat Jul 2 2005 Gordon Rowell - [1.1.0-05] - Fix creation of event links * Sat Jul 2 2005 Gordon Rowell - [1.1.0-04] - Remove all other instances of services2adjust once for yum, and use the action script instead to avoid an endless run of yum_update_dbs * Sat Jul 2 2005 Gordon Rowell - [1.1.0-03] - Add exec to yum service run script - Add action script to update DBs as required, including 'local' event - TODO: Work out why services2adjust 'once' loops forever on this service * Sat Jul 2 2005 Gordon Rowell - [1.1.0-02] - Add Provides: yumconf [SF: 1230970] - Cater for new yum output format, and only pick package lines from output [SF: 1230971] * Thu Jun 30 2005 Gordon Rowell - [1.1.0-01gr22] - Change from CentOS 3 to CentOS 4 - Remove force fragment for stunnel since we now ship the CentOS RPM * Fri Jun 10 2005 Gordon Rowell - [1.1.0-01gr21] - Import keys in bootstrap-console-save rather than post-{install,upgrade} * Fri Jun 10 2005 Gordon Rowell - [1.1.0-01gr20] - Populate /usr/share/rpm-gpg-keys with various RPM-GPG-KEY files we might want to use - Add script to import keys - TODO: Clean out duplicate key copies * Thu Jun 9 2005 Gordon Rowell - [1.1.0-01gr19] - Comment out 'once' invocation in local event - it seems to loop - Change cron job to do the 'runsvctrl once' invocation * Thu Jun 9 2005 Gordon Rowell - [1.1.0-01gr18] - Fix up exit status warning. * Thu Jun 9 2005 Gordon Rowell - [1.1.0-01gr17] - Don't bother checking the exit status of yum, since yum may return non-zero for failure or for "no matching groups/packages". TODO: We should probably work out how to tell between these. * Thu Jun 9 2005 Gordon Rowell - [1.1.0-01gr16] - Make it a supervised service, but one which we only run "once" when we need it [SF: 1216096] * Thu Jun 9 2005 Gordon Rowell - [1.1.0-01gr15] - Don't try to grab the yum.pid file with Proc::PID_File as then we can't actually run yum commands [SF: 1216097] * Thu Jun 9 2005 Gordon Rowell - [1.1.0-01gr14] - Add yum_update_dbs into a supervised service so we don't have to wait for it at boot time [SF: 1216096] * Thu Jun 9 2005 Gordon Rowell - [1.1.0-01gr13] - Unlink tmp files if yum command fails and we exit early * Thu Jun 9 2005 Gordon Rowell - [1.1.0-01gr12] - Check for another running yum process [SF: 1216097] - Don't update the databases if the yum command fails [SF: 1216097] * Fri Jun 3 2005 Gordon Rowell - [1.1.0-01gr11] - Use the dump RPM from CentOS [SF: 1214055] * Fri Jun 3 2005 Gordon Rowell - [1.1.0-01gr10] - Invert exit status of system() * Fri Jun 3 2005 Gordon Rowell - [1.1.0-01gr09] - Move management of /var/lock/subsys/yum into yum_updates_dbs action script - Call yum_update_dbs in local event - after the system is up and running - Remove commented out panel references * Fri Jun 3 2005 Gordon Rowell - [1.1.0-01gr08] - Default gpgcheck off, except for base/updates/smecore/smeupdates - Default yum{AutoInstallUpdates} == enabled - Add code to manage /var/lock/subsys/yum, which controls daily updates in /etc/cron.daily/yum * Fri Jun 3 2005 Gordon Rowell - [1.1.0-01gr07] - Deal with the case when the list of updates is empty - Put a header on each of the yum_* dbs * Fri Jun 3 2005 Gordon Rowell - [1.1.0-01gr06] - Rename centos repositories to match the centos-yumcache names - Remove pkgpolicy=last and repository ordering. - Add Exclude= properties to CentOS base and updates for packages which are modified for the SMEServer releases - INSTALL: Need to manually remove old version of yum_repositories DB * Tue May 31 2005 Gordon Rowell Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... - [1.1.0-01gr05] - Add enable/disable repository support to configuration page * Tue May 31 2005 Gordon Rowell Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... - [1.1.0-01gr04] - Hide empty group/package select boxes * Tue May 31 2005 Gordon Rowell - [1.1.0-01gr03] - Change BaseURLs for smeserver repositories to ..../7.0alpha/ until we add FollowSymlinks to httpd.conf * Fri May 27 2005 Gordon Rowell - [1.1.0-01gr02] - Add post-upgrade configuration page - Hide Darrell's original panels - Remove historical event directories - TODO: Page for adding/deleting repositories - TODO: yum-arch local repositories * Fri May 27 2005 Gordon Rowell - [1.1.0-01gr01] - Roll to 1.1.0 * Fri May 27 2005 Gordon Rowell - [1.0.0-04gr30] - Call yum_update_dbs during the actions so the db state is correct * Fri May 27 2005 Gordon Rowell - [1.0.0-04gr29] - Create empty yum_{available,installed,updates} dbs in SPEC file - Display the available repositories, and provide a select box to allow them to be enabled/disabled. - Add dependency on recent CGI::FormMagick so that the select options work * Thu May 26 2005 Gordon Rowell - [1.0.0-04gr28] - Introduce yum_repositories database and convert yum.conf template - Introduce yum_repositories database and convert yum.conf template - Set defaults, which can be overridden on a per-repository basis: yum{EnableGroups}==0 yum{GPGCheck}==1 * Sat May 21 2005 Gordon Rowell - [1.0.0-04gr27] - Add contrib group from CentOS and contribs.org repositories * Fri May 20 2005 Gordon Rowell - [1.0.0-04gr26] - Change configuration event to yum-modify since we need yum-update for other purposes - TODO: Need to update yum_* dbs after we perform an action so the panel status matches reality. For speed, we should probably delete the entries directly. - TODO: Some yum comands take a long time, probably too long for the manager. - TODO: Capture the yum output * Fri May 20 2005 Gordon Rowell - [1.0.0-04gr25] - Fix CGI parameter passing * Fri May 20 2005 Gordon Rowell - [1.0.0-04gr24] - Add actions for install/remove/update - TODO: groupremove needs to pull apart the group and remove packages individually * Fri May 20 2005 Gordon Rowell - [1.0.0-04gr23] - Major cleanup of yum.pm, refactoring lots of code - Note: Depends on CGI::FormMagick patch from [SF:1205448] * Fri May 20 2005 Gordon Rowell - [1.0.0-04gr22] - Changed yum{ShowPackages} to yum{PackageFunctions} - Added enable/disable toggle to panel and fleshed out change_settings() so that the settings are saved - TODO: Actually signal-event yum-update * Fri May 20 2005 Gordon Rowell - [1.0.0-04gr21] - Change button labels for consistency - TODO: Deal with degenerate case where no groups exist * Fri May 20 2005 Gordon Rowell - [1.0.0-04gr20] - Show groups in the panel - Hide the ability to install/remove individual packages by default - To enable, set yum{ShowPackages}=yes - Add a tst group, courtesy of Greg Swallow * Fri May 20 2005 Gordon Rowell - [1.0.0-04gr19] - List available/installed/updates for yum groups as well - Create yum_installed db and use that instead of /var/log/rpmpkgs for orthogonality. We also update all three DBs with one action. * Fri May 20 2005 Gordon Rowell - [1.0.0-04gr18] - enablegroups for smeserver, but disable them for centos * Fri May 20 2005 Gordon Rowell - [1.0.0-04gr17] - For consistency, sort extras before os as well * Fri May 20 2005 Gordon Rowell - [1.0.0-04gr16] - Set pkgpolicy=last, put centos groups before smeserver groups, and ensure that the group labels are sortable * Thu May 19 2005 Gordon Rowell - [1.0.0-04gr15] - Comment out the smeserver parts of yum.conf for now * Thu May 19 2005 Gordon Rowell - [1.0.0-04gr14] - Fill in removable packages from /var/log/rpmpkgs, updated nightly by a cronjob in the rpm package. TODO: We should probably run the cron job just before displaying this panel * Thu May 19 2005 Gordon Rowell - [1.0.0-04gr13] - Rough in install/remove pages * Thu May 19 2005 Gordon Rowell - [1.0.0-04gr12] - Add configuration page to panel * Thu May 19 2005 Gordon Rowell - [1.0.0-04gr11] - Fix up conf-yum and /etc/yum.conf links * Thu May 19 2005 Gordon Rowell - [1.0.0-04gr10] - Clean up daily cronjobs, and check whether yum is enabled in each of them - Remove /var/service/yum - we don't need to run all the time - Make use of new templates.metadata to remove conf-yum script entirely * Thu May 19 2005 Gordon Rowell - [1.0.0-04gr09] - Rewrite yum.conf templates to depend on: sysconfig{ReleaseVersion} sysconfig{BaseDistro} sysconfig{BaseDistroVersion} * Fri May 13 2005 Gordon Rowell - [1.0.0-04gr08] - Initial FormMagick panel using new databases * Fri May 13 2005 Gordon Rowell - [1.0.0-04gr07] - And put yum_update_dbs in the right directory... * Fri May 13 2005 Gordon Rowell - [1.0.0-04gr06] - Add /sbin/e-smith/yum_update_dbs * Fri May 13 2005 Gordon Rowell - [1.0.0-04gr05] - Change db names and fix yum list updates command * Fri May 13 2005 Gordon Rowell - [1.0.0-04gr04] - Generate esmith::DB files from the yum output, as it's so much easier to deal with them later in panels, etc. * Fri May 13 2005 Gordon Rowell - [1.0.0-04gr03] - Change output path of yum list commands * Fri May 13 2005 Gordon Rowell - [1.0.0-04gr02] - Fix up init.d/supervise/yum symlink - Create /service symlink - Ensure correct permissions on supervise bits and pieces * Fri May 13 2005 Gordon Rowell - [1.0.0-04gr01] - Change default type for yum to service - Add yum{status}==enabled - Create /var/log/yum in build - Add yum service directory and startup * Mon Mar 01 2004 Darrell May - [1.0.0-03dmay] - bugfix to yum-config missing db set {Arch,Check}Repository * Sun Feb 29 2004 Darrell May - [1.0.0-02dmay] - major updates to yum panels, templates * Sun Feb 08 2004 Darrell May - [1.0.0-01_beta] - initial beta release - added yum-remove panel - updated all panels, events, actions * Sat Feb 07 2004 Darrell May - [0.0.1a-09] - added yum-post panel - updated yum-{update,available} panels - updated yum-install-{available,update} events & actions * Tue Feb 03 2004 Darrell May - [0.0.1a-08] - added pre-alpha yum-{update,available} panels - renamed all panels yum-panelname * Mon Feb 02 2004 Darrell May - [0.0.1a-07] - updated yum-check-repository template and action to accept --nomail commandline option - updated yumcheck panel to issue --nomail commandline option * Sun Feb 01 2004 Darrell May - [0.0.1a-06] - added yumcheck server-manager panel - updated cron.daily/yum-check-repository template - change log file name to yum-check-repository.log * Sat Jan 31 2004 Darrell May - [0.0.1a-05] - added yumconfig server-manager panel - added yum-post-{install,remove} events - added navigation-conf-hidden action * Mon Jan 26 2004 Darrell May - [0.0.1a-04] - moved cron.hourly actions to cron.daily - added yum-update event - added yum-arch-repository yum-check-repository actions - added yum-install-updates yum-install-available actions - removed %post entries, created db defaults * Sun Jan 25 2004 Darrell May - [0.0.1a-03] - yum-check-repository, changed to run 'yum list' - yum-arch-repository, added support for multiple archive repositories * Sat Jan 24 2004 Darrell May - [0.0.1a-02] - fix db typo UpdateURL to UpdatesUrl - added cron.hourly/yum-check-repository & yum-arch-repository - updated actions/conf-yum * Thu Jan 22 2004 Darrell May - [0.0.1a-01] - Original version