rpms/BackupPC/FC-6 BackupPC-README.fedora, NONE, 1.1 BackupPC.spec, 1.3, 1.4 sources, 1.3, 1.4
Johan Cwiklinski (trasher)
fedora-extras-commits at redhat.com
Thu Nov 29 07:13:32 UTC 2007
- Previous message (by thread): rpms/BackupPC/F-7 BackupPC-README.fedora, NONE, 1.1 BackupPC.spec, 1.3, 1.4 sources, 1.3, 1.4
- Next message (by thread): rpms/nut/EL-5 nut.spec,1.49,1.50 ups.init,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: trasher
Update of /cvs/pkgs/rpms/BackupPC/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10573
Modified Files:
BackupPC.spec sources
Added Files:
BackupPC-README.fedora
Log Message:
New upstream release
--- NEW FILE BackupPC-README.fedora ---
BackupPC's README file for Fedora
## BackupPC's user
For security reasons, backuppc user cannot log in. If you want to start manual backup (ie for debugging), you'll need to set it a shell :
usermod -s /bin/bash
Do not forget to create an SSH key (ssk-keygen) and copy it to remote computers if you plan to use tar/rsynv over SSH backup method.
## BackupPC's web interface
The CGI web interface is located at :
http://localhost/BackupPC
You will need to create users in /etc/BackupPC/apache.users :
htpasswd -c /etc/BackupPC/apache.users username
(Note that the '-c' flag is only necessary to create the file)
Index: BackupPC.spec
===================================================================
RCS file: /cvs/pkgs/rpms/BackupPC/FC-6/BackupPC.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- BackupPC.spec 22 Sep 2007 12:07:23 -0000 1.3
+++ BackupPC.spec 29 Nov 2007 07:12:59 -0000 1.4
@@ -5,8 +5,8 @@
%endif
Name: BackupPC
-Version: 3.0.0
-Release: 3%{?dist}
+Version: 3.1.0
+Release: 1%{?dist}
Summary: BackupPC - high-performance backup system
Group: Applications/System
@@ -15,6 +15,7 @@
Source0: http://dl.sourceforge.net/backuppc/%{name}-%{version}.tar.gz
Source1: BackupPC.htaccess
Source2: BackupPC.logrotate
+Source3: BackupPC-README.fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -37,6 +38,7 @@
Requires: perl-Time-modules
Requires: perl(XML::RSS)
Requires: rsync
+Requires: samba-client
Requires(pre): %{_sbindir}/useradd
Requires(preun): initscripts, chkconfig
Requires(post): initscripts, chkconfig, %{_sbindir}/usermod
@@ -60,6 +62,7 @@
iconv -f ISO-8859-1 -t UTF-8 BackupPC.pod > BackupPC.pod.utf && mv BackupPC.pod.utf BackupPC.pod
iconv -f ISO-8859-1 -t UTF-8 BackupPC.html > BackupPC.html.utf && mv BackupPC.html.utf BackupPC.html
popd
+cp %{SOURCE3} README.fedora
%if %{useselinux}
%{__mkdir} selinux
@@ -68,17 +71,17 @@
cat >%{name}.te <<EOF
policy_module(%{name},0.0.3)
require {
- type var_log_t;
- type httpd_t;
- class sock_file write;
+ type var_log_t;
+ type httpd_t;
+ class sock_file write;
type initrc_t;
class unix_stream_socket connectto;
- type ssh_exec_t;
- type ping_exec_t;
- type sendmail_exec_t;
- class file getattr;
- type httpd_sys_content_t;
- class sock_file getattr;
+ type ssh_exec_t;
+ type ping_exec_t;
+ type sendmail_exec_t;
+ class file getattr;
+ type httpd_sys_content_t;
+ class sock_file getattr;
}
allow httpd_t httpd_sys_content_t:sock_file write;
@@ -92,7 +95,7 @@
cat >%{name}.fc <<EOF
%{_sysconfdir}/%{name} system_u:object_r:httpd_sys_content_t:s0
%{_sysconfdir}/%{name}/pc system_u:object_r:httpd_sys_script_rw_t:s0
-%{_sysconfdir}/%{name}/config.pl system_u:object_r:httpd_sys_content_t:s0
+%{_sysconfdir}/%{name}/config.pl system_u:object_r:httpd_sys_content_t:s0
%{_sysconfdir}/%{name}/hosts system_u:object_r:httpd_sys_content_t:s0
%{_localstatedir}/log/%{name} system_u:object_r:httpd_sys_content_t:s0
EOF
@@ -146,6 +149,7 @@
%{__chmod} 755 $RPM_BUILD_ROOT%{_initrddir}/backuppc
sed -i 's/^\$Conf{XferMethod}\ =.*/$Conf{XferMethod} = "rsync";/' $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/config.pl
+sed -i 's|^\$Conf{CgiURL}\ =.*|$Conf{CgiURL} = "http://localhost/BackupPC";|' $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/config.pl
%if %{useselinux}
# SElinux
@@ -196,7 +200,7 @@
%files
%defattr(-,root,root,-)
-%doc README ChangeLog LICENSE doc/
+%doc README README.fedora ChangeLog LICENSE doc/
%dir %attr(-,backuppc,backuppc) %{_localstatedir}/log/%{name}
%dir %attr(-,backuppc,backuppc) %{_sysconfdir}/%{name}/
@@ -218,7 +222,13 @@
%endif
%changelog
-* Fri Sep 21 2007 Johan Cwiklinski <johan AT x-tnd DOT ba> 3.0.0-3
+* Thu Nov 29 2007 Johan Cwiklinski <johan AT x-tnd DOT be> 3.1.0-1
+- New upstream version
+- Added samba-client as a dependency
+- Added readme.fedora
+- Changed CGI admin path in default config file
+
+* Fri Sep 21 2007 Johan Cwiklinski <johan AT x-tnd DOT be> 3.0.0-3
- Fixed SELinux policy module
* Wed Sep 12 2007 Johan Cwiklinski <johan AT x-tnd DOT be> 3.0.0-2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/BackupPC/FC-6/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 22 Sep 2007 12:07:23 -0000 1.3
+++ sources 29 Nov 2007 07:12:59 -0000 1.4
@@ -1 +1 @@
-dc37728c1dc9225354523f279045f3f3 BackupPC-3.0.0.tar.gz
+84b4471852ef910768eae9963ef932d2 BackupPC-3.1.0.tar.gz
- Previous message (by thread): rpms/BackupPC/F-7 BackupPC-README.fedora, NONE, 1.1 BackupPC.spec, 1.3, 1.4 sources, 1.3, 1.4
- Next message (by thread): rpms/nut/EL-5 nut.spec,1.49,1.50 ups.init,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list