1 |
|
# $Id: e-smith-backup.spec,v 1.47 2009/07/22 13:59:42 gnujpl Exp $ |
2 |
|
|
3 |
Summary: e-smith module to provide the backup panel |
Summary: e-smith module to provide the backup panel |
4 |
%define name e-smith-backup |
%define name e-smith-backup |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 1.14.0 |
%define version 2.0.0 |
7 |
%define release 22 |
%define release 20 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: Artistic |
License: Artistic |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: e-smith-backup-1.14.0-DesktopBackupWarning.patch |
Patch1: e-smith-backup-2.0.0-localise_fix.patch |
14 |
Patch1: e-smith-backup-1.14.0-DesktopBackupWarning.patch2 |
Patch2: e-smith-backup-2.0.0-fixPleaseConfigure.patch |
15 |
Patch2: e-smith-backup-1.14.0-Crontab.patch |
Patch3: e-smith-backup-2.0.0-restore_list.patch |
16 |
Patch3: e-smith-backup-1.14.0-Crontab.patch2 |
Patch4: e-smith-backup-2.0.0-timeout.patch |
17 |
Patch4: e-smith-backup-1.14.0-DesktopBackupWarning.patch3 |
Patch5: e-smith-backup-2.0.0-smbfs.patch |
18 |
Patch5: e-smith-backup-1.14.0-eject.patch |
Patch6: e-smith-backup-2.0.0-mount_verify.patch |
19 |
Patch6: e-smith-backup-1.14.0-tapeactions.patch |
Patch7: e-smith-backup-2.0.0-nocompressogg.patch |
20 |
Patch7: e-smith-backup-1.14.0-backuptype.patch |
Patch8: e-smith-backup-2.0.0-verbose.patch |
21 |
Patch8: e-smith-backup-1.14.0-eject.patch2 |
Patch9: e-smith-backup-2.0.0-email.patch |
22 |
Patch9: e-smith-backup-1.14.0-backuptype.patch2 |
Patch10: e-smith-backup-2.0.0-mount_usb.patch |
23 |
Patch10: e-smith-backup-1.14.0-restorefromdisk.patch |
Patch11: e-smith-backup-2.0.0-verbose_panel.patch |
24 |
Patch11: e-smith-backup-1.14.0-RestoreMachineAccountGroups.patch |
Patch12: e-smith-backup-2.0.0-gzip.patch |
25 |
Patch12: e-smith-backup-1.14.0-reminderemail.patch |
Patch13: e-smith-backup-2.0.0-empty.patch |
26 |
Patch13: e-smith-backup-1.14.0-backuptype.patch3 |
Patch14: e-smith-backup-2.0.0-spelling.patch |
27 |
Patch14: e-smith-backup-1.14.0-proxyenv.patch |
Patch15: e-smith-backup-2.0.0-password.patch |
28 |
Patch15: e-smith-backup-1.14.0-bklistexist.patch |
Patch16: e-smith-backup-2.0.0-fixCompressionLevelRange.patch |
29 |
Patch16: e-smith-backup-1.14.0-rmLexDuplicates.patch |
Patch17: e-smith-backup-2.0.0-fixReport.patch |
30 |
Patch17: e-smith-backup-1.14.0-tags2general.patch |
Patch18: e-smith-backup-2.0.0-workstation_verify.patch |
|
Patch18: e-smith-backup-1.14.0-brFix.patch |
|
|
Patch19: e-smith-backup-1.14.0-fixerrmsg.patch |
|
|
Patch20: e-smith-backup-1.14.0-add2general.patch |
|
31 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
32 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
33 |
BuildRequires: gettext |
BuildRequires: gettext |
34 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
35 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
|
36 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
37 |
Requires: perl(Quota) |
Requires: perl(Quota) |
38 |
Requires: perl(Unix::PasswdFile) |
Requires: perl(Unix::PasswdFile) |
42 |
Requires: perl(Digest::MD5) |
Requires: perl(Digest::MD5) |
43 |
Requires: perl(File::Copy) |
Requires: perl(File::Copy) |
44 |
Requires: perl(esmith::I18N) |
Requires: perl(esmith::I18N) |
45 |
|
Requires: dar |
46 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
47 |
|
|
48 |
%changelog |
%changelog |
49 |
* Mon Apr 28 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.0-23 |
* Wed Jul 22 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-20.sme |
50 |
|
- workstation restore: all needed backups must be available before restore [SME: 5395] |
51 |
|
- workstation verify: add option to check integrity of backups needed in a full restore [SME: 5396] |
52 |
|
- minor fix in translation [SME: 5406] |
53 |
|
|
54 |
|
* Sun May 17 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-19.sme |
55 |
|
- Fix DAR e-mail message with regards to incremental backups [SME: 4579] |
56 |
|
|
57 |
|
* Tue Dec 9 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-18.sme |
58 |
|
- Fix discrepancy in maximum compression level [SME: 4841] |
59 |
|
|
60 |
|
* Wed Oct 29 2008 Shad L. Lords <slords@mail.com> 2.0.0-17.sme |
61 |
|
- Fix spelling mistakes in backup panel [SME: 4732] |
62 |
|
- Hide password from manager panel [SME: 4734] |
63 |
|
|
64 |
|
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.0.0-16.sme |
65 |
|
- Migrate smbfs to cifs to complete removal [SME: 4678] |
66 |
|
|
67 |
|
* Mon Oct 27 2008 Shad L. Lords <slords@mail.com> 2.0.0-15.sme |
68 |
|
- Fix compression to default to gzip [SME: 4630] |
69 |
|
- Fix uninitialized values in backup [SME: 4720] |
70 |
|
|
71 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.0.0-14.sme |
72 |
|
- dar backup to be less verbose in panel [SME: 4719] |
73 |
|
|
74 |
|
* Sat Oct 25 2008 Stephen Noble <support@dungog.net> 2.0.0-13.sme |
75 |
|
- correct mounting for usb disks [SME: 4695] |
76 |
|
|
77 |
|
* Wed Oct 22 2008 Shad L. Lords <slords@mail.com> 2.0.0-12.sme |
78 |
|
- Fix from address on email [SME: 4702] |
79 |
|
|
80 |
|
* Tue Oct 21 2008 Shad L. Lords <slords@mail.com> 2.0.0-11.sme |
81 |
|
- Fix patch to remove orig file [SME: 4700] |
82 |
|
- Patch dar backup to be less verbose [SME: 4699] |
83 |
|
|
84 |
|
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-10.sme |
85 |
|
- no compression for ogg media files [SME: 4677] |
86 |
|
|
87 |
|
* Tue Oct 21 2008 Stephen Noble <support@dungog.net> 2.0.0-8.sme |
88 |
|
- replace defined list of directories to backup [SME: 4676] |
89 |
|
|
90 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-7.sme |
91 |
|
- Fix already mounted check [SME: 4688] |
92 |
|
|
93 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-6.sme |
94 |
|
- Remove obsolete smbfs backup method [SME: 4678] |
95 |
|
|
96 |
|
* Mon Oct 20 2008 Shad L. Lords <slords@mail.com> 2.0.0-5.sme |
97 |
|
- Use perl routines for timeout checking [SME: 4660] |
98 |
|
|
99 |
|
* Thu Oct 16 2008 Shad L. Lords <slords@mail.com> 2.0.0-4.sme |
100 |
|
- Make dar use defined list of directories to backup [SME: 4676] |
101 |
|
|
102 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme |
103 |
|
- Correct translation of CONFIGURATION_TO_BE_DONE to be proper English [SME: 4669] |
104 |
|
|
105 |
|
* Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.0.0-2.sme |
106 |
|
- Fix localization strings in backup panel [SME: 4650] |
107 |
|
|
108 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
109 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
110 |
|
|
111 |
|
* Thu Aug 7 2008 Shad L. Lords <slords@mail.com> 1.15.0-22 |
112 |
|
- Localise status of workstation backup [SME: 4481] |
113 |
|
|
114 |
|
* Fri Aug 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-21 |
115 |
|
- Fix too greedy removel of locale key CONFIGURE_TAPE_BACKUP [SME: 4469] |
116 |
|
|
117 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-20 |
118 |
|
- Make full backups have priority over incremental [SME: 4395] |
119 |
|
|
120 |
|
* Sat Jul 26 2008 Shad L. Lords <slords@mail.com> 1.15.0-19 |
121 |
|
- Fix redirect to stderr on check tape cronjob [SME: 4458] |
122 |
|
|
123 |
|
* Sun Jul 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-18 |
124 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
125 |
|
|
126 |
|
* Sat May 31 2008 Gavin Weight <gweight@gmail.com> 1.15.0-17 |
127 |
|
- Fix Dar manager to redirect correctly in system call. [SME: 4304] |
128 |
|
|
129 |
|
* Mon May 26 2008 Gavin Weight <gweight@gmail.com> 1.15.0-16 |
130 |
|
- Fix Dar to expand correctly. [SME: 4304] |
131 |
|
|
132 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.15.0-15 |
133 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
- Add common <base> tags to e-smith-formmagick's general [SME: 4286] |
134 |
|
|
135 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-22 |
* Wed Apr 09 2008 Stephen Noble <support@dungog.net> 1.15.0-14 |
136 |
- Use correct patch for remove duplicates [SME: 3887] |
- Minor fix in translation of hours [SME: 4179] |
137 |
|
|
138 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.14.0-21 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.15.0-13 |
139 |
- Fix localization in restore routine [SME: 3989] |
- Fix localization in restore routine [SME: 3989] |
140 |
|
|
141 |
* Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-20 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-12 |
142 |
- Fix patches to get rid of .orig files [SME: 4100] |
- Remove <br> tag from error msg [SME: 3989] |
143 |
|
|
144 |
* Mon Mar 24 2008 Shad L. Lords <slords@mail.com> 1.14.0-19 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.15.0-11 |
145 |
- Backport remove <br> from error msg. [SME: 3989] |
- Move/copy Backup_Desc to Backup_Desc_Dar for 1.15 rel [SME: 4024] |
146 |
|
|
147 |
* Thu Feb 14 2008 Gavin Weight <gweight@gmail.com> 1.14.0-18 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.15.0-10 |
148 |
- Backport remove <base> tags now in general. [SME: 3912] |
- Remove <base> tags now in general [SME: 3912] |
149 |
|
|
150 |
* Mon Feb 11 2008 Gavin Weight <gweight@gmail.com> 1.14.0-17 |
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.15.0-9 |
151 |
- Backport remove duplicates <base> entries. [SME: 3887] |
- Remove duplicate <base> entries [SME: 3887] |
152 |
|
|
153 |
|
* Thu Nov 29 2007 Gavin Weight <gweight@gmail.com> 1.15.0-8 |
154 |
|
- Fix restore files location path. [SME: 3593] |
155 |
|
|
156 |
|
* Mon Nov 19 2007 Gavin Weight <gweight@gmail.com> 1.15.0-7 |
157 |
|
- Fix compression setting range (Thanks JPL) . [SME: 3560] |
158 |
|
|
159 |
|
* Fri Nov 09 2007 Gavin Weight <gweight@gmail.com> 1.15.0-06 |
160 |
|
- Enhancement to DAR code (Thanks JPL) . [SME: 3538] |
161 |
|
|
162 |
|
* Fri Oct 26 2007 Gavin Weight <gweight@gmail.com> 1.15.0-05 |
163 |
|
- Fix up DAR code to enable backup to complete. [SME: 3373] |
164 |
|
|
165 |
|
* Tue Sep 11 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-04 |
166 |
|
- Remove desktop verify and desktop restore features. Note that |
167 |
|
lexicon entries have not been removed. [SME: 3372] |
168 |
|
|
169 |
|
* Fri Sep 07 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-03 |
170 |
|
- Reformat new DAR code to match existing coding style. |
171 |
|
|
172 |
|
* Wed Sep 05 2007 Jean-Paul Leclere <jean-paul@leclere.org> 1.15.0-02 |
173 |
|
- Dar workstation backup patch |
174 |
|
|
175 |
|
* Wed Sep 05 2007 Charlie Brady <charlie_brady@mitel.com> 1.15.0-01 |
176 |
|
- Roll new development version. |
177 |
|
|
178 |
* Sun Jul 01 2007 Shad L. Lords <slords@mail.com> 1.14.0-16 |
* Sun Jul 01 2007 Shad L. Lords <slords@mail.com> 1.14.0-16 |
179 |
- Remove files/dirs that don't exist from the backup list [SME: 3115] |
- Remove files/dirs that don't exist from the backup list [SME: 3115] |
1111 |
|
|
1112 |
%prep |
%prep |
1113 |
%setup |
%setup |
|
%patch0 -p1 |
|
1114 |
%patch1 -p1 |
%patch1 -p1 |
1115 |
%patch2 -p1 |
%patch2 -p1 |
1116 |
%patch3 -p1 |
%patch3 -p1 |
1129 |
%patch16 -p1 |
%patch16 -p1 |
1130 |
%patch17 -p1 |
%patch17 -p1 |
1131 |
%patch18 -p1 |
%patch18 -p1 |
|
%patch19 -p1 |
|
|
%patch20 -p1 |
|
1132 |
|
|
1133 |
%build |
%build |
1134 |
/sbin/e-smith/buildtests 10e-smith-backup |
/sbin/e-smith/buildtests 10e-smith-backup |
1147 |
mkdir -p root/var/cache/e-smith/restore/etc |
mkdir -p root/var/cache/e-smith/restore/etc |
1148 |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
mkdir -p root/var/cache/e-smith/restore/etc/samba |
1149 |
mkdir -p root/etc/e-smith/db/backups |
mkdir -p root/etc/e-smith/db/backups |
1150 |
|
mkdir -p root/etc/dar |
1151 |
|
mkdir -p root/mnt/smb |
1152 |
|
|
1153 |
%install |
%install |
1154 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
1166 |
%pre |
%pre |
1167 |
%preun |
%preun |
1168 |
%post |
%post |
|
/bin/rm -f /sbin/e-smith/backup |
|
|
/bin/rm -f /etc/cron.d/backup |
|
|
|
|
1169 |
%postun |
%postun |
1170 |
|
|
1171 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |