Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ntp/scripts update mkver
details: https://anonhg.NetBSD.org/src/rev/5f3d6e39d836
branches: trunk
changeset: 792275:5f3d6e39d836
user: christos <christos%NetBSD.org@localhost>
date: Sat Dec 28 03:36:15 2013 +0000
description:
update mkver
diffstat:
external/bsd/ntp/scripts/mkver | 30 +++++++++++-------------------
1 files changed, 11 insertions(+), 19 deletions(-)
diffs (51 lines):
diff -r 336a4fff696e -r 5f3d6e39d836 external/bsd/ntp/scripts/mkver
--- a/external/bsd/ntp/scripts/mkver Sat Dec 28 03:29:46 2013 +0000
+++ b/external/bsd/ntp/scripts/mkver Sat Dec 28 03:36:15 2013 +0000
@@ -3,36 +3,28 @@
ConfStr="$PROG"
-ConfStr="$ConfStr 4.2.6p5"
+ConfStr="$ConfStr 4.2.7p404"
case "$CSET" in
'') ;;
*) ConfStr="$ConfStr@$CSET" ;;
esac
-case "-lcrypto" in
+case "o" in
'') ;;
- -lcrypto)
- ConfStr="${ConfStr}-o" ;;
- *) ConfStr="${ConfStr}-?" ;;
+ *) ConfStr="${ConfStr}-o" ;;
esac
-ifile="`dirname $0`/../importdate"
-
-if [ -f "$ifile" ]; then
- ConfStr="$ConfStr "`cat "$ifile"`
-else
- ConfStr="$ConfStr `LC_TIME=C TZ= date`"
+ConfStr="$ConfStr `LC_TIME=C TZ=UTC date`"
- if [ ! -f .version ]; then
- echo 0 > .version
- fi
- RUN="`cat .version`"
- RUN="`expr $RUN + 1`"
- echo $RUN > .version
+if [ ! -f .version ]; then
+ echo 0 > .version
+fi
+RUN="`cat .version`"
+RUN="`expr $RUN + 1`"
+echo $RUN > .version
- ConfStr="$ConfStr (${RUN})"
-fi
+ConfStr="$ConfStr (${RUN})"
echo "Version <${ConfStr}>";
Home |
Main Index |
Thread Index |
Old Index