Merge branch 'master' into epel8

This commit is contained in:
Richard Shaw 2020-02-18 15:55:44 -06:00
commit 2cd9d9ce77
3 changed files with 22 additions and 18 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@ BackupPC-3.1.2.tar.gz
/BackupPC-4.2.1.tar.gz
/BackupPC-4.3.0.tar.gz
/BackupPC-4.3.1.tar.gz
/BackupPC-4.3.2.tar.gz

View file

@ -9,8 +9,8 @@
%global _updatedb_conf /etc/updatedb.conf
Name: BackupPC
Version: 4.3.1
Release: 3%{?dist}
Version: 4.3.2
Release: 1%{?dist}
Summary: High-performance backup system
License: GPLv2+
@ -107,28 +107,24 @@ mkdir selinux
pushd selinux
cat >%{name}.te <<EOF
policy_module(%{name},0.0.5)
policy_module(%{name},0.0.6)
require {
type httpd_t;
type var_lib_t;
type var_log_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_t, var_lib_t, var_log_t;
class sock_file { write };
type unconfined_service_t;
class unix_stream_socket { connectto };
type ssh_exec_t, ping_exec_t, sendmail_exec_t;
class file { getattr };
type var_run_t;
class sock_file getattr;
class sock_file { getattr };
type httpd_log_t;
class file open;
class dir read;
class file { open };
class dir { read };
}
allow httpd_t var_run_t:sock_file write;
allow httpd_t var_lib_t:file write;
allow httpd_t initrc_t:unix_stream_socket connectto;
allow httpd_t unconfined_service_t:unix_stream_socket connectto;
allow httpd_t ping_exec_t:file getattr;
allow httpd_t sendmail_exec_t:file getattr;
allow httpd_t ssh_exec_t:file getattr;
@ -322,6 +318,13 @@ fi
%changelog
* Tue Feb 18 2020 Richard Shaw <hobbes1069@gmail.com> - 4.3.2-1
- Update to 4.3.2.
- Update SELinux permissions, fixes RHBZ#1791369.
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Oct 12 2019 Richard Shaw <hobbes1069@gmail.com> - 4.3.1-3
- Add selinux context for /var/lib/BackupPC to stop AVCs with LOCK files.

View file

@ -1 +1 @@
SHA512 (BackupPC-4.3.1.tar.gz) = acabc8d79779bfa599192af88938dbdbf7bf12e82564f3c25398cc4bc04207ea21494974bec20779433f0207fd82b17107c538437309950d619ca3a9856e721f
SHA512 (BackupPC-4.3.2.tar.gz) = cb7134aa2980bee392da445e0dacf883e4f2b9487e698e4438bb4badcf2c0400727595af8f0135ecf2e5d363e619b414535b69707ac3e460706784e0f1f18749