summaryrefslogtreecommitdiff
path: root/app-admin/selint
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/selint')
-rw-r--r--app-admin/selint/Manifest2
-rw-r--r--app-admin/selint/selint-1.2.0.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/app-admin/selint/Manifest b/app-admin/selint/Manifest
index fd42b059f330..d3c3a13fa00f 100644
--- a/app-admin/selint/Manifest
+++ b/app-admin/selint/Manifest
@@ -1,4 +1,6 @@
DIST selint-1.1.0.tar.gz 283926 BLAKE2B 0908f8830ce4b569c54e8c025dd92c39af59172fee0b8061f5b8cdaf61222979a78c3726a5647af9161ce7e4a7ddd5bee64772afecd2024368afa76294b3d317 SHA512 3af358e0f42a285a0360ce2b4db9014ef1e4f0b792623007f88cf510799080975d9e44817e8911bbd32b141704a7fd11e1b4d8f91e124d0fa91c38f71a978c91
+DIST selint-1.2.0.tar.gz 306527 BLAKE2B 842d796d3beea327ac937b977123a9248f317f0ab88e8187ff5ef7b7da2efd9b6c4bccda2dc1fd4661691904f90f346df0120f9398733e62942e70bef5c3c5ab SHA512 e289cb0a25454b1fd5f5435e11f3d956e6c545bbbbe79b7a47d40681746d8eb66bb78bdb541f2629a4f23435853568a8e52d10e6f8dde8e8ddb03f4493ea7504
EBUILD selint-1.1.0.ebuild 775 BLAKE2B 7c358a6a1d05bf970dca2f2bcc0bfb0d7e81afcf280c639a21cc6e09deb524121f09e01e546ebfa4ce83b6304e717d7dc768b00d3ad24e452a8263a4b5b1f8c6 SHA512 c1e72456363af31d31e8513afafde25dbfb8d75c870a57901c5199e73e6764f56aede0ab65461e8cb6fd0d92c2a762bcaa8865245f9958cded22567e2a958398
+EBUILD selint-1.2.0.ebuild 798 BLAKE2B 270d5d392ea0fee58efddaff5c696cbff1dd100a3d95dca3ab544818314bdcb5558be02afd338f48e3d16b45e2e0b3c57d71906bfccabb67e411c9a3d5e5b0cb SHA512 2cd9154b6a16254a08b31346d0963b74e85e3fe224c1c0268bb951f4a03b84f85e7ef83936231977b01271ca1e2d9b0eed1c84f2c78aaeb5fd0f6ef82d14dba8
EBUILD selint-9999.ebuild 777 BLAKE2B 01aefb1c3a19bee5325c75b318000d99f159bf23edc1e399c769c3eda57c7361a6ac87e3837ae79573f588450710b72183ad1b51158817b068a4852eaac7420b SHA512 495108a5bd26315c85f092b0880e3703b1207e45770a59a0cbdeaa68d3c8fbdffd508b229776587d71d4841721c75af919967fa02e27df9af82a87ede9784cbb
MISC metadata.xml 335 BLAKE2B ab88b7d7fedc27d0ba41b77fc133a0ad8b42aa295bb5b64c5bb4924d8081cb1ac3480b07d7c8a04ff8da1c49f47983e33a63cef3de08baac4cb448d656ec6cb9 SHA512 e94ae02402e90d9475fd328454223fa95714c3292877a9cc31e98c393f59dde7ddd9be34afe8b2f2d318105794ca3faa7617166d123259d147115619b14d7d12
diff --git a/app-admin/selint/selint-1.2.0.ebuild b/app-admin/selint/selint-1.2.0.ebuild
new file mode 100644
index 000000000000..a0e18d3a3fef
--- /dev/null
+++ b/app-admin/selint/selint-1.2.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Static code analysis of refpolicy style SELinux policy"
+HOMEPAGE="https://github.com/TresysTechnology/selint/wiki"
+
+if [[ ${PV} == 9999 ]] ; then
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://github.com/TresysTechnology/selint.git"
+else
+ SRC_URI="https://github.com/TresysTechnology/selint/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/confuse:=
+ dev-libs/uthash"
+
+DEPEND="${RDEPEND}
+ test? ( dev-libs/check )"
+
+src_prepare() {
+ [[ ${PV} == 9999 ]] && eautoreconf
+
+ eapply_user
+}
+
+src_configure() {
+ econf $(use_with test check)
+}