sngrep: fix error if gnutls and openssl are both enabled
[buildroot-gz.git] / package / open-plc-utils / 0001-Remove-OWNER-and-GROUPS-parameters-to-install.patch
blob9fc30a969f09db613ac0d133277076d2ab430d41
1 From fdfeac7e77382ddd0e3fb4f2abeae84f0a31584f Mon Sep 17 00:00:00 2001
2 From: Maxime Hadjinlian <maxime.hadjinlian@devialet.com>
3 Date: Tue, 30 Sep 2014 13:46:59 +0200
4 Subject: [PATCH] Remove OWNER and GROUPS parameters to install
6 The Install tries to change the owner and groups of the binary. In
7 Buildroot we don't want that, since fakeroot will do its job when we
8 finalize the rootfs.
10 Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@devialet.com>
11 ---
12 docbook/Makefile | 4 ++--
13 ether/Makefile | 8 ++++----
14 iso15118/Makefile | 8 ++++----
15 key/Makefile | 8 ++++----
16 mdio/Makefile | 8 ++++----
17 mme/Makefile | 8 ++++----
18 nvm/Makefile | 8 ++++----
19 pib/Makefile | 8 ++++----
20 plc/Makefile | 8 ++++----
21 ram/Makefile | 8 ++++----
22 scripts/Makefile | 4 ++--
23 serial/Makefile | 8 ++++----
24 slac/Makefile | 8 ++++----
25 tools/Makefile | 2 +-
26 14 files changed, 49 insertions(+), 49 deletions(-)
28 diff --git a/docbook/Makefile b/docbook/Makefile
29 index d630822..23a9b5a 100755
30 --- a/docbook/Makefile
31 +++ b/docbook/Makefile
32 @@ -32,9 +32,9 @@ manuals:
33 ${SHELL} ../docbook/manuals
34 scripts:
35 library:
36 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${LIBRARY}
37 + install -m ${DIR_PERM} -d ${LIBRARY}
38 install: library
39 - if [ -d ${LIBRARY} ]; then install -m ${WWW_PERM} -o ${OWNER} -g ${GROUP} *.html *.css *.png ${LIBRARY}; fi
40 + if [ -d ${LIBRARY} ]; then install -m ${WWW_PERM} *.html *.css *.png ${LIBRARY}; fi
41 uninstall:
42 rm -f ${LIBRARY}/*.c.html ${LIBRARY}/*.h.html ${LIBRARY}/*.1.html
43 setup:
44 diff --git a/ether/Makefile b/ether/Makefile
45 index 807cbcb..574050a 100755
46 --- a/ether/Makefile
47 +++ b/ether/Makefile
48 @@ -27,13 +27,13 @@ compact: compile
49 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
50 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
51 library:
52 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
53 + install -m ${DIR_PERM} -d ${BIN}
54 scripts:
55 manuals:
56 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
57 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
58 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
59 + install -m ${MAN_PERM} ${PAGES} ${MAN}
60 install: $(TOOLS) library
61 - install -m ${SUID_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
62 + install -m ${SUID_PERM} ${TOOLS} ${BIN}
63 uninstall:
64 cd ${BIN}; rm -f ${TOOLS}
65 check:
66 diff --git a/iso15118/Makefile b/iso15118/Makefile
67 index 72afdc4..da11a1c 100755
68 --- a/iso15118/Makefile
69 +++ b/iso15118/Makefile
70 @@ -27,13 +27,13 @@ compact: compile
71 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
72 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
73 library:
74 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
75 + install -m ${DIR_PERM} -d ${BIN}
76 scripts:
77 manuals:
78 - if [ ! -d ${MAN} ]; then install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}; fi
79 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
80 + if [ ! -d ${MAN} ]; then install -m ${DIR_PERM} -d ${MAN}; fi
81 + install -m ${MAN_PERM} ${PAGES} ${MAN}
82 install: compile library
83 - install -m ${SUID_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
84 + install -m ${SUID_PERM} ${TOOLS} ${BIN}
85 uninstall:
86 cd ${BIN}; rm -f plc ${TOOLS}
87 cd ${MAN}; rm -f plc ${PAGES}
88 diff --git a/key/Makefile b/key/Makefile
89 index 7de75ff..ee8968c 100755
90 --- a/key/Makefile
91 +++ b/key/Makefile
92 @@ -28,13 +28,13 @@ compact: compile
93 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
94 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
95 library:
96 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
97 + install -m ${DIR_PERM} -d ${BIN}
98 scripts:
99 manuals:
100 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
101 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
102 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
103 + install -m ${MAN_PERM} ${PAGES} ${MAN}
104 install: $(TOOLS)
105 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
106 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
107 uninstall:
108 cd ${BIN}; rm -f ${TOOLS}
109 cd ${MAN}; rm -f ${PAGES}
110 diff --git a/mdio/Makefile b/mdio/Makefile
111 index 60a75a9..062d858 100755
112 --- a/mdio/Makefile
113 +++ b/mdio/Makefile
114 @@ -27,13 +27,13 @@ compact: compile
115 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
116 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
117 library:
118 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
119 + install -m ${DIR_PERM} -d ${BIN}
120 scripts:
121 manuals:
122 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
123 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
124 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
125 + install -m ${MAN_PERM} ${PAGES} ${MAN}
126 install: $(TOOLS) library
127 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
128 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
129 uninstall:
130 cd ${BIN}; rm -f int6k ${TOOLS}
131 cd ${MAN}; rm -f int6k ${PAGES}
132 diff --git a/mme/Makefile b/mme/Makefile
133 index d6a9132..23f4775 100755
134 --- a/mme/Makefile
135 +++ b/mme/Makefile
136 @@ -27,13 +27,13 @@ compact: compile
137 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
138 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
139 library:
140 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
141 + install -m ${DIR_PERM} -d ${BIN}
142 scripts:
143 manuals:
144 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
145 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
146 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
147 + install -m ${MAN_PERM} ${PAGES} ${MAN}
148 install: $(TOOLS) library
149 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
150 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
151 uninstall:
152 cd ${BIN}; rm -f ${TOOLS}
153 check:
154 diff --git a/nvm/Makefile b/nvm/Makefile
155 index 5ae47d2..d7f4037 100755
156 --- a/nvm/Makefile
157 +++ b/nvm/Makefile
158 @@ -28,12 +28,12 @@ compact: compile
159 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
160 scripts:
161 manuals:
162 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
163 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
164 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
165 + install -m ${MAN_PERM} ${PAGES} ${MAN}
166 library:
167 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
168 + install -m ${DIR_PERM} -d ${BIN}
169 install: $(TOOLS) library
170 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
171 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
172 uninstall:
173 cd ${BIN}; rm -f ${TOOLS}
174 check:
175 diff --git a/pib/Makefile b/pib/Makefile
176 index 3af94c8..908b03a 100644
177 --- a/pib/Makefile
178 +++ b/pib/Makefile
179 @@ -30,12 +30,12 @@ compact: compile
180 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
181 scripts:
182 manuals:
183 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
184 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
185 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
186 + install -m ${MAN_PERM} ${PAGES} ${MAN}
187 library:
188 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
189 + install -m ${DIR_PERM} -d ${BIN}
190 install: $(TOOLS) library
191 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
192 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
193 uninstall:
194 cd ${BIN}; rm -f ${TOOLS}
195 check:
196 diff --git a/plc/Makefile b/plc/Makefile
197 index bd8b806..5b41c0b 100644
198 --- a/plc/Makefile
199 +++ b/plc/Makefile
200 @@ -32,13 +32,13 @@ compact: compile
201 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
202 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
203 library:
204 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
205 + install -m ${DIR_PERM} -d ${BIN}
206 scripts:
207 manuals:
208 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
209 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
210 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
211 + install -m ${MAN_PERM} ${PAGES} ${MAN}
212 install: $(TOOLS) library
213 - install -m ${SUID_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
214 + install -m ${SUID_PERM} ${TOOLS} ${BIN}
215 uninstall:
216 cd ${BIN}; rm -f int6k ${TOOLS}
217 cd ${MAN}; rm -f int6k ${PAGES}
218 diff --git a/ram/Makefile b/ram/Makefile
219 index 60b9bb3..c951218 100755
220 --- a/ram/Makefile
221 +++ b/ram/Makefile
222 @@ -27,13 +27,13 @@ compact: compile
223 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
224 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
225 library:
226 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
227 + install -m ${DIR_PERM} -d ${BIN}
228 scripts:
229 manuals:
230 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
231 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
232 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
233 + install -m ${MAN_PERM} ${PAGES} ${MAN}
234 install: $(TOOLS) library
235 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
236 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
237 uninstall:
238 cd ${BIN}; rm -f ${TOOLS}
239 cd ${MAN}; rm -f ${PAGES}
240 diff --git a/serial/Makefile b/serial/Makefile
241 index c25f1a6..6420d4a 100755
242 --- a/serial/Makefile
243 +++ b/serial/Makefile
244 @@ -27,13 +27,13 @@ compact: compile
245 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
246 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
247 library:
248 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
249 + install -m ${DIR_PERM} -d ${BIN}
250 scripts:
251 manuals:
252 - test -d ${MAN} || install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}
253 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
254 + test -d ${MAN} || install -m ${DIR_PERM} -d ${MAN}
255 + install -m ${MAN_PERM} ${PAGES} ${MAN}
256 install: $(TOOLS) library
257 - install -m ${BIN_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
258 + install -m ${BIN_PERM} ${TOOLS} ${BIN}
259 uninstall:
260 cd ${BIN}; rm -f int6k ${TOOLS}
261 cd ${MAN}; rm -f int6k ${PAGES}
262 diff --git a/slac/Makefile b/slac/Makefile
263 index d69da17..449f20a 100755
264 --- a/slac/Makefile
265 +++ b/slac/Makefile
266 @@ -27,13 +27,13 @@ compact: compile
267 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
268 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
269 library:
270 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
271 + install -m ${DIR_PERM} -d ${BIN}
272 scripts:
273 manuals:
274 - if [ ! -d ${MAN} ]; then install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${MAN}; fi
275 - install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
276 + if [ ! -d ${MAN} ]; then install -m ${DIR_PERM} -d ${MAN}; fi
277 + install -m ${MAN_PERM} ${PAGES} ${MAN}
278 install: compile library
279 - install -m ${SUID_PERM} -o ${OWNER} -g ${GROUP} ${TOOLS} ${BIN}
280 + install -m ${SUID_PERM} ${TOOLS} ${BIN}
281 uninstall:
282 cd ${BIN}; rm -f plc ${TOOLS}
283 cd ${MAN}; rm -f plc ${PAGES}
284 diff --git a/tools/Makefile b/tools/Makefile
285 index 1d992cf..f17db3d 100755
286 --- a/tools/Makefile
287 +++ b/tools/Makefile
288 @@ -27,7 +27,7 @@ compact: compile
289 if [ ! -z ${STRIP} ]; then ${STRIP} ${TOOLS}; fi
290 if [ -x /usr/local/bin/upx ]; then upx --best ${TOOLS}; fi
291 library:
292 - install -m ${DIR_PERM} -o ${OWNER} -g ${GROUP} -d ${BIN}
293 + install -m ${DIR_PERM} -d ${BIN}
294 scripts:
295 manuals:
296 # install -m ${MAN_PERM} -o ${OWNER} -g ${GROUP} ${PAGES} ${MAN}
298 2.1.0