Change license statements (and clean up headers) on some of the files that Erik or I are primary copyright holders on.
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,7 +2,7 @@ | |
| * | |
| * Copyright 2005 Rob Landley <[email protected] | |
| * | |
| - | * Licensed under GPLv2 or later, see file License in this tarball for details |
| + | * Licensed under GPL version 2, see file LICENSE in this tarball for details |
| */ | |
| const char *bb_applet_name; | |
| @@ -10,7 +10,7 @@ | |
| * | |
| * MAINTAINER: Rob Landley <[email protected]> | |
| * | |
| - | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
| + | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
| */ | |
| /* Code overview. | |
| @@ -7,7 +7,7 @@ | |
| * Reworked by David Douthitt <[email protected]> and | |
| * Matt Kraai <[email protected]>. | |
| * | |
| - | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
| + | * Licensed under the GPL version 2, see the file LICENSE in this tarball. |
| */ | |
| #include "busybox.h" | |
| @@ -4,13 +4,11 @@ | |
| * | |
| * Copyright 2006 by Rob Landley <[email protected]> | |
| * | |
| - | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
| + | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
| */ | |
| #include "busybox.h" | |
| - | #include <signal.h> |
| #include <sys/reboot.h> | |
| - | #include <unistd.h> |
| int halt_main(int argc, char *argv[]) | |
| { | |
| @@ -4,15 +4,10 @@ | |
| * | |
| * Copyright (C) 1999-2004 by Erik Andersen <[email protected]> | |
| * | |
| - | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
| + | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
| */ | |
| #include "busybox.h" | |
| - | #include <signal.h> |
| - | #include <stdlib.h> |
| - | #include <sys/types.h> |
| - | #include <unistd.h> |
| - | #include <getopt.h> |
| #include <sys/reboot.h> | |
| #include <sys/syslog.h> | |
| #include "init_shared.h" | |
| @@ -6,15 +6,10 @@ | |
| * Copyright (C) 1999,2000,2001 by John Beppu <[email protected]> | |
| * Unified with delgroup by Tito Ragusa <[email protected]> | |
| * | |
| - | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
| + | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
| * | |
| */ | |
| - | #include <sys/stat.h> |
| - | #include <unistd.h> |
| - | #include <stdio.h> |
| - | #include <stdlib.h> |
| - | #include <string.h> |
| #include "busybox.h" | |
| /* where to start and stop deletion */ | |
| @@ -4,7 +4,7 @@ | |
| * | |
| * Copyright (C) 2003-2004 by Erik Andersen <[email protected]> | |
| * | |
| - | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
| + | * Licensed under the GPL version 2, see the file LICENSE in this tarball. |
| */ | |
| #include "busybox.h" | |
| @@ -2,7 +2,7 @@ | |
| /* `time' utility to display resource usage of processes. | |
| Copyright (C) 1990, 91, 92, 93, 96 Free Software Foundation, Inc. | |
| - | Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
| + | Licensed under GPL version 2, see file LICENSE in this tarball for details. |
| */ | |
| /* Originally written by David Keppel <[email protected]>. | |
| Heavily modified by David MacKenzie <[email protected]>. | |
| @@ -10,20 +10,8 @@ | |
| */ | |
| #include "busybox.h" | |
| - | #include <stdlib.h> |
| - | #include <stdio.h> |
| - | #include <signal.h> |
| - | #include <errno.h> |
| - | #include <getopt.h> |
| - | #include <string.h> |
| - | #include <limits.h> |
| - | #include <unistd.h> |
| - | #include <sys/types.h> /* For pid_t. */ |
| - | #include <sys/wait.h> |
| - | #include <sys/param.h> /* For getpagesize, maybe. */ |
| #define TV_MSEC tv_usec / 1000 | |
| - | #include <sys/resource.h> |
| /* Information on the resources used by a child process. */ | |
| typedef struct { | |
| @@ -4,15 +4,12 @@ | |
| * | |
| * Copyright (C) 1999-2004 by Erik Andersen <[email protected]> | |
| * | |
| - | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
| + | * Licensed under the GPL version 2, see the file LICENSE in this tarball. |
| */ | |
| /* getopt not needed */ | |
| #include "busybox.h" | |
| - | #include <stdio.h> |
| - | #include <errno.h> |
| - | #include <stdlib.h> |
| int free_main(int argc, char **argv) | |
| { | |
| @@ -4,19 +4,10 @@ | |
| * | |
| * Copyright (C) 1999-2004 by Erik Andersen <[email protected]> | |
| * | |
| - | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
| + | * Licensed under the GPL version 2, see the file LICENSE in this tarball. |
| */ | |
| #include "busybox.h" | |
| - | #include <stdio.h> |
| - | #include <stdlib.h> |
| - | #include <errno.h> |
| - | #include <unistd.h> |
| - | #include <signal.h> |
| - | #include <ctype.h> |
| - | #include <string.h> |
| - | #include <sys/types.h> |
| - | #include <unistd.h> |
| #if ENABLE_FEATURE_PIDOF_SINGLE | |
| #define _SINGLE_COMPL(a) a | |
| @@ -4,23 +4,10 @@ | |
| * | |
| * Copyright (C) 1999-2004 by Erik Andersen <[email protected]> | |
| * | |
| - | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
| + | * Licensed under the GPL version 2, see the file LICENSE in this tarball. |
| */ | |
| #include "busybox.h" | |
| - | #include <stdio.h> |
| - | #include <stdlib.h> |
| - | #include <unistd.h> |
| - | #include <dirent.h> |
| - | #include <errno.h> |
| - | #include <fcntl.h> |
| - | #include <ctype.h> |
| - | #include <string.h> |
| - | #include <termios.h> |
| - | #include <sys/ioctl.h> |
| - | #if ENABLE_SELINUX |
| - | #include <selinux/selinux.h> /* for is_selinux_enabled() */ |
| - | #endif |
| int ps_main(int argc, char **argv) | |
| { | |
| @@ -4,7 +4,7 @@ | |
| * | |
| * Copyright (C) 1999-2004 by Erik Andersen <[email protected]> | |
| * | |
| - | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
| + | * Licensed under the GPL version 2, see the file LICENSE in this tarball. |
| */ | |
| /* This version of uptime doesn't display the number of users on the system, | |
| @@ -16,10 +16,6 @@ | |
| /* getopt not needed */ | |
| #include "busybox.h" | |
| - | #include <stdio.h> |
| - | #include <time.h> |
| - | #include <errno.h> |
| - | #include <stdlib.h> |
| #ifndef FSHIFT | |
| # define FSHIFT 16 /* nr of bits of precision */ | |
| @@ -6,7 +6,7 @@ | |
| * Copyright 2006 Rob Landley <[email protected]> | |
| * Copyright 2006 Bernhard Fischer <[email protected]> | |
| * | |
| - | * 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" | |
| @@ -6,7 +6,7 @@ | |
| * Adjusted a bit by Erik Andersen <[email protected]> | |
| * Unified with fdflush by Tito Ragusa <[email protected]> | |
| * | |
| - | * 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" | |
| @@ -6,7 +6,7 @@ | |
| * Copyright 2005 Rob Landley <[email protected]> | |
| * Copyright 2005 Frank Sorenson <[email protected]> | |
| * | |
| - | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
| + | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
| */ | |
| #include "busybox.h" | |
| @@ -3,7 +3,7 @@ | |
| * | |
| * Copyright 2006 Rob Landley <[email protected]> | |
| * | |
| - | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
| + | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
| */ | |
| #include <busybox.h> | |
| @@ -6,11 +6,8 @@ | |
| * pivot_root syscall stubbed by Erik Andersen, so it will compile | |
| * regardless of the kernel being used. | |
| * | |
| - | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
| + | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
| */ | |
| - | #include <stdlib.h> |
| - | #include <stdio.h> |
| - | #include <errno.h> |
| #include "busybox.h" | |
| extern int pivot_root(const char * new_root,const char * put_old); | |
| @@ -4,14 +4,11 @@ | |
| * | |
| * Copyright (C) 1999-2004 by Erik Andersen <[email protected]> | |
| * | |
| - | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
| + | * Licensed under the GPL version 2, see the file LICENSE in this tarball. |
| */ | |
| #include "busybox.h" | |
| #include <mntent.h> | |
| - | #include <dirent.h> |
| - | #include <errno.h> |
| - | #include <string.h> |
| #include <sys/swap.h> | |
| @@ -3,14 +3,11 @@ | |
| * | |
| * Switch from rootfs to another filesystem as the root of the mount tree. | |
| * | |
| - | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
| + | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
| */ | |
| #include "busybox.h" | |
| - | #include <fcntl.h> |
| - | #include <string.h> |
| #include <sys/vfs.h> | |
| - | #include <unistd.h> |
| // Make up for header deficiencies. | |
| @@ -5,10 +5,7 @@ | |
| * Copyright (C) 1999-2004 by Erik Andersen <[email protected]> | |
| * Copyright (C) 2005 by Rob Landley <[email protected]> | |
| * | |
| - | * This program is licensed under the GNU General Public license (GPL) |
| - | * version 2 or later, see http://www.fsf.org/licensing/licenses/gpl.html |
| - | * or the file "LICENSE" in the busybox source tarball for the full text. |
| - | * |
| + | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
| */ | |
| #include "busybox.h" | |