commit: 25af7bcd746298e45168d2bf3695230fa02683ca Author: Jonathan Davies <jpds <AT> protonmail <DOT> com> AuthorDate: Tue Jan 26 23:20:54 2021 +0000 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> CommitDate: Mon Feb 15 20:21:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25af7bcd
app-admin/selint: Version updated to 1.2.0. Closes: https://github.com/gentoo/gentoo/pull/19231 Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com> Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> app-admin/selint/Manifest | 1 + app-admin/selint/selint-1.2.0.ebuild | 39 ++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/app-admin/selint/Manifest b/app-admin/selint/Manifest index efeb4bfb72e..1bca72c5998 100644 --- a/app-admin/selint/Manifest +++ b/app-admin/selint/Manifest @@ -1 +1,2 @@ DIST selint-1.1.0.tar.gz 283926 BLAKE2B 0908f8830ce4b569c54e8c025dd92c39af59172fee0b8061f5b8cdaf61222979a78c3726a5647af9161ce7e4a7ddd5bee64772afecd2024368afa76294b3d317 SHA512 3af358e0f42a285a0360ce2b4db9014ef1e4f0b792623007f88cf510799080975d9e44817e8911bbd32b141704a7fd11e1b4d8f91e124d0fa91c38f71a978c91 +DIST selint-1.2.0.tar.gz 306527 BLAKE2B 842d796d3beea327ac937b977123a9248f317f0ab88e8187ff5ef7b7da2efd9b6c4bccda2dc1fd4661691904f90f346df0120f9398733e62942e70bef5c3c5ab SHA512 e289cb0a25454b1fd5f5435e11f3d956e6c545bbbbe79b7a47d40681746d8eb66bb78bdb541f2629a4f23435853568a8e52d10e6f8dde8e8ddb03f4493ea7504 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 00000000000..a0e18d3a3fe --- /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) +}