opt/msntp/msntp-1.6.patch
2006-02-23 15:26:10 +00:00

50 lines
1.8 KiB
Diff

diff -Nru msntp-1.6.orig/Makefile msntp-1.6/Makefile
--- msntp-1.6.orig/Makefile 2002-09-08 13:16:22.000000000 +0200
+++ msntp-1.6/Makefile 2002-09-08 13:19:23.000000000 +0200
@@ -11,7 +11,7 @@
# CC = cc
# CFLAGS = -O
# LDFLAGS =
-# LIBS = -lm
+LIBS = -lm
# Compiling this sort of ANSI C under SunOS 4.1 is a mug's game, because Sun's
# Unix headers make GNU C vomit even in compatibility mode, but the following
diff -Nru msntp-1.6.orig/header.h msntp-1.6/header.h
--- msntp-1.6.orig/header.h 2002-09-08 13:16:22.000000000 +0200
+++ msntp-1.6/header.h 2002-09-08 13:27:13.000000000 +0200
@@ -19,10 +19,10 @@
#define MAX_SOCKETS 10 /* Maximum number of addresses */
#ifndef LOCKNAME
- #define LOCKNAME "/etc/msntp.pid" /* Stores the pid */
+ #define LOCKNAME "/var/run/msntp.pid" /* Stores the pid */
#endif
#ifndef SAVENAME
- #define SAVENAME "/etc/msntp.state" /* Stores the recovery state */
+ #define SAVENAME "/var/run/msntp.state" /* Stores the recovery state */
#endif
diff -Nru msntp-1.6.orig/msntp.1 msntp-1.6/msntp.1
--- msntp-1.6.orig/msntp.1 2002-09-08 13:16:22.000000000 +0200
+++ msntp-1.6/msntp.1 2002-09-08 13:27:59.000000000 +0200
@@ -143,7 +143,7 @@
one copy of
.I msntp
running at once. The default is installation-dependent, but will usually be
-.IR /etc/msntp.pid .
+.IR /var/run/msntp.pid .
.TP
.BI \-e " minerr"
sets the maximum ignorable variation between the clocks to
@@ -214,7 +214,7 @@
Note that the file will be created with the default ownerships and permissions,
using standard C facilities. The default is installation-dependent, but will
usually be
-.IR /etc/msntp.state .
+.IR /var/run/msntp.state .
.PP
.B address(es)
are the DNS names or IP numbers of hosts to use for the challenge and response