Группа :: Архивирование/Создание CD
Пакет: cdrtools
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: cdrtools-1.11a37-alt-conf.patch
diff -uprk.orig cdrtools-1.11.orig/cdrecord/cdrecord.dfl cdrtools-1.11/cdrecord/cdrecord.dfl
--- cdrtools-1.11.orig/cdrecord/cdrecord.dfl 2002-07-08 01:56:21 +0400
+++ cdrtools-1.11/cdrecord/cdrecord.dfl 2002-10-18 15:53:00 +0400
@@ -33,9 +33,9 @@ CDR_FIFOSIZE=4m
#
# drive name device speed fifosize driveropts
#
-teac= 1,3,0 -1 -1 ""
-panasonic= 1,4,0 -1 -1 ""
-plextor= 1,4,0 -1 -1 ""
-sanyo= 1,4,0 -1 -1 burnfree
-yamaha= 1,5,0 -1 -1 ""
-cdrom= 0,6,0 2 1m ""
+# teac= 1,3,0 -1 -1 ""
+# panasonic= 1,4,0 -1 -1 ""
+# plextor= 1,4,0 -1 -1 ""
+# sanyo= 1,4,0 -1 -1 burnfree
+# yamaha= 1,5,0 -1 -1 ""
+# cdrom= 0,6,0 2 1m ""
diff -uprk.orig cdrtools-1.11.orig/cdrecord/defaults.c cdrtools-1.11/cdrecord/defaults.c
--- cdrtools-1.11.orig/cdrecord/defaults.c 2002-08-14 21:52:00 +0400
+++ cdrtools-1.11/cdrecord/defaults.c 2002-10-18 15:51:32 +0400
@@ -53,7 +53,7 @@ open_cdrdefaults()
* don't contribute work and don't give support, they are causing extra
* work for me and this way slow down the cdrecord development.
*/
- return (defltopen("/etc/default/cdrecord"));
+ return (defltopen(DEFLT "/cdrecord.conf"));
}
EXPORT void
diff -uprk.orig cdrtools-1.11.orig/DEFAULTS/Defaults.linux cdrtools-1.11/DEFAULTS/Defaults.linux
--- cdrtools-1.11.orig/DEFAULTS/Defaults.linux 2000-03-13 15:37:45 +0300
+++ cdrtools-1.11/DEFAULTS/Defaults.linux 2002-10-18 15:51:32 +0400
@@ -16,11 +16,11 @@ DEFCCOM= cc
# If the next line is uncommented, compilattion is done with minimal warnings
#
###########################################################################
-CWARNOPTS=
+#CWARNOPTS=
-DEFINCDIRS= $(SRCROOT)/include /usr/src/linux/include
-LDPATH= -L/opt/schily/lib
-RUNPATH= -R $(INS_BASE)/lib -R /opt/schily/lib -R $(OLIBSDIR)
+DEFINCDIRS= $(SRCROOT)/include
+LDPATH=
+RUNPATH= -R $(INS_BASE)/lib -R $(OLIBSDIR)
###########################################################################
#
diff -uprk.orig cdrtools-1.11.orig/include/deflts.h cdrtools-1.11/include/deflts.h
--- cdrtools-1.11.orig/include/deflts.h 2002-08-26 15:00:36 +0400
+++ cdrtools-1.11/include/deflts.h 2002-10-18 15:51:32 +0400
@@ -34,7 +34,7 @@
extern "C" {
#endif
-#define DEFLT "/etc/default"
+#define DEFLT "/etc"
/*
* cmd's to defltcntl()
diff -uprk.orig cdrtools-1.11.orig/rscsi/rscsi.c cdrtools-1.11/rscsi/rscsi.c
--- cdrtools-1.11.orig/rscsi/rscsi.c 2002-05-21 14:30:20 +0400
+++ cdrtools-1.11/rscsi/rscsi.c 2002-10-18 15:51:32 +0400
@@ -131,9 +131,9 @@ main(argc, argv)
* don't contribute work and don't give support, they are causing extra
* work for me and this way slow down the development.
*/
- if (defltopen("/etc/default/rscsi") < 0) {
+ if (defltopen(DEFLT "/rscsi.conf") < 0) {
rscsierror(geterrno(), errmsgstr(geterrno()),
- "Remote configuration error: Cannot open /etc/default/rscsi");
+ "Remote configuration error: Cannot open " DEFLT "/rscsi.conf");
/* rscsirespond(-1, geterrno());*/
exit(EX_BAD);
}
diff -uprk.orig cdrtools-1.11.orig/rscsi/rscsi.dfl cdrtools-1.11/rscsi/rscsi.dfl
--- cdrtools-1.11.orig/rscsi/rscsi.dfl 2000-11-14 04:24:03 +0300
+++ cdrtools-1.11/rscsi/rscsi.dfl 2002-10-18 15:51:32 +0400
@@ -25,7 +25,7 @@
# USER= entries are checked with a pattern matcher. USER=* matches all users.
#
USER=rscsi
-USER=joerg
+#USER=joerg
#
# Each ACCESS= entry adds a target or group of targets to the list of visible
@@ -52,6 +52,6 @@ USER=joerg
# name name
#
#ACCESS=rscsi sparky -1 -1 -1 -1
-ACCESS=rscsi sparky 0 -1 6 -1
-ACCESS=rscsi sparky 1 -1 3 -1
-ACCESS=rscsi sparky 1 -1 4 -1
+#ACCESS=rscsi sparky 0 -1 6 -1
+#ACCESS=rscsi sparky 1 -1 3 -1
+#ACCESS=rscsi sparky 1 -1 4 -1