"Fossies" - the Fresh Open Source Software Archive 
Member "safekeep-1.5.1/safekeep.spec" (16 Nov 2020, 11529 Bytes) of package /linux/misc/safekeep-1.5.1.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "safekeep.spec":
1.5.0_vs_1.5.1.
1 %define name safekeep
2 %define version 1.5.1
3 %define release 1
4 %define homedir %{_localstatedir}/lib/%{name}
5
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}%{?dist}
9 Summary: The SafeKeep backup system
10
11 Group: Applications/System
12 License: GPLv2+
13 URL: http://%{name}.sourceforge.net
14 Source0: https://github.com/dimipaun/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16
17 BuildArch: noarch
18 BuildRequires: xmlto, asciidoc > 6.0.3
19
20 %description
21 SafeKeep is a client/server backup system which enhances the
22 power of rdiff-backup with simple, centralized configuration.
23
24 %package common
25 Summary: The SafeKeep backup system (common component)
26 Group: Applications/System
27 Requires: rdiff-backup
28 Requires: python3 >= 3.4
29
30 %description common
31 SafeKeep is a client/server backup system which enhances the
32 power of rdiff-backup with simple, centralized configuration.
33
34 This is the common component of SafeKeep. It is shared in
35 between the client/server components.
36
37 %package client
38 Summary: The SafeKeep backup system (client component)
39 Group: Applications/System
40 Requires: openssh-server
41 Requires: coreutils
42 Requires: util-linux
43 Requires: %{name}-common = %{version}-%{release}
44
45 %description client
46 SafeKeep is a client/server backup system which enhances the
47 power of rdiff-backup with simple, centralized configuration.
48
49 This is the client component of SafeKeep. It should be
50 installed on all hosts that need to be backed-up.
51
52 %package server
53 Summary: The SafeKeep backup system (server component)
54 Group: Applications/System
55 Requires(pre): %{_sbindir}/useradd
56 Requires(pre): %{_sbindir}/groupadd
57 Requires: openssh, openssh-clients
58 Requires: %{name}-common = %{version}-%{release}
59
60 %description server
61 SafeKeep is a client/server backup system which enhances the
62 power of rdiff-backup with simple, centralized configuration.
63
64 This is the server component of SafeKeep. It should be
65 installed on the server on which the data will be backed-up to.
66
67 %prep
68 %setup -q
69
70 %build
71 make %{?_smp_mflags} build
72
73 %install
74 rm -rf %{buildroot}
75 make install DESTDIR=%{buildroot}
76 install -d -m 750 "%{buildroot}%{homedir}"
77 install -d -m 700 "%{buildroot}%{homedir}/.ssh"
78
79 %clean
80 rm -rf "%{buildroot}"
81
82 %pre server
83 %{_sbindir}/groupadd -f -r %{name}
84 id %{name} >/dev/null 2>&1 || \
85 %{_sbindir}/useradd -r -g %{name} -d %{homedir} -s /sbin/nologin \
86 -c "Used by %{name} to run and store backups." %{name}
87
88 %files common
89 %defattr(-,root,root,-)
90 %{_bindir}/%{name}
91 %{_mandir}/man1/%{name}.1*
92 %doc AUTHORS COPYING LICENSE README INSTALL TODO samples/client-script-sample.sh
93
94 %files client
95 %defattr(-,root,root,-)
96
97 %files server
98 %defattr(-,root,root,-)
99 %attr(750,%{name},%{name}) %dir %{homedir}
100 %attr(700,%{name},%{name}) %dir %{homedir}/.ssh
101 %dir %{_sysconfdir}/%{name}
102 %dir %{_sysconfdir}/%{name}/backup.d
103 %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
104 %{_sysconfdir}/cron.daily/%{name}
105 %{_mandir}/man5/%{name}.conf.5*
106 %{_mandir}/man5/%{name}.backup.5*
107 %doc samples/sample.backup
108
109 %changelog
110 * Sun Nov 15 2020 Frank Crawford <frank@crawford.emu.id.au> 1.5.1-1
111 - Add configuration options to handle different versions of rdiff-backup.
112 - Allow specifications of a tempdir.
113 - Minor bugfixes.
114
115 * Sat Feb 23 2019 Frank Crawford <frank@crawford.emu.id.au> 1.5.0-1
116 - Updated for Python 3
117
118 * Sun Feb 10 2019 Frank Crawford <frank@crawford.emu.id.au> 1.4.5-1
119 - Make ssh StrictHostKeyChecking configurable in safekeep.conf with
120 'ask' as default if not configured.
121 - Add make-target debsrc again
122 - Fix compatibility issue with Python 2.4
123
124 * Sat Jul 9 2016 Frank Crawford <frank@crawford.emu.id.au> 1.4.4-1
125 - Fix error with key deployment.
126 - Cleanup up some minor issues in the build and deployment process.
127
128 * Sun Jun 19 2016 Frank Crawford <frank@crawford.emu.id.au> 1.4.3-1
129 - See Changelog for full details.
130 - Optionally remove CREATE DATABASE statement in dumps.
131 - Attempt normal lvremove before invoking dmsetup for cleanup.
132 - Added locking on the server to stop overlapping runs.
133 - Added configuration option to specify ssh-keygen settings.
134 - Support for SSH ed25519 keys, switch default key type to RSA.
135 - Added server side startup hook support.
136 - Sort entries based on IDs.
137
138 * Sun Jun 2 2013 Frank Crawford <frank@crawford.emu.id.au> 1.4.2-1
139 - Report setup errors in summary reports.
140 - Added a flag to disable a backup configuration file.
141 - Added new targets for building Debian source packages.
142 - A number of bug fixes for Python compatibility and other errors.
143
144 * Sat Jan 19 2013 Frank Crawford <frank@crawford.emu.id.au> 1.4.1-1
145 - A major rework of LVM snapshot handling.
146 - Generate MIME emails with summary reports.
147 - Better handling of PostgreSQL passwords.
148 - Added ability to use LVM snapshots with XFS filesystems.
149 - Allow use of ~/.safekeep for non-root users.
150 - Allow default and automatic snapshot sizes.
151
152 * Sun Feb 12 2012 Frank Crawford <frank@crawford.emu.id.au> 1.4.0-1
153 - Add the ability to store script files on either client or server.
154 - Rewritten snapshot creation to remove use of "rbind".
155 - Automatic cleanup on next run after an abort.
156 - Support of LVM tagging for snapshots.
157 - Better handling of messages and tracebacks.
158 - A number of other code cleanups and bug fixes.
159 - Updated minimum Python support to Python 2.3.
160
161 * Sun Nov 20 2011 Frank Crawford <frank@crawford.emu.id.au> 1.3.3-1
162 - More fixes for dealing with LVM snapshots.
163 - Better handling of other failure conditions.
164 - Updates for Python syntax issues and changes.
165 - Allow specification of a sender address in e-mail messages.
166 - Better handling of ionice(1).
167
168 * Sun Mar 6 2011 Dimi Paun <dimi@lattica.com> 1.3.2-1
169 - Fixed some issued introduced by the new subprocess wrappers.
170 - Always return multi-line output from subprocesses as an array of strings.
171 - Better source-based installation and documentation.
172 - Add explanation of the packaging structure.
173 - Source, documentation, and packaging cleanups.
174
175 * Mon Nov 22 2010 Dimi Paun <dimi@lattica.com> 1.3.1-1
176 - Fix a few serios errors preventing safekeep from running.
177 - Better reporting of client messages and exceptions.
178
179 * Sun Nov 21 2010 Dimi Paun <dimi@lattica.com> 1.3.0-1
180 - Add ionice(1) support for limiting IO on server side.
181 - Allow control of nice value on both server and client
182 - Fix password handling when dumping MySQL databases.
183 - Fix MySQL dumps when passing a username (for newer versions).
184 - Handle correctly Unicode strings, such as localized DB names.
185 - Fix a bug when dumping a specific Postgresql database.
186 - Prepare the code for newer Python versions
187 - Try to remove a snapshot up to 10 times in a row to workaround
188 silly udev bug: https://bugzilla.redhat.com/show_bug.cgi?id=577798
189 - Multiple internal cleanups, and minor bugs fixes.
190
191 * Thu Apr 30 2009 Dimi Paun <dimi@lattica.com> 1.2.1-1
192 - Fix error while trying to nice the server
193
194 * Mon Mar 30 2009 Dimi Paun <dimi@lattica.com> 1.2.0-1
195 - Rework the handling of device files, fifos and sockets as data attributes.
196 - Now special files are by default included, unless explicitely excluded.
197 - A bunch of spelling fixes sprinkled throughout.
198 - Move the samples to a separate directory
199 - Add a few trigger points where external scripts can be executed
200 - Less verbosity from external helpers when invoked with -v
201 - Avoid errors when dealing with mounts containing spaces.
202 - Don't send out empty emails.
203 - Correctly handle LVM names that contain dashes
204 - Allow passing the pgpasswd to PostgreSQL as well
205 - Add pass-through options for the DB dump command
206 - Implement bandwidth limiting, based on trickle
207 - By default, run safekeep with nice +10 on the server side
208 - Run ssh/rdiff through nice so we can control the load better on the server
209 - Do not compress the SSH traffic, it is handled by rdiff-backup
210 - Add SSH verbosity control
211 - Fix dopey MySQL dump.
212
213 * Tue Oct 7 2008 Dimi Paun <dimi@lattica.com> 1.0.5-1
214 - Allow providing the password for the DB user used for the DB dump
215 - Add config option for passing additional flags to rdiff-backup
216 - Avoid backing up special files by default
217 - Avoid creating multiple LVM snapshots (avoids some LVM bugs)
218 - Add new --cleanup option to help recovery from crashes
219 - Make it easier to package on platforms that don't have asciidoc
220
221 * Tue Feb 26 2008 Dimi Paun <dimi@lattica.com> 1.0.4-1
222 - Add options to allow the query of the backup repository
223 - Important fixes when dealing with snapshots
224 - Make it more compatible with Python 2.2 (more work remains)
225 - Avoid build-time dependency on asciidoc which depends on Python 2.3
226 - Add some clarifications to the documentation
227 - Add support for FreeBSD
228
229 * Fri Oct 19 2007 Dimi Paun <dimi@lattica.com> 1.0.3-1
230 - Clarify licensing in lite of the new GPLv3 license;
231 - New --force option to handle unexpected problems with the data repository;
232 - Better logging and status handling when we invoke external commands
233 - Clearer backup status on job end.
234 - A small packaging bug got fixes.
235
236 * Fri Sep 7 2007 Dimi Paun <dimi@lattica.com> 1.0.2-1
237 - Add missing buildroot removal in install section (Jeff Spaleta)
238 - Remove references to PACKAGE_VERSION, follow the Fedora
239 guidelines closer.
240 - Provide default attr for all packages.
241 - Clarify the licensing in .rpm package.
242 - We don't need to include AUTHORS COPYING LICENSE multiple times,
243 keeping them in -common is enough.
244 - More acceptable SF link.
245
246 * Sun Jun 17 2007 Dimi Paun <dimi@lattica.com> 1.0.1-1
247 - The safekeep user no longer requires a working shell
248 - Add support for Fedora 7 to the testing script
249 - Packaging improvements for integration into Fedora
250 - Remove the old configuration migration scripts
251 - Do not package the testing script, it's used only during development
252
253 * Wed May 16 2007 Dimi Paun <dimi@lattica.com> 1.0.0-1
254 - Small documentation inprovements.
255
256 * Fri Apr 27 2007 Dimi Paun <dimi@lattica.com> 0.9.3-1
257 - Use /bin/bash as the shell for the safekeep system account;
258 - Invoke rdiff-backup with --force when trimming histroy;
259 - A few small logging bugs got fixed;
260 - Small documentation tweaks.
261
262 * Tue Mar 13 2007 Dimi Paun <dimi@lattica.com> 0.9.2-1
263 - Client configuration files have been moved to
264 /etc/safekeep/backup.d, and have the extension '.backup';
265 - A new global configuration file has been added in
266 /etc/safekeep/safekeep.conf;
267 - A number of command line options have been deprecated;
268 (-e/--email, -s/--smtp), and moved to the global configuration.
269 - SafeKeep now knows of the user under which the backup will execute,
270 making it possible to better deploy keys, avoid the need to invoke
271 safekeep(1) via sudo(8), and execute the backup as root if need be;
272 - Relative paths now have more intuitive behaviour;
273 - Some documentation improvements;
274 - Automatic migration of old configuration to the new format;
275 - A CRITICAL (e.g. data loss) race has been fixed.
276
277 * Mon Feb 12 2007 Dimi Paun <dimi@lattica.com> 0.9.1-1
278 - Lots of documentation improvements;
279 - Prepare the RPMs for Fedora acceptance (Jef Spaleta);
280 - Automatic creation of data store directory;
281 - A few bug fixes.
282
283 * Thu Feb 1 2007 Dimi Paun <dimi@lattica.com> 0.9.0-1
284 - Initial release