[sagator] Fix selinux devpts_t build.

Ján ONDREJ ondrejj at fedoraproject.org
Sat Jan 14 22:59:05 UTC 2012


commit 7d3433f1b1cd5e91e277f99534df73dce78e6e82
Author: Jan ONDREJ (SAL) <ondrejj(at)salstar.sk>
Date:   Sat Jan 14 23:58:44 2012 +0100

    Fix selinux devpts_t build.

 sagator-selinux-devpts.patch |   12 ++++++++++++
 sagator.spec                 |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/sagator-selinux-devpts.patch b/sagator-selinux-devpts.patch
new file mode 100644
index 0000000..daadc33
--- /dev/null
+++ b/sagator-selinux-devpts.patch
@@ -0,0 +1,12 @@
+Index: selinux/sagator.te
+===================================================================
+--- selinux/sagator.te	(revision 2846)
++++ selinux/sagator.te	(working copy)
+@@ -15,6 +15,7 @@
+   type named_conf_t;
+   type lo_node_t;
+   type locate_t;
++  type devpts_t;
+ }
+ 
+ type sagator_t;
diff --git a/sagator.spec b/sagator.spec
index c42c379..f131d51 100644
--- a/sagator.spec
+++ b/sagator.spec
@@ -8,8 +8,9 @@
 Summary:   Antivir/antispam gateway for smtp server
 Name:      sagator
 Version:   1.2.3
-Release:   2%{?dist}
+Release:   3%{?dist}
 Source:    http://www.salstar.sk/pub/antivir/snapshots/sagator-%{version}.tar.bz2
+Patch1:    sagator-selinux-devpts.patch
 URL:       http://www.salstar.sk/sagator/
 License:   GPLv2+
 Group:     System Environment/Daemons
@@ -114,6 +115,7 @@ This package helps moving to the upstream SELinux module.
 
 %prep
 %setup -q
+%patch1 -p0
 
 %build
 sh configure --prefix=%{_prefix} --filelist
@@ -243,6 +245,9 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Sat Jan 14 2012 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.2.3-3
+- added selinux devpts_t to sagator.te policy file
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list