The Software Freedom Law Center wants us to add a copyright notice to the generated binaries, to make copyright enforcement easier. Our liason with them (Bradley Kuhn) suggested the following text:
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -2,19 +2,9 @@ | |
| /* | |
| * BusyBox' main applet dispatcher. | |
| * | |
| - | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
| + | * Licensed under GPLv2, see file LICENSE in this tarball for details. |
| */ | |
| #include "busybox.h" | |
| - | #include <stdio.h> |
| - | #include <string.h> |
| - | #include <unistd.h> |
| - | #include <errno.h> |
| - | #include <stdlib.h> |
| - | #if ENABLE_LOCALE_SUPPORT |
| - | #include <locale.h> |
| - | #else |
| - | #define setlocale(x,y) |
| - | #endif |
| const char *bb_applet_name ATTRIBUTE_EXTERNALLY_VISIBLE; | |
| @@ -128,7 +118,9 @@ int busybox_main(int argc, char **argv) | |
| output_width -= 20; | |
| } else output_width = 60; | |
| - | printf("%s\n\n" |
| + | printf("%s\n" |
| + | "Copyright (C) 1998-2006 Erik Andersen, Rob Landley, and others.\n" |
| + | "Licensed under GPLv2. See source distribution for full notice.\n\n" |
| "Usage: busybox [function] [arguments]...\n" | |
| " or: [function] [arguments]...\n\n" | |
| "\tBusyBox is a multi-call binary that combines many common Unix\n" | |
| @@ -2,11 +2,10 @@ | |
| /* | |
| * Busybox main internal header file | |
| * | |
| - | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
| - | * |
| * Based in part on code from sash, Copyright (c) 1999 by David I. Bell | |
| * Permission has been granted to redistribute this code under the GPL. | |
| - | * |
| + | * |
| + | * Licensed under the GPL version 2, see the file LICENSE in this tarball. |
| */ | |
| #ifndef __LIBBUSYBOX_H__ | |
| #define __LIBBUSYBOX_H__ 1 | |
| @@ -47,6 +46,8 @@ | |
| #ifdef CONFIG_LOCALE_SUPPORT | |
| #include <locale.h> | |
| + | #else |
| + | #define setlocale(x,y) |
| #endif | |
| #include "pwd_.h" | |