1 |
commit: 57c4724315a67cae7b87f6a3b7aa1a5f83ca1a41 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 1 02:41:02 2012 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 1 02:41:02 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=57c47243 |
7 |
|
8 |
sys-apps/busybox: remove uneeded patches |
9 |
|
10 |
Package-Manager: portage-2.1.11.31 |
11 |
Manifest-Sign-Key: 0xF52D4BBA |
12 |
|
13 |
--- |
14 |
sys-apps/busybox/Manifest | 30 +++--- |
15 |
sys-apps/busybox/busybox-9999.ebuild | 1 - |
16 |
.../files/busybox-1.20.2-glibc-sys-resource.patch | 109 -------------------- |
17 |
.../files/busybox-1.20.2-selinux-pkg-config.patch | 67 ------------ |
18 |
4 files changed, 14 insertions(+), 193 deletions(-) |
19 |
|
20 |
diff --git a/sys-apps/busybox/Manifest b/sys-apps/busybox/Manifest |
21 |
index a3b867b..2210bc1 100644 |
22 |
--- a/sys-apps/busybox/Manifest |
23 |
+++ b/sys-apps/busybox/Manifest |
24 |
@@ -2,8 +2,6 @@ |
25 |
Hash: SHA256 |
26 |
|
27 |
AUX busybox-1.19.0-bb.patch 908 SHA256 98f92c2edbcf61d1bacef783ea8b08cce07051b0a4489ed3f4579296846f89f1 SHA512 d4024e531ce7113cf554646608b1ef356e51691e3e21d165621b3690c82b56a319867b90d9daba548b635d9dbd41be5efea63181b7123d4505e529d863a8214c WHIRLPOOL b0d6d9b08ad0930e5243c7addc8a6db61505e95ed8e72c64fbfd734cb6ff9e303b3eb8ea6ec4790b2be567783664230cf278eb3e673fa0844c3881cf993f7cb8 |
28 |
-AUX busybox-1.20.2-glibc-sys-resource.patch 3054 SHA256 03d64c3b864fc5caa9ec56e3d2bf3bcd43801ee82e27332dbfe412138c9502d7 SHA512 c895d7ad0bf379b3ff1c4114af7f8fe0d53b1e60371ac1faaaf3434c293e125be4d79a6ee17d1aa2a923629b09416b833dd3408b9b4dabf56dd74d630c24e9ff WHIRLPOOL ff3e347035a4eb500762d59e35ff8cd2a91130de1c73b0666331f62fc19c586646fd713814e6712d53449d484fc2479ec0e5c29dfe3a19feb2163350a9171fac |
29 |
-AUX busybox-1.20.2-selinux-pkg-config.patch 2009 SHA256 09d34cafa860cfabfb6911b087fa5887dd7f8b0026955654904fdb79d5281e76 SHA512 7b9b5cfc890d6c751727c6873df66ada967973786a2056a33e76663358aefe2d5828b366f6ce85b573bc01737426a1019dd2f0177caceef9dfac32904ee01d84 WHIRLPOOL fef2b477065ed309298788e35b82fd77d3297eb52eb59f065ebb9c631ec4a3f849ef99a014bdf682469ee1e8683debc312993faf1ad094e2f9afd8ce99c955aa |
30 |
AUX busybox-ntpd.confd 186 SHA256 4bff7f5c66f4eece52e4381fd2706e591f10eb50f3c3a4132344d34150dc54de SHA512 b0ef111ea7dd6a096acf711d2d84a7c3d38e7e8c181f734053d38c565ab44ecf843ef32c0de0c4e7ecec990e97468a2545f83821beedb125cd6723ed74c67ad8 WHIRLPOOL a1b228ae22c61de6ecc7fa58edcd4c3941b3762a45fcc38d05bd1c9428bc553b1a158c101d65a99ba63d4bc19b269e834b3f0eba40a5a1c81e0ae876a2ecb42c |
31 |
AUX busybox-ntpd.initd 602 SHA256 95383156f6f417719bd4d5655e9291e2e7a3e9fa815329eb60c2b911e79f859b SHA512 6aff8dc4e7740f58f1d43aafd1aca22fecb9f138ec155e4a1bae43a214007e06d92bc648bf965f08fc151b00cc97c32f24bf0691847a79e684f3972ee7356d82 WHIRLPOOL 0b09ae03d45d9af92bda0f0f716c3c112c1be353e229fbe8d84614d87b844bc130d5d5cdb819d496382d943e584cca347465cc4139a9ed2d57212de85805d0bc |
32 |
AUX busybox-sysklogd.confd 319 SHA256 41a7dcb89156a80387a56579757e3a9f0f87ae4e0e955997e31092ab015a3152 SHA512 c9ddc5bec07c76b1ac4b3ceeb9dcdbaa96ef0791bc3a699b7cf1645d2765d74f5bb105e4d7912d67d8af0bf02e8447b6771edd789a05c7e4d9afeaf3a45896d2 WHIRLPOOL 6f2b18cea47118bfae04ecf932e62464a8574db1a2f45c5d4cb6d7a2352a117865bfffff9e367b51701c15103ef5a68f4b27a83b1e179ddfecb8529f68eb4038 |
33 |
@@ -18,22 +16,22 @@ AUX mdev/dvbdev 356 SHA256 ef091bb4c8943a99b9a97b556cdc15ddd20275f5afa8287e20141 |
34 |
AUX mdev/ide_links 440 SHA256 3fccc9ee437e3dcc8ac73bfe3713334a7156a112fe442e052fff4f26ff0f6a88 SHA512 0142234d0bda86ad1e5f88f1da34669e5fda46a0fd52ce507bd49ce74d2b7c12c323e8db863bccb924e6d632b568db8b243361b217c5b2e1d92a25feb6e62dec WHIRLPOOL ce02358a65ad2beeab12485379e322736c7b6b58ff44a20b880d9bab8806e04890a385b94228f2db685150dfe0a3c716f842ce5c1c7f579c8208ab4e9a6ae852 |
35 |
AUX mdev/usbdev 1624 SHA256 113ecaa722fa1f4e1c76489e2a7b24099778615a5bccd443aa9cbab28c6d05d0 SHA512 f2d98050eeeb2fbb299298e221f47182a74ed901d2c8c848aa297ebd461c62c30d2fb968bb3eb723a6d9c268fac4a3c40a18aa59ed934043d42c38a1f6b9f5a2 WHIRLPOOL 9b773cb41827bf5777061ec7ed432315bc5bf070768a44ceec7c893af2266d8c06ea4c061711b2696a8228d72c7222fbf52d26fb92b4112158716727b3bc1e38 |
36 |
AUX mdev/usbdisk_link 984 SHA256 4957f6991e0cb988b263b5276b582f1757deecad19cddebe3c615b381df9f858 SHA512 392c40d223bdff59a624bd67907c06cff9c1b5468c25c19e10dbc3cef3208275d93966e760f140d71a86cb36ec796ea08dbaa767b40c12e9326c3c72964b28a8 WHIRLPOOL 439e0c86e312e685bce1f7a4a67f709c4556de69b40112d97d6a376bc7da9d73e794663d06097f721173d97bf4f671ddbb4d0c4838db604e7cd13d2c531ede19 |
37 |
-EBUILD busybox-9999.ebuild 9415 SHA256 57b91eeb0b135ce4f2e518e1beb5fbd1939e2b9240937efef86154da5b472612 SHA512 0335dee69882fb84a779aca4f32fe3d9d2511490b7ad35e245c7d7460ad68af67b6638dddc747e46ba30b3287d346a634a46ae827459ddd3c7a2b2e41492f49e WHIRLPOOL 29116f0016ec7c2e1244d6c655337cced07fd4b909afdedd911afd73d8cb7fc92e6e4873d30a78f5080e7cf1b7409d5d2b00567bc52f017935e33c2d0dd141e2 |
38 |
+EBUILD busybox-9999.ebuild 9380 SHA256 5eb471a98e5a2bc00d135004f7a2f92d9f8ce45f138d2461c8a622b30b608f5a SHA512 5559b25e7353e3a9d9bf4a0fc439cdff629182f763ef24342cdb076a4c2f2013c6ea2aac17475a84bb870287ad0007475cd0a1d35b39818cdeefa4021ba556d0 WHIRLPOOL 1c46244d253d7f0f47dda8ed59b477b6e8596178d6d7ebfc2737b67260f06ded67ba520e1d7ee3ab5d42c9c9a5aa485d211b763a5a437d2fd6684023d6f61533 |
39 |
MISC metadata.xml 856 SHA256 96bd35614f2246ff9fbbcc5a3e78f524160279cb92c073b7bac2d9802e42de1a SHA512 974fa556e606efc3bd65d1486eefb2eefdef001fc882ba2ab436468313d948fe3d0a2701bd302f5107401604f6cdf4bf78f66f9b8f0ddf4be81e55c3958fffc2 WHIRLPOOL 5ccbbb9c8ee41a97074155eec2f602fc126597bf2030f9ae1c5ad8289e6765586ac83e6e1b58e9e411b20debb3fda959f58da8141948d60b5438a47ff24dcc06 |
40 |
-----BEGIN PGP SIGNATURE----- |
41 |
Version: GnuPG v2.0.19 (GNU/Linux) |
42 |
|
43 |
-iQIcBAEBCAAGBQJQuWwaAAoJEJOE+m71LUu6RXEP/2exxbdryvRbkhdUZfm9+Ea0 |
44 |
-vtOeuh0e6rJxv+i1ng9hxy0s7DRVrBRMRS8Vby3pnOGOQ/Fl3jWP88U5ptT8P2lv |
45 |
-azPF77DpYf83bcRh/oI5YnW50aXyMVh21ro5jAMfCoto8Cd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j4x2pSwBTnSVS6khSiAjjrVkLE4Ip8Jr3solwKpADJ9I85oMlR1XQ |
63 |
+LwlZETwmaiRD11mcWGObl/m9AH64P284CYIbpifcfTsHo5VHz7YrUs/QZfKSkpjY |
64 |
+dk38YpGiorg116TOGpBF4wgr6gaBJ1iEWbb/Trnnxfk+IHUqWNhW9s/H6CkXBd7r |
65 |
+H3hzE8Y7GrCEoGZuYP8MOM9vIIkn91R5c1R2BapCst77uIreEyo1C/0Q0tA7P2+D |
66 |
+jGHQIGbV7lhM1BzdPnqw1KZ/tJgaKLD+ORpUDiUpc318DWT0ksOsgqPByrECo8ds |
67 |
+y33WNPWLWfsrz9tihKOs |
68 |
+=BghK |
69 |
-----END PGP SIGNATURE----- |
70 |
|
71 |
diff --git a/sys-apps/busybox/busybox-9999.ebuild b/sys-apps/busybox/busybox-9999.ebuild |
72 |
index d19d5cf..922d526 100644 |
73 |
--- a/sys-apps/busybox/busybox-9999.ebuild |
74 |
+++ b/sys-apps/busybox/busybox-9999.ebuild |
75 |
@@ -88,7 +88,6 @@ src_prepare() { |
76 |
|
77 |
# patches go here! |
78 |
epatch "${FILESDIR}"/${PN}-1.19.0-bb.patch |
79 |
- epatch "${FILESDIR}"/${P}-*.patch |
80 |
cp "${FILESDIR}"/ginit.c init/ || die |
81 |
|
82 |
# flag cleanup |
83 |
|
84 |
diff --git a/sys-apps/busybox/files/busybox-1.20.2-glibc-sys-resource.patch b/sys-apps/busybox/files/busybox-1.20.2-glibc-sys-resource.patch |
85 |
deleted file mode 100644 |
86 |
index f682d00..0000000 |
87 |
--- a/sys-apps/busybox/files/busybox-1.20.2-glibc-sys-resource.patch |
88 |
+++ /dev/null |
89 |
@@ -1,109 +0,0 @@ |
90 |
-https://bugs.gentoo.org/424954 |
91 |
- |
92 |
-From c5fe9f7b723f949457263ef8e22ab807d5b549ce Mon Sep 17 00:00:00 2001 |
93 |
-From: Mike Frysinger <vapier@g.o> |
94 |
-Date: Thu, 5 Jul 2012 23:19:09 -0400 |
95 |
-Subject: [PATCH] include sys/resource.h where needed |
96 |
- |
97 |
-We use functions from sys/resource.h in misc applets, but don't include |
98 |
-the header. This breaks building with newer glibc versions, so add the |
99 |
-include where needed. |
100 |
- |
101 |
-Signed-off-by: Mike Frysinger <vapier@g.o> |
102 |
---- |
103 |
- loginutils/passwd.c | 1 + |
104 |
- miscutils/time.c | 1 + |
105 |
- networking/inetd.c | 1 + |
106 |
- networking/ntpd.c | 1 + |
107 |
- networking/ntpd_simple.c | 1 + |
108 |
- runit/chpst.c | 1 + |
109 |
- shell/shell_common.c | 1 + |
110 |
- 7 files changed, 7 insertions(+) |
111 |
- |
112 |
-diff --git a/loginutils/passwd.c b/loginutils/passwd.c |
113 |
-index b83db00..a7006f0 100644 |
114 |
---- a/loginutils/passwd.c |
115 |
-+++ b/loginutils/passwd.c |
116 |
-@@ -15,6 +15,7 @@ |
117 |
- |
118 |
- #include "libbb.h" |
119 |
- #include <syslog.h> |
120 |
-+#include <sys/resource.h> /* setrlimit */ |
121 |
- |
122 |
- static void nuke_str(char *str) |
123 |
- { |
124 |
-diff --git a/miscutils/time.c b/miscutils/time.c |
125 |
-index 945f15f..ffed386 100644 |
126 |
---- a/miscutils/time.c |
127 |
-+++ b/miscutils/time.c |
128 |
-@@ -16,6 +16,7 @@ |
129 |
- //usage: "\n -v Verbose" |
130 |
- |
131 |
- #include "libbb.h" |
132 |
-+#include <sys/resource.h> /* getrusage */ |
133 |
- |
134 |
- /* Information on the resources used by a child process. */ |
135 |
- typedef struct { |
136 |
-diff --git a/networking/inetd.c b/networking/inetd.c |
137 |
-index 1308d74..00baf69 100644 |
138 |
---- a/networking/inetd.c |
139 |
-+++ b/networking/inetd.c |
140 |
-@@ -165,6 +165,7 @@ |
141 |
- //usage: "\n (default: 0 - disabled)" |
142 |
- |
143 |
- #include <syslog.h> |
144 |
-+#include <sys/resource.h> /* setrlimit */ |
145 |
- #include <sys/un.h> |
146 |
- |
147 |
- #include "libbb.h" |
148 |
-diff --git a/networking/ntpd.c b/networking/ntpd.c |
149 |
-index 72e9d0b..5b92db6 100644 |
150 |
---- a/networking/ntpd.c |
151 |
-+++ b/networking/ntpd.c |
152 |
-@@ -46,6 +46,7 @@ |
153 |
- #include "libbb.h" |
154 |
- #include <math.h> |
155 |
- #include <netinet/ip.h> /* For IPTOS_LOWDELAY definition */ |
156 |
-+#include <sys/resource.h> /* setpriority */ |
157 |
- #include <sys/timex.h> |
158 |
- #ifndef IPTOS_LOWDELAY |
159 |
- # define IPTOS_LOWDELAY 0x10 |
160 |
-diff --git a/networking/ntpd_simple.c b/networking/ntpd_simple.c |
161 |
-index 4ad44e4..1b7c66b 100644 |
162 |
---- a/networking/ntpd_simple.c |
163 |
-+++ b/networking/ntpd_simple.c |
164 |
-@@ -7,6 +7,7 @@ |
165 |
- */ |
166 |
- #include "libbb.h" |
167 |
- #include <netinet/ip.h> /* For IPTOS_LOWDELAY definition */ |
168 |
-+#include <sys/resource.h> /* setpriority */ |
169 |
- #ifndef IPTOS_LOWDELAY |
170 |
- # define IPTOS_LOWDELAY 0x10 |
171 |
- #endif |
172 |
-diff --git a/runit/chpst.c b/runit/chpst.c |
173 |
-index ac296ba..ed72c8b 100644 |
174 |
---- a/runit/chpst.c |
175 |
-+++ b/runit/chpst.c |
176 |
-@@ -91,6 +91,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
177 |
- //usage: "\n a SIGXCPU after N seconds" |
178 |
- |
179 |
- #include "libbb.h" |
180 |
-+#include <sys/resource.h> /* getrlimit */ |
181 |
- |
182 |
- /* |
183 |
- Five applets here: chpst, envdir, envuidgid, setuidgid, softlimit. |
184 |
-diff --git a/shell/shell_common.c b/shell/shell_common.c |
185 |
-index 51c92d6..780e27e 100644 |
186 |
---- a/shell/shell_common.c |
187 |
-+++ b/shell/shell_common.c |
188 |
-@@ -18,6 +18,7 @@ |
189 |
- */ |
190 |
- #include "libbb.h" |
191 |
- #include "shell_common.h" |
192 |
-+#include <sys/resource.h> /* getrlimit */ |
193 |
- |
194 |
- const char defifsvar[] ALIGN1 = "IFS= \t\n"; |
195 |
- |
196 |
--- |
197 |
-1.7.9.7 |
198 |
- |
199 |
|
200 |
diff --git a/sys-apps/busybox/files/busybox-1.20.2-selinux-pkg-config.patch b/sys-apps/busybox/files/busybox-1.20.2-selinux-pkg-config.patch |
201 |
deleted file mode 100644 |
202 |
index 5e9ef26..0000000 |
203 |
--- a/sys-apps/busybox/files/busybox-1.20.2-selinux-pkg-config.patch |
204 |
+++ /dev/null |
205 |
@@ -1,67 +0,0 @@ |
206 |
-From 5694afd72a0a424fcdd2ac85838229a1a86b7e84 Mon Sep 17 00:00:00 2001 |
207 |
-From: Mike Frysinger <vapier@g.o> |
208 |
-Date: Sat, 20 Oct 2012 15:01:26 -0400 |
209 |
-Subject: [PATCH] build system: use pkg-config to look up selinux libs |
210 |
- |
211 |
-Newer versions of libselinux has started linking against more libs. |
212 |
-Rather than continuing hardcoding things, switch to using pkg-config |
213 |
-to query for its dependencies. |
214 |
- |
215 |
-Signed-off-by: Mike Frysinger <vapier@g.o> |
216 |
---- |
217 |
- Makefile | 1 + |
218 |
- Makefile.flags | 12 +++++++++++- |
219 |
- 2 files changed, 12 insertions(+), 1 deletion(-) |
220 |
- |
221 |
-diff --git a/Makefile b/Makefile |
222 |
-index b2e9477..8995ff5 100644 |
223 |
---- a/Makefile |
224 |
-+++ b/Makefile |
225 |
-@@ -297,6 +297,7 @@ NM = $(CROSS_COMPILE)nm |
226 |
- STRIP = $(CROSS_COMPILE)strip |
227 |
- OBJCOPY = $(CROSS_COMPILE)objcopy |
228 |
- OBJDUMP = $(CROSS_COMPILE)objdump |
229 |
-+PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config |
230 |
- AWK = awk |
231 |
- GENKSYMS = scripts/genksyms/genksyms |
232 |
- DEPMOD = /sbin/depmod |
233 |
-diff --git a/Makefile.flags b/Makefile.flags |
234 |
-index e77c0e5..307afa7 100644 |
235 |
---- a/Makefile.flags |
236 |
-+++ b/Makefile.flags |
237 |
-@@ -78,6 +78,12 @@ ARCH_FPIC ?= -fpic |
238 |
- ARCH_FPIE ?= -fpie |
239 |
- ARCH_PIE ?= -pie |
240 |
- |
241 |
-+# Usage: $(eval $(call pkg_check_modules,VARIABLE-PREFIX,MODULES)) |
242 |
-+define pkg_check_modules |
243 |
-+$(1)_CFLAGS := $(shell $(PKG_CONFIG) $(PKG_CONFIG_FLAGS) --cflags $(2)) |
244 |
-+$(1)_LIBS := $(shell $(PKG_CONFIG) $(PKG_CONFIG_FLAGS) --libs $(2)) |
245 |
-+endef |
246 |
-+ |
247 |
- ifeq ($(CONFIG_BUILD_LIBBUSYBOX),y) |
248 |
- # on i386: 14% smaller libbusybox.so |
249 |
- # (code itself is 9% bigger, we save on relocs/PLT/GOT) |
250 |
-@@ -89,6 +95,7 @@ endif |
251 |
- |
252 |
- ifeq ($(CONFIG_STATIC),y) |
253 |
- CFLAGS_busybox += -static |
254 |
-+PKG_CONFIG_FLAGS += --static |
255 |
- endif |
256 |
- |
257 |
- ifeq ($(CONFIG_PIE),y) |
258 |
-@@ -131,7 +138,10 @@ LDLIBS += pam pam_misc pthread |
259 |
- endif |
260 |
- |
261 |
- ifeq ($(CONFIG_SELINUX),y) |
262 |
--LDLIBS += selinux sepol |
263 |
-+SELINUX_PC_MODULES = libselinux libsepol |
264 |
-+$(eval $(call pkg_check_modules,SELINUX,$(SELINUX_PC_MODULES))) |
265 |
-+CPPFLAGS += $(SELINUX_CFLAGS) |
266 |
-+LDLIBS += $(if $(SELINUX_LIBS),$(SELINUX_LIBS:-l%=%),$(SELINUX_PC_MODULES:lib%=%)) |
267 |
- endif |
268 |
- |
269 |
- ifeq ($(CONFIG_EFENCE),y) |
270 |
--- |
271 |
-1.7.12 |
272 |
- |