rpms/safekeep/F-7 README.Fedora, NONE, 1.1 safekeep.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jef Spaleta (jspaleta)
fedora-extras-commits at redhat.com
Mon Oct 22 18:09:58 UTC 2007
Author: jspaleta
Update of /cvs/pkgs/rpms/safekeep/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9078
Modified Files:
.cvsignore sources
Added Files:
README.Fedora safekeep.spec
Log Message:
New commit to fedora cvs
latest changelog entry:
* Fri Oct 19 2007 Jef Spaleta <jspaleta at gmail.com> 1.0.3-2
- Added README.Fedora with explanation of client subpackaging.
--- NEW FILE README.Fedora ---
Safekeep is designed such that the same script can be used on both the
backup server (which initiates backups from clients), as well as on
individual clients to handle client specific tasks such as
dedicated ssh key generation and client-side backup processes such as dump.
As a result, on Fedora safekeep is packaged in such a way that Fedora
clients which want to communicate with a safekeep managed backup server
can choose to install the safekeep-client subpackage to ensure correct
safekeep client configuration. This safekeep-client subpackage does not
itself install any additional files at this time. But it does ensure
that the correct client side applications are in place for safekeep
managed backup services.
It is recommended that all computers acting as safekeep clients install
the safekeep-client subpackage, even though at this time it is
technically optional if the necessary components such as an ssh server,
coreutils and util-linux are installed correctly on the client Fedora
system. In future version of safekeep the safekeep-client package may
become necessary for correct client operation.
--- NEW FILE safekeep.spec ---
%define name safekeep
%define version 1.0.3
%define release 2
%define homedir %{_localstatedir}/lib/%{name}
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
Summary: The SafeKeep backup system
Group: Applications/System
License: GPLv2+
URL: http://safekeep.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1: README.Fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: xmlto, asciidoc > 6.0.3
%description
SafeKeep is a client/server backup system which enhances the
power of rdiff-backup with simple, centralized configuration.
%package common
Summary: The SafeKeep backup system (common component)
Group: Applications/System
Requires: rdiff-backup
Requires: python >= 2.2
%description common
SafeKeep is a client/server backup system which enhances the
power of rdiff-backup with simple, centralized configuration.
This is the common component of SafeKeep. It is shared in
between the client/server components.
%package client
Summary: The SafeKeep backup system (client component)
Group: Applications/System
Requires: openssh-server
Requires: coreutils
Requires: util-linux
Requires: safekeep-common = %{version}-%{release}
%description client
SafeKeep is a client/server backup system which enhances the
power of rdiff-backup with simple, centralized configuration.
This is the client component of SafeKeep. It should be
installed on all hosts that need to be backed-up.
%package server
Summary: The SafeKeep backup system (server component)
Group: Applications/System
Requires(pre): %{_sbindir}/useradd
Requires(pre): %{_sbindir}/groupadd
Requires: openssh, openssh-clients
Requires: safekeep-common = %{version}-%{release}
%description server
SafeKeep is a client/server backup system which enhances the
power of rdiff-backup with simple, centralized configuration.
This is the server component of SafeKeep. It should be
installed on the server on which the data will be backed-up to.
%prep
%setup -q
cp %{SOURCE1} ./
%build
make build
%install
rm -rf %{buildroot}
install -d -m 755 "%{buildroot}%{_sysconfdir}/safekeep/backup.d"
install -m 664 safekeep.conf "%{buildroot}%{_sysconfdir}/safekeep/"
install -d -m 755 "%{buildroot}%{_sysconfdir}/cron.daily"
install -m 755 safekeep.cron "%{buildroot}%{_sysconfdir}/cron.daily/safekeep"
install -d -m 755 "%{buildroot}%{_bindir}/"
install -m 755 safekeep "%{buildroot}%{_bindir}/"
install -d -m 755 "%{buildroot}%{_mandir}/man1/"
install -m 444 doc/safekeep.1 "%{buildroot}%{_mandir}/man1/"
install -d -m 755 "%{buildroot}%{_mandir}/man5/"
install -m 444 doc/safekeep.conf.5 "%{buildroot}%{_mandir}/man5/"
install -m 444 doc/safekeep.backup.5 "%{buildroot}%{_mandir}/man5/"
install -d -m 750 "%{buildroot}%{homedir}"
install -d -m 700 "%{buildroot}%{homedir}/.ssh"
%clean
rm -rf "%{buildroot}"
%pre server
%{_sbindir}/groupadd -f -r %{name}
id %{name} >/dev/null 2>&1 || \
%{_sbindir}/useradd -r -g %{name} -d %{homedir} -s /sbin/nologin \
-c "Used by safekeep to run and store backups." %{name}
%files common
%defattr(-,root,root,-)
%{_bindir}/safekeep
%{_mandir}/man1/safekeep.1*
%doc AUTHORS COPYING LICENSE README TODO README.Fedora
%files client
%defattr(-,root,root,-)
%files server
%defattr(-,root,root,-)
%attr(750,%{name},%{name}) %dir %{homedir}
%attr(700,%{name},%{name}) %dir %{homedir}/.ssh
%dir %{_sysconfdir}/safekeep
%dir %{_sysconfdir}/safekeep/backup.d
%config(noreplace) %{_sysconfdir}/safekeep/safekeep.conf
%{_sysconfdir}/cron.daily/safekeep
%{_mandir}/man5/safekeep.conf.5*
%{_mandir}/man5/safekeep.backup.5*
%doc sample.backup
%changelog
* Fri Oct 19 2007 Jef Spaleta <jspaleta at gmail.com> 1.0.3-2
- Added README.Fedora with explanation of client subpackaging.
* Fri Oct 19 2007 Dimi Paun <dimi at lattica.com> 1.0.3-1
- Clarify licensing in lite of the new GPLv3 license;
- New --force option to handle unexpected problems with the data repository;
- Better logging and status handling when we invoke external commands
- Clearer backup status on job end.
- A small packaging bug got fixes.
* Fri Sep 7 2007 Dimi Paun <dimi at lattica.com> 1.0.2-1
- Add missing buildroot removal in install section (Jeff Spaleta)
- Remove references to PACKAGE_VERSION, follow the Fedora
guidelines closer.
- Provide default attr for all packages.
- Clarify the licensing in .rpm package.
- We don't need to include AUTHORS COPYING LICENSE multiple times,
keeping them in -common is enough.
- More acceptable SF link.
* Sun Jun 17 2007 Dimi Paun <dimi at lattica.com> 1.0.1-1
- The safekeep user no longer requires a working shell
- Add support for Fedora 7 to the testing script
- Packaging improvements for integration into Fedora
- Remove the old configuration migration scripts
- Do not package the testing script, it's used only during development
* Wed May 16 2007 Dimi Paun <dimi at lattica.com> 1.0.0-1
- Small documentation inprovements.
* Fri Apr 27 2007 Dimi Paun <dimi at lattica.com> 0.9.3-1
- Use /bin/bash as the shell for the safekeep system account;
- Invoke rdiff-backup with --force when trimming histroy;
- A few small logging bugs got fixed;
- Small documentation tweaks.
* Tue Mar 13 2007 Dimi Paun <dimi at lattica.com> 0.9.2-1
- Client configuration files have been moved to
/etc/safekeep/backup.d, and have the extension '.backup';
- A new global configuration file has been added in
/etc/safekeep/safekeep.conf;
- A number of command line options have been deprecated;
(-e/--email, -s/--smtp), and moved to the global configuration.
- SafeKeep now knows of the user under which the backup will execute,
making it possible to better deploy keys, avoid the need to invoke
safekeep(1) via sudo(8), and execute the backup as root if need be;
- Relative paths now have more intuitive behaviour;
- Some documentation improvements;
- Automatic migration of old configuration to the new format;
- A CRITICAL (e.g. data loss) race has been fixed.
* Mon Feb 12 2007 Dimi Paun <dimi at lattica.com> 0.9.1-1
- Lots of documentation improvements;
- Prepare the RPMs for Fedora acceptance (Jef Spaleta);
- Automatic creation of data store directory;
- A few bug fixes.
* Thu Feb 1 2007 Dimi Paun <dimi at lattica.com> 0.9.0-1
- Initial release
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/safekeep/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 21 Oct 2007 16:42:26 -0000 1.1
+++ .cvsignore 22 Oct 2007 18:09:26 -0000 1.2
@@ -0,0 +1 @@
+safekeep-1.0.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/safekeep/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 21 Oct 2007 16:42:26 -0000 1.1
+++ sources 22 Oct 2007 18:09:26 -0000 1.2
@@ -0,0 +1 @@
+89d97ad80ac72b0202c9181459925e21 safekeep-1.0.3.tar.gz
More information about the fedora-extras-commits
mailing list