diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | buildpkg.sh.in | 11 |
2 files changed, 14 insertions, 3 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20061006 | ||
2 | - (tim) [buildpkg.sh.in] Use uname -r instead of -v in OS_VER for Solaris. | ||
3 | Differentiate between OpenServer 5 and OpenServer 6 | ||
4 | |||
1 | 20061003 | 5 | 20061003 |
2 | - (tim) [configure.ac] Move CHECK_HEADERS test before platform specific | 6 | - (tim) [configure.ac] Move CHECK_HEADERS test before platform specific |
3 | section so additional platform specific CHECK_HEADER tests will work | 7 | section so additional platform specific CHECK_HEADER tests will work |
@@ -2515,4 +2519,4 @@ | |||
2515 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 2519 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
2516 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 2520 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
2517 | 2521 | ||
2518 | $Id: ChangeLog,v 1.4566 2006/10/03 16:34:35 tim Exp $ | 2522 | $Id: ChangeLog,v 1.4567 2006/10/06 21:58:38 tim Exp $ |
diff --git a/buildpkg.sh.in b/buildpkg.sh.in index a3b9014bc..9e4ff4239 100644 --- a/buildpkg.sh.in +++ b/buildpkg.sh.in | |||
@@ -154,15 +154,22 @@ ARCH=`uname -m` | |||
154 | DEF_MSG="\n" | 154 | DEF_MSG="\n" |
155 | OS_VER=`uname -v` | 155 | OS_VER=`uname -v` |
156 | SCRIPT_SHELL=/sbin/sh | 156 | SCRIPT_SHELL=/sbin/sh |
157 | UNAME_R=`uname -r` | ||
157 | UNAME_S=`uname -s` | 158 | UNAME_S=`uname -s` |
158 | case ${UNAME_S} in | 159 | case ${UNAME_S} in |
159 | SunOS) UNAME_S=Solaris | 160 | SunOS) UNAME_S=Solaris |
161 | OS_VER=${UNAME_R} | ||
160 | ARCH=`uname -p` | 162 | ARCH=`uname -p` |
161 | RCS_D=yes | 163 | RCS_D=yes |
162 | DEF_MSG="(default: n)" | 164 | DEF_MSG="(default: n)" |
163 | ;; | 165 | ;; |
164 | SCO_SV) UNAME_S=OpenServer | 166 | SCO_SV) case ${UNAME_R} in |
167 | 3.2) UNAME_S=OpenServer5 | ||
165 | OS_VER=`uname -X | grep Release | sed -e 's/^Rel.*3.2v//'` | 168 | OS_VER=`uname -X | grep Release | sed -e 's/^Rel.*3.2v//'` |
169 | ;; | ||
170 | 5) UNAME_S=OpenServer6 | ||
171 | ;; | ||
172 | esac | ||
166 | SCRIPT_SHELL=/bin/sh | 173 | SCRIPT_SHELL=/bin/sh |
167 | RC1_D=no | 174 | RC1_D=no |
168 | DEF_MSG="(default: n)" | 175 | DEF_MSG="(default: n)" |
@@ -481,7 +488,7 @@ _EOF | |||
481 | [ -x /usr/bin/ckyorn ] || cat >> request << _EOF | 488 | [ -x /usr/bin/ckyorn ] || cat >> request << _EOF |
482 | 489 | ||
483 | ckyorn() { | 490 | ckyorn() { |
484 | # for some strange reason OpenServer has no ckyorn | 491 | # for some strange reason OpenServer5 has no ckyorn |
485 | # We build a striped down version here | 492 | # We build a striped down version here |
486 | 493 | ||
487 | DEFAULT=n | 494 | DEFAULT=n |