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

Annotation 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.2 - (hide annotations) (download)
Sat Dec 26 20:58:00 2020 UTC (3 years, 5 months ago) by jcrisp
Branch: MAIN
CVS Tags: e-smith-flexbackup-2_6_0-2_el7_sme
Changes since 1.1: +7 -2 lines
* Sat Dec 26 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-2.sme
- Add XFS support - thanks to John Bennett  [SME: 11292]

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

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