/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum.spec
ViewVC logotype

Diff of /rpms/smeserver-yum/sme10/smeserver-yum.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.22 by jpp, Wed Jan 23 23:29:32 2019 UTC Revision 1.89 by jpp, Sun Apr 28 03:45:59 2024 UTC
# Line 1  Line 1 
1  # $Id: smeserver-yum.spec,v 1.21 2019/01/23 23:28:56 jpp Exp $  # $Id: smeserver-yum.spec,v 1.88 2023/08/16 21:33:43 jpp Exp $
2    
3  %define name smeserver-yum  %define name smeserver-yum
4  Summary: YUM, an rpm updater  Summary: YUM, an rpm updater
5  Name: %{name}  Name: %{name}
6  %define version 2.6.0  %define version 2.6.2
7  %define release 19  %define release 5
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: SMEServer/addon  Group: SMEServer/addon
12  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
13  Patch0: smeserver-yum-2.6.0.SME10.patch  Patch0: smeserver-yum-2.6.2-bz12179-smecontribs-enabled.patch
14  Patch1: smeserver-yum-2.6.0.SME10CentOS7EPEL7Keys.rpm  Patch1: smeserver-yum-2.6.2-bz12171_bz12209_no_reconfigure.patch
15  Patch2: smeserver-yum-2.6.0.bz8834.DeltaRpm.patch  Patch2: smeserver-yum-2.6.2-bz10926-bz12170-bz12173-bz12172.patch
16  Patch3: smeserver-yum-2.6.0.bz1502.DownloadOnly.patch  Patch3: smeserver-yum-2.6.2-bz12653.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  
17    
18  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 43  Obsoletes: yum-protect-packages <= 1.1.1 Line 33  Obsoletes: yum-protect-packages <= 1.1.1
33  Requires: yum-plugin-post-transaction-actions  Requires: yum-plugin-post-transaction-actions
34  Requires: mailx  Requires: mailx
35  Requires: deltarpm  Requires: deltarpm
36    Requires: yum-cron
37  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
38  BuildRequires: python  BuildRequires: python
39  Conflicts: centos-yumconf  Conflicts: centos-yumconf
# Line 52  AutoReqProv: no Line 43  AutoReqProv: no
43    
44  %prep  %prep
45  %setup  %setup
46    rm -rf root/var/service/ root/service/
47    rm -rf root/etc/e-smith/db/configuration/force
48  %patch0 -p1  %patch0 -p1
49  %patch1 -p1  %patch1 -p1
50  %patch2 -p1  %patch2 -p1
51  %patch3 -p1  %patch3 -p1
 %patch4 -p1  
 %patch5 -p1  
 %patch6 -p1  
 %patch7 -p1  
 %patch8 -p1  
 %patch9 -p1  
 %patch10 -p1  
 %patch11 -p1  
 %patch12 -p1  
 %patch13 -p1  
52    
53  %build  %build
54  perl createlinks  perl createlinks
 ln -s /var/service/yum root/service/yum  
