Group :: Rede/Transferência de Arquivos
RPM: uucp
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: uucp-alt-misc.patch
Download
Download
diff -ruN uucp-1.07.orig/policy.h uucp-1.07/policy.h
--- uucp-1.07.orig/policy.h 2003-05-29 15:08:45 +0900
+++ uucp-1.07/policy.h 2003-10-08 22:43:46 +0900
@@ -240,8 +240,8 @@
the sendmail choice below. Otherwise, select one of the other
choices as appropriate. */
#if 1
-#define MAIL_PROGRAM "/usr/lib/sendmail -t"
-/* #define MAIL_PROGRAM "/usr/sbin/sendmail -t" */
+/* #define MAIL_PROGRAM "/usr/lib/sendmail -t" */
+#define MAIL_PROGRAM "/usr/sbin/sendmail -t"
#define MAIL_PROGRAM_TO_BODY 1
#define MAIL_PROGRAM_SUBJECT_BODY 1
#endif
@@ -302,7 +302,7 @@
/* #define LOCKDIR "/usr/spool/locks" */
/* #define LOCKDIR "/usr/spool/uucp/LCK" */
/* #define LOCKDIR "/var/spool/lock" */
-/* #define LOCKDIR "/var/lock" */
+#define LOCKDIR "/var/lock/serial"
/* You must also specify the format of the lock files by setting
exactly one of the following macros to 1. Check an existing lock
@@ -466,8 +466,8 @@
When looking something up (a system, a port, etc.) the new style
configuration files will be read first, followed by the V2
configuration files, followed by the HDB configuration files. */
-#define HAVE_V2_CONFIG 0
-#define HAVE_HDB_CONFIG 0
+#define HAVE_V2_CONFIG 1
+#define HAVE_HDB_CONFIG 1
/* Exactly one of the following macros must be set to 1. The exact
format of the spool directories is explained in unix/spool.c.
@@ -572,16 +572,16 @@
/* The name of the default spool directory. If HAVE_TAYLOR_CONFIG is
set to 1, this may be overridden by the ``spool'' command in the
configuration file. */
-#define SPOOLDIR "/usr/spool/uucp"
-/* #define SPOOLDIR "/var/spool/uucp" */
+/* #define SPOOLDIR "/usr/spool/uucp" */
+#define SPOOLDIR "/var/spool/uucp"
/* The name of the default public directory. If HAVE_TAYLOR_CONFIG is
set to 1, this may be overridden by the ``pubdir'' command in the
configuration file. Also, a particular system may be given a
specific public directory by using the ``pubdir'' command in the
system file. */
-#define PUBDIR "/usr/spool/uucppublic"
-/* #define PUBDIR "/var/spool/uucppublic" */
+/* #define PUBDIR "/usr/spool/uucppublic" */
+#define PUBDIR "/var/spool/uucppublic"
/* The default command path. This is a space separated list of
directories. Remote command executions requested by uux are looked
@@ -644,23 +644,23 @@
/* The default log file when using HAVE_TAYLOR_LOGGING. When using
HAVE_TAYLOR_CONFIG, this may be overridden by the ``logfile''
command in the configuration file. */
-#define LOGFILE "/usr/spool/uucp/Log"
+/* #define LOGFILE "/usr/spool/uucp/Log" */
/* #define LOGFILE "/var/spool/uucp/Log" */
-/* #define LOGFILE "/var/log/uucp/Log" */
+#define LOGFILE "/var/log/uucp/Log"
/* The default statistics file when using HAVE_TAYLOR_LOGGING. When
using HAVE_TAYLOR_CONFIG, this may be overridden by the
``statfile'' command in the configuration file. */
-#define STATFILE "/usr/spool/uucp/Stats"
+/* #define STATFILE "/usr/spool/uucp/Stats" */
/* #define STATFILE "/var/spool/uucp/Stats" */
-/* #define STATFILE "/var/log/uucp/Stats" */
+#define STATFILE "/var/log/uucp/Stats"
/* The default debugging file when using HAVE_TAYLOR_LOGGING. When
using HAVE_TAYLOR_CONFIG, this may be overridden by the
``debugfile'' command in the configuration file. */
-#define DEBUGFILE "/usr/spool/uucp/Debug"
+/* #define DEBUGFILE "/usr/spool/uucp/Debug" */
/* #define DEBUGFILE "/var/spool/uucp/Debug" */
-/* #define DEBUGFILE "/var/log/uucp/Debug" */
+#define DEBUGFILE "/var/log/uucp/Debug"
#endif /* HAVE_TAYLOR_LOGGING */
diff -ruN uucp-1.07.orig/uucp.texi uucp-1.07/uucp.texi
--- uucp-1.07.orig/uucp.texi 2003-05-29 15:08:47 +0900
+++ uucp-1.07/uucp.texi 2003-10-08 23:00:55 +0900
@@ -3155,9 +3155,9 @@
@example
# This is config
# The local sys file
-sysfile /usr/local/lib/uucp/sys.local
+sysfile /etc/uucp/sys.local
# The remote sys file
-sysfile /usr/local/lib/uucp/sys.remote
+sysfile /etc/uucp/sys.remote
@end example
Using the defaults feature of the @file{sys} file can greatly simplify
--- uucp-1.07/uucp.texi.orig 2016-04-11 12:25:04.119663791 +0000
+++ uucp-1.07/uucp.texi 2016-04-11 12:29:04.095348749 +0000
@@ -5119,7 +5119,7 @@
dependent. On Unix, a modem or direct connection might be something
like @file{/dev/ttyd0}; a TLI port might be @file{/dev/inet/tcp}.
-@itemx speed @var{number} [modem and direct only ]
+@item speed @var{number} [modem and direct only ]
@findex speed in port file
@item baud @var{number} [ modem and direct only ]
@findex baud in port file
@@ -5129,7 +5129,7 @@
the speed is not specified here and is not specified by the system, the
natural speed of the port will be used by default.
-@itemx speed-range @var{number} @var{number} [ modem only ]
+@item speed-range @var{number} @var{number} [ modem only ]
@findex speed-range
@item baud-range @var{number} @var{number} [ modem only ]
@findex baud-range