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

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

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


Revision 1.2 - (show annotations) (download)
Tue Oct 7 18:14:27 2008 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-flexbackup-2_0_0-1_el4_sme, HEAD
Changes since 1.1: +7 -4 lines
New streams

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

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