/[smeserver]/rpms/e-smith-flexbackup/sme10/e-smith-flexbackup.spec
ViewVC logotype

Contents of /rpms/e-smith-flexbackup/sme10/e-smith-flexbackup.spec

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


Revision 1.3 - (show annotations) (download)
Wed Jan 6 19:30:57 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-flexbackup-2_6_0-3_el7_sme, HEAD
Changes since 1.2: +7 -2 lines
Error occurred while calculating annotation data.
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
- add update event [SME: 11134]

1 # $Id: e-smith-flexbackup.spec,v 1.2 2020/12/26 20:58:00 jcrisp Exp $
2
3 Summary: Adds daily flexbackup backup to tape to e-smith
4 %define name e-smith-flexbackup
5 Name: %{name}
6 %define version 2.6.0
7 %define release 3
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: GPL
11 Group: Networking/Daemons
12 Source: %{name}-%{version}.tar.xz
13 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
14 BuildArchitectures: noarch
15 Requires: e-smith-base, flexbackup, dump
16 Requires: buffer
17 Requires: mbuffer
18 Requires: tar
19 Requires: gzip
20 Requires: e-smith-backup >= 1.11.0-46
21 Requires: e-smith-lib >= 1.15.1-19
22 BuildRequires: e-smith-devtools >= 1.13.1-03
23 AutoReqProv: no
24 Patch1: e-smith-flexbackup-2.6.0-bz11292-add-xfs-support.patch
25 Patch2: e-smith-flexbackup-2.6.0-bz11134-update.patch
26
27 %description
28 This package configures flexbackup and sets up a daily cron job
29 to run a backup to tape.
30
31 %changelog
32 * Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
33 - add update event [SME: 11134]
34
35 * Sat Dec 26 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-2.sme
36 - Add XFS support - thanks to John Bennett [SME: 11292]
37
38 * Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
39 - Initial release to sme10
40
41 * Sat Oct 19 2013 John H. Bennett III <bennettj@johnbennettservices.com> 2.4.0-3.sme
42 - Patch to exclude trying to backup aquota.* files so that backups to tape will [SME: 7918]
43
44 * Mon Oct 07 2013 John H. Bennett III <bennettj@johnbennettservices.com> 2.4.0-2.sme
45 - Simple patch to add support for ext4 file system so default SME9 file systems
46 can be backed up to tape. [SME: 7824]
47
48 * Wed Feb 13 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
49 - Roll new stream for sme9
50
51 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
52 - Roll new stream to separate sme7/sme8 trees [SME: 4633]
53
54 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
55 - Clean up spec so package can be built by koji/plague
56
57 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
58 - Update to new release naming. No functional changes.
59 - Make Packager generic
60
61 * Thu Apr 20 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-02
62 - Remove redundant "mt fsf" from DetermineBlocksize(). [SME: 1191]
63
64 * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-01
65 - Roll stable stream version. [SME: 1016]
66
67 * Mon Jan 23 2006 Charlie Brady <charlieb@e-smith.com> 1.9.0-18
68 - Fix spelling of blksize parameter when running flexbackup to restore.
69 [SME: 375]
70
71 * Sun Jan 22 2006 Charlie Brady <charlieb@e-smith.com> 1.9.0-17
72 - Fix some perl warnings from last change. [SME: 375]
73
74 * Sun Jan 8 2006 Charlie Brady <charlieb@e-smith.com> 1.9.0-16
75 - Autodetect tape block size and use that when extracting files, rather
76 that what is in flexbackup.conf [SME: 375]
77
78 * Sat Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.9.0-15
79 - Avoid the use of mt tell - use mt status instead [SME: 320]
80
81 * Sat Dec 17 2005 Charlie Brady <charlieb@e-smith.com> 1.9.0-14
82 - Remove attempted autdetection of backup type, since it doesn't
83 work. [SME: 340]
84
85 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.9.0-13
86 - Bump release number only
87
88 * Sun Nov 20 2005 Gordon Rowell <gordonr@e-smith.com>
89 - [1.9.0-12]
90 - Output nothing (not '0') when there is no prune list [SF: 1360696]
91
92 * Thu Oct 20 2005 Charlie Brady <charlieb@e-smith.com>
93 - [1.9.0-11]
94 - Allow a Prune property to specify a list of subtrees which are
95 not included in the backup. [SF: 1332834]
96
97 * Thu Oct 20 2005 Charlie Brady <charlieb@e-smith.com>
98 - [1.9.0-10]
99 - Don't bother to backup /boot partition, as we never restore it
100 anyway. We expect it all to be installed via CDROM or as part of
101 an upgrade. [SF: 1332834]
102
103 * Tue Aug 9 2005 Charlie Brady <charlieb@e-smith.com>
104 - [1.9.0-09]
105 - Make buffer program to use configurable via a db property -
106 default to 'buffer'.
107 - Add Requires: mbuffer [SF: 1252345]
108
109 * Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com>
110 - [1.9.0-08]
111 - Update to current db access APIs. [SF: 1216546]
112
113 * Thu Jun 2 2005 Charlie Brady <charlieb@e-smith.com>
114 - [1.9.0-07]
115 - Fix missing semi-colon on erase_rewind_only line in conf.
116 [SF: 1192822,1213076]
117 - Adjust some default params. [SF: 1213076]
118
119 * Sat Apr 30 2005 Charlie Brady <charlieb@e-smith.com>
120 - [1.9.0-06]
121 - Fix quoting of erase_rewind_only value [SF: 1192822]
122
123 * Mon Mar 14 2005 Charlie Brady <charlieb@e-smith.com>
124 - [1.9.0-05]
125 - Fix stray } in 10EraseRwindOnly template fragment (introduced in last
126 change set).
127
128 * Mon Mar 14 2005 Charlie Brady <charlieb@e-smith.com>
129 - [1.9.0-04]
130 - Use generic_template_expand action in place of conf-flexbackup.
131 Add default db property fragments. Update e-smith-lib dependency. [MN00064130]
132 - Simplify flexbackup.conf template, and remove anachronisms.
133
134 * Fri Jan 28 2005 Charlie Brady <charlieb@e-smith.com>
135 - [1.9.0-03]
136 - Remove dangling clobber-flexbackup-cron symlink. [MN00065727]
137
138 * Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com>
139 - [1.9.0-02]
140 - Remove obsolete clobber-flexbackup-cron action. [MN00065727]
141
142 * Sun Jan 16 2005 Charlie Brady <charlieb@e-smith.com>
143 - [1.9.0-01]
144 - Changing version to development stream number - 1.9.0
145
146 * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
147 - [1.8.0-01]
148 - Changing version to stable stream number to 1.8.0
149
150 * Thu Jun 19 2003 Charlie Brady <charlieb@e-smith.com>
151 - [1.7.1-07]
152 - Enable buffering using "buffer" rather than "mbuffer". [charlieb 9053]
153
154 * Wed Jun 18 2003 Charlie Brady <charlieb@e-smith.com>
155 - [1.7.1-06]
156 - Autodetect tar/dump at restore time and DTRT. [charlieb 8965]
157 - Disable buffering during restore. [charlieb 9053]
158
159 * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
160 - [1.7.1-05]
161 - Change default backup type from dump to tar. Allow override from config
162 db. [charlieb 8965]
163
164 * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
165 - [1.7.1-04]
166 - Fix quoting error in 10Blocksize fragment, and split concepts of blocking
167 for archive and blocking for tape drive, as latest flexbackup has done.
168 [charlieb 9014]
169
170 * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
171 - [1.7.1-03]
172 - Add tape-backup-flexbackup action, which will be used by
173 /sbin/e-smith/do_backup harness. Remove remnant of templated backup
174 program. [charlieb 7853]
175 - Set $verbose to false, so we don't get list of all files as we backup.
176 [charlieb 8965]
177
178 * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
179 - [1.7.1-02]
180 - Port configuration to newest version of flexbackup. [charlieb 9014]
181 - s/Copyright/License/.
182
183 * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
184 - [1.7.1-01]
185 - Roll new development stream to 1.7.1
186
187 * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
188 - [1.7.0-04]
189 - Allow blocksize to be controlled by a db parameter. [charlieb 9017]
190
191 * Fri May 16 2003 Gordon Rowell <gordonr@e-smith.com>
192 - [1.7.0-03]
193 - Modified tape-restore-flexbackup to use esmith::Backup library [gordonr 8766]
194
195 * Wed Apr 16 2003 Tony Clayton <apc@e-smith.com>
196 - [1.7.0-02]
197 - Skip loopback filesystems during backup [tonyc 7749]
198
199 * Wed Nov 6 2002 Charlie Brady <charlieb@e-smith.com>
200 - [1.7.0-01]
201 - Rolling development stream version to 1.7.0
202
203 * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
204 - [1.6.0-01]
205 - Roll to maintained version number to 1.6.0
206
207 * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
208 - [1.6.0-01]
209 - Roll to maintained version number to 1.6.0
210
211 * Fri Aug 9 2002 Charlie Brady <charlieb@e-smith.com>
212 - [1.5.2-01]
213 - Redo last fix, something's awry with my pattern match, so we'll use a
214 pair of eqs instead. [charlieb 4588]
215
216 * Fri Aug 9 2002 Charlie Brady <charlieb@e-smith.com>
217 - [1.5.1-01]
218 - Change fstab grok in flexbackup.conf template to handle ext3 file
219 systems. [charlieb 4588]
220
221 * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
222 - [1.5.0-01]
223 - Changing version to maintained stream number to 1.5.0
224
225 * Fri May 31 2002 Charlie Brady <charlieb@e-smith.com>
226 - [1.4.0-01]
227 - Changing version to maintained stream number to 1.4.0
228 - Remove bogus "/sbin/console" reference in copyright notice in
229 tape restore script.
230
231 * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
232 - [1.3.3-01]
233 - RPM rebuild forced by cvsroot2rpm
234
235 * Sun Mar 17 2002 Charlie Brady <charlieb@e-smith.com>
236 - [1.3.2-01]
237 - Restore /root rather than just /root/.ssh. [charlieb #2322]
238
239 * Sun Mar 17 2002 Charlie Brady <charlieb@e-smith.com>
240 - [1.3.1-01]
241 - Test build to verify CVS conversion.
242
243 * Sun Mar 17 2002 Charlie Brady <charlieb@e-smith.com>
244 - [1.3.0-01]
245 - rollRPM: Rolled version number to 1.3.0-01. Includes patches up to 1.2.0-08.
246 - Add mkdir command to create event directories to %pre section, in preparation
247 for CVS conversion.
248 - Remove obsolete %post script.
249
250 * Fri Nov 02 2001 Charlie Brady <charlieb@e-smith.com>
251 - [1.2.0-08]
252 - Remove all comments from /etc/flexbackup.conf
253
254 * Fri Aug 17 2001 gordonr
255 - [1.2.0-07]
256 - Autorebuild by rebuildRPM
257
258 * Fri Jul 6 2001 Peter Samuel <peters@e-smith.com>
259 - [1.2.0-06]
260 - Changed license to GPL
261
262 * Mon Feb 12 2001 Adrian Chung <adrianc@e-smith.com>
263 - [1.2.0-05]
264 - rolling release number for GPG signing.
265
266 * Sun Feb 11 2001 Charlie Brady <charlieb@e-smith.com>
267 - [1.2.0-04]
268 - Include etc/e-smith/templates-user-custom in restore fileset.
269
270 * Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com>
271 - Rolling release number for GPG signing.
272
273 * Thu Feb 8 2001 Peter Samuel <peters@e-smith.com>
274 - [1.2.0-02]
275 - Using correct path for /flexbackup.extract.log in email messages.
276
277 * Thu Jan 25 2001 Peter Samuel <peters@e-smith.com>
278 - [1.2.0-01]
279 - Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-10.
280
281 * Wed Jan 24 2001 Peter Samuel <peters@e-smith.com>
282 - [1.1.0-10]
283 - Removed duplicated filesystem code from 10Compression template fragment
284
285 * Tue Jan 23 2001 Peter Samuel <peters@e-smith.com>
286 - [1.1.0-09]
287 - Forced padding of blocks when writing to tapes
288
289 * Sat Jan 13 2001 Peter Samuel <peters@e-smith.com>
290 - [1.1.0-08]
291 - revised order of files to restore - doesn't really make any
292 difference, but it keeps it consistent with e-smith-backup
293
294 - [1.1.0-07]
295 - added missing use esmith::db to tape-restore-flexbackup
296
297 * Sat Jan 13 2001 Peter Samuel <peters@e-smith.com>
298 - [1.1.0-06]
299 - tape-restore-flexbackup now send mail to admin on success or failure
300
301 * Fri Jan 12 2001 Peter Samuel <peters@e-smith.com>
302 - [1.1.0-05]
303 - Added flexbackup specific tape-restore program (ripped out of
304 e-smith-backup).
305 - Removes /etc/cron.d/flexbackup as part of bootstrap-console-save
306 - Createlinks is now a perl program.
307
308 * Fri Jan 12 2001 Charlie Brady <charlieb@e-smith.com>
309 - [1.1.0-4]
310 - Fix silly syntax errors in template
311 - Migrate old flexbackup service entry to new.
312
313 * Fri Jan 12 2001 Charlie Brady <charlieb@e-smith.com>
314 - [1.1.0-3]
315 - Make e-smith-flexbackup a subpackage of e-smith-backup
316 - Provide a template fragment for /sbin/e-smith/backup
317 - Use Device property of backup service.
318 - Mark flexbackup as a backupservice, not a service.
319 - Add link into bootstrap-console-save and conf-backup events
320
321 * Thu Jan 11 2001 Peter Samuel <peters@e-smith.com>
322 - [1.1.0-02]
323 - Ensured that /sbin is included in $PATH for flexbackup cron job
324
325 * Tue Jan 9 2001 Peter Samuel <peters@e-smith.com>
326 - [1.1.0-01]
327 - Rolled version number to 1.1.0-01. Includes patches upto 0.1-11
328
329 * Mon Jan 8 2001 Peter Samuel <peters@e-smith.com>
330 - [0.1-11]
331 - Cron job now rewinds the tape after the backup
332
333 * Sat Jan 6 2001 Jason Miller <jmiller@e-smith.com>
334 - [0.1-9]
335 - updated /etc/cron.d/flexbackup template and the conf-flexbackup
336 actions to include new configuration database parameters
337 of backupTime and reminderTime
338
339 * Sat Jan 6 2001 Charlie Brady <charlieb@e-smith.com>
340 - [0.1-8]
341 - Only run %post sript when in runlevel 7
342
343 * Wed Jan 3 2001 Peter Samuel <peters@e-smith.com>
344 - [0.1-7]
345 - Added use esmith::db to /etc/cron.d/flexbackup template
346
347 * Wed Dec 27 2000 Peter Samuel <peters@e-smith.com>
348 - [0.1-6]
349 - Crontab entry now uses mt to check for presence of tape before
350 running flexbackup.
351 - A reminder is mailed to root if there is no tape in the drive at 2pm.
352
353 * Thu Dec 14 2000 Charlie Brady <charlieb@e-smith.com>
354 - Move crontab entry to /etc/cron.d
355 - Make device and erase_backup_only configurable.
356 - make this a service in the configuration db, by default service is
357 disabled.
358
359 * Tue Dec 12 2000 Charlie Brady <charlieb@e-smith.com>
360 - Make flexbackup.conf a directory template
361 - Tweak a few settings - see patch for details.
362
363 * Mon May 22 2000 Charlie Brady <charlieb@e-smith.net>
364 - Generate file system list from /etc/fstab
365 - Fix missing %conf declaration in action script
366
367 * Mon May 22 2000 Charlie Brady <charlieb@e-smith.net>
368 - Fix spec file to include all relevant files
369 - Fix post script : cron -> crond
370
371 * Sun May 14 2000 Charlie Brady <charlieb@e-smith.net>
372 - Initial build
373
374 %prep
375 %setup
376 %patch1 -p1
377 %patch2 -p1
378
379 %build
380 perl createlinks
381
382 %install
383 rm -rf $RPM_BUILD_ROOT
384 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
385 rm -f %{name}-%{version}-%{release}-filelist
386 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
387 > %{name}-%{version}-%{release}-filelist
388 echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
389
390 %post
391 rm -f /etc/cron.d/flexbackup
392
393 %clean
394 rm -rf $RPM_BUILD_ROOT
395
396 %files -f %{name}-%{version}-%{release}-filelist
397 %defattr(-,root,root)

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