summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntp')
-rw-r--r--usr.sbin/ntp/config.h28
-rwxr-xr-xusr.sbin/ntp/scripts/mkver2
2 files changed, 25 insertions, 5 deletions
diff --git a/usr.sbin/ntp/config.h b/usr.sbin/ntp/config.h
index b771834..8bcf6e6 100644
--- a/usr.sbin/ntp/config.h
+++ b/usr.sbin/ntp/config.h
@@ -1418,7 +1418,7 @@
#define PACKAGE_NAME "ntp"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "ntp 4.2.8p1"
+#define PACKAGE_STRING "ntp 4.2.8p2"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "ntp"
@@ -1427,7 +1427,7 @@
#define PACKAGE_URL "http://www.ntp.org./"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "4.2.8p1"
+#define PACKAGE_VERSION "4.2.8p2"
/* data dir */
#define PERLLIBDIR "/usr/local/share/ntp/lib"
@@ -1469,13 +1469,21 @@
/* #undef SCO5_CLOCK */
/* The size of `char*', as computed by sizeof. */
+#if defined(__alpha__) || defined(__sparc64__) || defined(__amd64__)
#define SIZEOF_CHARP 8
+#else
+#define SIZEOF_CHARP 4
+#endif
/* The size of `int', as computed by sizeof. */
#define SIZEOF_INT 4
/* The size of `long', as computed by sizeof. */
+#if defined(__alpha__) || defined(__sparc64__) || defined(__amd64__)
#define SIZEOF_LONG 8
+#else
+#define SIZEOF_LONG 4
+#endif
/* The size of `long long', as computed by sizeof. */
#define SIZEOF_LONG_LONG 8
@@ -1490,7 +1498,11 @@
#define SIZEOF_SIGNED_CHAR 1
/* The size of `time_t', as computed by sizeof. */
+#if defined(__alpha__) || defined(__sparc64__) || defined(__amd64__)
#define SIZEOF_TIME_T 8
+#else
+#define SIZEOF_TIME_T 4
+#endif
/* Does SIOCGIFCONF return size in the buffer? */
/* #undef SIZE_RETURNED_IN_BUFFER */
@@ -1516,7 +1528,15 @@
/* #undef STRERROR_R_CHAR_P */
/* canonical system (cpu-vendor-os) of where we should run */
-#define STR_SYSTEM "amd64-portbld-freebsd10.1"
+#if defined(__alpha__)
+#define STR_SYSTEM "alpha-undermydesk-freebsd"
+#elif defined(__sparc64__)
+#define STR_SYSTEM "sparc64-undermydesk-freebsd"
+#elif defined(__amd64__)
+#define STR_SYSTEM "amd64-undermydesk-freebsd"
+#else
+#define STR_SYSTEM "i386-undermydesk-freebsd"
+#endif
/* Does Xettimeofday take 1 arg? */
/* #undef SYSV_TIMEOFDAY */
@@ -1570,7 +1590,7 @@ typedef unsigned int uintptr_t;
/* #undef USE_UDP_SIGPOLL */
/* Version number of package */
-#define VERSION "4.2.8p1"
+#define VERSION "4.2.8p2"
/* vsnprintf expands "%m" to strerror(errno) */
/* #undef VSNPRINTF_PERCENT_M */
diff --git a/usr.sbin/ntp/scripts/mkver b/usr.sbin/ntp/scripts/mkver
index bc0e935..f34267d 100755
--- a/usr.sbin/ntp/scripts/mkver
+++ b/usr.sbin/ntp/scripts/mkver
@@ -6,7 +6,7 @@ PROG=${1-UNKNOWN}
ConfStr="$PROG"
-ConfStr="$ConfStr 4.2.8p1"
+ConfStr="$ConfStr 4.2.8p2"
case "$CSET" in
'') ;;
OpenPOWER on IntegriCloud