Bug#184806: Copyright notices are lacking
Package: whois
Version: 4.6.2
Severity: serious
Tags: patch
The copyright notices on the whois sources are not sufficient. Neither
is the debian/copyright file. Since the maintainer is also the upstream
author, I presume that he actually _does_ want to license whois under
the GNU GPL. I have prepared a patch to bring the package into
compliance.
Simon
diff -ruw whois-4.6.2.orig/Makefile whois-4.6.2/Makefile
--- whois-4.6.2.orig/Makefile 2002-12-04 19:22:15.000000000 -0500
+++ whois-4.6.2/Makefile 2003-03-14 12:59:14.000000000 -0500
@@ -1,3 +1,19 @@
+# Makefile - a make script to build whois
+# Copyright (C) 1999--2002 Marco d'Itri
+#
+# 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; version 2 of the 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
prefix=/usr/local
OPTS=-O2
diff -ruw whois-4.6.2.orig/config.h whois-4.6.2/config.h
--- whois-4.6.2.orig/config.h 2003-01-23 12:56:07.000000000 -0500
+++ whois-4.6.2/config.h 2003-03-14 12:59:24.000000000 -0500
@@ -1,3 +1,20 @@
+/* config.h - macro definitions for whois
+ * Copyright (C) 1999--2003 Marco d'Itri
+ *
+ * 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; version 2 of the 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
/* Program version */
/* not for the inetutils version */
#define VERSION "4.6.2"
diff -ruw whois-4.6.2.orig/data.h whois-4.6.2/data.h
--- whois-4.6.2.orig/data.h 2003-01-23 12:57:06.000000000 -0500
+++ whois-4.6.2/data.h 2003-03-14 12:59:29.000000000 -0500
@@ -1,3 +1,20 @@
+/* data.h - a list of servers, and their properties for whois
+ * Copyright (C) 1999--2003 Marco d'Itri
+ *
+ * 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; version 2 of the 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
/*
* RIPE-like servers.
* All of them do not understand -V2.0Md with the exception of RA and RIPN.
diff -ruw whois-4.6.2.orig/debian/copyright whois-4.6.2/debian/copyright
--- whois-4.6.2.orig/debian/copyright 2003-01-26 12:36:39.000000000 -0500
+++ whois-4.6.2/debian/copyright 2003-03-14 12:35:18.000000000 -0500
@@ -1,7 +1,21 @@
This package was debianized by Marco d'Itri <md@linux.it> on
Sun Oct 3 19:46:30 CEST 1999.
-It was written by Marco d'Itri.
+It was written by Marco d'Itri <md@linux.it>.
Copyright: GPL (please see /usr/share/common-licenses/GPL-2).
+ whois - an advanced and intelligent whois client.
+ Copyright (C) 1999--2003 Marco d'Itri
+ 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.
+
+ 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
diff -ruw whois-4.6.2.orig/make_as_del.pl whois-4.6.2/make_as_del.pl
--- whois-4.6.2.orig/make_as_del.pl 1999-11-07 13:46:31.000000000 -0500
+++ whois-4.6.2/make_as_del.pl 2003-03-14 12:59:45.000000000 -0500
@@ -1,5 +1,21 @@
#!/usr/bin/perl -w
+# make_as_del.pl
+# Copyright (C) 1999 Marco d'Itri
+#
+# 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; version 2 of the 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
use strict;
while (<>) {
diff -ruw whois-4.6.2.orig/make_ip_del.pl whois-4.6.2/make_ip_del.pl
--- whois-4.6.2.orig/make_ip_del.pl 2002-11-27 22:27:51.000000000 -0500
+++ whois-4.6.2/make_ip_del.pl 2003-03-14 12:59:50.000000000 -0500
@@ -1,5 +1,21 @@
#!/usr/bin/perl -w
+# make_ip_del.pl
+# Copyright (C) 1999--2002 Marco d'Itri
+#
+# 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; version 2 of the 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
use strict;
while (<>) {
diff -ruw whois-4.6.2.orig/make_tld_serv.pl whois-4.6.2/make_tld_serv.pl
--- whois-4.6.2.orig/make_tld_serv.pl 2001-08-26 15:17:03.000000000 -0400
+++ whois-4.6.2/make_tld_serv.pl 2003-03-14 12:59:46.000000000 -0500
@@ -1,5 +1,21 @@
#!/usr/bin/perl -w
+# make_tld_serv.pl
+# Copyright (C) 1999--2002 Marco d'Itri
+#
+# 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; version 2 of the 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
use strict;
while (<>) {
diff -ruw whois-4.6.2.orig/mkpasswd.1 whois-4.6.2/mkpasswd.1
--- whois-4.6.2.orig/mkpasswd.1 2002-10-11 06:42:07.000000000 -0400
+++ whois-4.6.2/mkpasswd.1 2003-03-14 12:59:50.000000000 -0500
@@ -1,3 +1,19 @@
+.\" mkpasswd.1 - manual page for mkpasswd
+.\" Copyright (C) 1999--2002 Marco d'Itri
+.\"
+.\" 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; version 2 of the 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
.TH MKPASSWD 1 "11 October 2002" "Marco d'Itri" "Debian GNU/Linux"
.SH NAME
mkpasswd \- Overfeatured front end to crypt(3)
Only in whois-4.6.2: patch
diff -ruw whois-4.6.2.orig/whois.1 whois-4.6.2/whois.1
--- whois-4.6.2.orig/whois.1 2002-12-11 20:44:03.000000000 -0500
+++ whois-4.6.2/whois.1 2003-03-14 13:00:01.000000000 -0500
@@ -1,3 +1,19 @@
+.\" whois.1 - manual page for whois
+.\" Copyright (C) 1999--2002 Marco d'Itri
+.\"
+.\" 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; version 2 of the 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
.TH "WHOIS" "1" "3 December 1999" "Marco d'Itri" "Debian GNU/Linux"
.SH "NAME"
whois \- client for the whois directory service
diff -ruw whois-4.6.2.orig/whois.c whois-4.6.2/whois.c
--- whois-4.6.2.orig/whois.c 2002-12-11 20:20:30.000000000 -0500
+++ whois-4.6.2/whois.c 2003-03-14 13:00:05.000000000 -0500
@@ -1,8 +1,18 @@
-/* Copyright 1999 by Marco d'Itri <md@linux.it>.
+/* whois.c - an advanced and intelligent whois client.
+ * Copyright (C) 1999--2002 Marco d'Itri
*
* This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* System library */
diff -ruw whois-4.6.2.orig/whois.h whois-4.6.2/whois.h
--- whois-4.6.2.orig/whois.h 2002-11-28 15:21:10.000000000 -0500
+++ whois-4.6.2/whois.h 2003-03-14 13:00:16.000000000 -0500
@@ -1,3 +1,20 @@
+/* whois.h - an advanced and intelligent whois client.
+ * Copyright (C) 1999--2003 Marco d'Itri
+ *
+ * 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; version 2 of the 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
/* 6bone referto: extension */
#define REFERTO_FORMAT "%% referto: whois -h %255s -p %15s %1021[^\n\r]"
Reply to: