secilc-2.5-1.el7
- Initial EPEL-7 release with upstream release 2016-02-23
This commit is contained in:
parent
85cfac20fe
commit
75caccc695
|
@ -0,0 +1 @@
|
||||||
|
/secilc-2.5.tar.gz
|
|
@ -0,0 +1,52 @@
|
||||||
|
diff --git secilc-2.5/Android.mk secilc-2.5/Android.mk
|
||||||
|
index 3dd9023..6c7b9d3 100644
|
||||||
|
--- secilc-2.5/Android.mk
|
||||||
|
+++ secilc-2.5/Android.mk
|
||||||
|
@@ -6,10 +6,6 @@ common_cflags := \
|
||||||
|
-Wall -Wshadow -O2 \
|
||||||
|
-pipe -fno-strict-aliasing \
|
||||||
|
|
||||||
|
-ifeq ($(HOST_OS), darwin)
|
||||||
|
-common_cflags += -DDARWIN
|
||||||
|
-endif
|
||||||
|
-
|
||||||
|
common_includes := \
|
||||||
|
$(LOCAL_PATH)/../libsepol/cil/include/ \
|
||||||
|
$(LOCAL_PATH)/../libsepol/include/ \
|
||||||
|
diff --git secilc-2.5/ChangeLog secilc-2.5/ChangeLog
|
||||||
|
index a803f35..cddfd81 100644
|
||||||
|
--- secilc-2.5/ChangeLog
|
||||||
|
+++ secilc-2.5/ChangeLog
|
||||||
|
@@ -1,3 +1,5 @@
|
||||||
|
+ * Add documentation and test rule for portcon dccp protocol, from Richard Haines
|
||||||
|
+
|
||||||
|
2.5 2016-02-23
|
||||||
|
* Convert DocBook documentation into github markdown, from Yuli Khodorkovskiy
|
||||||
|
* Add documentation for neverallowx rules, from Steve Lawrence
|
||||||
|
diff --git secilc-2.5/docs/cil_network_labeling_statements.md secilc-2.5/docs/cil_network_labeling_statements.md
|
||||||
|
index 183b350..b06dbcc 100644
|
||||||
|
--- secilc-2.5/docs/cil_network_labeling_statements.md
|
||||||
|
+++ secilc-2.5/docs/cil_network_labeling_statements.md
|
||||||
|
@@ -155,7 +155,7 @@ These examples show named and anonymous [`nodecon`](cil_network_labeling_stateme
|
||||||
|
portcon
|
||||||
|
-------
|
||||||
|
|
||||||
|
-Label a udp or tcp port.
|
||||||
|
+Label a udp, tcp or dccp port.
|
||||||
|
|
||||||
|
**Statement definition:**
|
||||||
|
|
||||||
|
@@ -175,7 +175,7 @@ Label a udp or tcp port.
|
||||||
|
</tr>
|
||||||
|
<tr class="even">
|
||||||
|
<td align="left"><p><code>protocol</code></p></td>
|
||||||
|
-<td align="left"><p>The protocol keyword <code>tcp</code> or <code>udp</code>.</p></td>
|
||||||
|
+<td align="left"><p>The protocol keyword <code>tcp</code>, <code>udp</code> or <code>dccp</code>.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr class="odd">
|
||||||
|
<td align="left"><p><code>port |</code></p>
|
||||||
|
@@ -199,3 +199,4 @@ These examples show named and anonymous [`portcon`](cil_network_labeling_stateme
|
||||||
|
(portcon tcp 3333 (unconfined.user object_r unconfined.object levelrange_1))
|
||||||
|
(portcon udp 4444 (unconfined.user object_r unconfined.object ((s0) level_2)))
|
||||||
|
(portcon tcp (2000 20000) (unconfined.user object_r unconfined.object (systemlow level_3)))
|
||||||
|
+ (portcon dccp (6840 6880) (unconfined.user object_r unconfined.object ((s0) level_2)))
|
|
@ -0,0 +1,63 @@
|
||||||
|
%global libsepolver 2.5-0
|
||||||
|
|
||||||
|
Name: secilc
|
||||||
|
Version: 2.5
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: The SELinux CIL Compiler
|
||||||
|
|
||||||
|
License: BSD
|
||||||
|
URL: https://github.com/SELinuxProject/selinux/wiki
|
||||||
|
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/secilc-2.5.tar.gz
|
||||||
|
Patch1: secilc-rhel.patch
|
||||||
|
|
||||||
|
BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto, pandoc
|
||||||
|
|
||||||
|
%description
|
||||||
|
The SELinux CIL Compiler is a compiler that converts the CIL language as
|
||||||
|
described on the CIL design wiki into a kernel binary policy file.
|
||||||
|
Please see the CIL Design Wiki at:
|
||||||
|
http://github.com/SELinuxProject/cil/wiki/
|
||||||
|
for more information about the goals and features on the CIL language.
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Documentation for the SELinux CIL Compiler
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
The SELinux CIL Compiler is a compiler that converts the CIL language as
|
||||||
|
described on the CIL design wiki into a kernel binary policy file.
|
||||||
|
Please see the CIL Design Wiki at:
|
||||||
|
http://github.com/SELinuxProject/cil/wiki/
|
||||||
|
for more information about the goals and features on the CIL language.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n secilc-%{version}
|
||||||
|
%patch1 -p 1
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
make %{?_smp_mflags} CFLAGS="%{optflags}" LIBSEPOL_STATIC=%{_libdir}/libsepol.a
|
||||||
|
pushd docs
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
popd
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
make %{?_smp_mflags} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LIBDIR="%{buildroot}%{_libdir}" install
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/secilc
|
||||||
|
%{_mandir}/man8/secilc.8.gz
|
||||||
|
%license COPYING
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%doc docs/html
|
||||||
|
%doc docs/pdf
|
||||||
|
%license COPYING
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jul 13 2017 Petr Lautrbach <plautrba@redhat.com> - 2.5-1
|
||||||
|
- Add documentation and test rule for portcon dccp protocol
|
||||||
|
- Initial EPEL-7 release with upstream release 2016-02-23
|
Loading…
Reference in New Issue