Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/selint/
Date: Mon, 12 Oct 2020 02:20:22
Message-Id: 1602469195.3875b472e5c7ae6459c9f86a743ee9c7ccc7504c.perfinion@gentoo
1 commit: 3875b472e5c7ae6459c9f86a743ee9c7ccc7504c
2 Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
3 AuthorDate: Fri Sep 18 14:18:50 2020 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 12 02:19:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3875b472
7
8 app-admin/selint: Added new package with version 1.1.0.
9
10 Closes: https://github.com/gentoo/gentoo/pull/17588
11 Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
12 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
13
14 app-admin/selint/Manifest | 1 +
15 app-admin/selint/metadata.xml | 11 ++++++++++
16 app-admin/selint/selint-1.1.0.ebuild | 39 ++++++++++++++++++++++++++++++++++++
17 app-admin/selint/selint-9999.ebuild | 39 ++++++++++++++++++++++++++++++++++++
18 4 files changed, 90 insertions(+)
19
20 diff --git a/app-admin/selint/Manifest b/app-admin/selint/Manifest
21 new file mode 100644
22 index 00000000000..efeb4bfb72e
23 --- /dev/null
24 +++ b/app-admin/selint/Manifest
25 @@ -0,0 +1 @@
26 +DIST selint-1.1.0.tar.gz 283926 BLAKE2B 0908f8830ce4b569c54e8c025dd92c39af59172fee0b8061f5b8cdaf61222979a78c3726a5647af9161ce7e4a7ddd5bee64772afecd2024368afa76294b3d317 SHA512 3af358e0f42a285a0360ce2b4db9014ef1e4f0b792623007f88cf510799080975d9e44817e8911bbd32b141704a7fd11e1b4d8f91e124d0fa91c38f71a978c91
27
28 diff --git a/app-admin/selint/metadata.xml b/app-admin/selint/metadata.xml
29 new file mode 100644
30 index 00000000000..80f8686d2a8
31 --- /dev/null
32 +++ b/app-admin/selint/metadata.xml
33 @@ -0,0 +1,11 @@
34 +<?xml version="1.0" encoding="UTF-8"?>
35 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
36 +<pkgmetadata>
37 + <maintainer type="project">
38 + <email>selinux@g.o</email>
39 + <name>SELinux Team</name>
40 + </maintainer>
41 + <upstream>
42 + <remote-id type="github">TresysTechnology/selint</remote-id>
43 + </upstream>
44 +</pkgmetadata>
45
46 diff --git a/app-admin/selint/selint-1.1.0.ebuild b/app-admin/selint/selint-1.1.0.ebuild
47 new file mode 100644
48 index 00000000000..f7904071225
49 --- /dev/null
50 +++ b/app-admin/selint/selint-1.1.0.ebuild
51 @@ -0,0 +1,39 @@
52 +# Copyright 1999-2020 Gentoo Authors
53 +# Distributed under the terms of the GNU General Public License v2
54 +
55 +EAPI="7"
56 +
57 +inherit toolchain-funcs
58 +
59 +DESCRIPTION="Policy Analysis Tools for SELinux"
60 +HOMEPAGE="https://github.com/TresysTechnology/selint/wiki"
61 +
62 +if [[ ${PV} == 9999 ]] ; then
63 + inherit autotools git-r3
64 + EGIT_REPO_URI="https://github.com/TresysTechnology/selint.git"
65 +else
66 + SRC_URI="https://github.com/TresysTechnology/selint/releases/download/v${PV}/${P}.tar.gz"
67 + KEYWORDS="~amd64 ~x86"
68 +fi
69 +
70 +LICENSE="Apache-2.0"
71 +SLOT="0"
72 +IUSE="test"
73 +RESTRICT="!test? ( test )"
74 +
75 +RDEPEND="
76 + dev-libs/confuse
77 + dev-libs/uthash"
78 +
79 +DEPEND="${RDEPEND}
80 + test? ( dev-libs/check )"
81 +
82 +src_prepare() {
83 + [[ ${PV} == 9999 ]] && eautoreconf
84 +
85 + eapply_user
86 +}
87 +
88 +src_configure() {
89 + econf $(use_with test check)
90 +}
91
92 diff --git a/app-admin/selint/selint-9999.ebuild b/app-admin/selint/selint-9999.ebuild
93 new file mode 100644
94 index 00000000000..f7904071225
95 --- /dev/null
96 +++ b/app-admin/selint/selint-9999.ebuild
97 @@ -0,0 +1,39 @@
98 +# Copyright 1999-2020 Gentoo Authors
99 +# Distributed under the terms of the GNU General Public License v2
100 +
101 +EAPI="7"
102 +
103 +inherit toolchain-funcs
104 +
105 +DESCRIPTION="Policy Analysis Tools for SELinux"
106 +HOMEPAGE="https://github.com/TresysTechnology/selint/wiki"
107 +
108 +if [[ ${PV} == 9999 ]] ; then
109 + inherit autotools git-r3
110 + EGIT_REPO_URI="https://github.com/TresysTechnology/selint.git"
111 +else
112 + SRC_URI="https://github.com/TresysTechnology/selint/releases/download/v${PV}/${P}.tar.gz"
113 + KEYWORDS="~amd64 ~x86"
114 +fi
115 +
116 +LICENSE="Apache-2.0"
117 +SLOT="0"
118 +IUSE="test"
119 +RESTRICT="!test? ( test )"
120 +
121 +RDEPEND="
122 + dev-libs/confuse
123 + dev-libs/uthash"
124 +
125 +DEPEND="${RDEPEND}
126 + test? ( dev-libs/check )"
127 +
128 +src_prepare() {
129 + [[ ${PV} == 9999 ]] && eautoreconf
130 +
131 + eapply_user
132 +}
133 +
134 +src_configure() {
135 + econf $(use_with test check)
136 +}