Wed Jul 16 11:11:37 2008 UTC ()
explain that mkver needs cleanup when a new version is imported
as per suggestion from simon


(perry)
diff -r1.7 -r1.8 src/dist/ntp/ntp2netbsd

cvs diff -r1.7 -r1.8 src/dist/ntp/Attic/ntp2netbsd (expand / switch to unified diff)

--- src/dist/ntp/Attic/ntp2netbsd 2008/04/30 13:10:47 1.7
+++ src/dist/ntp/Attic/ntp2netbsd 2008/07/16 11:11:37 1.8
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1#! /bin/sh 1#! /bin/sh
2# 2#
3# $NetBSD: ntp2netbsd,v 1.7 2008/04/30 13:10:47 martin Exp $ 3# $NetBSD: ntp2netbsd,v 1.8 2008/07/16 11:11:37 perry Exp $
4# 4#
5# Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. 5# Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
6# All rights reserved. 6# All rights reserved.
7# 7#
8# Redistribution and use in source and binary forms, with or without 8# Redistribution and use in source and binary forms, with or without
9# modification, are permitted provided that the following conditions 9# modification, are permitted provided that the following conditions
10# are met: 10# are met:
11# 1. Redistributions of source code must retain the above copyright 11# 1. Redistributions of source code must retain the above copyright
12# notice, this list of conditions and the following disclaimer. 12# notice, this list of conditions and the following disclaimer.
13# 2. Redistributions in binary form must reproduce the above copyright 13# 2. Redistributions in binary form must reproduce the above copyright
14# notice, this list of conditions and the following disclaimer in the 14# notice, this list of conditions and the following disclaimer in the
15# documentation and/or other materials provided with the distribution. 15# documentation and/or other materials provided with the distribution.
16# 16#
@@ -33,26 +33,30 @@ @@ -33,26 +33,30 @@
33# Rough instructions for importing new NTP release: 33# Rough instructions for importing new NTP release:
34# 34#
35# $ cd /some/where/temporary 35# $ cd /some/where/temporary
36# $ tar xpfz /new/ntp/release/tar/file 36# $ tar xpfz /new/ntp/release/tar/file
37# $ sh /usr/src/dist/ntp/ntp2netbsd ntp-4.x.y `pwd` 37# $ sh /usr/src/dist/ntp/ntp2netbsd ntp-4.x.y `pwd`
38# $ cd src/dist/ntp 38# $ cd src/dist/ntp
39# $ cvs import -m "Import ntp 4.x.y" src/dist/ntp UDEL ntp-4-x-y 39# $ cvs import -m "Import ntp 4.x.y" src/dist/ntp UDEL ntp-4-x-y
40# $ cd ../../../ntp-4.x.y 40# $ cd ../../../ntp-4.x.y
41# $ run ./configure --enable-all-clocks --enable-parse-clocks 41# $ run ./configure --enable-all-clocks --enable-parse-clocks
42# $ cp config.h /usr/src/usr.sbin/ntp/include 42# $ cp config.h /usr/src/usr.sbin/ntp/include
43# - not really - we have some changed defaults and the vax port has no ieee.h support. 43# - not really - we have some changed defaults and the vax port has no ieee.h support.
44# so do a careful diff and patch - Frank Kardel 44# so do a careful diff and patch - Frank Kardel
45# $ cp scripts/mkver /usr/src/usr.sbin/ntp/scripts 45# $ cp scripts/mkver /usr/src/usr.sbin/ntp/scripts
 46# Note you will have to edit mkver to remove date and
 47# build number information.
 48# Consult the old version on how this is done.
 49# This should possibly be automated in the future.
46# $ cd .. 50# $ cd ..
47# $ rm -r src ntp-4.x.y 51# $ rm -r src ntp-4.x.y
48# $ cd /usr/src/usr.sbin/ntp 52# $ cd /usr/src/usr.sbin/ntp
49# $ cvs commit -m "Updated autoconf generated files for ntp 4.x.y." 53# $ cvs commit -m "Updated autoconf generated files for ntp 4.x.y."
50# 54#
51# - check makefiles to see if any extra sources have been added, 55# - check makefiles to see if any extra sources have been added,
52# esp. libntp and ntpd. 56# esp. libntp and ntpd.
53# - check for and remove img tags in html docs. 57# - check for and remove img tags in html docs.
54# - update distrib/sets if necessary. 58# - update distrib/sets if necessary.
55 59
56if [ $# -ne 2 ]; then echo "ntp2netbsd src dest"; exit 1; fi 60if [ $# -ne 2 ]; then echo "ntp2netbsd src dest"; exit 1; fi
57 61
58r=$1 62r=$1