public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap/
Date: Mon, 15 Mar 2021 08:18:30 +0000 (UTC)	[thread overview]
Message-ID: <1615796303.f08afbe6ccf906595ec2a5ecd6deb04e3b3c21a7.polynomial-c@gentoo> (raw)

commit:     f08afbe6ccf906595ec2a5ecd6deb04e3b3c21a7
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 15 08:16:53 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar 15 08:18:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f08afbe6

sys-libs/libcap: Bump to version 2.49

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-libs/libcap/Manifest           |  1 +
 sys-libs/libcap/libcap-2.49.ebuild | 89 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/sys-libs/libcap/Manifest b/sys-libs/libcap/Manifest
index 5a6d116de4a..880bcd2ffea 100644
--- a/sys-libs/libcap/Manifest
+++ b/sys-libs/libcap/Manifest
@@ -1,3 +1,4 @@
 DIST libcap-2.43.tar.xz 125284 BLAKE2B bde36f8397f4adb74760eb403daa06bee1b8f45ddc253cc3c3ef1f6e95d0e4c76d0f2e6fa3335a8bc451f18ac7128c96230f6aba9ae0320fa4f9d669e7b4f715 SHA512 817add571fb2c54ad2a39974e6545b8fc8d855ecdcf2e00b2cc10e583802c49dfea2d8bca484c89ecd574fdacfc46565b51e3064a4407cf1985defb913240d45
 DIST libcap-2.47.tar.xz 131960 BLAKE2B 745bd3ba9819a1582880dff81d94ccf198fcf3f89d776ac0ce3055535e5370a0be57c5efdf7287f99ed50189af14ee46e90805d0a324f92d394211ffc6d7002d SHA512 cfa4aaa82b7dbb76e38cd207401603582343b14eb91d6df23e0ea6698d0ec0ab2b368fe0d08208a014a1b1a68d11316ecefa45c27983f9ad95e7b8184351fad8
 DIST libcap-2.48.tar.xz 132280 BLAKE2B 43ab75b73a5297ec24467fae82378f8c7aba5356afcebfb32a695d664a4b5268526fd90a009596c0f516a626d8f4523a9b49ec3225b6a886da32e62eb5b55ea5 SHA512 3cb1e2b026c0f60d6f225c7255944d45023e59fd065b8f832739fc90d33b3347981675de12dd705c4ecbd647a494a17daf39e1d92599bcd1a83306886edadba1
+DIST libcap-2.49.tar.xz 139568 BLAKE2B 5746dcdf2a737e747450bd50a701ee8543277b17b7fbf1304b79f707a088ea74dc6dc79c61ff89b55b718a460a7b0814f960f44d07944a97b832b78f4e14e07f SHA512 2934a2ded1370edeb9603dbf43d8ca23a2eb5d67efc5cec5d4ba96c707a8db2702da8aa9be0cb86c5ff100d37ec96115c7777a7566ad0ab2e0b4a288bbe357d0

diff --git a/sys-libs/libcap/libcap-2.49.ebuild b/sys-libs/libcap/libcap-2.49.ebuild
new file mode 100644
index 00000000000..72541ceffde
--- /dev/null
+++ b/sys-libs/libcap/libcap-2.49.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib multilib-minimal toolchain-funcs pam usr-ldscript
+
+DESCRIPTION="POSIX 1003.1e capabilities"
+HOMEPAGE="https://sites.google.com/site/fullycapable/"
+SRC_URI="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${P}.tar.xz"
+
+# it's available under either of the licenses
+LICENSE="|| ( GPL-2 BSD )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="pam static-libs"
+
+# While the build system optionally uses gperf, we don't DEPEND on it because
+# the build automatically falls back when it's unavailable.  #604802
+RDEPEND=">=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}]"
+PDEPEND="pam? ( sys-libs/pam[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+	${PDEPEND}
+	sys-kernel/linux-headers"
+
+# Requires test suite being run as root (via sudo)
+RESTRICT="test"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.48-build-system-fixes.patch
+	"${FILESDIR}"/${PN}-2.38-no_perl.patch
+	"${FILESDIR}"/${PN}-2.25-ignore-RAISE_SETFCAP-install-failures.patch
+	"${FILESDIR}"/${PN}-2.21-include.patch
+)
+
+src_prepare() {
+	default
+	multilib_copy_sources
+}
+
+run_emake() {
+	local args=(
+		exec_prefix="${EPREFIX}"
+		lib_prefix="${EPREFIX}/usr"
+		lib="$(get_libdir)"
+		prefix="${EPREFIX}/usr"
+		PAM_CAP="$(usex pam yes no)"
+		DYNAMIC=yes
+		GOLANG=no
+		CC="$(tc-getCC)"
+		AR="$(tc-getAR)"
+		RANLIB="$(tc-getRANLIB)"
+	)
+	emake "${args[@]}" "$@"
+}
+
+src_configure() {
+	tc-export AR CC RANLIB
+	tc-export_build_env BUILD_CC
+	multilib-minimal_src_configure
+}
+
+multilib_src_compile() {
+	run_emake
+}
+
+multilib_src_install() {
+	# no configure, needs explicit install line #444724#c3
+	run_emake DESTDIR="${D}" install
+
+	gen_usr_ldscript -a cap
+	gen_usr_ldscript -a psx
+	if ! use static-libs ; then
+		rm "${ED}"/usr/$(get_libdir)/lib{cap,psx}.a || die
+	fi
+
+	if [[ -d "${ED}"/usr/$(get_libdir)/security ]] ; then
+		rm -r "${ED}"/usr/$(get_libdir)/security || die
+	fi
+
+	if use pam ; then
+		dopammod pam_cap/pam_cap.so
+		dopamsecurity '' pam_cap/capability.conf
+	fi
+}
+
+multilib_src_install_all() {
+	dodoc CHANGELOG README doc/capability.notes
+}


             reply	other threads:[~2021-03-15  8:18 UTC|newest]

