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

Annotation 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.2 - (hide annotations) (download)
Mon Oct 7 23:07:26 2013 UTC (11 years, 1 month ago) by mrjhb3
Branch: MAIN
CVS Tags: e-smith-flexbackup-2_4_0-2_el6_sme
Changes since 1.1: +8 -2 lines
Please see changelog

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

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