/[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.3 - (show annotations) (download)
Sat Oct 19 22:42:08 2013 UTC (11 years ago) by mrjhb3
Branch: MAIN
CVS Tags: e-smith-flexbackup-2_4_0-3_el6_sme, HEAD
Changes since 1.2: +7 -2 lines
Please see changelog

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

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