diff options
author | David Cantrell <dcantrell@redhat.com> | 2007-12-15 20:40:11 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2007-12-17 08:52:53 -1000 |
commit | 0f73189b4d9a9065cb6a3718494e7b3d43368a9f (patch) | |
tree | be2fa70872786429ab4f6f0371e685666c26c0b3 /utils | |
parent | 81a307c0a7f269f9aced1e5cf9f0a6af2616aaa0 (diff) | |
download | anaconda-0f73189b4d9a9065cb6a3718494e7b3d43368a9f.tar.gz anaconda-0f73189b4d9a9065cb6a3718494e7b3d43368a9f.tar.xz anaconda-0f73189b4d9a9065cb6a3718494e7b3d43368a9f.zip |
GPLv2+ boilerplates for stubs/ and utils/
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/filtermoddeps | 18 | ||||
-rw-r--r-- | utils/geninitrdsz.c | 16 | ||||
-rwxr-xr-x | utils/genmodinfo | 18 | ||||
-rw-r--r-- | utils/hash.c | 19 | ||||
-rw-r--r-- | utils/hash.h | 19 | ||||
-rw-r--r-- | utils/mapshdr.c | 19 | ||||
-rw-r--r-- | utils/moddeps.c | 19 | ||||
-rw-r--r-- | utils/modlist.c | 19 | ||||
-rw-r--r-- | utils/readmap.c | 19 | ||||
-rw-r--r-- | utils/snarffont.c | 19 | ||||
-rwxr-xr-x | utils/trimmodalias | 18 | ||||
-rwxr-xr-x | utils/trimpciids | 18 |
12 files changed, 221 insertions, 0 deletions
diff --git a/utils/filtermoddeps b/utils/filtermoddeps index 4e2212d16..3deeed042 100755 --- a/utils/filtermoddeps +++ b/utils/filtermoddeps @@ -1,4 +1,22 @@ #!/bin/bash +# +# filtermoddeps +# +# Copyright (C) 2007 Red Hat, Inc. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# perl -e 'while (<>) { if (/\\\n/) { chop; s/\\$//; print;} else { print $_; } }' | grep ':.*ko' | sed -e ' s/\.ko//g diff --git a/utils/geninitrdsz.c b/utils/geninitrdsz.c index 01d1cf135..6dfd97612 100644 --- a/utils/geninitrdsz.c +++ b/utils/geninitrdsz.c @@ -1,8 +1,24 @@ /* + * geninitrdsz.c * Generate initrd.size file for zSeries platforms. * Takes an integer argument and writes out the binary representation of * that value to the initrd.size file. * https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197773 + * + * Copyright (C) 2007 Red Hat, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <stdio.h> diff --git a/utils/genmodinfo b/utils/genmodinfo index 0ad72f812..de71e7076 100755 --- a/utils/genmodinfo +++ b/utils/genmodinfo @@ -1,4 +1,22 @@ #!/usr/bin/python +# +# genmodinfo +# +# Copyright (C) 2007 Red Hat, Inc. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# import commands import os diff --git a/utils/hash.c b/utils/hash.c index 2bc6e0bf2..c88cd9dbc 100644 --- a/utils/hash.c +++ b/utils/hash.c @@ -1,3 +1,22 @@ +/* + * hash.c + * + * Copyright (C) 2007 Red Hat, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include <stdlib.h> #include <unistd.h> #include <stdio.h> diff --git a/utils/hash.h b/utils/hash.h index 954ad3bf4..eb7a990f7 100644 --- a/utils/hash.h +++ b/utils/hash.h @@ -1,3 +1,22 @@ +/* + * hash.h + * + * Copyright (C) 2007 Red Hat, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #ifndef H_HASH #define H_HASH diff --git a/utils/mapshdr.c b/utils/mapshdr.c index 5a8d18f59..f2209c756 100644 --- a/utils/mapshdr.c +++ b/utils/mapshdr.c @@ -1,3 +1,22 @@ +/* + * mapshdr.c + * + * Copyright (C) 2007 Red Hat, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include <errno.h> #include <stdio.h> #include <string.h> diff --git a/utils/moddeps.c b/utils/moddeps.c index 7905d93e6..eec80add0 100644 --- a/utils/moddeps.c +++ b/utils/moddeps.c @@ -1,3 +1,22 @@ +/* + * moddeps.c + * + * Copyright (C) 2007 Red Hat, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include <popt.h> #include <stdio.h> #include <stdlib.h> diff --git a/utils/modlist.c b/utils/modlist.c index e2d87145a..5c88e323f 100644 --- a/utils/modlist.c +++ b/utils/modlist.c @@ -1,3 +1,22 @@ +/* + * modlist.c + * + * Copyright (C) 2007 Red Hat, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include <popt.h> #include <stdio.h> #include <stdlib.h> diff --git a/utils/readmap.c b/utils/readmap.c index bfbda5a81..7d6563639 100644 --- a/utils/readmap.c +++ b/utils/readmap.c @@ -1,3 +1,22 @@ +/* + * readmap.c + * + * Copyright (C) 2007 Red Hat, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include <errno.h> #include <fcntl.h> #include <sys/ioctl.h> diff --git a/utils/snarffont.c b/utils/snarffont.c index eaff9ccf9..1d8bce7c3 100644 --- a/utils/snarffont.c +++ b/utils/snarffont.c @@ -1,3 +1,22 @@ +/* + * snarffont.c + * + * Copyright (C) 2007 Red Hat, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include <errno.h> #include <fcntl.h> #include <stdio.h> diff --git a/utils/trimmodalias b/utils/trimmodalias index f8dad21f0..6a055fd74 100755 --- a/utils/trimmodalias +++ b/utils/trimmodalias @@ -1,4 +1,22 @@ #!/usr/bin/python +# +# trimmodalias +# +# Copyright (C) 2007 Red Hat, Inc. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# import os import sys diff --git a/utils/trimpciids b/utils/trimpciids index 748d8dcf6..ba9462973 100755 --- a/utils/trimpciids +++ b/utils/trimpciids @@ -1,4 +1,22 @@ #!/usr/bin/python +# +# trimpciids +# +# Copyright (C) 2007 Red Hat, Inc. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# import sys import os |