55  mkdir -p root/etc/yum.smerepos.d  mkdir -p root/etc/yum.smerepos.d
56    
57  %install  %install
# Line 83  mkdir -p root/etc/yum.smerepos.d Line 65  mkdir -p root/etc/yum.smerepos.d
65      --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \      --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \
66      --file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \      --file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \
67      --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \      --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \
68      --file /var/service/yum/down 'attr(0644,root,root)' \      --dir /var/log/yum 'attr(2750,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)' \  
69      $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist      $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
70    
71  %clean  %clean
# Line 99  mkdir -p root/etc/yum.smerepos.d Line 75  mkdir -p root/etc/yum.smerepos.d
75    
76  %defattr(-,root,root)  %defattr(-,root,root)
77    
78    %pre
79    if [ $1 -gt 1 ] ; then
80      if [ -e /var/service/yum/run ] ; then
81           /usr/bin/sv d yum
82           /usr/bin/sv d yum/log        
83      fi
84    fi
85    
86    
87  %changelog  %changelog
88    * Sat Apr 27 2024 Jean-Philippe Pialasse <jpp@koozali.org> 2.6.2-5.sme
89    - add FWS gpg keys for rpm hosted in smecontribs [SME: 12653]
90    
91    * Wed Aug 16 2023 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.2-4.sme
92    - remove initialize-default-databases and navigation-conf from yum-* events [SME: 12172]
93    - fix warning readline() on closed filehandle YUM_STATUS [SME: 12170]
94    - fix warning on uninitialized value in concatenation [SME: 12173]
95    - fix CSRF time-out during yum update [SME: 10926]
96      now 10 minutes for this panel updated on last generation of a page
97    
98    * Mon Feb 27 2023 Michel Begue <mab974@misouk.com> 2.6.2-3.sme
99    - fix reconfigure asked when not needed [SME: 12171]
100    - do not show reconfigure button and message if not needed [SME: 12209]
101    
102    * Tue Nov 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.2-2.sme
103    - set smecontribs enabled on new install [SME: 12179]
104    
105    * Mon Jul 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.2-1.sme
106    - bump version number
107    - no reboot for dbus-glib [SME: 12091]
108    
109    * Tue Jun 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-64.sme
110    - rephrase contrib update message [SME: 11543]
111    - move mysqld to mariadb in smeserver plugin [SME: 11921]
112    
113    * Sun Apr 24 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-63.sme
114    - remove force AutoInstallUpdates to disabled [SME: 11961]
115    
116    * Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-61.sme
117    - fix rotate yum.log as not standard location [SME: 11951]
118    - remove yum_update_dbs from messages log [SME: 11952]
119    
120    * Tue Mar 08 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-60.sme
121    - restart cvm-unix on cvm or bglibs update [SME: 11886]
122    
123    * Mon Dec 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-59.sme
124    - remove pop3 and pop3s services from plugin [SME: 11808]
125    
126    * Thu Dec 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-58.sme
127    - fix restarting spamd instead of spamassassin [SME: 11803]
128    
129    * Fri Dec 03 2021 Brian Read <brianr@bjsystems.co.uk> 2.6.0-57.sme
130    - Re-word-reboot-required-message.patch [SME: 11790]
131    
132    * Sun Nov 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-56.sme
133    - fix wrong qpsmtpd handling [SME: 11768]
134    
135    * Mon Jun 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-55.sme
136    - add elrepo GPG key [SME: 11625]
137    
138    * Mon May 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-54.sme
139    - no reboot needed for systemd-python [SME: 11609]
140    
141    * Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-53.sme
142    - fix services stop on removal [SME: 11510]
143    
144    * Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-52.sme
145    - run navigation-conf when a panel is installed [SME: 11507]
146    
147    * Sun Mar 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-51.sme
148    - migrate back to normal CentOS mirrors after el6 EOL  [SME: 11477]
149    - version 2 with
150      deleting yum{eolversion} if for previous release or not yet eol
151      better handling of conditions
152    
153    * Wed Mar 17 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-49.sme
154    - avoid reboot on removal of smeserver-* rpms [SME: 11458]
155    - navigation-conf when a panel is installed
156    
157    * Wed Feb 24 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-47.sme
158    - fix wrong path for rsyslog.conf [SME: 11364]
159    
160    * Sun Feb 21 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-46.sme
161    - remove noise in yum process "overriding all signals, forcing restart" [SME: 11372]
162    
163    * Fri Feb 19 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-45.sme
164    - packages installed logged both in yum.log and message [SME: 11364]
165    - set priority to 10 for remi-safe [SME: 11360]
166    
167    * Mon Feb 15 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-44.sme
168    - fix poor handling of service adjusting and action order [SME: 11300]
169      now a temp event is created
170      also better logging, better handling of update vs removal
171    
172    * Wed Dec 09 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-43.sme
173    - make yum dbs service fork [SME: 11243]
174      now smeserver.py plugin call the service
175      yum-modify can use the service restart
176      yum.service is its own service, not called by local.service
177    
178    * Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-42.sme
179    - move yum upate db service to systemd [SME: 11180]
180    
181    * Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-41.sme
182    - fix -update events not runt on package upgrade [SME: 11184]
183      lower noise on forced restart
184    
185    * Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-39.sme
186    - fix switch to vault BaseURL for CentOS [SME: 11227]
187    
188    * Mon Nov 16 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-38.sme
189    - add remi-safe as base repo [SME: 11179]
190    - smeserver-yum-update event created [SME: 11168]
191    
192    * Sun Nov 15 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-37.sme
193    - fix separate action before template, and after service [SME: 11175]
194      run all actions with post-upgrade as default event
195    
196    * Tue Nov 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-36.sme
197    - fix some templates not expanded [SME: 11121]
198    
199    * Tue Oct 20 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-35.sme
200    - fix smeserver.py not executing action because of wrong path [SME: 11047]
201    
202    * Mon Jun 22 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-33.sme
203    - fix error when key absent of a dict of smeserver plugin at clean stage [SME: 10931]
204    
205    * Thu Jan 30 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-32.sme
206    - avoid missing template error after removal of a rpm [SME: 10846]
207    
208    * Thu Jan 30 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-30.sme
209    - restart php-fpm services when needed [SME: 10873]
210    
211    * Mon Dec 09 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-29.sme
212    - applying patch [SME: 10690]
213    
214    * Sun Dec 08 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-27.sme
215    - fix NameError: global name 'yum_update_dbs' is not defined [SME: 6940]
216    
217    * Fri Dec 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-26.sme
218    - use yum-cron with autoupdate feature [SME: 10690]
219      * use yum-cron for download only or auto update
220      * yum-cron.conf templates
221      * update lock path
222      * settings in server-manager
223      * remove yumdownloadonly script and crontab template
224    
225    * Fri Dec 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-25.sme
226    - fix typo on patch [SME: 10249]
227    
228    * Wed Dec 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-24.sme
229    - fix header detected as package [SME: 10843]
230    - avoid discrepancy between manager, cli and email [SME: 6940]
231      * force refresh of metadata before db generation
232      * add regeneration of db during check4updates, after yum update/install/remove
233    - fix no installed groups file [SME: 118]
234    - switch to centos vault after EOL [SME: 10249]
235    - update http://mirrorlist.contribs.org/mirrorlist to https://mirrorlist.koozali.org/mirrorlist [SME: 9697]
236    - make smecontribs visible [SME: 10716]
237    
238    * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-22.sme
239    - add openfusion gpg key [SME: 10742]
240    
241    * Sat Jan 26 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-21.sme
242    - updated EOL patch [SME: 10170]
243    
244  * Wed Jan 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme  * Wed Jan 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-19.sme
245  - add yum-priority as requirement [SME: 6499]  - add yum-priority as requirement [SME: 6499]
246    add support for plugin priority using property priority im yum_repositories db    add support for plugin priority using property priority im yum_repositories db
247    initial priority to 10 for sme*, base and updates repos.    initial priority to 10 for sme*, base and updates repos.
248    property yum priority set as enabled as default    property yum priority set as enabled as default
249    - avoid double check updates for contribs if smecontribs is set to enabled [SME: 9388]
250    - update check4contribs email format to match check4updates [SME: 8782]
251    - improve yum plugin to avoid reboot [SME: 8705]
252      add nut support, add exclusions for -doc, -devel... subpackages
253    
254  * Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme  * Tue Jan 22 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-18.sme
255  - add message to indicate EOL after Jun 30 2024 fix [SME: 10170]  - add message to indicate EOL after Jun 30 2024 fix [SME: 10170]


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed