/[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.1 - (hide annotations) (download)
Fri Feb 5 23:03:03 2016 UTC (8 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-flexbackup-2_6_0-1_el7_sme
* Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme - Initial release to sme10

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

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