--- rpms/smeserver-BackupPC/contribs7/smeserver-BackupPC.spec 2009/03/02 17:30:36 1.1 +++ rpms/smeserver-BackupPC/contribs7/smeserver-BackupPC.spec 2009/05/29 14:36:10 1.9 @@ -1,28 +1,41 @@ +# $Id: smeserver-BackupPC.spec,v 1.8 2009/05/13 21:19:41 vip-ire Exp $ # Authority: vip-ire # Name: Daniel Berteaud -Name: smeserver-BackupPC -Version: 0.1 -Release: 2%{?dist} -Summary: BackupPC integration into SME server - -Group: Applications/System -License: GPL -URL: http://backuppc.sourceforge.net/ -Source: %{name}-%{version}.tar.gz -Patch0: smeserver-BackupPC-0.1-logrotate.patch -Patch1: smeserver-BackupPC-0.1-config_path.patch -Patch2: smeserver-BackupPC-0.1-post-upgrade_to_bootstrape.patch -Patch3: smeserver-BackupPC-0.1-sudoers.patch - -BuildRoot: %{_tmppath}/%{name}-%{version} -BuildArch: noarch - -BuildRequires: e-smith-devtools - -Requires: mod_auth_tkt -Requires: BackupPC >= 3.1.0 -Requires: smeserver-remoteuseraccess +Name: smeserver-BackupPC +Version: 0.1 +Release: 10%{?dist} +Summary: BackupPC integration into SME server + +Group: Applications/System +License: GPL +URL: http://backuppc.sourceforge.net/ +Source: %{name}-%{version}.tar.gz +Patch0: smeserver-BackupPC-0.1-logrotate.patch +Patch1: smeserver-BackupPC-0.1-config_path.patch +Patch2: smeserver-BackupPC-0.1-post-upgrade_to_bootstrape.patch +Patch3: smeserver-BackupPC-0.1-sudoers.patch +Patch4: smeserver-BackupPC-0.1-smeserver_template.patch +Patch5: smeserver-BackupPC-0.1-fix_logrotate_event.patch +Patch6: smeserver-BackupPC-0.1-sudoers_enhancement.patch +Patch7: smeserver-BackupPC-0.1-templates_fixes.patch +Patch8: smeserver-BackupPC-0.1-httpd_conf_cleanup.patch +Patch9: smeserver-BackupPC-0.1-quotes_share_name.patch +Patch10: smeserver-BackupPC-0.1-fixe_on_post_upgrade.patch +Patch11: smeserver-BackupPC-0.1-encrypt_archives.patch +Patch12: smeserver-BackupPC-0.1-generate_key_file.patch +Patch13: smeserver-BackupPC-0.1-fixe_chmod.patch +Patch14: smeserver-BackupPC-0.1-full_path.patch + +BuildRoot: %{_tmppath}/%{name}-%{version} +BuildArch: noarch + +BuildRequires: e-smith-devtools + +Requires: mod_auth_tkt +Requires: BackupPC >= 3.1.0 +Requires: smeserver-remoteuseraccess +Requires: openssl #Conflicts: smeserver-backuppc.fws Obsoletes: smeserver-backuppc.fws @@ -36,6 +49,37 @@ This package contains specific configura %changelog +* Fri May 29 2009 Daniel B. [0.1-10] +- Call signal-event with it full path in smeserver-template.pl [SME: 5302] + +* Tue May 12 2009 Daniel B. [0.1-9] +- Add optionnal encryption of archives generated with BackupPC_SME_localArchive + BackupPC_SME_usbArchive and BackupPC_SME_remoteArchive using openssl +- Generate a key and save it in /etc/BackupPC/archive.key +- Fixe permission restriction on /etc/BackupPC/* + +* Thu May 07 2009 Daniel B. [0.1-8] +- Link backuppc-checkupgrade script in post-upgrade event + so the contrib is correctly configured without running backuppc-update + event [SME: 5221] + +* Tue May 05 2009 Daniel B. [0.1-7] +- Fixe permissions on /etc/BackupPC/pc + +* Mon Mar 23 2009 Daniel B. [0.1-6] +- modify default httpd conf (cleanup) to use the new paths +- Add quotes in share names for *Archive.conf files +- Enhance provided template + +* Wed Mar 18 2009 Daniel B. [0.1-5] +- Enhance sudoers templates + +* Mon Feb 23 2009 Daniel B. [0.1-4] +- Fix logrotate issue (send a sigusr1 signal to httpd-bkpc) + +* Tue Jan 20 2009 Daniel B. [0.1-3] +- Update Exclude path for smeserver config example + * Thu Dec 11 2008 Daniel B. [0.1-2] - Revert config and logs paths to their default location - Expand-templates during bootrape-console-save instead of post-upgrade @@ -77,6 +121,17 @@ This package contains specific configura %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 %build perl createlinks @@ -107,6 +162,7 @@ perl createlinks --file /etc/BackupPC/localCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ --file /etc/BackupPC/remoteArchive.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ --file /etc/BackupPC/remoteCopyPool.conf 'attr(640,backuppc,backuppc) %config(noreplace)' \ + --dir /etc/BackupPC/pc 'attr(750,backuppc,backuppc)' \ --dir /var/service/httpd-bkpc 'attr(01755,root,root)' \ --file /var/service/httpd-bkpc/run 'attr(0700,root,root)' \ --dir /var/service/httpd-bkpc/supervise 'attr(0700,root,root)' \