Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1578234
 поиск   регистрация   авторизация 
 
Группа :: Архивирование/Создание CD
Пакет: cdrtools

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: cdrtools-2.01-joerg-sux.patch


--- cdrtools-2.01/cdrecord/cdrecord.c.orig	2004-08-16 17:42:17 +0400
+++ cdrtools-2.01/cdrecord/cdrecord.c	2004-08-24 02:16:07 +0400
@@ -376,31 +376,6 @@
 		printf("as expected.\n");
 #endif
 	}
-	/*
-	 * You are not allowed to modify or remove the call to "linuxcheck()".
-	 * I am sorry that I am forced to do things like this, but defective
-	 * versions of cdrecord cause a lot of work load to me and it seems
-	 * to be impossible to otherwise convince SuSE to cooperate.
-	 * As people contact me and bother me with the related problems,
-	 * it is obvious that SuSE is violating subsection 6 in the preamble of
-	 * the GPL.
-	 *
-	 * The reason for including a test against SuSE's private
-	 * distribution environment is only that SuSE violates the GPL for
-	 * a long time and seems not to be willing to follow the requirements
-	 * imposed by the GPL. If SuSE starts to ship non defective versions
-	 * of cdrecord or informs their customers that they would need to
-	 * compile cdrecord themselves in order to get a working cdrecord,
-	 * they should contact me for a permission to change the related test.
-	 *
-	 * Note that although the SuSE test is effective only for SuSE, the
-	 * intention to have non bastardized versions out is not limited
-	 * to SuSE. It is bad to see that in special in the "Linux" business,
-	 * companies prefer a model with many proprietary differing programs
-	 * instead of cooperating with the program authors.
-	 */
-	linuxcheck();
-
 	if (flags & F_VERSION)
 		exit(0);
 	/*
@@ -4644,70 +4619,3 @@
 	}
 	dsp->ds_wrmode = WM_NONE;
 }
-
-/*
- * You are not allowed to modify or remove the following code.
- * I am sorry that I am forced to do things like this, but defective
- * versions of cdrecord cause a lot of work load to me and it seems
- * to be impossible to otherwise convince SuSE to cooperate.
- * As people contact me and bother me with the related problems,
- * it is obvious that SuSE is violating subsection 6 in the preamble of
- * the GPL.
- *
- * The reason for including a test against SuSE's private
- * distribution environment is only that SuSE violates the GPL for
- * a long time and seems not to be willing to follow the requirements
- * imposed by the GPL. If SuSE starts to ship non defective versions
- * of cdrecord or informs their customers that they would need to
- * compile cdrecord themselves in order to get a working cdrecord,
- * they should contact me for a permission to change the related test.
- *
- * Note that although the SuSE test is effective only for SuSE, the
- * intention to have non bastardized versions out is not limited
- * to SuSE. It is bad to see that in special in the "Linux" business,
- * companies prefer a model with many proprietary differing programs
- * instead of cooperating with the program authors.
- */
-#if	defined(linux) || defined(__linux) || defined(__linux__)
-#ifdef	HAVE_UNAME
-#include <sys/utsname.h>
-#endif
-#endif
-
-LOCAL void
-linuxcheck()
-{
-#if	defined(linux) || defined(__linux) || defined(__linux__)
-#ifdef	HAVE_UNAME
-	struct	utsname	un;
-
-	if (uname(&un) >= 0) {
-		/*
-		 * I really hope that the Linux kernel developers will soon
-		 * fix the most annoying bugs (as promised). Linux-2.6.8
-		 * has still much more reported problems than Linux-2.4.
-		 */
-		if ((un.release[0] == '2' && un.release[1] == '.') &&
-		    (un.release[2] == '5' || un.release[2] == '6')) {
-			errmsgno(EX_BAD,
-			"Warning: Running on Linux-%s\n", un.release);
-			errmsgno(EX_BAD,
-			"There are unsettled issues with Linux-2.5 and newer.\n");
-			errmsgno(EX_BAD,
-			"If you have unexpected problems, please try Linux-2.4 or Solaris.\n");
-		}
-	}
-#endif
-	if (streql(HOST_VENDOR, "suse")) {
-		errmsgno(EX_BAD,
-		"SuSE Linux is known to ship bastardized and defective versions of cdrecord.\n");
-		errmsgno(EX_BAD,
-		"SuSE is unwilling to cooperate with the authors.\n");
-		errmsgno(EX_BAD,
-		"If you like to have a working version of cdrtools, get the\n");
-		errmsgno(EX_BAD,
-		"original source from ftp://ftp.berlios.de/pub/cdrecord/\n");
-
-	}
-#endif
-}
 
design & coding: Vladimir Lettiev aka crux © 2004-2005