summaryrefslogtreecommitdiff
path: root/sys-apps/tomoyo-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-11-13 13:10:00 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-11-13 13:10:00 +0000
commite9d044d4b9b71200a96adfa280848858c0f468c9 (patch)
tree1bd8ef816043a8cd340f1d774e79553a1a7d31d8 /sys-apps/tomoyo-tools
parentfc2f1018fc323ef2c6572734a9b130427cba76a6 (diff)
gentoo resync : 13.11.2021
Diffstat (limited to 'sys-apps/tomoyo-tools')
-rw-r--r--sys-apps/tomoyo-tools/Manifest2
-rw-r--r--sys-apps/tomoyo-tools/tomoyo-tools-2.5.0_p20130214-r1.ebuild26
2 files changed, 15 insertions, 13 deletions
diff --git a/sys-apps/tomoyo-tools/Manifest b/sys-apps/tomoyo-tools/Manifest
index f133da5addd0..5a0a30566f89 100644
--- a/sys-apps/tomoyo-tools/Manifest
+++ b/sys-apps/tomoyo-tools/Manifest
@@ -1,4 +1,4 @@
AUX tomoyo-tools-2.5.0_p20130214-warnings.patch 814 BLAKE2B 10a9966f726a47058388773500bc06bc6cebbdcf90eaaca5ecf8b2c1159618843645e55663892a5897c6741794b49cacf823a1fcee5e0e67e9a5c7e27ec3b892 SHA512 947caa5ce7f2c80e7e0b40042b09568c4fed731b530cf70c1fa24fa0f1a382dd41443f3db82a6aa6444c0ebcd25fd7de657c0f1990d69579e4645f3efa561e10
DIST tomoyo-tools-2.5.0-20130214.tar.gz 210892 BLAKE2B fc9435c5b4c97a58d6e3b00cfa5b82e08732c0f6804a819e99872fbcf64e3e831f33766c23e0ab7d8767e0c806d8e2f7c18280ebedb198684c386e8c7c8bb637 SHA512 1ba6f6b3a3d4e644e6ee742beb64b09c6d527f130b1fe6d09a2e19760ced26f540ac8cc1e6f83fddacc3ef8844c3c23425191e4e0098c8b72b5ba3086adc9dc4
-EBUILD tomoyo-tools-2.5.0_p20130214-r1.ebuild 1421 BLAKE2B f35b37191eeaff92ab865a647f44e49167bd8121502064b2eff8817f3a29efaf8048b1ae46d47f878739593935f09f8e3cb8bc8d469e6e10c19bbdcdf4985f91 SHA512 cf0a6282f88b3a15689feb231555e417dcaa0e0e199ee91c4992f5ada4b12a9646562779bf20b5b5ca95e5d0b3f665c5d6d8d52fe7e475bce12cead9b75a3c12
+EBUILD tomoyo-tools-2.5.0_p20130214-r1.ebuild 1374 BLAKE2B ac08fe95a322b0108ab270b7338e51fdc9758e0fe37fc57436f2f5c83f771378563cadc40d916bd6ebcf104cc17f1f70569759b8d443a9007284b6b5a0d47e39 SHA512 a97f68573f73256eb10f5749832c1c8888a176669cde4cb8c1d9d7b06403df74ec5aa0cf8d4fb3831dc3e85e965af9728a52ee76ff0dad508f4f2087a14ba8e7
MISC metadata.xml 296 BLAKE2B 73fba5aacaabc3b7fdd5815352cfff6ea1fd2a39f28b0ea29392148893dcfd681a38296a9ee146048d54879e2e84919001bfb62468dde8c7b5db651b4b44ae0a SHA512 f277a3cc3482960a897d170d9669e39e415e50c3ad20437e139ebb04626de0735d9cca513ed6f48ccda2eed810cfb7fc0a3cde829fd2ee1a2ba6573c9ab8c945
diff --git a/sys-apps/tomoyo-tools/tomoyo-tools-2.5.0_p20130214-r1.ebuild b/sys-apps/tomoyo-tools/tomoyo-tools-2.5.0_p20130214-r1.ebuild
index e8e373515d05..025594e4dd37 100644
--- a/sys-apps/tomoyo-tools/tomoyo-tools-2.5.0_p20130214-r1.ebuild
+++ b/sys-apps/tomoyo-tools/tomoyo-tools-2.5.0_p20130214-r1.ebuild
@@ -1,29 +1,31 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
-inherit epatch multilib toolchain-funcs
+inherit toolchain-funcs
MY_P="${P/_p/-}"
DESCRIPTION="TOMOYO Linux tools"
HOMEPAGE="http://tomoyo.sourceforge.jp/"
SRC_URI="mirror://sourceforge.jp/tomoyo/53357/${MY_P}.tar.gz"
+S="${WORKDIR}/${PN}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-COMMON_DEPEND="sys-libs/ncurses:="
-DEPEND="${COMMON_DEPEND}
- virtual/pkgconfig"
-RDEPEND="${COMMON_DEPEND}
+DEPEND="sys-libs/ncurses:="
+RDEPEND="${DEPEND}
!sys-apps/ccs-tools"
+BDEPEND="virtual/pkgconfig"
-S="${WORKDIR}/${PN}"
+PATCHES=(
+ "${FILESDIR}"/${P}-warnings.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/${P}-warnings.patch
+ default
# Fix libdir
sed -i \
@@ -35,8 +37,6 @@ src_prepare() {
-e 's|-lncurses|$(shell ${PKG_CONFIG} --libs ncurses)|g' \
usr_sbin/Makefile || die
- echo "CONFIG_PROTECT=\"/usr/$(get_libdir)/tomoyo/conf\"" > "${T}/50${PN}"
-
tc-export CC PKG_CONFIG
}
@@ -45,10 +45,12 @@ src_install() {
emake INSTALLDIR="${D}" install
- doenvd "${T}/50${PN}"
+ newenvd - 50${PN} <<- _EOF_
+ CONFIG_PROTECT=/usr/$(get_libdir)/tomoyo/conf
+ _EOF_
# Fix out-of-place readme and license
- rm "${D}"/usr/$(get_libdir)/tomoyo/{COPYING.tomoyo,README.tomoyo} || die
+ rm "${ED}"/usr/$(get_libdir)/tomoyo/{COPYING.tomoyo,README.tomoyo} || die
dodoc README.tomoyo
}