Commit Graph

224 Commits

Author SHA1 Message Date
Petr Lautrbach 135d05dda4 Use shared repository for tests
https://fedoraproject.org/wiki/CI/Share_Test_Code
2018-02-23 12:52:39 +01:00
rasibley f728f33d1f swap out mktemp with coreutils in yaml file, otherwise requirement will fail to intall 2018-02-23 12:52:39 +01:00
Bruno Goncalves 3e384c0d32 Add CI tests using the standard test interface
The following steps are used to execute the tests using the standard test interface:

Docker

    sudo ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory) TEST_SUBJECTS=docker:docker.io/library/fedora:26 TEST_ARTIFACTS=$PWD/artifacts ansible-playbook --tags container tests.yml

Classic

    sudo ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory) TEST_SUBJECTS="" TEST_ARTIFACTS=$PWD/artifacts ansible-playbook --tags classic tests.yml

https://src.fedoraproject.org/rpms/checkpolicy/pull-request/1
2018-02-23 12:52:39 +01:00
Petr Lautrbach 551ea9a111 checkpolicy-2.7-2.fc27
- Rebuild with libsepol-2.7-2 and libselinux-2.7-3
2017-12-14 10:43:13 +01:00
Petr Lautrbach 980d2c8c0c checkpolicy-2.7-1
- Update to upstream release 2017-08-04
2017-08-07 17:17:57 +02:00
Fedora Release Engineering 0d6e0220ec - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 18:44:54 +00:00
Fedora Release Engineering 3484761cd7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 04:44:26 +00:00
Petr Lautrbach 269e7db87e checkpolicy-2.6-1
- Update to upstream release 2016-10-14
2017-02-20 12:36:39 +01:00
Fedora Release Engineering 7671da68a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 07:26:44 +00:00
Petr Lautrbach d70b2042c6 checkpolicy-2.5-8
- Add types associated to a role in the current scope when parsing
2016-10-04 09:17:25 +02:00
Petr Lautrbach eca1d03c02 checkpolicy-2.5-7
- Extend checkpolicy pathname matching
- Rebuilt with libsepol-2.5-9
2016-08-01 13:07:40 +02:00
Petr Lautrbach 39233d7a38 checkpolicy-2.5-6
- Fix typos in sedispol
2016-06-27 13:52:45 +02:00
Petr Lautrbach a1e6032110 checkpolicy-2.5-5
- Set flex as default lexer
- Fix checkmodule output message
2016-06-23 13:55:16 +02:00
Petr Lautrbach eedb877c67 checkpolicy-2.5-4
- Rebuilt with libsepol-2.5-6
2016-05-11 10:58:05 +02:00
Petr Lautrbach 43d653f220 checkpolicy-2.5-3
- Build policy on systems not supporting DCCP protocol
- Fail if module name different than output base filename
2016-04-29 19:08:43 +02:00
Petr Lautrbach 65b44362fe checkpolicy-2.5-2
- Add support for portcon dccp protocol
2016-04-08 21:02:57 +02:00
Petr Lautrbach ce5393bbac checkpolicy-2.5-1
- Update to upstream release 2016-02-23
2016-02-23 22:47:35 +01:00
Petr Lautrbach cfa584572b checkpolicy-2.5-0.1.rc1
Update to upstream rc1 release 2016-01-07
2016-02-21 13:42:03 +01:00
Dennis Gilmore 3ba2a7069f - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 17:36:25 +00:00
Petr Lautrbach 13e82f6134 We need to conflict with selinux-policy-base
Conflict with selinux-policy causes deadlocks in buildroots when
there's no selinux-policy available. selinux-policy-base is provided by
targeted, mls and minimum subpackages which are not installed to
buildroots.
2015-07-21 10:56:22 +02:00
Petr Lautrbach 695b18effb Drop unused checkpolicy-rhat.patch 2015-07-20 18:57:45 +02:00
Petr Lautrbach 76fb2b6d10 Update to 2.4 release 2015-07-20 18:53:21 +02:00
Dennis Gilmore 58f0113c23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 02:34:29 +00:00
Peter Robinson 437291d3d3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 00:01:56 +00:00
Tom Callaway ca57820539 fix license handling 2014-07-11 16:30:32 -04:00
Dennis Gilmore dd6f1ef617 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 23:34:12 -05:00
Dan Walsh 946ad38fd1 Update to upstream
* Add Android support for building dispol.
	* Report source file and line information for neverallow failures.
	* Prevent incompatible option combinations for checkmodule.
	* Drop -lselinux from LDLIBS for test programs; not used.
	* Add debug feature to display constraints/validatetrans from Richard Haines.
