1 |
commit: 3e43d2c4b1dc59de43f7e8108208e9f985e83fea |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 7 15:10:37 2016 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 7 15:16:37 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e43d2c4 |
7 |
|
8 |
sys-libs/libselinux: Drop patch that was already included |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
...2.6-0005-use-ruby-include-with-rubylibver.patch | 39 ---------------------- |
13 |
sys-libs/libselinux/libselinux-2.6_rc2.ebuild | 1 - |
14 |
sys-libs/libselinux/libselinux-9999.ebuild | 1 - |
15 |
3 files changed, 41 deletions(-) |
16 |
|
17 |
diff --git a/sys-libs/libselinux/files/libselinux-2.6-0005-use-ruby-include-with-rubylibver.patch b/sys-libs/libselinux/files/libselinux-2.6-0005-use-ruby-include-with-rubylibver.patch |
18 |
deleted file mode 100644 |
19 |
index a2f704d..00000000 |
20 |
--- a/sys-libs/libselinux/files/libselinux-2.6-0005-use-ruby-include-with-rubylibver.patch |
21 |
+++ /dev/null |
22 |
@@ -1,39 +0,0 @@ |
23 |
-From 024a8628e698e8c90f7876a35c820f30c6957031 Mon Sep 17 00:00:00 2001 |
24 |
-From: Jason Zaman <jason@×××××××××.com> |
25 |
-Date: Sun, 2 Oct 2016 02:06:35 +0800 |
26 |
-Subject: [PATCH] libselinux: versioned ruby pkg-config and query vendorarchdir |
27 |
- properly |
28 |
- |
29 |
-Gentoo and Arch have pkg-config entries for "ruby-$(RUBYLIBVER)" but not |
30 |
-for "ruby". Check if that exists first then fall back to plain ruby if |
31 |
-it does not. |
32 |
- |
33 |
-The ruby install paths were incorrect. Fedora 20 installed to |
34 |
-/usr/lib64/ruby/vendor_ruby/, Arch needs it to be vendor_ruby as well, |
35 |
-site_ruby does not work. Thanks to Nicolas Iooss for the correct way to |
36 |
-query for the path. |
37 |
- |
38 |
-Signed-off-by: Jason Zaman <jason@×××××××××.com> |
39 |
---- |
40 |
- libselinux/src/Makefile | 5 ++--- |
41 |
- 1 file changed, 2 insertions(+), 3 deletions(-) |
42 |
- |
43 |
-diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile |
44 |
-index 7169230..f9e3de1 100644 |
45 |
---- libselinux/src/Makefile |
46 |
-+++ libselinux/src/Makefile |
47 |
-@@ -16,9 +16,8 @@ PYLIBVER ?= $(shell $(PYTHON) -c 'import sys;print("python%d.%d" % sys.version_i |
48 |
- PYINC ?= $(shell $(PKG_CONFIG) --cflags $(PYPREFIX)) |
49 |
- PYLIBDIR ?= $(LIBDIR)/$(PYLIBVER) |
50 |
- RUBYLIBVER ?= $(shell $(RUBY) -e 'print RUBY_VERSION.split(".")[0..1].join(".")') |
51 |
--RUBYPLATFORM ?= $(shell $(RUBY) -e 'print RUBY_PLATFORM') |
52 |
--RUBYINC ?= $(shell $(PKG_CONFIG) --cflags ruby) |
53 |
--RUBYINSTALL ?= $(LIBDIR)/ruby/site_ruby/$(RUBYLIBVER)/$(RUBYPLATFORM) |
54 |
-+RUBYINC ?= $(shell $(PKG_CONFIG) --exists ruby-$(RUBYLIBVER) && $(PKG_CONFIG) --cflags ruby-$(RUBYLIBVER) || $(PKG_CONFIG) --cflags ruby) |
55 |
-+RUBYINSTALL ?= $(DESTDIR)$(shell $(RUBY) -e 'puts RbConfig::CONFIG["vendorarchdir"]') |
56 |
- LIBBASE ?= $(shell basename $(LIBDIR)) |
57 |
- |
58 |
- VERSION = $(shell cat ../VERSION) |
59 |
--- |
60 |
-2.7.3 |
61 |
- |
62 |
|
63 |
diff --git a/sys-libs/libselinux/libselinux-2.6_rc2.ebuild b/sys-libs/libselinux/libselinux-2.6_rc2.ebuild |
64 |
index 0c6c842..4e99ff9 100644 |
65 |
--- a/sys-libs/libselinux/libselinux-2.6_rc2.ebuild |
66 |
+++ b/sys-libs/libselinux/libselinux-2.6_rc2.ebuild |
67 |
@@ -47,7 +47,6 @@ DEPEND="${RDEPEND} |
68 |
src_prepare() { |
69 |
if [[ ${PV} != 9999 ]] ; then |
70 |
# If needed for live builds, place them in /etc/portage/patches |
71 |
- eapply "${FILESDIR}/libselinux-2.6-0005-use-ruby-include-with-rubylibver.patch" |
72 |
eapply "${FILESDIR}/libselinux-2.6-0007-build-related-fixes-bug-500674.patch" |
73 |
fi |
74 |
|
75 |
|
76 |
diff --git a/sys-libs/libselinux/libselinux-9999.ebuild b/sys-libs/libselinux/libselinux-9999.ebuild |
77 |
index 0c6c842..4e99ff9 100644 |
78 |
--- a/sys-libs/libselinux/libselinux-9999.ebuild |
79 |
+++ b/sys-libs/libselinux/libselinux-9999.ebuild |
80 |
@@ -47,7 +47,6 @@ DEPEND="${RDEPEND} |
81 |
src_prepare() { |
82 |
if [[ ${PV} != 9999 ]] ; then |
83 |
# If needed for live builds, place them in /etc/portage/patches |
84 |
- eapply "${FILESDIR}/libselinux-2.6-0005-use-ruby-include-with-rubylibver.patch" |
85 |
eapply "${FILESDIR}/libselinux-2.6-0007-build-related-fixes-bug-500674.patch" |
86 |
fi |