252
|
1 |
This patch does the customization for the Solaris way
|
|
2 |
of installing things. There is a method for doing this
|
|
3 |
with the configure scripts, but these last few file
|
|
4 |
paths have not been converted. When they are, this patch
|
|
5 |
can go away.
|
|
6 |
|
|
7 |
--- include/ntp_config.h.orig Thu May 14 06:34:41 2009
|
|
8 |
+++ include/ntp_config.h Thu May 14 06:15:12 2009
|
|
9 |
@@ -10,7 +10,7 @@
|
|
10 |
*/
|
|
11 |
#ifndef CONFIG_FILE
|
|
12 |
# ifndef SYS_WINNT
|
|
13 |
-# define CONFIG_FILE "/etc/ntp.conf"
|
|
14 |
+# define CONFIG_FILE "/etc/inet/ntp.conf"
|
|
15 |
# else /* SYS_WINNT */
|
|
16 |
# define CONFIG_FILE "%windir%\\system32\\drivers\\etc\\ntp.conf"
|
|
17 |
# define ALT_CONFIG_FILE "%windir%\\ntp.conf"
|
|
18 |
--- libntp/audio.c.orig Thu May 14 06:34:41 2009
|
|
19 |
+++ libntp/audio.c Thu May 14 06:15:12 2009
|
|
20 |
@@ -53,7 +53,7 @@
|
|
21 |
static struct audio_device device; /* audio device ident */
|
|
22 |
#endif /* HAVE_SYS_AUDIOIO_H */
|
|
23 |
#ifdef PCM_STYLE_SOUND
|
|
24 |
-# define INIT_FILE "/etc/ntp.audio"
|
|
25 |
+# define INIT_FILE "/etc/inet/ntp.audio"
|
|
26 |
int agc = SOUND_MIXER_WRITE_RECLEV; /* or IGAIN or LINE */
|
|
27 |
int monitor = SOUND_MIXER_WRITE_VOLUME; /* or OGAIN */
|
|
28 |
int devmask = 0;
|
|
29 |
--- ntpdate/ntpdate.c.orig Thu May 14 06:34:41 2009
|
|
30 |
+++ ntpdate/ntpdate.c Thu May 14 06:15:12 2009
|
|
31 |
@@ -179,7 +179,7 @@
|
|
32 |
|
|
33 |
#ifndef KEYFILE
|
|
34 |
# ifndef SYS_WINNT
|
|
35 |
-#define KEYFILE "/etc/ntp.keys"
|
|
36 |
+#define KEYFILE "/etc/inet/ntp.keys"
|
|
37 |
# else
|
|
38 |
#define KEYFILE "%windir%\\ntp.keys"
|
|
39 |
# endif /* SYS_WINNT */
|
|
40 |
--- ntpd/refclock_oncore.c.orig Thu May 14 06:34:41 2009
|
|
41 |
+++ ntpd/refclock_oncore.c Thu May 14 06:15:12 2009
|
|
42 |
@@ -1210,7 +1210,7 @@
|
|
43 |
|
|
44 |
FILE *fd;
|
|
45 |
char *cp, *cc, *ca, line[100], units[2], device[64], **cpp;
|
|
46 |
- char *dirs[] = { "/etc/ntp", "/etc", 0 };
|
|
47 |
+ char *dirs[] = { "/etc/inet", "/etc", 0 };
|
|
48 |
int i, sign, lat_flg, long_flg, ht_flg, mode, mask;
|
|
49 |
double f1, f2, f3;
|
|
50 |
|