[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] GPLv2+ boilerplates for stubs/ and utils/



---
 stubs/unicode-lite.c |   20 +++++++++++++-------
 utils/filtermoddeps  |   18 ++++++++++++++++++
 utils/geninitrdsz.c  |   16 ++++++++++++++++
 utils/genmodinfo     |   18 ++++++++++++++++++
 utils/hash.c         |   19 +++++++++++++++++++
 utils/hash.h         |   19 +++++++++++++++++++
 utils/mapshdr.c      |   19 +++++++++++++++++++
 utils/moddeps.c      |   19 +++++++++++++++++++
 utils/modlist.c      |   19 +++++++++++++++++++
 utils/readmap.c      |   19 +++++++++++++++++++
 utils/snarffont.c    |   19 +++++++++++++++++++
 utils/trimmodalias   |   18 ++++++++++++++++++
 utils/trimpciids     |   18 ++++++++++++++++++
 13 files changed, 234 insertions(+), 7 deletions(-)

diff --git a/stubs/unicode-lite.c b/stubs/unicode-lite.c
index 0ef5678..c5dc41b 100644
--- a/stubs/unicode-lite.c
+++ b/stubs/unicode-lite.c
@@ -2,17 +2,23 @@
  * unicode-lite.c - simple library to LD_PRELOAD for emulation of
  * wide character functionality when glibc gconv data isn't available
  *
- * Matt Wilson <msw redhat com>
- * Jeremy Katz <katzj redhat com>
+ * Copyright (C) 2002  Red Hat, Inc.  All rights reserved.
  *
- * Copyright 2002 Red Hat, Inc.
+ * 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 software may be freely redistributed under the terms of the GNU
- * General Public License.
+ * 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, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Red Hat Author(s): Matt Wilson <msw redhat com>
+ *                    Jeremy Katz <katzj redhat com>
  */
 
 #include <stdlib.h>
diff --git a/utils/filtermoddeps b/utils/filtermoddeps
index 4e2212d..3deeed0 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 01d1cf1..6dfd976 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 0ad72f8..de71e70 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 2bc6e0b..c88cd9d 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 954ad3b..eb7a990 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 5a8d18f..f2209c7 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 7905d93..eec80ad 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 e2d8714..5c88e32 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 bfbda5a..7d65636 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 eaff9cc..1d8bce7 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 f8dad21..6a055fd 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 748d8dc..ba94629 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
-- 
1.5.3.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]