diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-30 08:00:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-30 08:00:51 +0100 |
commit | d5ee59790ee8298b8599b0aa0fa21a98b972a44d (patch) | |
tree | 2cc4393cdcfae28879cee110e5975f6e6b798f91 /sys-apps/mcstrans | |
parent | d855918b46ba8714cf1320fe63b55fd0ed1748a6 (diff) |
gentoo auto-resync : 30:06:2024 - 08:00:50
Diffstat (limited to 'sys-apps/mcstrans')
-rw-r--r-- | sys-apps/mcstrans/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/mcstrans/mcstrans-3.7.ebuild | 51 | ||||
-rw-r--r-- | sys-apps/mcstrans/mcstrans-9999.ebuild | 2 |
3 files changed, 55 insertions, 2 deletions
diff --git a/sys-apps/mcstrans/Manifest b/sys-apps/mcstrans/Manifest index acf1fe9516f4..bf4ccfcdf280 100644 --- a/sys-apps/mcstrans/Manifest +++ b/sys-apps/mcstrans/Manifest @@ -1,7 +1,9 @@ AUX mcstransd.init 656 BLAKE2B 782add77ee81b582151c35003c303b5e67b4ffc4e6f4af97ec51f20541863111de4298b7d6eb0911ded757cadc1ba4deefd500d8a6e335693191e2e65286a585 SHA512 8de0df316d8c926bd99515b4c6eb5bc9d51df3925d3dbad49fe0229193e82f008b09a7343c0d1c2cdc9dd35ad8fd7c82e29ba2bd6a7ab6cf882afe78985e9579 DIST mcstrans-3.5.tar.gz 45091 BLAKE2B c6604075a6b37d7bf10e2daee40d9f034a26c5d56b81973cbc3b39621bdf5e2cb1d5906e91942e09ff077a14facafcc2464995675d8df31930707033fac5db90 SHA512 f4d3b04750e197c6abd31f1642af4b53a4fe0e968952a7ade992909f903d7486c1e72733963453563fcbc9745273c8238f169f520550df1470e7f6e4d6e56665 DIST mcstrans-3.6.tar.gz 42199 BLAKE2B 0f1b4ed212994037b062c42887e2629ae7374e0cbbd79692588ce164440eafddc6d7ab15d58f6064d68781a5a8fd614c9cfa734c4dbe1d3fea1dbb0f8191ddc1 SHA512 2c01a70741675faa41e8a9243f3cf08b558e568d7ae343874ff9c269473ba2748d42e0b45871d82d6c9b01bf71547835d547683f1aa5a8cf626708c7c69569fc +DIST mcstrans-3.7.tar.gz 42501 BLAKE2B b1112a5098a6681ade55e9fada8b0e4629bda8ff4334242b570bc042113204374bd2ca72face7fd7bc0958981a3c39284fa953a02e0860c4101e966f77f7e49a SHA512 51483ce4fd0b0a4bcba0d52eb418aa56104732888782f32c27a855c167cdb267de22eeb414ad8c6b2e733620c3e59db39646136c97f7bcb8901ce12fed44583a EBUILD mcstrans-3.5.ebuild 1060 BLAKE2B 13380e1ed9b6aa3eb2176749619722da35e2654d54f79715f85389a0f8f3f4c9789001f1f4cba61d5509dd01c2ec8ad1307099f893e5b771efb21b5a97caf2dc SHA512 e7544d50c5448e3c03acc9fa38474dcd89ce28a309d26478436d9861a8add24890232fdd92f85e99bca3fa2aac4d4047fb73894db617e3e42204fc150dc74507 EBUILD mcstrans-3.6.ebuild 1052 BLAKE2B 260337989b710f112db1d705d214462cb4b9d9e4c3305555ca445ec0feae3f6322cb5dbc453617c00fdfd0848792ba07af8c9d0702dc1aac9c0e07152e30684d SHA512 c9f0f52efdd46ced4ecad6745f9fc03a093210698ef6b0c5b0a34809788be6867be3450320e312e3a19bf3d0e482cd3cb1040d11ba72c8443053a705e80bba0b -EBUILD mcstrans-9999.ebuild 1056 BLAKE2B 96c4afa9019306bbfb420cb34a626bf45129b90ed103f23df3c4cfea1bfce11c013c8da1fb35e6a55819c814038f5cf5c9d0559f9e94ed451b473be614bb21a6 SHA512 93c4833c33c9bbbfefe0f3c65dba768e10873ee8c18bcfeb3656c89802ac9dab9fb3f000d651364a2d19ea5e5563fc5114c761cebed9ea1d630fdc2c847dd42b +EBUILD mcstrans-3.7.ebuild 1056 BLAKE2B 05534d904f4eedc23d690c4dc6ae56417a89530a92ff07bf9c16aaf9bfefa1d693d27b32192d4ed36c239e34c7712afe1f5379c2091e4df8563ed3b7be2589fb SHA512 fe04ad3261391e3bb87595ebb02fad0c656f18cb9ec96e6708a554402ec8a88c5cda24efe96970720ed3b1916e7efb211249f37a31dbcf305bf3d7048ab4d97a +EBUILD mcstrans-9999.ebuild 1056 BLAKE2B 05534d904f4eedc23d690c4dc6ae56417a89530a92ff07bf9c16aaf9bfefa1d693d27b32192d4ed36c239e34c7712afe1f5379c2091e4df8563ed3b7be2589fb SHA512 fe04ad3261391e3bb87595ebb02fad0c656f18cb9ec96e6708a554402ec8a88c5cda24efe96970720ed3b1916e7efb211249f37a31dbcf305bf3d7048ab4d97a MISC metadata.xml 335 BLAKE2B 72e72bc2d0ca05bf3caafd68121e0d4616306368f355541c2944254262a3ac96a3a6b8e5503ad691c2b7bc18dc6856101c81c47de3a623efc34b23185d9d4e60 SHA512 43cef46780c81459cc75b2a09181e84698a11e81196fea4e962b8081e712de437c8af032349aeb4f1ebe84ccef9cab4978467304d05801317db7a71521cf0664 diff --git a/sys-apps/mcstrans/mcstrans-3.7.ebuild b/sys-apps/mcstrans/mcstrans-3.7.ebuild new file mode 100644 index 000000000000..184e15644712 --- /dev/null +++ b/sys-apps/mcstrans/mcstrans-3.7.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit toolchain-funcs + +MY_PV="${PV//_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="SELinux context translation to human readable names" +HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" + S="${WORKDIR}/${P}/${PN}" +else + SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="GPL-2" +SLOT="0" + +DEPEND=">=sys-libs/libsepol-${PV}:= + >=sys-libs/libselinux-${PV}:= + dev-libs/libpcre2:= + >=sys-libs/libcap-1.10-r10:=" + +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -i 's/-Werror//g' "${S}"/*/Makefile || die "Failed to remove Werror" +} + +src_compile() { + tc-export CC + default +} + +src_install() { + emake DESTDIR="${D}" install + + rm -rf "${D}/etc/rc.d" || die + + newinitd "${FILESDIR}/mcstransd.init" mcstransd +} diff --git a/sys-apps/mcstrans/mcstrans-9999.ebuild b/sys-apps/mcstrans/mcstrans-9999.ebuild index bbd7a4cc0378..184e15644712 100644 --- a/sys-apps/mcstrans/mcstrans-9999.ebuild +++ b/sys-apps/mcstrans/mcstrans-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI="8" inherit toolchain-funcs |