Thread overview: 183+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15  8:18 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-29  2:48 [gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap/ Sam James
2024-10-29  2:45 Sam James
2024-06-25  6:43 Sam James
2024-06-25  6:43 Sam James
2024-06-25  6:43 Sam James
2024-06-25  4:41 Sam James
2024-06-25  4:41 Sam James
2024-06-25  4:10 Sam James
2024-06-25  4:07 Sam James
2024-05-20  8:11 Sam James
2024-04-28 23:39 Sam James
2024-03-19  3:42 Ionen Wolkens
2024-03-03 23:02 Sam James
2024-03-02 22:50 Sam James
2024-03-02 22:50 Sam James
2024-02-27 23:39 Jakov Smolić
2024-02-27 23:39 Jakov Smolić
2024-02-27 23:21 Sam James
2024-02-27 23:04 Sam James
2024-02-20  5:14 Sam James
2024-02-06 22:44 Sam James
2023-12-28  4:15 Sam James
2023-05-27 15:55 Sam James
2023-05-27 11:15 Arthur Zamarin
2023-05-23 10:49 Arthur Zamarin
2023-05-23 10:49 Arthur Zamarin
2023-05-23 10:49 Arthur Zamarin
2023-05-23 10:49 Arthur Zamarin
2023-05-23 10:39 Arthur Zamarin
2023-05-15 19:04 David Seifert
2023-05-15 19:04 David Seifert
2023-05-09 13:27 Arthur Zamarin
2023-05-09 13:07 Sam James
2023-05-09 11:43 Arthur Zamarin
2023-05-09 11:43 Arthur Zamarin
2023-05-09 11:35 Arthur Zamarin
2023-05-09 10:41 Jakov Smolić
2023-05-09 10:41 Jakov Smolić
2023-05-09 10:41 Jakov Smolić
2023-05-09  8:42 David Seifert
2023-03-29  2:27 Sam James
2023-02-03 12:20 Sam James
2022-11-28 11:41 David Seifert
2022-11-04  8:16 Agostino Sarubbo
2022-11-03 19:13 Sam James
2022-11-03 19:08 Arthur Zamarin
2022-11-03 17:24 Arthur Zamarin
2022-11-03 17:24 Arthur Zamarin
2022-11-03 17:24 Arthur Zamarin
2022-11-03 17:24 Arthur Zamarin
2022-11-03 17:24 Arthur Zamarin
2022-09-29  1:49 Sam James
2022-09-23  2:09 Sam James
2022-09-16 18:50 Arthur Zamarin
2022-09-15 16:57 Arthur Zamarin
2022-09-14 19:34 Arthur Zamarin
2022-09-07  1:53 Sam James
2022-09-07  1:50 Sam James
2022-09-07  1:50 Sam James
2022-09-06 21:41 Sam James
2022-09-06 21:35 Sam James
2022-07-20  0:05 Sam James
2022-06-13 13:02 David Seifert
2022-05-22  8:13 Jakov Smolić
2022-05-22  6:22 Agostino Sarubbo
2022-05-22  6:19 Agostino Sarubbo
2022-05-22  6:17 Agostino Sarubbo
2022-05-22  3:21 Sam James
2022-05-22  3:20 Sam James
2022-05-22  3:18 Sam James
2022-05-22  3:18 Sam James
2022-05-08  2:12 WANG Xuerui
2022-04-13  6:52 Sam James
2022-04-13  6:52 Sam James
2022-03-12 20:07 Arthur Zamarin
2022-03-12 13:17 Arthur Zamarin
2022-03-12 12:17 Arthur Zamarin
2022-03-11  8:38 Agostino Sarubbo
2022-03-11  8:37 Agostino Sarubbo
2022-03-11  8:37 Agostino Sarubbo
2022-03-10 10:30 Jakov Smolić
2022-03-10 10:30 Jakov Smolić
2022-01-29 16:52 David Seifert
2021-12-30 21:10 Arthur Zamarin
2021-12-30 20:52 Arthur Zamarin
2021-12-30 20:52 Arthur Zamarin
2021-12-30 20:51 Arthur Zamarin
2021-12-30 20:51 Arthur Zamarin
2021-12-30 20:48 Arthur Zamarin
2021-12-30 20:47 Arthur Zamarin
2021-12-30 20:47 Arthur Zamarin
2021-12-05 16:19 David Seifert
2021-12-05 16:19 David Seifert
2021-11-20 23:30 Sam James
2021-11-20  8:32 Sam James
2021-10-24 22:09 David Seifert
2021-09-28  2:50 Sam James
2021-09-19  8:35 Sam James
2021-09-19  8:34 Sam James
2021-08-31 18:01 Sam James
2021-08-17  4:01 Sam James
2021-08-03 12:04 Lars Wendler
2021-06-21 20:17 Lars Wendler
2021-05-26 18:28 Sergei Trofimovich
2021-05-26  8:11 Sam James
2021-05-26  8:04 Sam James
2021-05-25 11:06 Sam James
2021-05-24 13:05 Agostino Sarubbo
2021-05-24  0:12 Sam James
2021-05-24  0:12 Sam James
2021-05-23 23:07 Thomas Deutschmann
2021-03-15  8:18 Lars Wendler
2021-02-05 10:59 Lars Wendler
2021-01-25  8:37 Lars Wendler
2021-01-25  8:37 Lars Wendler
2020-12-13 14:06 Lars Wendler
2020-09-04 19:49 Sam James
2020-09-04 10:31 Sergei Trofimovich
2020-09-04  0:21 Sam James
2020-09-03 23:57 Sam James
2020-09-03 14:29 Thomas Deutschmann
2020-09-02 22:47 Sam James
2020-08-17 15:07 Thomas Deutschmann
2020-08-02 17:14 Lars Wendler
2020-07-25 21:17 Lars Wendler
2020-07-25 21:17 Lars Wendler
2020-07-20 13:50 Lars Wendler
2020-07-04 21:45 Lars Wendler
2020-06-04 17:45 Lars Wendler
2020-05-18 17:47 Mike Gilbert
2020-05-17 18:12 Mike Gilbert
2020-03-04 10:04 Lars Wendler
2020-02-17 10:12 Lars Wendler
2020-02-17 10:12 Lars Wendler
2020-01-17 14:58 Lars Wendler
2020-01-08  9:23 Lars Wendler
2020-01-08  9:23 Lars Wendler
2019-12-29 16:38 Lars Wendler
2019-10-12 18:39 Mikle Kolyada
2019-10-05 18:56 Michał Górny
2019-05-04 18:45 Mikle Kolyada
2019-05-03 13:52 Mikle Kolyada
2019-05-03 13:52 Mikle Kolyada
2019-05-03 13:52 Mikle Kolyada
2019-04-28 20:27 Mikle Kolyada
2019-04-27 15:48 Sergei Trofimovich
2019-04-26 20:35 Sergei Trofimovich
2019-04-20 18:47 Mikle Kolyada
2019-04-18 20:37 Mikle Kolyada
2019-04-18 20:32 Thomas Deutschmann
2019-04-18 20:28 Sergei Trofimovich
2019-04-17 18:51 Aaron Bauman
2019-04-17 13:35 Lars Wendler
2019-04-17 13:35 Lars Wendler
2018-11-26 16:44 Lars Wendler
2018-11-23  8:34 Lars Wendler
2018-11-21 11:35 Mike Gilbert
2018-11-21 11:27 Mike Gilbert
2018-09-15 19:45 Mikle Kolyada
2018-09-15 19:43 Mikle Kolyada
2018-09-07 23:46 Sergei Trofimovich
2018-08-18 22:36 Sergei Trofimovich
2018-07-21  9:47 Tobias Klausmann
2018-07-11  6:25 Sergei Trofimovich
2018-07-11  5:05 Markus Meier
2018-07-09 19:10 Mikle Kolyada
2018-07-07 18:05 Sergei Trofimovich
2018-07-07  9:02 Sergei Trofimovich
2018-07-05 11:52 Agostino Sarubbo
2018-07-05 11:51 Agostino Sarubbo
2018-07-04 20:25 Lars Wendler
2018-07-04  6:24 Mart Raudsepp
2018-01-02  2:04 Mike Gilbert
2017-01-29 20:14 Fabian Groffen
2016-03-30 23:48 Mike Frysinger
2016-02-29  8:46 Stephen Klimaszewski
2015-09-21 11:27 Agostino Sarubbo
2015-09-07  5:34 Jeroen Roovers
2015-09-06 13:25 Agostino Sarubbo
2015-09-06  7:45 Markus Meier
2015-09-06  5:27 Jeroen Roovers
2015-09-05 17:05 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1615796303.f08afbe6ccf906595ec2a5ecd6deb04e3b3c21a7.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox