summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-01-18 18:58:30 -0500
committerMichael Orlitzky <mjo@gentoo.org>2016-01-18 19:02:16 -0500
commitb3ff61af65df489d597ae5e3d9d765500e5e5eaf (patch)
treed942a4696fa269c25fffa5bebc190bdcee4553e4 /app-backup/backuppc/files
parentprofiles: mask the forthcoming app-backup/backuppc-3.3.1. (diff)
downloadgentoo-b3ff61af65df489d597ae5e3d9d765500e5e5eaf.tar.gz
gentoo-b3ff61af65df489d597ae5e3d9d765500e5e5eaf.tar.bz2
gentoo-b3ff61af65df489d597ae5e3d9d765500e5e5eaf.zip
app-backup/backuppc: add version 3.3.1 (masked) with apache-2.4 support.
This new version adds apache-2.4 support to backuppc, but at the cost of requiring www-apache/mpm_itk and a new mod_perl supporting apache-2.4. The former is available and less onerous than the current requirement of a separate web server. However, the only mod_perl supporting apache-2.4 at the moment is masked, so the new version of backuppc is masked as well. The configuration for the new version should be more familiar to users: it is enabled by passing -D BACKUPPC to apache2. Gentoo-Bug: 532718 Gentoo-Bug: 541312 Package-Manager: portage-2.2.26
Diffstat (limited to 'app-backup/backuppc/files')
-rw-r--r--app-backup/backuppc/files/99_backuppc.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/app-backup/backuppc/files/99_backuppc.conf b/app-backup/backuppc/files/99_backuppc.conf
new file mode 100644
index 000000000000..eae766e4fa75
--- /dev/null
+++ b/app-backup/backuppc/files/99_backuppc.conf
@@ -0,0 +1,32 @@
+<IfDefine BACKUPPC>
+
+
+Listen 8080
+<VirtualHost 127.0.0.1:8080>
+ AssignUserId backuppc backuppc
+ DocumentRoot "/usr/lib/backuppc/htdocs/"
+ RedirectMatch ^/$ /BackupPC_Admin
+
+ <Directory "/usr/lib/backuppc/htdocs">
+ AuthType Basic
+ AuthName "BackupPC Community Edition Administrative Interface"
+ AuthUserFile "/etc/BackupPC/users.htpasswd"
+ Options ExecCGI
+ Require valid-user
+ Require host 127.0.0.1
+ </Directory>
+
+ <Location "/BackupPC_Admin">
+ SetHandler perl-script
+ PerlResponseHandler ModPerl::Registry
+ PerlOptions +ParseHeaders
+ </Location>
+
+ <Directory "/usr/lib/backuppc/htdocs/image">
+ Require all granted
+ Options -ExecCGI
+ </Directory>
+</VirtualHost>
+
+
+</IfDefine>