mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
bump(sys-libs/libcap): sync with upstream
This version doesn't install conflicting files in /lib64 and /usr/lib64
This commit is contained in:
parent
c6d0d0df45
commit
6c05590ad1
486
sdk_container/src/third_party/portage-stable/sys-libs/libcap/ChangeLog
vendored
Normal file
486
sdk_container/src/third_party/portage-stable/sys-libs/libcap/ChangeLog
vendored
Normal file
@ -0,0 +1,486 @@
|
||||
# ChangeLog for sys-libs/libcap
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/ChangeLog,v 1.125 2013/12/03 19:45:03 floppym Exp $
|
||||
|
||||
03 Dec 2013; Mike Gilbert <floppym@gentoo.org> libcap-2.22-r2.ebuild:
|
||||
Fix cross-compiles by exporting CC for the default ABI, bug 439258.
|
||||
|
||||
28 Nov 2013; Mike Frysinger <vapier@gentoo.org> libcap-2.22-r1.ebuild,
|
||||
libcap-2.22-r2.ebuild, libcap-2.22.ebuild:
|
||||
Force Gentoo mirrors for tarball as upstream is gone #491630 by Richard
|
||||
Jackson.
|
||||
|
||||
*libcap-2.22-r2 (25 Nov 2013)
|
||||
|
||||
25 Nov 2013; Michał Górny <mgorny@gentoo.org> +libcap-2.22-r2.ebuild:
|
||||
Enable multilib support, bug #488286. Acked by Chainsaw.
|
||||
|
||||
17 Feb 2013; Zac Medico <zmedico@gentoo.org> libcap-2.22-r1.ebuild:
|
||||
Add ~arm-linux keyword.
|
||||
|
||||
*libcap-2.22-r1 (26 Nov 2012)
|
||||
|
||||
26 Nov 2012; Christoph Junghans <ottxor@gentoo.org> +libcap-2.22-r1.ebuild:
|
||||
added prefix support (bug #444724)
|
||||
|
||||
23 Sep 2012; Mike Frysinger <vapier@gentoo.org>
|
||||
files/libcap-2.22-build-system-fixes.patch:
|
||||
Install libcap.so with +x bits.
|
||||
|
||||
22 Sep 2012; Mike Frysinger <vapier@gentoo.org> libcap-2.22.ebuild:
|
||||
Export BUILD_CFLAGS and friends #435708 by Ambroz Bizjak.
|
||||
|
||||
20 Mar 2012; Diego E. Pettenò <flameeyes@gentoo.org> libcap-2.22.ebuild:
|
||||
Clarify license statement.
|
||||
|
||||
18 Dec 2011; Mark Loeser <halcy0n@gentoo.org> libcap-2.22.ebuild:
|
||||
Stable for ppc64; bug #389201
|
||||
|
||||
26 Nov 2011; Raúl Porcel <armin76@gentoo.org> libcap-2.22.ebuild:
|
||||
alpha/ia64/m68k/s390/sh/sparc stable wrt #389201
|
||||
|
||||
12 Nov 2011; Mike Frysinger <vapier@gentoo.org> libcap-2.22.ebuild,
|
||||
+files/libcap-2.22-no-perl.patch:
|
||||
Do not require perl to build #390263 by Bruno.
|
||||
|
||||
06 Nov 2011; Brent Baude <ranger@gentoo.org> libcap-2.22.ebuild:
|
||||
Marking libcap-2.22 ppc for bug 389201
|
||||
|
||||
06 Nov 2011; Markus Meier <maekke@gentoo.org> libcap-2.22.ebuild:
|
||||
arm stable, bug #389201
|
||||
|
||||
06 Nov 2011; Andreas Schuerch <nativemad@gentoo.org> libcap-2.22.ebuild:
|
||||
x86 stable, bug 389201. Thanks JD and Myckel.
|
||||
|
||||
05 Nov 2011; Mike Frysinger <vapier@gentoo.org> libcap-2.22.ebuild:
|
||||
Trim spurious pam lib in /usr, and touchup ebuild.
|
||||
|
||||
03 Nov 2011; Tony Vroon <chainsaw@gentoo.org> libcap-2.22.ebuild:
|
||||
Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian
|
||||
"idella4" Delaney in security bug #389201.
|
||||
|
||||
02 Nov 2011; Jeroen Roovers <jer@gentoo.org> libcap-2.22.ebuild:
|
||||
Stable for HPPA (bug #389201).
|
||||
|
||||
*libcap-2.22 (01 Nov 2011)
|
||||
|
||||
01 Nov 2011; Mike Frysinger <vapier@gentoo.org> +libcap-2.22.ebuild,
|
||||
+files/libcap-2.22-build-system-fixes.patch:
|
||||
Version bump #389201 by Jack Szpot.
|
||||
|
||||
*libcap-2.21 (15 Jun 2011)
|
||||
|
||||
15 Jun 2011; Jeroen Roovers <jer@gentoo.org> +libcap-2.21.ebuild,
|
||||
+files/libcap-2.21-include.patch:
|
||||
Version bump. Fix one compiler warning.
|
||||
|
||||
26 Jan 2011; Mike Frysinger <vapier@gentoo.org>
|
||||
files/libcap-2.20-build-system-fixes.patch:
|
||||
Also build pam module with -fPIC #352758 by Seemant Kulleen.
|
||||
|
||||
*libcap-2.20 (25 Jan 2011)
|
||||
|
||||
25 Jan 2011; Mike Frysinger <vapier@gentoo.org> +libcap-2.20.ebuild,
|
||||
+files/libcap-2.20-build-system-fixes.patch,
|
||||
+files/libcap-2.20-ignore-RAISE_SETFCAP-install-failures.patch:
|
||||
Version bump #352680 by Marc Koschewski.
|
||||
|
||||
*libcap-2.19 (07 Mar 2010)
|
||||
|
||||
07 Mar 2010; Mike Frysinger <vapier@gentoo.org> +libcap-2.19.ebuild:
|
||||
Version bump #307269 by Arfrever Frehtes Taifersar Arahesis.
|
||||
|
||||
24 Jan 2010; Raúl Porcel <armin76@gentoo.org> libcap-2.17.ebuild:
|
||||
ia64/s390/sh/sparc stable wrt #290045
|
||||
|
||||
09 Dec 2009; Brent Baude <ranger@gentoo.org> libcap-2.17.ebuild:
|
||||
Marking libcap-2.17 ppc64 for bug 290045
|
||||
|
||||
11 Nov 2009; Jeroen Roovers <jer@gentoo.org> libcap-2.17.ebuild:
|
||||
Stable for HPPA (bug #290045).
|
||||
|
||||
10 Nov 2009; Markus Meier <maekke@gentoo.org> libcap-2.17.ebuild:
|
||||
arm/x86 stable, bug #290045
|
||||
|
||||
08 Nov 2009; Tobias Klausmann <klausman@gentoo.org> libcap-2.17.ebuild:
|
||||
Stable on alpha, bug #290045
|
||||
|
||||
24 Oct 2009; nixnut <nixnut@gentoo.org> libcap-2.17.ebuild:
|
||||
ppc stable #290045
|
||||
|
||||
23 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> libcap-2.17.ebuild:
|
||||
amd64 stable wrt #290045
|
||||
|
||||
11 Oct 2009; Mike Frysinger <vapier@gentoo.org>
|
||||
files/2.16/0001-build-system-fixes.patch:
|
||||
Dont default BUILD_CFLAGS to CFLAGS #272479 by Markus Rathgeb.
|
||||
|
||||
*libcap-2.17 (31 Aug 2009)
|
||||
|
||||
31 Aug 2009; Mike Frysinger <vapier@gentoo.org> +libcap-2.17.ebuild:
|
||||
Version bump #283137 by Arfrever Frehtes Taifersar Arahesis.
|
||||
|
||||
03 Jul 2009; Christian Ruppert <idl0r@gentoo.org>
|
||||
files/2.16/0001-build-system-fixes.patch:
|
||||
Add missing -lpam to 0001-build-system-fixes.patch due to link issues with
|
||||
-Wl,--no-undefined.
|
||||
|
||||
*libcap-2.16-r1 (16 May 2009)
|
||||
|
||||
16 May 2009; Mike Frysinger <vapier@gentoo.org> libcap-2.16.ebuild,
|
||||
+libcap-2.16-r1.ebuild, +files/libcap-2.16-drop-linux-workarounds.patch:
|
||||
Drop linux header workarounds #265304 by Johan Hovold.
|
||||
|
||||
26 Apr 2009; Brent Baude <ranger@gentoo.org> libcap-2.16.ebuild:
|
||||
stable ppc, bug 265791
|
||||
|
||||
18 Apr 2009; Raúl Porcel <armin76@gentoo.org> libcap-2.16.ebuild:
|
||||
arm/ia64/m68k/s390/sh/sparc/x86 stable wrt #265791
|
||||
|
||||
16 Apr 2009; Jeroen Roovers <jer@gentoo.org> libcap-2.16.ebuild:
|
||||
Stable for HPPA (bug #265791).
|
||||
|
||||
14 Apr 2009; Thomas Anderson <gentoofan23@gentoo.org> libcap-2.16.ebuild:
|
||||
stable amd64, bug 265791
|
||||
|
||||
12 Apr 2009; Brent Baude <ranger@gentoo.org> libcap-2.16.ebuild:
|
||||
stable ppc64, bug 265791
|
||||
|
||||
12 Apr 2009; Tobias Klausmann <klausman@gentoo.org> libcap-2.16.ebuild:
|
||||
Stable on alpha, bug #265791
|
||||
|
||||
17 Jan 2009; Mike Frysinger <vapier@gentoo.org> libcap-2.15.ebuild,
|
||||
libcap-2.16.ebuild:
|
||||
Move variable setting to src_unpack #254840 by Bruno.
|
||||
|
||||
05 Jan 2009; Jeroen Roovers <jer@gentoo.org> libcap-2.15.ebuild:
|
||||
Stable for HPPA (bug #252321).
|
||||
|
||||
28 Dec 2008; Tobias Scherbaum <dertobi123@gentoo.org> libcap-2.15.ebuild:
|
||||
ppc stable, bug #252321
|
||||
|
||||
27 Dec 2008; Brent Baude <ranger@gentoo.org> libcap-2.15.ebuild:
|
||||
stable ppc64, bug 252321
|
||||
|
||||
26 Dec 2008; Raúl Porcel <armin76@gentoo.org> libcap-2.15.ebuild:
|
||||
ia64 stable wrt #252321
|
||||
|
||||
25 Dec 2008; Friedrich Oslage <bluebird@gentoo.org> libcap-2.15.ebuild:
|
||||
Stable on sparc, bug #252321
|
||||
|
||||
25 Dec 2008; Tobias Klausmann <klausman@gentoo.org> libcap-2.15.ebuild:
|
||||
Stable on alpha, bug #252321
|
||||
|
||||
25 Dec 2008; Markus Meier <maekke@gentoo.org> libcap-2.15.ebuild:
|
||||
amd64/x86 stable, bug #252321
|
||||
|
||||
*libcap-2.16 (24 Dec 2008)
|
||||
|
||||
24 Dec 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/2.16/0001-build-system-fixes.patch, +libcap-2.16.ebuild:
|
||||
Version bump #252319 by Arfrever Frehtes Taifersar Arahesis.
|
||||
|
||||
*libcap-2.15 (27 Nov 2008)
|
||||
|
||||
27 Nov 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/2.15/0001-build-system-fixes.patch, +libcap-2.15.ebuild:
|
||||
Version bump #248930 by Arfrever Frehtes Taifersar Arahesis.
|
||||
|
||||
16 Nov 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/2.14/0001-Make.Rules-fix-INDENT-test.patch:
|
||||
Fix typo in build system for indent test #247080 by Mark Nowiasz.
|
||||
|
||||
*libcap-2.14 (16 Nov 2008)
|
||||
|
||||
16 Nov 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/2.14/0001-cleanup-build-system.patch, +libcap-2.14.ebuild:
|
||||
Version bump #246944 by Arfrever Frehtes Taifersar Arahesis.
|
||||
|
||||
25 Oct 2008; Mike Frysinger <vapier@gentoo.org> libcap-2.11.ebuild:
|
||||
Add fix for USE=-pam builds by Bruno #242748.
|
||||
|
||||
16 Oct 2008; Jeroen Roovers <jer@gentoo.org> libcap-2.11.ebuild:
|
||||
Stable for HPPA (bug #240290).
|
||||
|
||||
14 Oct 2008; Brent Baude <ranger@gentoo.org> libcap-2.11.ebuild:
|
||||
stable ppc64, bug 240290
|
||||
|
||||
12 Oct 2008; Raúl Porcel <armin76@gentoo.org> libcap-2.11.ebuild:
|
||||
alpha/ia64 stable wrt #240290
|
||||
|
||||
12 Oct 2008; nixnut <nixnut@gentoo.org> libcap-2.11.ebuild:
|
||||
Stable on ppc wrt bug 240290
|
||||
|
||||
12 Oct 2008; Friedrich Oslage <bluebird@gentoo.org> libcap-2.11.ebuild:
|
||||
Stable on sparc, bug #240290
|
||||
|
||||
09 Oct 2008; Markus Meier <maekke@gentoo.org> libcap-2.11.ebuild:
|
||||
amd64/x86 stable, bug #240290
|
||||
|
||||
19 Aug 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
files/2.11/0001-Make-fixes.patch:
|
||||
Fix typo in BUILD_CFLAGS #235209 by zimous.
|
||||
|
||||
*libcap-2.11 (18 Aug 2008)
|
||||
|
||||
18 Aug 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/2.11/0001-Make-fixes.patch, +libcap-2.11.ebuild:
|
||||
Version bump #231688 by Arfrever Frehtes Taifersar Arahesis and fix
|
||||
USE=pam dep #231187.
|
||||
|
||||
*libcap-2.10 (01 Jun 2008)
|
||||
|
||||
01 Jun 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/2.10/0001-Make-fixes.patch,
|
||||
+files/2.10/0002-cleanup-build-system.patch, +libcap-2.10.ebuild:
|
||||
Version bump #221505 by Arfrever Frehtes Taifersar Arahesis.
|
||||
|
||||
*libcap-2.08-r1 (24 Mar 2008)
|
||||
|
||||
24 Mar 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/libcap-2.08-no-static.patch, +libcap-2.08-r1.ebuild:
|
||||
Dont build helper progs statically.
|
||||
|
||||
*libcap-2.08 (16 Mar 2008)
|
||||
|
||||
16 Mar 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/2.08/0006-cleanup-build-system.patch, +libcap-2.08.ebuild:
|
||||
Version bump #211362 by Arfrever Frehtes Taifersar Arahesis.
|
||||
|
||||
*libcap-2.06-r1 (18 Feb 2008)
|
||||
|
||||
18 Feb 2008; Diego Pettenò <flameeyes@gentoo.org>
|
||||
files/2.06/0006-cleanup-build-system.patch, +libcap-2.06-r1.ebuild:
|
||||
Revision bump to fix PAM handling: now the pam USE flag does not only build
|
||||
but also install pam_cap.so, and the built pam_cap.so is actually working
|
||||
with PAM. Not that I was able to get my user to receive any additional
|
||||
capability, yet.
|
||||
|
||||
18 Feb 2008; Mike Frysinger <vapier@gentoo.org> libcap-2.06.ebuild:
|
||||
Dont install the capget(2)/capset(2) man pages since the man-pages package
|
||||
installs better ones #210443.
|
||||
|
||||
17 Feb 2008; Christoph Mende <angelos@gentoo.org> libcap-1.10-r11.ebuild:
|
||||
Stable on amd64, bug #200512
|
||||
|
||||
17 Feb 2008; Mike Frysinger <vapier@gentoo.org> libcap-2.06.ebuild:
|
||||
Depend on attr and make sure we disable gperf #210424.
|
||||
|
||||
*libcap-2.06 (16 Feb 2008)
|
||||
|
||||
16 Feb 2008; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/2.06/0001-set-FAKEROOT-to-DESTDIR-by-default.patch,
|
||||
+files/2.06/0002-do-not-use-the-s-flag-with-install.patch,
|
||||
+files/2.06/0003-Add-.gitignore-files.patch,
|
||||
+files/2.06/0004-Do-not-run-ldconfig-for-FAKEROOT-installs.patch,
|
||||
+files/2.06/0005-Do-not-hard-code-toolchain-binaries.patch,
|
||||
+files/2.06/0006-cleanup-build-system.patch, +libcap-2.06.ebuild:
|
||||
Version bump #209905 by Arfrever Frehtes Taifersar Arahesis.
|
||||
|
||||
14 Feb 2008; nixnut <nixnut@gentoo.org> ChangeLog:
|
||||
Stable on ppc wrt bug 200512
|
||||
|
||||
14 Feb 2008; Jeroen Roovers <jer@gentoo.org> libcap-1.10-r11.ebuild:
|
||||
Stable for HPPA (bug #200512).
|
||||
|
||||
11 Feb 2008; Raúl Porcel <armin76@gentoo.org> libcap-1.10-r11.ebuild:
|
||||
alpha/ia64 stable wrt #200512
|
||||
|
||||
11 Feb 2008; Ferris McCormick <fmccor@gentoo.org> libcap-1.10-r11.ebuild:
|
||||
Sparc stable --- Bug #200512.
|
||||
|
||||
11 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
|
||||
libcap-1.10-r11.ebuild:
|
||||
stable x86, bug 200512
|
||||
|
||||
11 Feb 2008; Brent Baude <ranger@gentoo.org> libcap-1.10-r11.ebuild:
|
||||
stable ppc64, bug 200512
|
||||
|
||||
19 Nov 2007; Joshua Kinard <kumba@gentoo.org> libcap-1.10-r9.ebuild:
|
||||
Stable on mips, per #165742.
|
||||
|
||||
*libcap-1.10-r11 (02 Oct 2007)
|
||||
|
||||
02 Oct 2007; Robin H. Johnson <robbat2@gentoo.org>
|
||||
+libcap-1.10-r11.ebuild:
|
||||
Bug #193332, handle cleanup/optimize of python modules if applicable.
|
||||
|
||||
*libcap-1.10-r10 (02 Apr 2007)
|
||||
|
||||
02 Apr 2007; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/libcap-1.10-auditcaps.diff, +libcap-1.10-r10.ebuild:
|
||||
Update capability.h with #defines for audit capabilities.
|
||||
|
||||
13 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> libcap-1.10-r9.ebuild:
|
||||
Stable on ppc wrt bug #165742.
|
||||
|
||||
13 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> libcap-1.10-r9.ebuild:
|
||||
Stable on alpha wrt bug #165742.
|
||||
|
||||
13 Feb 2007; Markus Rothe <corsair@gentoo.org> libcap-1.10-r9.ebuild:
|
||||
Stable on ppc64; bug #165742
|
||||
|
||||
12 Feb 2007; Gustavo Zacarias <gustavoz@gentoo.org> libcap-1.10-r9.ebuild:
|
||||
Stable on sparc wrt #165742
|
||||
|
||||
12 Feb 2007; Jeroen Roovers <jer@gentoo.org> libcap-1.10-r9.ebuild:
|
||||
Stable for HPPA (bug #165742).
|
||||
|
||||
12 Feb 2007; Simon Stelling <blubb@gentoo.org> libcap-1.10-r9.ebuild:
|
||||
stable on amd64; bug 165742
|
||||
|
||||
10 Feb 2007; Christian Faulhammer <opfer@gentoo.org>
|
||||
libcap-1.10-r9.ebuild:
|
||||
stable x86; bug #165742
|
||||
|
||||
10 Feb 2007; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/libcap-1.10-headers.patch, libcap-1.10-r9.ebuild:
|
||||
Include stdlib.h for proper exit() prototype.
|
||||
|
||||
*libcap-1.10-r9 (30 Jul 2006)
|
||||
|
||||
30 Jul 2006; <solar@gentoo.org> +libcap-1.10-r9.ebuild:
|
||||
- many things link with libcap.so.1 but that file is not owned by libcap
|
||||
till now
|
||||
|
||||
*libcap-1.10-r8 (15 Jul 2006)
|
||||
|
||||
15 Jul 2006; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/libcap-1.10-nostrip.patch, libcap-1.10-r8.ebuild:
|
||||
Cleanup ebuild a bit, fix stripping via patch rather than sed, and fixup
|
||||
library install #140410.
|
||||
|
||||
14 Jul 2006; <solar@gentoo.org> -libcap-1.10-r6.ebuild:
|
||||
- removed broken libcap-1.10-r6 from the tree. It is causing way to many
|
||||
problems
|
||||
|
||||
13 Jul 2006; <solar@gentoo.org> libcap-1.10-r7.ebuild:
|
||||
- work around broken python support when cross compile. Yanked the hack
|
||||
known as USE=static
|
||||
|
||||
*libcap-1.10-r7 (13 Jul 2006)
|
||||
|
||||
13 Jul 2006; Martin Schlemmer <azarah@gentoo.org> +libcap-1.10-r7.ebuild:
|
||||
The ldscript should be called 'libcap.so', and not versioned like it was.
|
||||
Quoting and other cleanups.
|
||||
|
||||
*libcap-1.10-r6 (01 Jun 2006)
|
||||
|
||||
01 Jun 2006; Robin H. Johnson <robbat2@gentoo.org> +libcap-1.10-r6.ebuild:
|
||||
Fix QA error with pre-stripped binaries being installed, and clean up the
|
||||
horrible mess in src_install.
|
||||
|
||||
*libcap-1.10-r5 (09 Feb 2005)
|
||||
|
||||
09 Feb 2005; Mike Frysinger <vapier@gentoo.org> +libcap-1.10-r5.ebuild:
|
||||
Make sure we install a linker script in /usr/lib alongside the static library.
|
||||
|
||||
03 Feb 2005; <solar@gentoo.org> -libcap-1.10-r3.ebuild,
|
||||
libcap-1.10-r4.ebuild:
|
||||
- removed old -r3 ebuild as -r4 is stable on all arches. removed unused pic
|
||||
USE flag. added support for nocxx to keep swig from getting pulled in via the
|
||||
python use flag for this package - bug #73635
|
||||
|
||||
01 Oct 2004; Simon Stelling <blubb@gentoo.org> libcap-1.10-r3.ebuild,
|
||||
libcap-1.10-r4.ebuild:
|
||||
get_libdir-ized
|
||||
|
||||
15 Jul 2004; Tom Gall <tgall@gentoo.org> libcap-1.10-r4.ebuild:
|
||||
stable on ppc64, bug #55530
|
||||
|
||||
02 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
|
||||
libcap-1.10-r3.ebuild, libcap-1.10-r4.ebuild:
|
||||
virtual/glibc -> virtual/libc
|
||||
|
||||
23 Jun 2004; Mike Frysinger <vapier@gentoo.org> files/1.10-python.patch,
|
||||
libcap-1.10-r4.ebuild:
|
||||
Update the swig/python module to build with the shared objects instead of the
|
||||
static objects so we get a PIC aware module #52813 by Joe Jezak.
|
||||
|
||||
03 May 2004; Michael Sterrett <mr_bones_@gentoo.org> libcap-1.10-r2.ebuild,
|
||||
libcap-1.10.ebuild:
|
||||
clean extra ebuilds
|
||||
|
||||
27 Apr 2004; Aron Griffis <agriffis@gentoo.org> libcap-1.10-r2.ebuild,
|
||||
libcap-1.10.ebuild:
|
||||
Add inherit eutils
|
||||
|
||||
*libcap-1.10-r4 (25 Apr 2004)
|
||||
|
||||
25 Apr 2004; Robin H. Johnson <robbat2@gentoo.org> libcap-1.10-r4.ebuild,
|
||||
files/libcap-1.10-r4-staticfix.diff:
|
||||
finally finish static support from bug #22495, slight cleanup and latest
|
||||
debian patch.
|
||||
|
||||
05 Apr 2004; Jason Wever <weeve@gentoo.org> libcap-1.10-r3.ebuild:
|
||||
Stable on sparc.
|
||||
|
||||
28 Mar 2004; <solar@gentoo.org> libcap-1.10-r3.ebuild:
|
||||
stable on x86. Bugzilla Bug 44955
|
||||
|
||||
24 Feb 2004; <agriffis@gentoo.org> libcap-1.10-r3.ebuild:
|
||||
stable on alpha and ia64
|
||||
|
||||
24 Feb 2004; Rajiv Aaron Manglani <rajiv@gentoo.org> libcap-1.10.ebuild,
|
||||
libcap-1.10-r2.ebuild, libcap-1.10-r3.ebuild:
|
||||
updated HOMEPAGE url.
|
||||
|
||||
14 Dec 2003; Guy Martin <gmsoft@gentoo.org> libcap-1.10-r3.ebuild:
|
||||
Marked stable on hppa.
|
||||
|
||||
16 Nov 2003; Alexander Gabert <pappy@gentoo.org> libcap-1.10.ebuild:
|
||||
removed text relocations out of the libcap library for hardened-gcc via
|
||||
syscall removal patch
|
||||
|
||||
04 Nov 2003; Brad House <brad_mssw@gentoo.org> libcap-1.10-r3.ebuild:
|
||||
add amd64 flag
|
||||
|
||||
16 Oct 2003; Aron Griffis <agriffis@gentoo.org> libcap-1.10-r3.ebuild:
|
||||
Use -fPIC on alpha
|
||||
|
||||
10 Oct 2003; Alexander Gabert <pappy@gentoo.org> libcap-1.10.ebuild:
|
||||
changed hardened-gcc flags
|
||||
|
||||
09 Oct 2003; Alexander Gabert <pappy@gentoo.org> libcap-1.10.ebuild:
|
||||
added new hardened-gcc flags for hppa
|
||||
|
||||
09 Oct 2003; <tuxus@gentoo.org> libcap-1.10-r2.ebuild:
|
||||
stable on mips
|
||||
|
||||
*libcap-1.10-r3 (29 Sep 2003)
|
||||
|
||||
29 Sep 2003; Mike Frysinger <vapier@gentoo.org> libcap-1.10-r3.ebuild:
|
||||
Version bump to add deb patch and add full pic support #29958.
|
||||
|
||||
29 Sep 2003; Mike Frysinger <vapier@gentoo.org> libcap-1.10.ebuild:
|
||||
Filtered out -fPIC from CFLAGS #29958.
|
||||
|
||||
27 Sep 2003; Alexander Gabert <pappy@gentoo.org> libcap-1.10.ebuild:
|
||||
added hcc exclusion for PIC but leave propolice in place
|
||||
|
||||
26 Sep 2003; Aron Griffis <agriffis@gentoo.org> libcap-1.10-r2.ebuild:
|
||||
Stable on alpha
|
||||
|
||||
23 Aug 2003; <rac@gentoo.org> libcap-1.10-r2.ebuild:
|
||||
Add amd64 support
|
||||
|
||||
*libcap-1.10-r2 (17 Aug 2003)
|
||||
|
||||
29 Aug 2003; Stefan Jones <cretin@gentoo.org> :
|
||||
Only add -fPIC to the library objectfiles
|
||||
|
||||
27 Aug 2003; Stefan Jones <cretin@gentoo.org> :
|
||||
Add patch which removes the wrapping of the syscall, glibc wraps all syscalls
|
||||
for you. Now the library can be built with -fPIC on all platforms.
|
||||
|
||||
17 Aug 2003; Robin H. Johnson <robbat2@gentoo.org> libcap-1.10-r2.ebuild:
|
||||
remove -ansi from WARNINGS in the Make system as it seems to break non-x86
|
||||
|
||||
11 Aug 2003; Robin H. Johnson <robbat2@gentoo.org> :
|
||||
hopefully fix non-x86 bugs with -fPIC being needed
|
||||
|
||||
*libcap-1.10 (15 May 2003)
|
||||
15 May 2003; Robin Johnson <robbat2@gentoo.org> Manifest,
|
||||
files/libcap-1.10-python.patch, files/digest-libcap-1.10,
|
||||
libcap-1.10.ebuild, ChangeLog:
|
||||
Initial import. Ebuild submitted by Francisco Gimeno <kikov@fco-gimeno.com>
|
||||
@ -1 +1,30 @@
|
||||
DIST libcap-2.17.tar.bz2 48899 RMD160 4b8ce8b3f42277aeb297a56fb741a8e2f6817dda SHA1 74cad53570cb5c69c08fa3f31b1a3fbf555dab0f SHA256 2cab109eed9bd944408c13efed910091479d8770cf9aa1bec4f9b26d9302f5b0
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 2.16/0001-build-system-fixes.patch 4632 SHA256 4c4e5dc5d465e7db63076d80b627705e8c65adb55d2e97aeaa976e2fe5c12a1e SHA512 1b6d2e5e19f479eb6fd016965896613ab91ecd2c29e7e38e4c6ef86ce84c850bca738891b2e339e28d153977df2fb4b374f91692019ec00619e965d0c8e4dde6 WHIRLPOOL 2ce649612f96c653594a9c8e4670d81b412c6c34add94d7c90b69fd0ee49f6617d396da805ce921a0ef2d1d193e31d9433bf5b1a9fd5d3ac302bac7fc1f4ba96
|
||||
AUX libcap-2.20-build-system-fixes.patch 4832 SHA256 67a741af74c13a283e73cd3d9e828b73e1db68db19e8010e942c341b6d280842 SHA512 c8f4a3b6a9e8fa51f3095f11c5320a96ffce48ace96de5fe632b7087fe9f0813428b45cdebf6fa954ee1ace7acdf6cb11620df642194108097fc80969c668676 WHIRLPOOL 6216c3359bd72700938f9c4843f2b2312765db81e06e03cf7c51d954f2479a4b459b2b48b643820266319baac1d593c46b9bf74eafdf9eabc99784ef3d110d40
|
||||
AUX libcap-2.20-ignore-RAISE_SETFCAP-install-failures.patch 840 SHA256 29be1427227f9b045151bd02597192bff1c6761c649014b0fd1384f08e010616 SHA512 59936147919f3a8959d87831583df96ab3e1883e58b746f6542cc6430434d2a93c07e79ff7e9fdf9698626aa42e60c6c57981025e46923be76ff2d65720d606c WHIRLPOOL c721054ac8538b748367b9a17971d3021831fdaf49260a2290484a506638ee8598946f001272e014937abb99569b17b0a3f9daed31ea426b6ce74f9a09460867
|
||||
AUX libcap-2.21-include.patch 290 SHA256 60038e5f67928edbf7e1b43b8799d5a92cff40dd7c3678135c793ed434c29305 SHA512 6f4867c64121e1294824a2dc1ac02578c9900cd051aea41d0920f1f65e162e3acec86a42f7e4fa6ee1dff08554fe25bd740951e9dc8a11bf79471229f268cffd WHIRLPOOL c3233cf04efc380c274bbd2860576f68494a16e4b0a2827284a692b560650379e33497532b347c2e8aa5019d229f8ceb6be3e0a990e21eae5d459134115aafd1
|
||||
AUX libcap-2.22-build-system-fixes.patch 5319 SHA256 f0c3323a5ec34e07eb397d6e1527ac3d6c519c4a91261a206019d25eb161f426 SHA512 d57181ce1dbe95c2c40cdc49cff8d7368287d512b0f05c296266071cb689b94891aca201c978d316cf2851b806b7bcb2acaef3aeef69ead6a380490aecaea0c7 WHIRLPOOL bf076c3bbba28c861cdccf1639d4fe3205fa4e3ec2c50da9a7d052d439cb7b4f8bfb4e8a770ffeaca4fa1612497a04ea151fadcb439f188f6576952933a88646
|
||||
AUX libcap-2.22-no-perl.patch 2360 SHA256 4eca873685da1aec0d06e9d7681c285166f9ad7e7cb14c65da6e05cbb135e9ef SHA512 8c49d829cbae15f28ded70b96bc0715819b13183136d90b64b7b6bfbd85c262f0161d89450579e9b58961c724b34816919d111f839e3f5a7a68427ffe441881d WHIRLPOOL 1da9b5b8b54c38bf45117653122ee6dc55949c21c39152d18d2dc0c721d4b906f777a8734d184d18b2c7a25b2aa06aa68d1ccc4409b16915aeb8d9b014951759
|
||||
DIST libcap-2.17.tar.bz2 48899 SHA256 2cab109eed9bd944408c13efed910091479d8770cf9aa1bec4f9b26d9302f5b0 SHA512 f8c79889359f92c9f714b4fe602454f0e0ae7c78bf2fa2ddf849a1cda05a8ef7d993c69f7662cbb8939e42da6a43b401e9199d5aa9de220eafcede9a06f727b5 WHIRLPOOL dc6cb019ec32c529600eb8198098b69157b2ebf279e0b003a003e906aedda07ebac355cdcbbebde222aa1ab9a2d22be34b2b216b0c1249134404a736a540bea4
|
||||
DIST libcap-2.19.tar.bz2 53099 SHA256 ed1693e344054a398e68a7cc840892e3d1a880562743bdf28fd918649aa5a4ce SHA512 1453e3014fdff57c01e3dca5a4b5d1754e641ecb4011296a39d0d088ee1fe371e13f851ae2c6c29e7f0d7bfeeeb4c2a11d112da6ed4600f5d489788faaee9fb2 WHIRLPOOL 2b6ee718d91902617dda3cb7beaa3bf29e785dc635f33af635ab74245259dd0d81f8da1cc5bd38bbed8ff85752536b2596941c4da581a29d7380d039218fbd49
|
||||
DIST libcap-2.20.tar.bz2 53629 SHA256 20e7c1ea4d3d5c410efb3a6ff138dc417912fae316d883460dcd58d9803a9220 SHA512 3ab62d1a563d1f380485b4cb6ba77e9a4c8806b9d6b115c0bc9bad8c1e251bb4906a8b2cc21b07c0c274811e2f6d2aa3840696babb9348dcdf25eae166214810 WHIRLPOOL eb84e9fad6056d02e482e582fc26bcbeac456da7d0daeb1ad43f54056afd814bdeef231acd3037eab44eb3a5d7a4c23c7638a73ca7ee706a1c75e739edbc36a3
|
||||
DIST libcap-2.21.tar.bz2 54360 SHA256 9e1615bb331786eb6cb3968ca27153bcfac8a16cf8db9253b8407faa53b3f011 SHA512 71398dacc4dc3b896233d6c991f07b0913253512961195c597cd4f6714c316df2ae1954da1bf60c7d6011e67dcefda7f7effd6cd37be6e215a29fc7d81eaad2e WHIRLPOOL c5fff6a9a6e6c4c1b186422891d38f5dffab8b40f62ee54625359bb7980d4de8557979f78c459b9c4545496e8649cecc32983d2581d17e4b7349c85e882d7950
|
||||
DIST libcap-2.22.tar.bz2 60051 SHA256 73ebbd4877b5f69dd28b72098e510c5b318bc480f8201c4061ac98b78c04050f SHA512 d4e070cfed7dbf416c949e79fbfbfcde2da4705d4f55527b18482c9959b80fea2841bf70f317fa5e620e13a75a8e5da69f94304b8e54195f2d0492f14d342339 WHIRLPOOL 000e3c76e83366423efc0e935c6191496c0e9bf1cc559babdbeea74c8c81009e883985c5f1c739b4fb1744522e09bda253f6012b7e52284f291eabeaf20f6a88
|
||||
EBUILD libcap-2.17.ebuild 1295 SHA256 54ea6cf5fb44e049d786b30578c0f47a5d0b67bd22c7575592693656f4a2abc0 SHA512 5b87cfadadef6bfda562e7f194ad46b3ec146633e5e87ab82e964fdbb1b75fc58c41d2f440c4e779d20b9dbe66288aadf3741118403b6eb362177290ae5bb0fe WHIRLPOOL 4061e5d28dd48f3324fcdfec745a0cfd4893de85b64327a4b161a163eca14ffca7bd055a6208bf1100c159866431e1e0cc0f8564239ada65287aa3958763665a
|
||||
EBUILD libcap-2.19.ebuild 1241 SHA256 8334b3d70bafccfbecac938629acfe6866b5f990a9ae449ec851c2e27a70d3cb SHA512 0a28f2c0e70b95595baf39c3807436945fe6c38c142722d3642b7e52a9638d03fec113a7dc5586aeb85bcce89c5a1fb3811a9154cd2dbb35e5234efd7c6b2d22 WHIRLPOOL 5a106f93a3303ed233bc16c0c671eea83bfeab2bc7757f31a4adaa9787e28f84240352961ef6e59d68396f0535843ca52e07d4b43ceddcd03016f2310eb5e86d
|
||||
EBUILD libcap-2.20.ebuild 1255 SHA256 14c38763c45c488e74a49a4399b844ea6e5326e8a189feba5e2650b6e424becd SHA512 4623edc3861e947b3a9a0da631c33a6d4a08e667c03aff9c258a63ecf092cfb36db1dbc4553402ba97e6c4e8e0cc862e331a2a6232dd1982a58dd42376df4f2d WHIRLPOOL 814310ff27914937f4ca26b35b1f7e7ff66c82341ace9e8de379d83e7e9cd1bc6ef531244b66c75e6a6ef3b7aad46acdf7510801ff8229597477dc4626deaa66
|
||||
EBUILD libcap-2.21.ebuild 1299 SHA256 db3f1beac4841be548fb653eed670c7562816f3eb4b318304bb11290c4939754 SHA512 ffdf2859f2745aedc75a3f6ce09651f0c450eb1e4d049f7d5f24b21937d8a38db4e2a3a6d9b19803b4a41231756e236a18f584fe50b61f5b269011fe42a6c381 WHIRLPOOL c7789d4c0b496bbdd4f1aacf0247a24de139dd2ec909c0743308f1371afe5a4b6f764b9be295f2869fb7a2825a650844c448df1dc3b1290f530108cb338c8672
|
||||
EBUILD libcap-2.22-r1.ebuild 1484 SHA256 62afd8c4843506ac123023534b5145d1fe1d721e5bf60bd5335c61c78bfd5076 SHA512 b12105f05f0825c6632814c84476a5805f73ddac58e34ad6a6480e04d98efd1dbba651bf1c9dc8502614352b25788ee589eb4f568d799c83851c03dc54747183 WHIRLPOOL 56016eb1012133c33848386499159c65f989905d7f6b87f86b2903a8d101ec4a62de7bac333da149a0882ea7bc80162cd587f77766d780cf8da279559708ca94
|
||||
EBUILD libcap-2.22-r2.ebuild 1781 SHA256 1c6bfb6f741e34c75f64608a2b1f0b8f82948d6a210f148a75cfb6b103b9551b SHA512 291356a7e63b15221b6a271a6d69eaa52b638a7e99262e326d51ffc8d9e8324f12d69fdcb4f6d577b6bc3eec39be61585a37a3056fa3e3fa21f4ef325070d198 WHIRLPOOL 4895b8707580bbb13e5276c3868d242cc57304d243283f9bd1e5062fe78fcb95be871cf723c148038dba4708250723e42310cade2b417070e9f8d87f2a2b3713
|
||||
EBUILD libcap-2.22.ebuild 1372 SHA256 74c92c3cf9d5e1581be890bbfc3e158babc4d5fbbb1014e01d6bd809c5ad2f21 SHA512 3a466803a495d160ab86c651a0b5dc0759a722db06d5937b1e3ce4da34bf8a8abcf1338b2b09855fe695a17cf23b7c704036277311c0b40678c8e3c47fc90970 WHIRLPOOL 47f11c4b41bf23b2cd717861c52bd8cb3f03d4122f7b6827e4879ba8995a73a4b657360d05d4644d88c9fc8a7a55825d0819e777a9a9dcc09965083c56cb86b4
|
||||
MISC ChangeLog 17487 SHA256 c36feb0b3da49fbe15c4cd226d0d7749e0608e6e1ba8f4301b688a0fb6c8da0c SHA512 071502a05332f68d28d875b3b856c3556efcdc062da9bd0b2ad368223c84535a1347828e484af95fde4d7c01519c5014bf56f555e8f4e7696acc86207157fb9e WHIRLPOOL 4971a71fdf398d1a826c894a91def838fdbf091ba5ff79a0493aa9437e9803f1dd67a2360d65474d8bba7bed968eadd4dbc9e2741b807c15eb399d84acca7064
|
||||
MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAlKeNMEACgkQC77qH+pIQ6SGTgD+O+3qt/htfdvCY41I75rdPiNr
|
||||
YTUh9rm0Rwox1VZhC2oA/2CVKNDorkCzzVWSgiV5Oo8LRMK5W7esQRo1HztfYgvQ
|
||||
=IhyJ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
||||
@ -0,0 +1,162 @@
|
||||
From 5540f3c2a3bd70ebc8140b74ac5a0aecdbc53234 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sun, 16 Nov 2008 09:10:31 -0500
|
||||
Subject: [PATCH] build system fixes
|
||||
|
||||
This touches up the homebrewed build system to work much better "out of the
|
||||
box" for people. Specifically:
|
||||
- allow toolchain vars to be set via environment
|
||||
- CC / BUILD_CC / AR / RANLIB
|
||||
- CFLAGS / CPPFLAGS / LDFLAGS
|
||||
- split CPPFLAGS out of CFLAGS
|
||||
- break -fPIC out of global CFLAGS and only use where needed
|
||||
- use LDLIBS for libraries, not LDFLAGS
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
Make.Rules | 25 +++++++++++++------------
|
||||
libcap/Makefile | 11 ++++++-----
|
||||
pam_cap/Makefile | 8 +++++---
|
||||
progs/Makefile | 2 +-
|
||||
4 files changed, 25 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/Make.Rules b/Make.Rules
|
||||
index 011aa14..6e432a6 100644
|
||||
--- a/Make.Rules
|
||||
+++ b/Make.Rules
|
||||
@@ -44,27 +44,28 @@ MINOR=19
|
||||
|
||||
# Compilation specifics
|
||||
|
||||
-KERNEL_HEADERS := $(topdir)/libcap/include
|
||||
-IPATH += -fPIC -I$(topdir)/libcap/include -I$(KERNEL_HEADERS)
|
||||
-
|
||||
-CC := gcc
|
||||
-CFLAGS := -O2
|
||||
-BUILD_CC := $(CC)
|
||||
-BUILD_CFLAGS := $(CFLAGS) $(IPATH)
|
||||
-AR := ar
|
||||
-RANLIB := ranlib
|
||||
+CC ?= gcc
|
||||
+CFLAGS ?= -O2
|
||||
+BUILD_CC ?= $(CC)
|
||||
+BUILD_CFLAGS ?= $(CFLAGS)
|
||||
+AR ?= ar
|
||||
+RANLIB ?= ranlib
|
||||
DEBUG = -g #-DDEBUG
|
||||
WARNINGS=-Wall -Wwrite-strings \
|
||||
-Wpointer-arith -Wcast-qual -Wcast-align \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wnested-externs -Winline -Wshadow
|
||||
LD=$(CC) -Wl,-x -shared
|
||||
-LDFLAGS := #-g
|
||||
+LDFLAGS ?= #-g
|
||||
|
||||
-SYSTEM_HEADERS = /usr/include
|
||||
+KERNEL_HEADERS = $(topdir)/libcap/include
|
||||
+LIBCAP_CPPFLAGS = -I$(topdir)/libcap/include -I$(KERNEL_HEADERS)
|
||||
+CPPFLAGS += $(LIBCAP_CPPFLAGS)
|
||||
+BUILD_CPPFLAGS += $(LIBCAP_CPPFLAGS)
|
||||
INCS=$(topdir)/libcap/include/sys/capability.h
|
||||
LDFLAGS += -L$(topdir)/libcap
|
||||
-CFLAGS += -Dlinux $(WARNINGS) $(DEBUG)
|
||||
+CPPFLAGS += -Dlinux
|
||||
+CFLAGS += $(WARNINGS) $(DEBUG)
|
||||
PAM_CAP := $(shell if [ -f /usr/include/security/pam_modules.h ]; then echo yes ; else echo no ; fi)
|
||||
INDENT := $(shell if [ -n "$(which indent 2>/dev/null)" ]; then echo "| indent -kr" ; fi)
|
||||
DYNAMIC := $(shell if [ ! -d "$(topdir)/.git" ]; then echo yes; fi)
|
||||
diff --git a/libcap/Makefile b/libcap/Makefile
|
||||
index 4762c60..cf99523 100644
|
||||
--- a/libcap/Makefile
|
||||
+++ b/libcap/Makefile
|
||||
@@ -16,7 +16,7 @@ FILES=cap_alloc cap_proc cap_extint cap_flag cap_text
|
||||
# no support).
|
||||
ifeq ($(LIBATTR),yes)
|
||||
FILES += cap_file
|
||||
-LDFLAGS += -lattr
|
||||
+LDLIBS += -lattr
|
||||
endif
|
||||
|
||||
INCLS=libcap.h cap_names.h $(INCS)
|
||||
@@ -24,6 +24,7 @@ OBJS=$(addsuffix .o, $(FILES))
|
||||
MAJLIBNAME=$(LIBNAME).$(VERSION)
|
||||
MINLIBNAME=$(MAJLIBNAME).$(MINOR)
|
||||
GPERF_OUTPUT = _caps_output.gperf
|
||||
+CFLAGS += -fPIC
|
||||
|
||||
all: $(MINLIBNAME) $(STALIBNAME)
|
||||
|
||||
@@ -33,7 +34,7 @@ INCLUDE_GPERF_OUTPUT = -include $(GPERF_OUTPUT)
|
||||
endif
|
||||
|
||||
_makenames: _makenames.c cap_names.list.h
|
||||
- $(BUILD_CC) $(BUILD_CFLAGS) $< -o $@
|
||||
+ $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@
|
||||
|
||||
cap_names.h: _makenames
|
||||
./_makenames > cap_names.h
|
||||
@@ -50,15 +51,15 @@ $(STALIBNAME): $(OBJS)
|
||||
$(RANLIB) $@
|
||||
|
||||
$(MINLIBNAME): $(OBJS)
|
||||
- $(LD) $(CFLAGS) $(LDFLAGS) -Wl,-soname,$(MAJLIBNAME) -o $@ $^
|
||||
+ $(LD) $(CFLAGS) $(LDFLAGS) -Wl,-soname,$(MAJLIBNAME) -o $@ $^ $(LDLIBS)
|
||||
ln -sf $(MINLIBNAME) $(MAJLIBNAME)
|
||||
ln -sf $(MAJLIBNAME) $(LIBNAME)
|
||||
|
||||
%.o: %.c $(INCLS)
|
||||
- $(CC) $(CFLAGS) $(IPATH) -c $< -o $@
|
||||
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
|
||||
|
||||
cap_text.o: cap_text.c $(USE_GPERF_OUTPUT) $(INCLS)
|
||||
- $(CC) $(CFLAGS) $(IPATH) $(INCLUDE_GPERF_OUTPUT) -c $< -o $@
|
||||
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDE_GPERF_OUTPUT) -c $< -o $@
|
||||
|
||||
install: all
|
||||
mkdir -p -m 0755 $(INCDIR)/sys
|
||||
diff --git a/pam_cap/Makefile b/pam_cap/Makefile
|
||||
index 9ca5bef..bdae933 100644
|
||||
--- a/pam_cap/Makefile
|
||||
+++ b/pam_cap/Makefile
|
||||
@@ -9,6 +9,8 @@ include ../Make.Rules
|
||||
# written (and you know why it fails), email me and explain why. Thanks!
|
||||
LDLIBS += -L../libcap -lcap
|
||||
|
||||
+CFLAGS += -fPIC
|
||||
+
|
||||
all: pam_cap.so
|
||||
$(MAKE) testcompile
|
||||
|
||||
@@ -17,13 +19,13 @@ install: all
|
||||
install -m 0755 pam_cap.so $(LIBDIR)/security
|
||||
|
||||
pam_cap.so: pam_cap.o
|
||||
- $(LD) $(LDFLAGS) -o pam_cap.so $< $(LDLIBS)
|
||||
+ $(LD) $(CFLAGS) $(LDFLAGS) -o pam_cap.so $< $(LDLIBS)
|
||||
|
||||
pam_cap.o: pam_cap.c
|
||||
- $(CC) $(CFLAGS) $(IPATH) -c $< -o $@
|
||||
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
|
||||
|
||||
testcompile: test.c pam_cap.o
|
||||
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $+ -lpam -ldl $(LDLIBS)
|
||||
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $+ -lpam -ldl $(LDLIBS)
|
||||
|
||||
clean:
|
||||
rm -f *.o *.so testcompile *~
|
||||
diff --git a/progs/Makefile b/progs/Makefile
|
||||
index ef51dc6..c261f57 100644
|
||||
--- a/progs/Makefile
|
||||
+++ b/progs/Makefile
|
||||
@@ -22,7 +22,7 @@ $(BUILD): %: %.o
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
|
||||
|
||||
%.o: %.c $(INCS)
|
||||
- $(CC) $(IPATH) $(CFLAGS) -c $< -o $@
|
||||
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
|
||||
|
||||
install: all
|
||||
mkdir -p -m 0755 $(SBINDIR)
|
||||
--
|
||||
1.7.4.rc2
|
||||
|
||||
@ -0,0 +1,29 @@
|
||||
From f2020ee4ee4b2f245637c77e81d62ab6d1db3c6c Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Tue, 25 Jan 2011 15:52:31 -0500
|
||||
Subject: [PATCH] ignore RAISE_SETFCAP install failures
|
||||
|
||||
While the new RAISE_SETFCAP feature is nifty, its failure to run (often
|
||||
due to the fs not supporting it) shouldn't impair the default install.
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
progs/Makefile | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/progs/Makefile b/progs/Makefile
|
||||
index c261f57..9e1a84d 100644
|
||||
--- a/progs/Makefile
|
||||
+++ b/progs/Makefile
|
||||
@@ -30,7 +30,7 @@ install: all
|
||||
install -m 0755 $$p $(SBINDIR) ; \
|
||||
done
|
||||
ifeq ($(RAISE_SETFCAP),yes)
|
||||
- $(SBINDIR)/setcap cap_setfcap=i $(SBINDIR)/setcap
|
||||
+ -$(SBINDIR)/setcap cap_setfcap=i $(SBINDIR)/setcap
|
||||
endif
|
||||
|
||||
clean:
|
||||
--
|
||||
1.7.4.rc2
|
||||
|
||||
10
sdk_container/src/third_party/portage-stable/sys-libs/libcap/files/libcap-2.21-include.patch
vendored
Normal file
10
sdk_container/src/third_party/portage-stable/sys-libs/libcap/files/libcap-2.21-include.patch
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
--- libcap/libcap.h.org 2011-06-15 07:25:58.912480899 +0200
|
||||
+++ libcap/libcap.h 2011-06-15 07:26:16.421329661 +0200
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/capability.h>
|
||||
+#include <sys/prctl.h> /* prctl() */
|
||||
|
||||
#ifndef __u8
|
||||
#define __u8 unsigned char
|
||||
@ -0,0 +1,171 @@
|
||||
From 5540f3c2a3bd70ebc8140b74ac5a0aecdbc53234 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sun, 16 Nov 2008 09:10:31 -0500
|
||||
Subject: [PATCH] build system fixes
|
||||
|
||||
This touches up the homebrewed build system to work much better "out of the
|
||||
box" for people. Specifically:
|
||||
- allow toolchain vars to be set via environment
|
||||
- CC / BUILD_CC / AR / RANLIB
|
||||
- CFLAGS / CPPFLAGS / LDFLAGS
|
||||
- split CPPFLAGS out of CFLAGS
|
||||
- break -fPIC out of global CFLAGS and only use where needed
|
||||
- use LDLIBS for libraries, not LDFLAGS
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
Make.Rules | 25 +++++++++++++------------
|
||||
libcap/Makefile | 11 ++++++-----
|
||||
pam_cap/Makefile | 8 +++++---
|
||||
progs/Makefile | 2 +-
|
||||
4 files changed, 25 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/Make.Rules b/Make.Rules
|
||||
index 011aa14..6e432a6 100644
|
||||
--- a/Make.Rules
|
||||
+++ b/Make.Rules
|
||||
@@ -44,27 +44,28 @@ MINOR=19
|
||||
|
||||
# Compilation specifics
|
||||
|
||||
-KERNEL_HEADERS := $(topdir)/libcap/include
|
||||
-IPATH += -fPIC -I$(topdir)/libcap/include -I$(KERNEL_HEADERS)
|
||||
-
|
||||
-CC := gcc
|
||||
-CFLAGS := -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
-BUILD_CC := $(CC)
|
||||
-BUILD_CFLAGS := $(CFLAGS) $(IPATH)
|
||||
-AR := ar
|
||||
-RANLIB := ranlib
|
||||
+CC ?= gcc
|
||||
+CFLAGS ?= -O2
|
||||
+BUILD_CC ?= $(CC)
|
||||
+BUILD_CFLAGS ?= $(CFLAGS)
|
||||
+AR ?= ar
|
||||
+RANLIB ?= ranlib
|
||||
DEBUG = -g #-DDEBUG
|
||||
WARNINGS=-Wall -Wwrite-strings \
|
||||
-Wpointer-arith -Wcast-qual -Wcast-align \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wnested-externs -Winline -Wshadow
|
||||
LD=$(CC) -Wl,-x -shared
|
||||
-LDFLAGS := #-g
|
||||
+LDFLAGS ?= #-g
|
||||
|
||||
-SYSTEM_HEADERS = /usr/include
|
||||
+KERNEL_HEADERS = $(topdir)/libcap/include
|
||||
+LIBCAP_CPPFLAGS = -I$(topdir)/libcap/include -I$(KERNEL_HEADERS)
|
||||
+CPPFLAGS += $(LIBCAP_CPPFLAGS) -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
+BUILD_CPPFLAGS += $(LIBCAP_CPPFLAGS)
|
||||
INCS=$(topdir)/libcap/include/sys/capability.h
|
||||
LDFLAGS += -L$(topdir)/libcap
|
||||
-CFLAGS += -Dlinux $(WARNINGS) $(DEBUG)
|
||||
+CPPFLAGS += -Dlinux
|
||||
+CFLAGS += $(WARNINGS) $(DEBUG)
|
||||
PAM_CAP := $(shell if [ -f /usr/include/security/pam_modules.h ]; then echo yes ; else echo no ; fi)
|
||||
INDENT := $(shell if [ -n "$(which indent 2>/dev/null)" ]; then echo "| indent -kr" ; fi)
|
||||
DYNAMIC := $(shell if [ ! -d "$(topdir)/.git" ]; then echo yes; fi)
|
||||
diff --git a/libcap/Makefile b/libcap/Makefile
|
||||
index 4762c60..cf99523 100644
|
||||
--- a/libcap/Makefile
|
||||
+++ b/libcap/Makefile
|
||||
@@ -16,7 +16,7 @@ FILES=cap_alloc cap_proc cap_extint cap_flag cap_text
|
||||
# no support).
|
||||
ifeq ($(LIBATTR),yes)
|
||||
FILES += cap_file
|
||||
-LDFLAGS += -lattr
|
||||
+LDLIBS += -lattr
|
||||
endif
|
||||
|
||||
INCLS=libcap.h cap_names.h $(INCS)
|
||||
@@ -24,6 +24,7 @@ OBJS=$(addsuffix .o, $(FILES))
|
||||
MAJLIBNAME=$(LIBNAME).$(VERSION)
|
||||
MINLIBNAME=$(MAJLIBNAME).$(MINOR)
|
||||
GPERF_OUTPUT = _caps_output.gperf
|
||||
+CFLAGS += -fPIC
|
||||
|
||||
all: $(MINLIBNAME) $(STALIBNAME)
|
||||
|
||||
@@ -33,7 +34,7 @@ INCLUDE_GPERF_OUTPUT = -include $(GPERF_OUTPUT)
|
||||
endif
|
||||
|
||||
_makenames: _makenames.c cap_names.list.h
|
||||
- $(BUILD_CC) $(BUILD_CFLAGS) $< -o $@
|
||||
+ $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@
|
||||
|
||||
cap_names.h: _makenames
|
||||
./_makenames > cap_names.h
|
||||
@@ -50,15 +51,15 @@ $(STALIBNAME): $(OBJS)
|
||||
$(RANLIB) $@
|
||||
|
||||
$(MINLIBNAME): $(OBJS)
|
||||
- $(LD) $(CFLAGS) $(LDFLAGS) -Wl,-soname,$(MAJLIBNAME) -o $@ $^
|
||||
+ $(LD) $(CFLAGS) $(LDFLAGS) -Wl,-soname,$(MAJLIBNAME) -o $@ $^ $(LDLIBS)
|
||||
ln -sf $(MINLIBNAME) $(MAJLIBNAME)
|
||||
ln -sf $(MAJLIBNAME) $(LIBNAME)
|
||||
|
||||
%.o: %.c $(INCLS)
|
||||
- $(CC) $(CFLAGS) $(IPATH) -c $< -o $@
|
||||
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
|
||||
|
||||
cap_text.o: cap_text.c $(USE_GPERF_OUTPUT) $(INCLS)
|
||||
- $(CC) $(CFLAGS) $(IPATH) $(INCLUDE_GPERF_OUTPUT) -c $< -o $@
|
||||
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(INCLUDE_GPERF_OUTPUT) -c $< -o $@
|
||||
|
||||
install: all
|
||||
mkdir -p -m 0755 $(INCDIR)/sys
|
||||
@@ -77,7 +77,7 @@ install: all
|
||||
install -m 0644 include/sys/capability.h $(INCDIR)/sys
|
||||
mkdir -p -m 0755 $(LIBDIR)
|
||||
install -m 0644 $(STALIBNAME) $(LIBDIR)/$(STALIBNAME)
|
||||
- install -m 0644 $(MINLIBNAME) $(LIBDIR)/$(MINLIBNAME)
|
||||
+ install -m 0755 $(MINLIBNAME) $(LIBDIR)/$(MINLIBNAME)
|
||||
ln -sf $(MINLIBNAME) $(LIBDIR)/$(MAJLIBNAME)
|
||||
ln -sf $(MAJLIBNAME) $(LIBDIR)/$(LIBNAME)
|
||||
ifeq ($(FAKEROOT),)
|
||||
diff --git a/pam_cap/Makefile b/pam_cap/Makefile
|
||||
index 9ca5bef..bdae933 100644
|
||||
--- a/pam_cap/Makefile
|
||||
+++ b/pam_cap/Makefile
|
||||
@@ -9,6 +9,8 @@ include ../Make.Rules
|
||||
# written (and you know why it fails), email me and explain why. Thanks!
|
||||
LDLIBS += -L../libcap -lcap
|
||||
|
||||
+CFLAGS += -fPIC
|
||||
+
|
||||
all: pam_cap.so
|
||||
$(MAKE) testcompile
|
||||
|
||||
@@ -17,13 +19,13 @@ install: all
|
||||
install -m 0755 pam_cap.so $(LIBDIR)/security
|
||||
|
||||
pam_cap.so: pam_cap.o
|
||||
- $(LD) $(LDFLAGS) -o pam_cap.so $< $(LDLIBS)
|
||||
+ $(LD) $(CFLAGS) $(LDFLAGS) -o pam_cap.so $< $(LDLIBS)
|
||||
|
||||
pam_cap.o: pam_cap.c
|
||||
- $(CC) $(CFLAGS) $(IPATH) -c $< -o $@
|
||||
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
|
||||
|
||||
testcompile: test.c pam_cap.o
|
||||
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $+ -lpam -ldl $(LDLIBS)
|
||||
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $+ -lpam -ldl $(LDLIBS)
|
||||
|
||||
clean:
|
||||
rm -f *.o *.so testcompile *~
|
||||
diff --git a/progs/Makefile b/progs/Makefile
|
||||
index ef51dc6..c261f57 100644
|
||||
--- a/progs/Makefile
|
||||
+++ b/progs/Makefile
|
||||
@@ -22,7 +22,7 @@ $(BUILD): %: %.o
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
|
||||
|
||||
%.o: %.c $(INCS)
|
||||
- $(CC) $(IPATH) $(CFLAGS) -c $< -o $@
|
||||
+ $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
|
||||
|
||||
install: all
|
||||
mkdir -p -m 0755 $(SBINDIR)
|
||||
--
|
||||
1.7.4.rc2
|
||||
|
||||
54
sdk_container/src/third_party/portage-stable/sys-libs/libcap/files/libcap-2.22-no-perl.patch
vendored
Normal file
54
sdk_container/src/third_party/portage-stable/sys-libs/libcap/files/libcap-2.22-no-perl.patch
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
From fdd0f3b207785711663f48e0dd3414d90d1f2e86 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sat, 12 Nov 2011 14:24:08 -0500
|
||||
Subject: [PATCH] use awk/sed instead of perl for creating header files
|
||||
|
||||
More systems should have awk/sed than perl.
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
libcap/Makefile | 20 ++++++++++++++++----
|
||||
1 files changed, 16 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/libcap/Makefile b/libcap/Makefile
|
||||
index 4762c60..68845e0 100644
|
||||
--- a/libcap/Makefile
|
||||
+++ b/libcap/Makefile
|
||||
@@ -24,6 +24,8 @@ OBJS=$(addsuffix .o, $(FILES))
|
||||
MINLIBNAME=$(MAJLIBNAME).$(MINOR)
|
||||
GPERF_OUTPUT = _caps_output.gperf
|
||||
CFLAGS += -fPIC
|
||||
+AWK = awk
|
||||
+SED = sed
|
||||
|
||||
all: $(MINLIBNAME) $(STALIBNAME)
|
||||
|
||||
@@ -39,11 +41,21 @@ cap_names.h: _makenames
|
||||
./_makenames > cap_names.h
|
||||
|
||||
$(GPERF_OUTPUT): cap_names.list.h
|
||||
- perl -e 'print "struct __cap_token_s { const char *name; int index; };\n%{\nconst struct __cap_token_s *__cap_lookup_name(const char *, unsigned int);\n%}\n%%\n"; while ($$l = <>) { $$l =~ s/[\{\"]//g; $$l =~ s/\}.*// ; print $$l; }' < $< | gperf --ignore-case --language=ANSI-C --readonly --null-strings --global-table --hash-function-name=__cap_hash_name --lookup-function-name="__cap_lookup_name" -c -t -m20 $(INDENT) > $@
|
||||
+ (printf "%b" "struct __cap_token_s { const char *name; int index; };\n%{\nconst struct __cap_token_s *__cap_lookup_name(const char *, unsigned int);\n%}\n%%\n"; \
|
||||
+ $(SED) -e 's:["{}]::g' -e 's:,$$::' $<) | \
|
||||
+ gperf \
|
||||
+ --ignore-case \
|
||||
+ --language=ANSI-C \
|
||||
+ --readonly \
|
||||
+ --null-strings \
|
||||
+ --global-table \
|
||||
+ --hash-function-name=__cap_hash_name \
|
||||
+ --lookup-function-name="__cap_lookup_name" \
|
||||
+ -c -t -m20 $(INDENT) > $@
|
||||
|
||||
-cap_names.list.h: Makefile $(KERNEL_HEADERS)/linux/capability.h
|
||||
- @echo "=> making $@ from $(KERNEL_HEADERS)/linux/capability.h"
|
||||
- perl -e 'while ($$l=<>) { if ($$l =~ /^\#define[ \t](CAP[_A-Z]+)[ \t]+([0-9]+)\s+$$/) { $$tok=$$1; $$val=$$2; $$tok =~ tr/A-Z/a-z/; print "{\"$$tok\",$$val},\n"; } }' $(KERNEL_HEADERS)/linux/capability.h | fgrep -v 0x > $@
|
||||
+cap_names.list.h: $(KERNEL_HEADERS)/linux/capability.h Makefile
|
||||
+ @echo "=> making $@ from $<"
|
||||
+ $(AWK) '($$0 ~ /^#define[[:space:]]+CAP[_A-Z]+[[:space:]]+[0-9]+[[:space:]]*$$/) { printf "{\"%s\",%s},\n", tolower($$2), $$3 }' $< > $@
|
||||
|
||||
$(STALIBNAME): $(OBJS)
|
||||
$(AR) rcs $@ $^
|
||||
--
|
||||
1.7.6.1
|
||||
|
||||
47
sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.19.ebuild
vendored
Normal file
47
sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.19.ebuild
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-2.19.ebuild,v 1.1 2010/03/07 00:12:48 vapier Exp $
|
||||
|
||||
inherit eutils multilib toolchain-funcs pam
|
||||
|
||||
DESCRIPTION="POSIX 1003.1e capabilities"
|
||||
HOMEPAGE="http://www.friedhoff.org/posixfilecaps.html"
|
||||
SRC_URI="mirror://kernel/linux/libs/security/linux-privs/libcap${PV:0:1}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="pam"
|
||||
|
||||
RDEPEND="sys-apps/attr
|
||||
pam? ( virtual/pam )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-kernel/linux-headers"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.bz2
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/2.16/*.patch
|
||||
sed -i -e '/cap_setfcap.*morgan/s:^:#:' pam_cap/capability.conf
|
||||
sed -i \
|
||||
-e "/^PAM_CAP/s:=.*:=$(use pam && echo yes || echo no):" \
|
||||
-e '/^DYNAMIC/s:=.*:=yes:' \
|
||||
-e "/^lib=/s:=.*:=/usr/$(get_libdir):" \
|
||||
Make.Rules
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export BUILD_CC CC AR RANLIB
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
gen_usr_ldscript -a cap
|
||||
|
||||
dopammod pam_cap/pam_cap.so
|
||||
dopamsecurity '' pam_cap/capability.conf
|
||||
|
||||
dodoc CHANGELOG README doc/capability.notes
|
||||
}
|
||||
47
sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.20.ebuild
vendored
Normal file
47
sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.20.ebuild
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-2.20.ebuild,v 1.1 2011/01/25 21:00:58 vapier Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils multilib toolchain-funcs pam
|
||||
|
||||
DESCRIPTION="POSIX 1003.1e capabilities"
|
||||
HOMEPAGE="http://www.friedhoff.org/posixfilecaps.html"
|
||||
SRC_URI="mirror://kernel/linux/libs/security/linux-privs/libcap${PV:0:1}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="pam"
|
||||
|
||||
RDEPEND="sys-apps/attr
|
||||
pam? ( virtual/pam )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-kernel/linux-headers"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.20-build-system-fixes.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.20-ignore-RAISE_SETFCAP-install-failures.patch
|
||||
sed -i \
|
||||
-e "/^PAM_CAP/s:=.*:=$(use pam && echo yes || echo no):" \
|
||||
-e '/^DYNAMIC/s:=.*:=yes:' \
|
||||
-e "/^lib=/s:=.*:=/usr/$(get_libdir):" \
|
||||
Make.Rules
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export BUILD_CC CC AR RANLIB
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
gen_usr_ldscript -a cap
|
||||
|
||||
dopammod pam_cap/pam_cap.so
|
||||
dopamsecurity '' pam_cap/capability.conf
|
||||
|
||||
dodoc CHANGELOG README doc/capability.notes
|
||||
}
|
||||
48
sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.21.ebuild
vendored
Normal file
48
sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.21.ebuild
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-2.21.ebuild,v 1.1 2011/06/15 05:28:48 jer Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils multilib toolchain-funcs pam
|
||||
|
||||
DESCRIPTION="POSIX 1003.1e capabilities"
|
||||
HOMEPAGE="http://www.friedhoff.org/posixfilecaps.html"
|
||||
SRC_URI="mirror://kernel/linux/libs/security/linux-privs/libcap${PV:0:1}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="pam"
|
||||
|
||||
RDEPEND="sys-apps/attr
|
||||
pam? ( virtual/pam )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-kernel/linux-headers"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.20-build-system-fixes.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.20-ignore-RAISE_SETFCAP-install-failures.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.21-include.patch
|
||||
sed -i \
|
||||
-e "/^PAM_CAP/s:=.*:=$(use pam && echo yes || echo no):" \
|
||||
-e '/^DYNAMIC/s:=.*:=yes:' \
|
||||
-e "/^lib=/s:=.*:=/usr/$(get_libdir):" \
|
||||
Make.Rules
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export BUILD_CC CC AR RANLIB
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
gen_usr_ldscript -a cap
|
||||
|
||||
dopammod pam_cap/pam_cap.so
|
||||
dopamsecurity '' pam_cap/capability.conf
|
||||
|
||||
dodoc CHANGELOG README doc/capability.notes
|
||||
}
|
||||
52
sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.22-r1.ebuild
vendored
Normal file
52
sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.22-r1.ebuild
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-2.22-r1.ebuild,v 1.3 2013/11/28 20:41:27 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib toolchain-funcs pam
|
||||
|
||||
DESCRIPTION="POSIX 1003.1e capabilities"
|
||||
HOMEPAGE="http://www.friedhoff.org/posixfilecaps.html"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
# it's available under either of the licenses
|
||||
LICENSE="|| ( GPL-2 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
|
||||
IUSE="pam"
|
||||
|
||||
RDEPEND="sys-apps/attr
|
||||
pam? ( virtual/pam )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-kernel/linux-headers"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.22-build-system-fixes.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.22-no-perl.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.20-ignore-RAISE_SETFCAP-install-failures.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.21-include.patch
|
||||
sed -i \
|
||||
-e "/^PAM_CAP/s:=.*:=$(usex pam):" \
|
||||
-e '/^DYNAMIC/s:=.*:=yes:' \
|
||||
-e "/^lib=/s:=.*:=/usr/$(get_libdir):" \
|
||||
Make.Rules
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export_build_env BUILD_CC
|
||||
tc-export CC AR RANLIB
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# no configure, needs explicit install line #444724#c3
|
||||
emake install DESTDIR="${ED}"
|
||||
|
||||
gen_usr_ldscript -a cap
|
||||
|
||||
rm -rf "${ED}"/usr/$(get_libdir)/security
|
||||
dopammod pam_cap/pam_cap.so
|
||||
dopamsecurity '' pam_cap/capability.conf
|
||||
|
||||
dodoc CHANGELOG README doc/capability.notes
|
||||
}
|
||||
69
sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.22-r2.ebuild
vendored
Normal file
69
sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.22-r2.ebuild
vendored
Normal file
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-2.22-r2.ebuild,v 1.3 2013/12/03 19:45:03 floppym Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib multilib-minimal toolchain-funcs pam
|
||||
|
||||
DESCRIPTION="POSIX 1003.1e capabilities"
|
||||
HOMEPAGE="http://www.friedhoff.org/posixfilecaps.html"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
# it's available under either of the licenses
|
||||
LICENSE="|| ( GPL-2 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
|
||||
IUSE="pam"
|
||||
|
||||
RDEPEND="sys-apps/attr[${MULTILIB_USEDEP}]
|
||||
pam? ( virtual/pam )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-kernel/linux-headers"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.22-build-system-fixes.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.22-no-perl.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.20-ignore-RAISE_SETFCAP-install-failures.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.21-include.patch
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
if multilib_build_binaries && use pam; then
|
||||
pam=yes
|
||||
else
|
||||
pam=no
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "/^PAM_CAP/s:=.*:=${pam}:" \
|
||||
-e '/^DYNAMIC/s:=.*:=yes:' \
|
||||
-e "/^lib=/s:=.*:=/usr/$(get_libdir):" \
|
||||
Make.Rules
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export_build_env BUILD_CC
|
||||
tc-export AR CC RANLIB
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# no configure, needs explicit install line #444724#c3
|
||||
emake install DESTDIR="${ED}"
|
||||
|
||||
multilib_build_binaries && gen_usr_ldscript -a cap
|
||||
|
||||
rm -rf "${ED}"/usr/$(get_libdir)/security
|
||||
if multilib_build_binaries && 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
|
||||
}
|
||||
51
sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.22.ebuild
vendored
Normal file
51
sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.22.ebuild
vendored
Normal file
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-2.22.ebuild,v 1.13 2013/11/28 20:41:27 vapier Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils multilib toolchain-funcs pam
|
||||
|
||||
DESCRIPTION="POSIX 1003.1e capabilities"
|
||||
HOMEPAGE="http://www.friedhoff.org/posixfilecaps.html"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
# it's available under either of the licenses
|
||||
LICENSE="|| ( GPL-2 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
|
||||
IUSE="pam"
|
||||
|
||||
RDEPEND="sys-apps/attr
|
||||
pam? ( virtual/pam )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-kernel/linux-headers"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.22-build-system-fixes.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.22-no-perl.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.20-ignore-RAISE_SETFCAP-install-failures.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.21-include.patch
|
||||
sed -i \
|
||||
-e "/^PAM_CAP/s:=.*:=$(usex pam):" \
|
||||
-e '/^DYNAMIC/s:=.*:=yes:' \
|
||||
-e "/^lib=/s:=.*:=/usr/$(get_libdir):" \
|
||||
Make.Rules
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export_build_env BUILD_CC
|
||||
tc-export CC AR RANLIB
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
gen_usr_ldscript -a cap
|
||||
|
||||
rm -rf "${D}"/usr/$(get_libdir)/security
|
||||
dopammod pam_cap/pam_cap.so
|
||||
dopamsecurity '' pam_cap/capability.conf
|
||||
|
||||
dodoc CHANGELOG README doc/capability.notes
|
||||
}
|
||||
5
sdk_container/src/third_party/portage-stable/sys-libs/libcap/metadata.xml
vendored
Normal file
5
sdk_container/src/third_party/portage-stable/sys-libs/libcap/metadata.xml
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>base-system</herd>
|
||||
</pkgmetadata>
|
||||
Loading…
x
Reference in New Issue
Block a user