diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-11-14 23:29:24 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-11-14 23:29:24 +0000 |
commit | 4e573f4729a2a6e2aeba56fcfc8ed4c1d41e83e9 (patch) | |
tree | e2f85528fc1e244b1a94ac64af0beac11c864dc1 | |
parent | 8045c08e1c7af252b3b1e421a02fc0af4cdf957f (diff) | |
download | busybox-w32-4e573f4729a2a6e2aeba56fcfc8ed4c1d41e83e9.tar.gz busybox-w32-4e573f4729a2a6e2aeba56fcfc8ed4c1d41e83e9.tar.bz2 busybox-w32-4e573f4729a2a6e2aeba56fcfc8ed4c1d41e83e9.zip |
Remove the BSD advertising clause, and replace it with a link to how
the advertising clause has been retroactivly declared null and void.
-rw-r--r-- | coreutils/echo.c | 8 | ||||
-rw-r--r-- | coreutils/uudecode.c | 67 | ||||
-rw-r--r-- | coreutils/uuencode.c | 68 | ||||
-rw-r--r-- | echo.c | 8 | ||||
-rw-r--r-- | logger.c | 43 | ||||
-rw-r--r-- | networking/ping.c | 10 | ||||
-rw-r--r-- | networking/wget.c | 99 | ||||
-rw-r--r-- | ping.c | 10 | ||||
-rw-r--r-- | sysklogd/logger.c | 43 | ||||
-rw-r--r-- | uudecode.c | 67 | ||||
-rw-r--r-- | uuencode.c | 68 | ||||
-rw-r--r-- | wget.c | 99 |
12 files changed, 356 insertions, 234 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c index 6890d95e0..8d25be7a5 100644 --- a/coreutils/echo.c +++ b/coreutils/echo.c | |||
@@ -86,10 +86,10 @@ echo_main(int argc, char** argv) | |||
86 | * 2. Redistributions in binary form must reproduce the above copyright | 86 | * 2. Redistributions in binary form must reproduce the above copyright |
87 | * notice, this list of conditions and the following disclaimer in the | 87 | * notice, this list of conditions and the following disclaimer in the |
88 | * documentation and/or other materials provided with the distribution. | 88 | * documentation and/or other materials provided with the distribution. |
89 | * 3. All advertising materials mentioning features or use of this software | 89 | * |
90 | * must display the following acknowledgement: | 90 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change |
91 | * This product includes software developed by the University of | 91 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> |
92 | * California, Berkeley and its contributors. | 92 | * |
93 | * 4. Neither the name of the University nor the names of its contributors | 93 | * 4. Neither the name of the University nor the names of its contributors |
94 | * may be used to endorse or promote products derived from this software | 94 | * may be used to endorse or promote products derived from this software |
95 | * without specific prior written permission. | 95 | * without specific prior written permission. |
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c index 965ded5b5..78ca0968d 100644 --- a/coreutils/uudecode.c +++ b/coreutils/uudecode.c | |||
@@ -15,41 +15,12 @@ | |||
15 | * along with this product; see the file COPYING. If not, write to | 15 | * along with this product; see the file COPYING. If not, write to |
16 | * the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 16 | * the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
17 | * 02111-1307, USA. | 17 | * 02111-1307, USA. |
18 | */ | ||
19 | |||
20 | /* Copyright (c) 1983 Regents of the University of California. | ||
21 | * All rights reserved. | ||
22 | * | 18 | * |
23 | * Redistribution and use in source and binary forms, with or without | 19 | * Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93. |
24 | * modification, are permitted provided that the following conditions | ||
25 | * are met: | ||
26 | * 1. Redistributions of source code must retain the above copyright | ||
27 | * notice, this list of conditions and the following disclaimer. | ||
28 | * 2. Redistributions in binary form must reproduce the above copyright | ||
29 | * notice, this list of conditions and the following disclaimer in the | ||
30 | * documentation and/or other materials provided with the distribution. | ||
31 | * 3. All advertising materials mentioning features or use of this software | ||
32 | * must display the following acknowledgement: | ||
33 | * This product includes software developed by the University of | ||
34 | * California, Berkeley and its contributors. | ||
35 | * 4. Neither the name of the University nor the names of its contributors | ||
36 | * may be used to endorse or promote products derived from this software | ||
37 | * without specific prior written permission. | ||
38 | * | 20 | * |
39 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | 21 | * Original copyright notice is retained at the end of this file. |
40 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
41 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
42 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
43 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
44 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
45 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
46 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
47 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
48 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
49 | * SUCH DAMAGE. | ||
50 | */ | 22 | */ |
51 | 23 | ||
52 | /* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93. */ | ||
53 | 24 | ||
54 | #include "busybox.h" | 25 | #include "busybox.h" |
55 | 26 | ||
@@ -340,3 +311,37 @@ int uudecode_main (int argc, | |||
340 | } | 311 | } |
341 | return(exit_status); | 312 | return(exit_status); |
342 | } | 313 | } |
314 | |||
315 | /* Copyright (c) 1983 Regents of the University of California. | ||
316 | * All rights reserved. | ||
317 | * | ||
318 | * Redistribution and use in source and binary forms, with or without | ||
319 | * modification, are permitted provided that the following conditions | ||
320 | * are met: | ||
321 | * 1. Redistributions of source code must retain the above copyright | ||
322 | * notice, this list of conditions and the following disclaimer. | ||
323 | * 2. Redistributions in binary form must reproduce the above copyright | ||
324 | * notice, this list of conditions and the following disclaimer in the | ||
325 | * documentation and/or other materials provided with the distribution. | ||
326 | * | ||
327 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change | ||
328 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> | ||
329 | * | ||
330 | * 4. Neither the name of the University nor the names of its contributors | ||
331 | * may be used to endorse or promote products derived from this software | ||
332 | * without specific prior written permission. | ||
333 | * | ||
334 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
335 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
336 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
337 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
338 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
339 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
340 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
341 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
342 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
343 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
344 | * SUCH DAMAGE. | ||
345 | */ | ||
346 | |||
347 | |||
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c index 5835bd22a..aea99ed87 100644 --- a/coreutils/uuencode.c +++ b/coreutils/uuencode.c | |||
@@ -15,43 +15,13 @@ | |||
15 | * along with this product; see the file COPYING. If not, write to | 15 | * along with this product; see the file COPYING. If not, write to |
16 | * the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 16 | * the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
17 | * 02111-1307, USA. | 17 | * 02111-1307, USA. |
18 | */ | ||
19 | |||
20 | /* Copyright (c) 1983 Regents of the University of California. | ||
21 | * All rights reserved. | ||
22 | * | ||
23 | * Redistribution and use in source and binary forms, with or without | ||
24 | * modification, are permitted provided that the following conditions | ||
25 | * are met: | ||
26 | * 1. Redistributions of source code must retain the above copyright | ||
27 | * notice, this list of conditions and the following disclaimer. | ||
28 | * 2. Redistributions in binary form must reproduce the above copyright | ||
29 | * notice, this list of conditions and the following disclaimer in the | ||
30 | * documentation and/or other materials provided with the distribution. | ||
31 | * 3. All advertising materials mentioning features or use of this software | ||
32 | * must display the following acknowledgement: | ||
33 | * This product includes software developed by the University of | ||
34 | * California, Berkeley and its contributors. | ||
35 | * 4. Neither the name of the University nor the names of its contributors | ||
36 | * may be used to endorse or promote products derived from this software | ||
37 | * without specific prior written permission. | ||
38 | * | 18 | * |
39 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | 19 | * Original copyright notice is retained at the end of this file. |
40 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
41 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
42 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
43 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
44 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
45 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
46 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
47 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
48 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
49 | * SUCH DAMAGE. | ||
50 | */ | 20 | */ |
51 | |||
52 | /* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93. */ | 21 | /* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93. */ |
53 | /* Hacked to work with BusyBox by Alfred M. Szmidt */ | 22 | /* Hacked to work with BusyBox by Alfred M. Szmidt */ |
54 | 23 | ||
24 | |||
55 | #include "busybox.h" | 25 | #include "busybox.h" |
56 | 26 | ||
57 | #include <stdio.h> | 27 | #include <stdio.h> |
@@ -234,3 +204,37 @@ int uuencode_main (int argc, | |||
234 | } | 204 | } |
235 | return( TRUE); | 205 | return( TRUE); |
236 | } | 206 | } |
207 | |||
208 | /* Copyright (c) 1983 Regents of the University of California. | ||
209 | * All rights reserved. | ||
210 | * | ||
211 | * Redistribution and use in source and binary forms, with or without | ||
212 | * modification, are permitted provided that the following conditions | ||
213 | * are met: | ||
214 | * 1. Redistributions of source code must retain the above copyright | ||
215 | * notice, this list of conditions and the following disclaimer. | ||
216 | * 2. Redistributions in binary form must reproduce the above copyright | ||
217 | * notice, this list of conditions and the following disclaimer in the | ||
218 | * documentation and/or other materials provided with the distribution. | ||
219 | * | ||
220 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change | ||
221 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> | ||
222 | * | ||
223 | * 4. Neither the name of the University nor the names of its contributors | ||
224 | * may be used to endorse or promote products derived from this software | ||
225 | * without specific prior written permission. | ||
226 | * | ||
227 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
228 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
229 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
230 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
231 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
232 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
233 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
234 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
235 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
236 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
237 | * SUCH DAMAGE. | ||
238 | */ | ||
239 | |||
240 | |||
@@ -86,10 +86,10 @@ echo_main(int argc, char** argv) | |||
86 | * 2. Redistributions in binary form must reproduce the above copyright | 86 | * 2. Redistributions in binary form must reproduce the above copyright |
87 | * notice, this list of conditions and the following disclaimer in the | 87 | * notice, this list of conditions and the following disclaimer in the |
88 | * documentation and/or other materials provided with the distribution. | 88 | * documentation and/or other materials provided with the distribution. |
89 | * 3. All advertising materials mentioning features or use of this software | 89 | * |
90 | * must display the following acknowledgement: | 90 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change |
91 | * This product includes software developed by the University of | 91 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> |
92 | * California, Berkeley and its contributors. | 92 | * |
93 | * 4. Neither the name of the University nor the names of its contributors | 93 | * 4. Neither the name of the University nor the names of its contributors |
94 | * may be used to endorse or promote products derived from this software | 94 | * may be used to endorse or promote products derived from this software |
95 | * without specific prior written permission. | 95 | * without specific prior written permission. |
@@ -50,6 +50,8 @@ extern CODE facilitynames[]; | |||
50 | * this function is based on code | 50 | * this function is based on code |
51 | * Copyright (c) 1983, 1993 | 51 | * Copyright (c) 1983, 1993 |
52 | * The Regents of the University of California. All rights reserved. | 52 | * The Regents of the University of California. All rights reserved. |
53 | * | ||
54 | * Original copyright notice is retained at the end of this file. | ||
53 | */ | 55 | */ |
54 | static int decode(char *name, CODE * codetab) | 56 | static int decode(char *name, CODE * codetab) |
55 | { | 57 | { |
@@ -70,6 +72,8 @@ static int decode(char *name, CODE * codetab) | |||
70 | * this function is based on code | 72 | * this function is based on code |
71 | * Copyright (c) 1983, 1993 | 73 | * Copyright (c) 1983, 1993 |
72 | * The Regents of the University of California. All rights reserved. | 74 | * The Regents of the University of California. All rights reserved. |
75 | * | ||
76 | * Original copyright notice is retained at the end of this file. | ||
73 | */ | 77 | */ |
74 | static int pencode(char *s) | 78 | static int pencode(char *s) |
75 | { | 79 | { |
@@ -157,3 +161,42 @@ extern int logger_main(int argc, char **argv) | |||
157 | 161 | ||
158 | return EXIT_SUCCESS; | 162 | return EXIT_SUCCESS; |
159 | } | 163 | } |
164 | |||
165 | |||
166 | /*- | ||
167 | * Copyright (c) 1983, 1993 | ||
168 | * The Regents of the University of California. All rights reserved. | ||
169 | * | ||
170 | * This is the original license statement for the decode and pencode functions. | ||
171 | * | ||
172 | * Redistribution and use in source and binary forms, with or without | ||
173 | * modification, are permitted provided that the following conditions | ||
174 | * are met: | ||
175 | * 1. Redistributions of source code must retain the above copyright | ||
176 | * notice, this list of conditions and the following disclaimer. | ||
177 | * 2. Redistributions in binary form must reproduce the above copyright | ||
178 | * notice, this list of conditions and the following disclaimer in the | ||
179 | * documentation and/or other materials provided with the distribution. | ||
180 | * | ||
181 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change | ||
182 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> | ||
183 | * | ||
184 | * 4. Neither the name of the University nor the names of its contributors | ||
185 | * may be used to endorse or promote products derived from this software | ||
186 | * without specific prior written permission. | ||
187 | * | ||
188 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
189 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
190 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
191 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
192 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
193 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
194 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
195 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
196 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
197 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
198 | * SUCH DAMAGE. | ||
199 | */ | ||
200 | |||
201 | |||
202 | |||
diff --git a/networking/ping.c b/networking/ping.c index 70ea0f196..a4363098e 100644 --- a/networking/ping.c +++ b/networking/ping.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * $Id: ping.c,v 1.25 2000/09/25 21:45:58 andersen Exp $ | 3 | * $Id: ping.c,v 1.26 2000/11/14 23:29:24 andersen Exp $ |
4 | * Mini ping implementation for busybox | 4 | * Mini ping implementation for busybox |
5 | * | 5 | * |
6 | * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> | 6 | * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> |
@@ -565,10 +565,10 @@ extern int ping_main(int argc, char **argv) | |||
565 | * 2. Redistributions in binary form must reproduce the above copyright | 565 | * 2. Redistributions in binary form must reproduce the above copyright |
566 | * notice, this list of conditions and the following disclaimer in the | 566 | * notice, this list of conditions and the following disclaimer in the |
567 | * documentation and/or other materials provided with the distribution. | 567 | * documentation and/or other materials provided with the distribution. |
568 | * 3. All advertising materials mentioning features or use of this software | 568 | * |
569 | * must display the following acknowledgement: | 569 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change |
570 | * This product includes software developed by the University of | 570 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> |
571 | * California, Berkeley and its contributors. | 571 | * |
572 | * 4. Neither the name of the University nor the names of its contributors | 572 | * 4. Neither the name of the University nor the names of its contributors |
573 | * may be used to endorse or promote products derived from this software | 573 | * may be used to endorse or promote products derived from this software |
574 | * without specific prior written permission. | 574 | * without specific prior written permission. |
diff --git a/networking/wget.c b/networking/wget.c index daa73240b..78db6e32a 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -2,17 +2,15 @@ | |||
2 | /* | 2 | /* |
3 | * wget - retrieve a file using HTTP | 3 | * wget - retrieve a file using HTTP |
4 | * | 4 | * |
5 | * Chip Rosenthal | 5 | * Chip Rosenthal Covad Communications <chip@laserlink.net> |
6 | * Covad Communications | ||
7 | * <chip@laserlink.net> | ||
8 | * | 6 | * |
9 | * Note: According to RFC2616 section 3.6.1, "All HTTP/1.1 applications | 7 | * Note: According to RFC2616 section 3.6.1, "All HTTP/1.1 applications MUST be |
10 | * MUST be able to receive and decode the "chunked" transfer-coding, | 8 | * able to receive and decode the "chunked" transfer-coding, and MUST ignore |
11 | * and MUST ignore chunk-extension extensions they do not understand." | 9 | * chunk-extension extensions they do not understand." |
12 | * This prevents this particular wget app from completely RFC compliant, | ||
13 | * and as such, prevents it from being used as a general purpose web browser... | ||
14 | * | 10 | * |
15 | * This is a design decision, since it makes the code smaller. | 11 | * This prevents this particular wget app from completely RFC compliant, and as |
12 | * such, prevents it from being used as a general purpose web browser... This | ||
13 | * is a design decision, since it makes the code smaller. | ||
16 | * | 14 | * |
17 | */ | 15 | */ |
18 | 16 | ||
@@ -302,42 +300,10 @@ char *gethdr(char *buf, size_t bufsiz, FILE *fp, int *istrunc) | |||
302 | } | 300 | } |
303 | 301 | ||
304 | #ifdef BB_FEATURE_STATUSBAR | 302 | #ifdef BB_FEATURE_STATUSBAR |
305 | /* Stuff below is from BSD rcp util.c, as added to openshh. */ | 303 | /* Stuff below is from BSD rcp util.c, as added to openshh. |
306 | 304 | * Original copyright notice is retained at the end of this file. | |
307 | /*- | 305 | * |
308 | * Copyright (c) 1992, 1993 | 306 | */ |
309 | * The Regents of the University of California. All rights reserved. | ||
310 | * | ||
311 | * Redistribution and use in source and binary forms, with or without | ||
312 | * modification, are permitted provided that the following conditions | ||
313 | * are met: | ||
314 | * 1. Redistributions of source code must retain the above copyright | ||
315 | * notice, this list of conditions and the following disclaimer. | ||
316 | * 2. Redistributions in binary form must reproduce the above copyright | ||
317 | * notice, this list of conditions and the following disclaimer in the | ||
318 | * documentation and/or other materials provided with the distribution. | ||
319 | * 3. All advertising materials mentioning features or use of this software | ||
320 | * must display the following acknowledgement: | ||
321 | * This product includes software developed by the University of | ||
322 | * California, Berkeley and its contributors. | ||
323 | * 4. Neither the name of the University nor the names of its contributors | ||
324 | * may be used to endorse or promote products derived from this software | ||
325 | * without specific prior written permission. | ||
326 | * | ||
327 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
328 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
329 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
330 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
331 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
332 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
333 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
334 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
335 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
336 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
337 | * SUCH DAMAGE. | ||
338 | * | ||
339 | * $Id: wget.c,v 1.6 2000/10/25 16:25:50 kraai Exp $ | ||
340 | */ | ||
341 | 307 | ||
342 | 308 | ||
343 | int | 309 | int |
@@ -467,6 +433,47 @@ progressmeter(int flag) | |||
467 | } | 433 | } |
468 | } | 434 | } |
469 | #endif | 435 | #endif |
436 | |||
437 | /* Original copyright notice which applies to the BB_FEATURE_STATUSBAR stuff, | ||
438 | * much of which was blatently stolen from openssh. */ | ||
439 | |||
440 | /*- | ||
441 | * Copyright (c) 1992, 1993 | ||
442 | * The Regents of the University of California. All rights reserved. | ||
443 | * | ||
444 | * Redistribution and use in source and binary forms, with or without | ||
445 | * modification, are permitted provided that the following conditions | ||
446 | * are met: | ||
447 | * 1. Redistributions of source code must retain the above copyright | ||
448 | * notice, this list of conditions and the following disclaimer. | ||
449 | * 2. Redistributions in binary form must reproduce the above copyright | ||
450 | * notice, this list of conditions and the following disclaimer in the | ||
451 | * documentation and/or other materials provided with the distribution. | ||
452 | * | ||
453 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change | ||
454 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> | ||
455 | * | ||
456 | * 4. Neither the name of the University nor the names of its contributors | ||
457 | * may be used to endorse or promote products derived from this software | ||
458 | * without specific prior written permission. | ||
459 | * | ||
460 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
461 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
462 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
463 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
464 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
465 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
466 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
467 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
468 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
469 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
470 | * SUCH DAMAGE. | ||
471 | * | ||
472 | * $Id: wget.c,v 1.7 2000/11/14 23:29:24 andersen Exp $ | ||
473 | */ | ||
474 | |||
475 | |||
476 | |||
470 | /* | 477 | /* |
471 | Local Variables: | 478 | Local Variables: |
472 | c-file-style: "linux" | 479 | c-file-style: "linux" |
@@ -475,3 +482,5 @@ tab-width: 4 | |||
475 | End: | 482 | End: |
476 | */ | 483 | */ |
477 | 484 | ||
485 | |||
486 | |||
@@ -1,6 +1,6 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * $Id: ping.c,v 1.25 2000/09/25 21:45:58 andersen Exp $ | 3 | * $Id: ping.c,v 1.26 2000/11/14 23:29:24 andersen Exp $ |
4 | * Mini ping implementation for busybox | 4 | * Mini ping implementation for busybox |
5 | * | 5 | * |
6 | * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> | 6 | * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> |
@@ -565,10 +565,10 @@ extern int ping_main(int argc, char **argv) | |||
565 | * 2. Redistributions in binary form must reproduce the above copyright | 565 | * 2. Redistributions in binary form must reproduce the above copyright |
566 | * notice, this list of conditions and the following disclaimer in the | 566 | * notice, this list of conditions and the following disclaimer in the |
567 | * documentation and/or other materials provided with the distribution. | 567 | * documentation and/or other materials provided with the distribution. |
568 | * 3. All advertising materials mentioning features or use of this software | 568 | * |
569 | * must display the following acknowledgement: | 569 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change |
570 | * This product includes software developed by the University of | 570 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> |
571 | * California, Berkeley and its contributors. | 571 | * |
572 | * 4. Neither the name of the University nor the names of its contributors | 572 | * 4. Neither the name of the University nor the names of its contributors |
573 | * may be used to endorse or promote products derived from this software | 573 | * may be used to endorse or promote products derived from this software |
574 | * without specific prior written permission. | 574 | * without specific prior written permission. |
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index bd9eed9f6..2c460cc07 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c | |||
@@ -50,6 +50,8 @@ extern CODE facilitynames[]; | |||
50 | * this function is based on code | 50 | * this function is based on code |
51 | * Copyright (c) 1983, 1993 | 51 | * Copyright (c) 1983, 1993 |
52 | * The Regents of the University of California. All rights reserved. | 52 | * The Regents of the University of California. All rights reserved. |
53 | * | ||
54 | * Original copyright notice is retained at the end of this file. | ||
53 | */ | 55 | */ |
54 | static int decode(char *name, CODE * codetab) | 56 | static int decode(char *name, CODE * codetab) |
55 | { | 57 | { |
@@ -70,6 +72,8 @@ static int decode(char *name, CODE * codetab) | |||
70 | * this function is based on code | 72 | * this function is based on code |
71 | * Copyright (c) 1983, 1993 | 73 | * Copyright (c) 1983, 1993 |
72 | * The Regents of the University of California. All rights reserved. | 74 | * The Regents of the University of California. All rights reserved. |
75 | * | ||
76 | * Original copyright notice is retained at the end of this file. | ||
73 | */ | 77 | */ |
74 | static int pencode(char *s) | 78 | static int pencode(char *s) |
75 | { | 79 | { |
@@ -157,3 +161,42 @@ extern int logger_main(int argc, char **argv) | |||
157 | 161 | ||
158 | return EXIT_SUCCESS; | 162 | return EXIT_SUCCESS; |
159 | } | 163 | } |
164 | |||
165 | |||
166 | /*- | ||
167 | * Copyright (c) 1983, 1993 | ||
168 | * The Regents of the University of California. All rights reserved. | ||
169 | * | ||
170 | * This is the original license statement for the decode and pencode functions. | ||
171 | * | ||
172 | * Redistribution and use in source and binary forms, with or without | ||
173 | * modification, are permitted provided that the following conditions | ||
174 | * are met: | ||
175 | * 1. Redistributions of source code must retain the above copyright | ||
176 | * notice, this list of conditions and the following disclaimer. | ||
177 | * 2. Redistributions in binary form must reproduce the above copyright | ||
178 | * notice, this list of conditions and the following disclaimer in the | ||
179 | * documentation and/or other materials provided with the distribution. | ||
180 | * | ||
181 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change | ||
182 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> | ||
183 | * | ||
184 | * 4. Neither the name of the University nor the names of its contributors | ||
185 | * may be used to endorse or promote products derived from this software | ||
186 | * without specific prior written permission. | ||
187 | * | ||
188 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
189 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
190 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
191 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
192 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
193 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
194 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
195 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
196 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
197 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
198 | * SUCH DAMAGE. | ||
199 | */ | ||
200 | |||
201 | |||
202 | |||
diff --git a/uudecode.c b/uudecode.c index 965ded5b5..78ca0968d 100644 --- a/uudecode.c +++ b/uudecode.c | |||
@@ -15,41 +15,12 @@ | |||
15 | * along with this product; see the file COPYING. If not, write to | 15 | * along with this product; see the file COPYING. If not, write to |
16 | * the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 16 | * the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
17 | * 02111-1307, USA. | 17 | * 02111-1307, USA. |
18 | */ | ||
19 | |||
20 | /* Copyright (c) 1983 Regents of the University of California. | ||
21 | * All rights reserved. | ||
22 | * | 18 | * |
23 | * Redistribution and use in source and binary forms, with or without | 19 | * Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93. |
24 | * modification, are permitted provided that the following conditions | ||
25 | * are met: | ||
26 | * 1. Redistributions of source code must retain the above copyright | ||
27 | * notice, this list of conditions and the following disclaimer. | ||
28 | * 2. Redistributions in binary form must reproduce the above copyright | ||
29 | * notice, this list of conditions and the following disclaimer in the | ||
30 | * documentation and/or other materials provided with the distribution. | ||
31 | * 3. All advertising materials mentioning features or use of this software | ||
32 | * must display the following acknowledgement: | ||
33 | * This product includes software developed by the University of | ||
34 | * California, Berkeley and its contributors. | ||
35 | * 4. Neither the name of the University nor the names of its contributors | ||
36 | * may be used to endorse or promote products derived from this software | ||
37 | * without specific prior written permission. | ||
38 | * | 20 | * |
39 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | 21 | * Original copyright notice is retained at the end of this file. |
40 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
41 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
42 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
43 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
44 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
45 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
46 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
47 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
48 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
49 | * SUCH DAMAGE. | ||
50 | */ | 22 | */ |
51 | 23 | ||
52 | /* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93. */ | ||
53 | 24 | ||
54 | #include "busybox.h" | 25 | #include "busybox.h" |
55 | 26 | ||
@@ -340,3 +311,37 @@ int uudecode_main (int argc, | |||
340 | } | 311 | } |
341 | return(exit_status); | 312 | return(exit_status); |
342 | } | 313 | } |
314 | |||
315 | /* Copyright (c) 1983 Regents of the University of California. | ||
316 | * All rights reserved. | ||
317 | * | ||
318 | * Redistribution and use in source and binary forms, with or without | ||
319 | * modification, are permitted provided that the following conditions | ||
320 | * are met: | ||
321 | * 1. Redistributions of source code must retain the above copyright | ||
322 | * notice, this list of conditions and the following disclaimer. | ||
323 | * 2. Redistributions in binary form must reproduce the above copyright | ||
324 | * notice, this list of conditions and the following disclaimer in the | ||
325 | * documentation and/or other materials provided with the distribution. | ||
326 | * | ||
327 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change | ||
328 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> | ||
329 | * | ||
330 | * 4. Neither the name of the University nor the names of its contributors | ||
331 | * may be used to endorse or promote products derived from this software | ||
332 | * without specific prior written permission. | ||
333 | * | ||
334 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
335 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
336 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
337 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
338 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
339 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
340 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
341 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
342 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
343 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
344 | * SUCH DAMAGE. | ||
345 | */ | ||
346 | |||
347 | |||
diff --git a/uuencode.c b/uuencode.c index 5835bd22a..aea99ed87 100644 --- a/uuencode.c +++ b/uuencode.c | |||
@@ -15,43 +15,13 @@ | |||
15 | * along with this product; see the file COPYING. If not, write to | 15 | * along with this product; see the file COPYING. If not, write to |
16 | * the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 16 | * the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
17 | * 02111-1307, USA. | 17 | * 02111-1307, USA. |
18 | */ | ||
19 | |||
20 | /* Copyright (c) 1983 Regents of the University of California. | ||
21 | * All rights reserved. | ||
22 | * | ||
23 | * Redistribution and use in source and binary forms, with or without | ||
24 | * modification, are permitted provided that the following conditions | ||
25 | * are met: | ||
26 | * 1. Redistributions of source code must retain the above copyright | ||
27 | * notice, this list of conditions and the following disclaimer. | ||
28 | * 2. Redistributions in binary form must reproduce the above copyright | ||
29 | * notice, this list of conditions and the following disclaimer in the | ||
30 | * documentation and/or other materials provided with the distribution. | ||
31 | * 3. All advertising materials mentioning features or use of this software | ||
32 | * must display the following acknowledgement: | ||
33 | * This product includes software developed by the University of | ||
34 | * California, Berkeley and its contributors. | ||
35 | * 4. Neither the name of the University nor the names of its contributors | ||
36 | * may be used to endorse or promote products derived from this software | ||
37 | * without specific prior written permission. | ||
38 | * | 18 | * |
39 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | 19 | * Original copyright notice is retained at the end of this file. |
40 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
41 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
42 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
43 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
44 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
45 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
46 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
47 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
48 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
49 | * SUCH DAMAGE. | ||
50 | */ | 20 | */ |
51 | |||
52 | /* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93. */ | 21 | /* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93. */ |
53 | /* Hacked to work with BusyBox by Alfred M. Szmidt */ | 22 | /* Hacked to work with BusyBox by Alfred M. Szmidt */ |
54 | 23 | ||
24 | |||
55 | #include "busybox.h" | 25 | #include "busybox.h" |
56 | 26 | ||
57 | #include <stdio.h> | 27 | #include <stdio.h> |
@@ -234,3 +204,37 @@ int uuencode_main (int argc, | |||
234 | } | 204 | } |
235 | return( TRUE); | 205 | return( TRUE); |
236 | } | 206 | } |
207 | |||
208 | /* Copyright (c) 1983 Regents of the University of California. | ||
209 | * All rights reserved. | ||
210 | * | ||
211 | * Redistribution and use in source and binary forms, with or without | ||
212 | * modification, are permitted provided that the following conditions | ||
213 | * are met: | ||
214 | * 1. Redistributions of source code must retain the above copyright | ||
215 | * notice, this list of conditions and the following disclaimer. | ||
216 | * 2. Redistributions in binary form must reproduce the above copyright | ||
217 | * notice, this list of conditions and the following disclaimer in the | ||
218 | * documentation and/or other materials provided with the distribution. | ||
219 | * | ||
220 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change | ||
221 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> | ||
222 | * | ||
223 | * 4. Neither the name of the University nor the names of its contributors | ||
224 | * may be used to endorse or promote products derived from this software | ||
225 | * without specific prior written permission. | ||
226 | * | ||
227 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
228 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
229 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
230 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
231 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
232 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
233 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
234 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
235 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
236 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
237 | * SUCH DAMAGE. | ||
238 | */ | ||
239 | |||
240 | |||
@@ -2,17 +2,15 @@ | |||
2 | /* | 2 | /* |
3 | * wget - retrieve a file using HTTP | 3 | * wget - retrieve a file using HTTP |
4 | * | 4 | * |
5 | * Chip Rosenthal | 5 | * Chip Rosenthal Covad Communications <chip@laserlink.net> |
6 | * Covad Communications | ||
7 | * <chip@laserlink.net> | ||
8 | * | 6 | * |
9 | * Note: According to RFC2616 section 3.6.1, "All HTTP/1.1 applications | 7 | * Note: According to RFC2616 section 3.6.1, "All HTTP/1.1 applications MUST be |
10 | * MUST be able to receive and decode the "chunked" transfer-coding, | 8 | * able to receive and decode the "chunked" transfer-coding, and MUST ignore |
11 | * and MUST ignore chunk-extension extensions they do not understand." | 9 | * chunk-extension extensions they do not understand." |
12 | * This prevents this particular wget app from completely RFC compliant, | ||
13 | * and as such, prevents it from being used as a general purpose web browser... | ||
14 | * | 10 | * |
15 | * This is a design decision, since it makes the code smaller. | 11 | * This prevents this particular wget app from completely RFC compliant, and as |
12 | * such, prevents it from being used as a general purpose web browser... This | ||
13 | * is a design decision, since it makes the code smaller. | ||
16 | * | 14 | * |
17 | */ | 15 | */ |
18 | 16 | ||
@@ -302,42 +300,10 @@ char *gethdr(char *buf, size_t bufsiz, FILE *fp, int *istrunc) | |||
302 | } | 300 | } |
303 | 301 | ||
304 | #ifdef BB_FEATURE_STATUSBAR | 302 | #ifdef BB_FEATURE_STATUSBAR |
305 | /* Stuff below is from BSD rcp util.c, as added to openshh. */ | 303 | /* Stuff below is from BSD rcp util.c, as added to openshh. |
306 | 304 | * Original copyright notice is retained at the end of this file. | |
307 | /*- | 305 | * |
308 | * Copyright (c) 1992, 1993 | 306 | */ |
309 | * The Regents of the University of California. All rights reserved. | ||
310 | * | ||
311 | * Redistribution and use in source and binary forms, with or without | ||
312 | * modification, are permitted provided that the following conditions | ||
313 | * are met: | ||
314 | * 1. Redistributions of source code must retain the above copyright | ||
315 | * notice, this list of conditions and the following disclaimer. | ||
316 | * 2. Redistributions in binary form must reproduce the above copyright | ||
317 | * notice, this list of conditions and the following disclaimer in the | ||
318 | * documentation and/or other materials provided with the distribution. | ||
319 | * 3. All advertising materials mentioning features or use of this software | ||
320 | * must display the following acknowledgement: | ||
321 | * This product includes software developed by the University of | ||
322 | * California, Berkeley and its contributors. | ||
323 | * 4. Neither the name of the University nor the names of its contributors | ||
324 | * may be used to endorse or promote products derived from this software | ||
325 | * without specific prior written permission. | ||
326 | * | ||
327 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
328 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
329 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
330 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
331 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
332 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
333 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
334 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
335 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
336 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
337 | * SUCH DAMAGE. | ||
338 | * | ||
339 | * $Id: wget.c,v 1.6 2000/10/25 16:25:50 kraai Exp $ | ||
340 | */ | ||
341 | 307 | ||
342 | 308 | ||
343 | int | 309 | int |
@@ -467,6 +433,47 @@ progressmeter(int flag) | |||
467 | } | 433 | } |
468 | } | 434 | } |
469 | #endif | 435 | #endif |
436 | |||
437 | /* Original copyright notice which applies to the BB_FEATURE_STATUSBAR stuff, | ||
438 | * much of which was blatently stolen from openssh. */ | ||
439 | |||
440 | /*- | ||
441 | * Copyright (c) 1992, 1993 | ||
442 | * The Regents of the University of California. All rights reserved. | ||
443 | * | ||
444 | * Redistribution and use in source and binary forms, with or without | ||
445 | * modification, are permitted provided that the following conditions | ||
446 | * are met: | ||
447 | * 1. Redistributions of source code must retain the above copyright | ||
448 | * notice, this list of conditions and the following disclaimer. | ||
449 | * 2. Redistributions in binary form must reproduce the above copyright | ||
450 | * notice, this list of conditions and the following disclaimer in the | ||
451 | * documentation and/or other materials provided with the distribution. | ||
452 | * | ||
453 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change | ||
454 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> | ||
455 | * | ||
456 | * 4. Neither the name of the University nor the names of its contributors | ||
457 | * may be used to endorse or promote products derived from this software | ||
458 | * without specific prior written permission. | ||
459 | * | ||
460 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
461 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
462 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
463 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
464 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
465 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
466 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
467 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
468 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
469 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
470 | * SUCH DAMAGE. | ||
471 | * | ||
472 | * $Id: wget.c,v 1.7 2000/11/14 23:29:24 andersen Exp $ | ||
473 | */ | ||
474 | |||
475 | |||
476 | |||
470 | /* | 477 | /* |
471 | Local Variables: | 478 | Local Variables: |
472 | c-file-style: "linux" | 479 | c-file-style: "linux" |
@@ -475,3 +482,5 @@ tab-width: 4 | |||
475 | End: | 482 | End: |
476 | */ | 483 | */ |
477 | 484 | ||
485 | |||
486 | |||