1 |
vapier 15/05/29 17:31:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libcap-2.24-r1.ebuild |
5 |
Log: |
6 |
Fix install of pkg-config files #550730 by Martin Jansa. |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
9 |
|
10 |
Revision Changes Path |
11 |
1.140 sys-libs/libcap/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcap/ChangeLog?rev=1.140&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcap/ChangeLog?rev=1.140&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcap/ChangeLog?r1=1.139&r2=1.140 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/libcap/ChangeLog,v |
20 |
retrieving revision 1.139 |
21 |
retrieving revision 1.140 |
22 |
diff -u -r1.139 -r1.140 |
23 |
--- ChangeLog 25 May 2015 02:35:12 -0000 1.139 |
24 |
+++ ChangeLog 29 May 2015 17:31:28 -0000 1.140 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-libs/libcap |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/ChangeLog,v 1.139 2015/05/25 02:35:12 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/ChangeLog,v 1.140 2015/05/29 17:31:28 vapier Exp $ |
30 |
+ |
31 |
+*libcap-2.24-r1 (29 May 2015) |
32 |
+ |
33 |
+ 29 May 2015; Mike Frysinger <vapier@g.o> +libcap-2.24-r1.ebuild: |
34 |
+ Fix install of pkg-config files #550730 by Martin Jansa. |
35 |
|
36 |
*libcap-2.24 (25 May 2015) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-libs/libcap/libcap-2.24-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcap/libcap-2.24-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcap/libcap-2.24-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: libcap-2.24-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-2.24-r1.ebuild,v 1.1 2015/05/29 17:31:28 vapier Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
inherit eutils multilib multilib-minimal toolchain-funcs pam |
55 |
|
56 |
DESCRIPTION="POSIX 1003.1e capabilities" |
57 |
HOMEPAGE="http://www.friedhoff.org/posixfilecaps.html" |
58 |
SRC_URI="mirror://kernel/linux/libs/security/linux-privs/libcap2/${P}.tar.xz" |
59 |
|
60 |
# it's available under either of the licenses |
61 |
LICENSE="|| ( GPL-2 BSD )" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux" |
64 |
IUSE="pam static-libs" |
65 |
|
66 |
RDEPEND=">=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] |
67 |
pam? ( virtual/pam )" |
68 |
DEPEND="${RDEPEND} |
69 |
sys-kernel/linux-headers" |
70 |
|
71 |
src_prepare() { |
72 |
epatch "${FILESDIR}"/${PN}-2.24-build-system-fixes.patch |
73 |
epatch "${FILESDIR}"/${PN}-2.22-no-perl.patch |
74 |
epatch "${FILESDIR}"/${PN}-2.20-ignore-RAISE_SETFCAP-install-failures.patch |
75 |
epatch "${FILESDIR}"/${PN}-2.21-include.patch |
76 |
|
77 |
multilib_copy_sources |
78 |
} |
79 |
|
80 |
multilib_src_configure() { |
81 |
local pam |
82 |
if multilib_is_native_abi && use pam; then |
83 |
pam=yes |
84 |
else |
85 |
pam=no |
86 |
fi |
87 |
|
88 |
sed -i \ |
89 |
-e "/^PAM_CAP/s:=.*:=${pam}:" \ |
90 |
-e '/^DYNAMIC/s:=.*:=yes:' \ |
91 |
-e '/^lib_prefix=/s:=.*:=$(prefix):' \ |
92 |
-e "/^lib=/s:=.*:=$(get_libdir):" \ |
93 |
Make.Rules |
94 |
} |
95 |
|
96 |
multilib_src_compile() { |
97 |
tc-export_build_env BUILD_CC |
98 |
tc-export AR CC RANLIB |
99 |
|
100 |
default |
101 |
} |
102 |
|
103 |
multilib_src_install() { |
104 |
# no configure, needs explicit install line #444724#c3 |
105 |
emake install DESTDIR="${ED}" |
106 |
|
107 |
multilib_is_native_abi && gen_usr_ldscript -a cap |
108 |
use static-libs || rm "${ED}"/usr/$(get_libdir)/libcap.a |
109 |
|
110 |
rm -rf "${ED}"/usr/$(get_libdir)/security |
111 |
if multilib_is_native_abi && use pam; then |
112 |
dopammod pam_cap/pam_cap.so |
113 |
dopamsecurity '' pam_cap/capability.conf |
114 |
fi |
115 |
} |
116 |
|
117 |
multilib_src_install_all() { |
118 |
dodoc CHANGELOG README doc/capability.notes |
119 |
} |