2014-05-06 14:20:14 -04:00
Dan Walsh 60787b1d18 Update to upstream
* Fix hyphen usage in man pages from Laurent Bigonville.
	* handle-unknown / -U required argument fix from Laurent Bigonville.
	* Support overriding Makefile PATH and LIBDIR from Laurent Bigonville.
	* Support space and : in filenames from Dan Walsh.
2013-10-31 09:23:42 -04:00
Dan Walsh eddfbe52c6 UPdate to upstream 2013-10-31 09:21:49 -04:00
Dan Walsh 6161a26457 UPdate to upstream 2013-10-31 09:21:25 -04:00
Dennis Gilmore d2e9a9d648 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-02 23:45:36 -05:00
Dan Walsh 4ca411361a Fix a segmentation fault if the --handle-unknown option was set without
arguments.
- Thanks to Alexandre Rebert and his team at Carnegie Mellon University
for detecting this crash.
2013-07-16 12:36:38 -04:00
Dan Walsh b640f10250 ":" should be allowed for file trans names 2013-07-16 12:35:19 -04:00
Dan Walsh 9e5a835ab1 ":" should be allowed for file trans names 2013-03-19 19:41:27 -04:00
Dan Walsh 6bfe32f6aa ":" should be allowed for file trans names 2013-03-19 10:48:10 -04:00
Dan Walsh 7a5e44fa80 Space should be allowed for file trans names 2013-03-12 08:43:39 -04:00
Dan Walsh 02cf4abf2d Update to upstream
* Fix errors found by coverity
        * implement default type policy syntax
        * Free allocated memory when clean up / exit.
2013-02-07 13:40:56 -05:00
Dan Walsh 889f900222 Update to latest patches from eparis/Upstream
-   checkpolicy: libsepol: implement default type policy syntax
-
-   We currently have a mechanism in which the default user, role, and range
-   can be picked up from the source or the target object.  This implements
-   the same thing for types.  The kernel will override this with type
-   transition rules and similar.  This is just the default if nothing
-   specific is given.
2013-01-05 11:08:17 -05:00
Dan Walsh 13d5e7a515 Update to latest patches from eparis/Upstream
-   checkpolicy: libsepol: implement default type policy syntax
-
-   We currently have a mechanism in which the default user, role, and range
-   can be picked up from the source or the target object.  This implements
-   the same thing for types.  The kernel will override this with type
-   transition rules and similar.  This is just the default if nothing
-   specific is given.
2013-01-05 11:02:10 -05:00
Dan Walsh c662668dab Rebuild with fixed libsepol 2013-01-05 07:09:43 -05:00
rhatdan aa082595d2 Rebuild with fixed libsepol 2012-09-25 15:42:44 -04:00
rhatdan 1057df92ca Update to upstream
* fd leak reading policy
	* check return code on ebitmap_set_bit
2012-09-13 13:29:17 -04:00
Dan Walsh 1796244eeb Rebuild to grab latest libsepol 2012-07-30 11:21:22 -04:00
Dan Walsh 04deb1acb8 Rebuild to grab latest libsepol 2012-07-24 14:04:15 -04:00
Dennis Gilmore c25bf4dc69 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 13:53:20 -05:00
Dan Walsh f5401fa228 Update to upstream
* sepolgen: We need to support files that have a + in them
	* Android/MacOS X build support
2012-07-04 07:24:23 -04:00
Dan Walsh fbd2801c70 Rebuild to get latest libsepol which fixes the file_name transition problems 2012-04-23 21:10:43 -04:00
Dan Walsh c856d94691 Recompile with libsepol that has support for ptrace_child 2012-04-17 17:06:35 -04:00
Dan Walsh 1ef68435f0 Allow checkpolicy to use + in a file name 2012-04-03 18:51:45 -04:00
Dan Walsh 9f8377e4c3 Update to upstream
* implement new default labeling behaviors for usr, role, range
	* Fix dead links to www.nsa.gov/selinux
2012-03-29 15:28:08 -04:00