diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-02 00:07:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-02 00:07:23 +0100 |
commit | 6657c680376cedf378fcf328e5fa03ed3b41d580 (patch) | |
tree | 44ea8d174f647daca562b9bdcbcb527a85a77d0a /sys-libs | |
parent | 1551fe56fd6ba43a94509cffc61b6bf854b7ac9f (diff) |
gentoo auto-resync : 02:06:2024 - 00:07:23
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/Manifest.gz | bin | 14558 -> 14558 bytes | |||
-rw-r--r-- | sys-libs/libapparmor/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/libapparmor/libapparmor-3.1.4-r2.ebuild | 135 | ||||
-rw-r--r-- | sys-libs/libunwind/Manifest | 2 | ||||
-rw-r--r-- | sys-libs/libunwind/libunwind-1.8.1.ebuild | 2 |
5 files changed, 138 insertions, 2 deletions
diff --git a/sys-libs/Manifest.gz b/sys-libs/Manifest.gz Binary files differindex 443fac9841fe..f3e49614666a 100644 --- a/sys-libs/Manifest.gz +++ b/sys-libs/Manifest.gz diff --git a/sys-libs/libapparmor/Manifest b/sys-libs/libapparmor/Manifest index c03b4cf8139f..daa7fd62ee16 100644 --- a/sys-libs/libapparmor/Manifest +++ b/sys-libs/libapparmor/Manifest @@ -5,5 +5,6 @@ DIST apparmor-3.1.4.tar.gz 7965268 BLAKE2B a9be29a42bb96c1d2c69a6b7627d59aea023f EBUILD libapparmor-3.0.10.ebuild 2493 BLAKE2B f086b758e6814959620313f4cce51ef101a97c2fcdb2b719a2098f4aa20526578d6362c679e4eb2cd6fd11324b39baf02239ea4f5f925aed48f452729c47cef0 SHA512 0074760e257a650d5a787c3ce0e84ab6394b8a6df6d72a8dc4532637d70146e62a7517ab5cf62d41934d1b0d909d5cb98df519b4084c79385eca682267eee057 EBUILD libapparmor-3.0.8.ebuild 2493 BLAKE2B f086b758e6814959620313f4cce51ef101a97c2fcdb2b719a2098f4aa20526578d6362c679e4eb2cd6fd11324b39baf02239ea4f5f925aed48f452729c47cef0 SHA512 0074760e257a650d5a787c3ce0e84ab6394b8a6df6d72a8dc4532637d70146e62a7517ab5cf62d41934d1b0d909d5cb98df519b4084c79385eca682267eee057 EBUILD libapparmor-3.1.4-r1.ebuild 2616 BLAKE2B 8be4748d47797054facc098a124381dd52042726de55dbd5630bf67f51937576d220b9208852b3954871fd3dddfed8f44385dbb47768d12e658853003b53c148 SHA512 ed83ede6360c4b5891712015c6b669da4c1b2e286ff88cd7450c6a9ea0fb3b1bf7e2971012418518d9637eb8fe7d64b318cc7365283533895fbf1d99601122d0 +EBUILD libapparmor-3.1.4-r2.ebuild 2834 BLAKE2B 8e9429ea9c235415df2b0aa2d36ac8ab38f6c4b92974e9c1c0b99858ad8a20b70b32ab4498a646bdbce41156089b31799cfd1793e99ffc85355c1a3660e9a4f7 SHA512 5f7d284da4490e4092de75ff232903d9dab2dad7f74b14b0bd3903f41f99ccb3fd954994ea4e40f6510e0d314dbb1460542f78995bfa0a1c176c23d675282999 EBUILD libapparmor-3.1.4.ebuild 2516 BLAKE2B 7a85331baa909a088ae71b4aa58b224ddc5057a746468f248bbdf8e30de507dc8eabb8dacb55e6a0a097f517f1e379a365b8ebc11d75e293a97662bccded91cc SHA512 dffebc271500f562c9da6390f0f0cb3fa6ca485b9cf96b85e6e15aa68bad0dea9d3d4ddc9472043ba2dc903a669a5e88de974db723ea68824af7be26fbc63b6d MISC metadata.xml 385 BLAKE2B ccde2842a4d41ea42d85108380b91175a6b0e3f5d8f9d8b8257679e8ac1f6e52639d9356190dd9fcb4604644b0e676f62716406005f87b826d0cd8aa99d0cba0 SHA512 6961769b9fe81e8f4ccfd8ae8389208687b7da0fb356f95241cb8eeb3e5be3ea94e94278aa475107de4e8182675bff7fd95a18acbfeeb88d5d623eda5426839b diff --git a/sys-libs/libapparmor/libapparmor-3.1.4-r2.ebuild b/sys-libs/libapparmor/libapparmor-3.1.4-r2.ebuild new file mode 100644 index 000000000000..7d2c37473199 --- /dev/null +++ b/sys-libs/libapparmor/libapparmor-3.1.4-r2.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_OPTIONAL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +GENTOO_DEPEND_ON_PERL="no" + +inherit autotools distutils-r1 perl-functions + +MY_PV="$(ver_cut 1-2)" + +DESCRIPTION="Library to support AppArmor userspace utilities" +HOMEPAGE="https://gitlab.com/apparmor/apparmor/wikis/home" +SRC_URI="https://launchpad.net/apparmor/${MY_PV}/${PV}/+download/apparmor-${PV}.tar.gz" +S=${WORKDIR}/apparmor-${PV}/libraries/${PN} + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="doc +perl +python static-libs" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +# depends on the package already being installed +RESTRICT="test" + +RDEPEND=" + perl? ( dev-lang/perl:= ) + python? ( + ${PYTHON_DEPS} + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-build/autoconf-archive + sys-devel/bison + sys-devel/flex + doc? ( dev-lang/perl ) + perl? ( dev-lang/swig ) + python? ( + ${PYTHON_DEPS} + ${DISTUTILS_DEPS} + dev-lang/swig + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.1.4-clang-flto-partition.patch +) + +src_prepare() { + default + + use python && distutils-r1_src_prepare + + # We used to rm m4/ but led to this after eautoreconf: + # checking whether the libapparmor man pages should be generated... yes + # ./configure: 5065: PROG_PODCHECKER: not found + # ./configure: 5068: PROG_POD2MAN: not found + # checking whether python bindings are enabled... yes + eautoreconf +} + +src_configure() { + # Run configure through distutils-r1.eclass. Bug 764779 + if use python; then + distutils-r1_src_configure + else + python_configure_all + fi +} + +python_configure_all() { + # Fails with reflex/byacc, heavily relies on bisonisms + export LEX=flex + export YACC=yacc.bison + + local myeconfargs=( + $(use_enable static-libs static) + $(use_with perl) + $(use_with python) + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + emake -C src + emake -C include + use doc && emake -C doc + use perl && emake -C swig/perl + + if use python ; then + pushd swig/python > /dev/null + emake libapparmor_wrap.c + distutils-r1_src_compile + popd > /dev/null + fi +} + +src_install() { + emake DESTDIR="${D}" -C src install + emake DESTDIR="${D}" -C include install + use doc && emake DESTDIR="${D}" -C doc install + + if use perl ; then + emake DESTDIR="${D}" -C swig/perl install + perl_set_version + insinto "${VENDOR_ARCH}" + doins swig/perl/LibAppArmor.pm + + # bug 620886 + perl_delete_localpod + perl_fix_packlist + fi + + if use python ; then + pushd swig/python > /dev/null || die + distutils-r1_src_install + popd > /dev/null || die + fi + + dodoc AUTHORS ChangeLog NEWS README + + find "${D}" -name '*.la' -delete || die +} + +python_install() { + distutils-r1_python_install + + python_moduleinto LibAppArmor + python_domodule LibAppArmor.py +} diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest index 962d9d1a72bb..3a3e08a71676 100644 --- a/sys-libs/libunwind/Manifest +++ b/sys-libs/libunwind/Manifest @@ -4,6 +4,6 @@ DIST libunwind-1.7.2.tar.gz 912590 BLAKE2B 519570a02d06ce4a174ca226941e493499054 DIST libunwind-1.8.0-docs.tar.xz 29280 BLAKE2B 260c5011cf23422ec04449126259c9960b5549b94def8ffa3821ccc67809b5da06be22fb0b465fcee2f0ec89faebab71d2bf3316dc68315a27e0913856513b0a SHA512 6969c8426dc5d79a78a9dae366a9e7b6f1d9a7ce307357913d4f5b8867a540ab8225b5342ee0e06e77b832ef76336fba41dadf12effa5236a076e6bfe72ec548 DIST libunwind-1.8.1.tar.gz 958468 BLAKE2B 936e70f2428d8f6ada3b4d58b3c9e3a9738eb2f7aee1ad5fb4e44dbb7400186d1bd1ead86a698e53d199d5944b102f8380d08b48104a138021286a79fb006ec3 SHA512 aba7b578c1b8cbe78f05b64e154f3530525f8a34668b2a9f1ee6acb4b22c857befe34ad4e9e8cca99dbb66689d41bc72060a8f191bd8be232725d342809431b3 EBUILD libunwind-1.7.2.ebuild 3907 BLAKE2B 7ac6debae7c0d7142da8cfe5b1fce04b2743e0cb3bb31a96b0446ba688c8ef2b60e80060aeb6cced99edba7c4c055b4ca8dc03e64af3a096af6e422018eff6a2 SHA512 16b98d37dc8b3d512eaf37369441c2da3f558c63e3eba2e337797b5778d408ac6bcc9679c7df466697f813d348946ac9d9648d8012af17533b1dcf3bfb4162cb -EBUILD libunwind-1.8.1.ebuild 4061 BLAKE2B 2bcf5a50cbfe53e87dd10a7b089180bf7f4b3ef3b4bcd802f78dcaaf10061cc83d317eb34e25fce831764f4f968c4774e1431c36698fce2af31bab5bd1c6f2f0 SHA512 31fbd3f4586b4e84d7f881a739fd6e3d38ae87f89077c51eab8aedd671373c25efa3394ee93b6e2e80031bcd253c08166dac4632eebe58aa749373cd84ba857e +EBUILD libunwind-1.8.1.ebuild 4060 BLAKE2B 8a974a11d7869f002bf57b63b0f2d26f5a74fafe9554f151ab12066dbec26ec683bc67e6cdc0dbb5b327fd8ffd11a4cbaff42ba49ce321fdc295073237880c05 SHA512 f258b261af7514dafe50d76d13a45263dc676eb85b4075f9a556a848ddf5c49b5fddad76a47d7828d2235e94005703697fd568cda4b794197c9759bdbc05f49b EBUILD libunwind-9999.ebuild 4067 BLAKE2B 89793e40d956a7735713bb1d5a89558690c15502472971018b2ad4ab3ff36ed346581304e20d299abadc5f2f19f8d8249819ab51bf3d9bc796126199afc95e81 SHA512 c249e8f2f7d9605bda0109b76b0ad77cd10469731c3b7dcaca1e768afc890c6fa746bfe2a0e91243d8351fa179978b6b5f08a96870564cfdb5f370578638ab59 MISC metadata.xml 632 BLAKE2B 89e326bf82b001cbf4fc665315af12062c0afda7a4ebdc6da5b966b9f918e769a516767f6b054b9915ddfe397edc98c4a4f8e6c238d5accf122d3ceb76b92faa SHA512 3677c9c0a6ea3bc90dddf8501209601bdf0b4ea188ec164c39aa6e21ce2f6fa3ce5c672fe7e8ef0ad5c344debf26f8679bc0a126860eb2862832792de9f7d94b diff --git a/sys-libs/libunwind/libunwind-1.8.1.ebuild b/sys-libs/libunwind/libunwind-1.8.1.ebuild index b3faa2ce860a..612f39d121fc 100644 --- a/sys-libs/libunwind/libunwind-1.8.1.ebuild +++ b/sys-libs/libunwind/libunwind-1.8.1.ebuild @@ -31,7 +31,7 @@ else S="${WORKDIR}"/${P/_rc/-rc} if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 -sparc x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 -sparc x86 ~amd64-linux ~x86-linux" fi fi |