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

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

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


Revision 1.1 - (show annotations) (download)
Thu Feb 14 16:15:10 2013 UTC (11 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-flexbackup-2_4_0-1_el6_sme
* Wed Feb 13 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
- Roll new stream for sme9

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

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