~ubuntu-branches/debian/squeeze/ntp/squeeze

« back to all changes in this revision

Viewing changes to packageinfo.sh

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2010-05-24 11:09:51 UTC
  • mfrom: (1.2.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100524110951-1o7gh469ygochf4n
Tags: 1:4.2.6.p1+dfsg-1
* New upstream version
  - They no longer ship arlib, adjust dfsg.patch.
  - Drop kfreebsd.patch, applied upstream
  - Update patches for upstream changes.
* Remove the obsolete config files:

  for ntp:
  - /etc/logcheck/ignore.d.server/ntp, removed in 1:4.2.6+dfsg-1
  - /etc/dhcp3/dhclient-enter-hooks.d/ntp, replaced by exit hooks in
    1:4.2.4p4+dfsg-3
  - /etc/network/if-up.d/ntp, removed in 1:4.2.4p0+dfsg-1

  for ntpdate:
  - /etc/dhcp3/dhclient-enter-hooks.d/ntpdate, replaced by exit hooks in
    1:4.2.4p4+dfsg-3

  Use dpkg 1.15.7.2's dpkg-maintscript-helper.  This needs
  a Pre-Depends to work, else it's never going to be removed.
  (Closes: #569530)
* Add "Depends: ${misc:Depends}" to ntp-doc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
repotype=dev
 
1
#
 
2
# packageinfo.sh - set shell variables with version components
 
3
#
 
4
# This file is sourced by other scripts and does not need execute
 
5
# permission or the #! shell selector.
 
6
#
 
7
# Most changes to this file are fully or semi-automated using the
 
8
#   UpdatePoint script on the ntp.org tarball build machine.  Changes
 
9
#   required by the typical ntp.org release sequences are below.
 
10
#
 
11
## DEV:
 
12
#
 
13
# To bump the -dev point (p) number, UpdatePoint needs no changes here.
 
14
#
 
15
# To start a -RC cycle in -dev leading to the next -stable release,
 
16
#   set prerelease=rc.
 
17
#
 
18
# To move from dev -RC to new -stable and -dev major/minor version, set
 
19
#   minor and/or major to the new version, repotype to match the new
 
20
#   minor version, empty prerelease, and set point=NEW.  UpdatePoint
 
21
#   will empty point and rcpoint, and set betapoint=0.
 
22
#
 
23
## STABLE:
 
24
#
 
25
# To start a -stable beta cycle, which normally occurs before a -stable
 
26
#   -RC1 during the runup to a -stable point release, UpdatePoint needs
 
27
#   no changes here.  Both betapoint and point will be incremented, and
 
28
#   prerelease will be set to beta.
 
29
#
 
30
# To move on from -stable beta to RC set prerelease=rc.
 
31
#
 
32
# To fall back from -stable RC to beta set prerelease=beta.
 
33
#
 
34
# To skip over -stable beta1 directly to -RC1, set prerelease=rc.
 
35
#
 
36
# To skip all -stable prereleases and move from one primary or point 
 
37
#   release directly to the next point release, set rcpoint=GO.
 
38
#
 
39
##
 
40
#
 
41
# To see what UpdatePoint will do without modifying packageinfo.sh as it
 
42
# does by default, use the -t/--test option before the repo type:
 
43
#
 
44
# shell# scripts/UpdatePoint -t stable
 
45
#
 
46
 
 
47
# repotype must be stable or dev
 
48
repotype=stable
 
49
 
2
50
# version=Protocol.Major.Minor
3
51
# odd minor numbers are for -dev, even minor numbers are for -stable
 
52
# UpdatePoint will fail if repotype is inconsistent with minor.
4
53
proto=4
5
54
major=2
6
55
minor=6
7
56
version=${proto}.${major}.${minor}
8
 
# Point.  3 cases:
9
 
# - Numeric values increment
10
 
# - empty 'increments' to 1
11
 
# - NEW 'increments' to empty
12
 
point=
 
57
 
13
58
# Special.  Normally unused.  A suffix.
14
59
#special=ag
15
60
special=
16
 
# ReleaseCandidate. 'yes' or 'no'.
17
 
#releasecandidate=yes
18
 
releasecandidate=no
19
 
# ChangeLog tag
 
61
 
 
62
# prerelease can be empty, 'beta', or 'rc'.
 
63
prerelease=
 
64
 
 
65
# ChangeLog starting tag (see also CommitLog-4.1.0)
20
66
CLTAG=NTP_4_2_0
21
 
###
22
 
# The following is for ntp-stable.  2 cases:
 
67
 
 
68
### Point number, after "p", normally modified by script.
 
69
# 3 cases:
 
70
# - Numeric values increment
 
71
# - empty 'increments' to 1
 
72
# - NEW 'increments' to empty
 
73
point=1
 
74
 
 
75
### betapoint is normally modified by script.
 
76
# ntp-stable Beta number (betapoint)
 
77
# Should be zeroed at release, and left at zero until first beta.
 
78
# The first beta is -beta1.
 
79
# betapoint is always zero in ntp-dev.
 
80
betapoint=0
 
81
 
 
82
### rcpoint is normally modified by script except for GO.
 
83
# RC number (rcpoint)
 
84
# for ntp-dev, always empty as RC numbers are not used, nor is GO.
 
85
# For ntp-stable:
 
86
# if prerelease is 'rc':
23
87
# - Numeric values increment
24
88
# - GO triggers a release
25
 
# - - rcpoint gets set to 0
26
 
# - - releasecandidate gets set to no
27
 
# - GRONK is for -dev
28
 
rcpoint=1
 
89
# - - rcpoint is emptied
 
90
# - - betapoint is set to 0
 
91
# - - prerelease is emptied
 
92
# else (not in RC)
 
93
# - rcpoint is empty and unused (for now).
 
94
rcpoint=