[pkg-ntp-maintainers] [Git][pkg-ntp-team/ntp][master] 2 commits: New binary package sntp-hooks, drop historic Breaks/Pre-Depends
Bernhard Schmidt
gitlab at salsa.debian.org
Wed Jan 24 21:10:30 UTC 2018
Bernhard Schmidt pushed to branch master at NTP Maintainers / ntp
Commits:
9fbd121f by Bernhard Schmidt at 2017-11-29T00:28:57+01:00
New binary package sntp-hooks, drop historic Breaks/Pre-Depends
- - - - -
bae3ac63 by Bernhard Schmidt at 2017-11-29T00:33:26+01:00
Drop historic conffile handling from pre-jessie
- - - - -
4 changed files:
- debian/control
- − debian/ntpdate.postinst
- debian/ntpdate.postrm
- − debian/ntpdate.preinst
Changes:
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -13,10 +13,9 @@ Vcs-Git: https://anonscm.debian.org/git/pkg-ntp/pkg-ntp.git/
Package: ntp
Architecture: any
Depends: adduser, lsb-base (>= 3.2-13), netbase, tzdata, ${misc:Depends}, ${shlibs:Depends}
-Pre-Depends: dpkg (>= 1.15.7.2)
Recommends: ${perl:Depends}, sntp
Suggests: ntp-doc
-Breaks: dhcp3-client (<< 4.1.0-1), apparmor-profiles-extra (<< 1.8)
+Breaks: apparmor-profiles-extra (<< 1.8)
Replaces: apparmor-profiles-extra (<< 1.8)
Description: Network Time Protocol daemon and utility programs
NTP, the Network Time Protocol, is used to keep computer clocks
@@ -34,24 +33,17 @@ Description: Network Time Protocol daemon and utility programs
Package: ntpdate
Architecture: any
-Depends: netbase, ${misc:Depends}, ${shlibs:Depends}
-Pre-Depends: dpkg (>= 1.15.7.2)
-Breaks: dhcp3-client (<< 4.1.0-1)
-Description: client for setting system time from NTP servers
+Depends: netbase, sntp-hooks, ${misc:Depends}, ${shlibs:Depends}
+Description: client for setting system time from NTP servers (deprecated)
NTP, the Network Time Protocol, is used to keep computer clocks
accurate by synchronizing them over the Internet or a local network,
or by following an accurate hardware receiver that interprets GPS,
DCF-77, NIST or similar time signals.
.
- ntpdate is a simple NTP client that sets a system's clock to match
- the time obtained by communicating with one or more NTP servers. It
- is not sufficient, however, for maintaining an accurate clock in the
- long run. ntpdate by itself is useful for occasionally setting the
- time on machines that do not have full-time network access, such as
- laptops.
+ ntpdate is deprecated. Please use sntp instead.
.
- If the full NTP daemon from the package "ntp" is installed, then
- ntpdate is not necessary.
+ The ifupdown hooks previously included in the ntpdate package have been
+ migrated to the package sntp-hooks.
Package: ntp-doc
Architecture: all
@@ -83,3 +75,23 @@ Description: Network Time Protocol - sntp client
sntp can be used as an SNTP client to query a NTP or SNTP server and
either display the time or set the local system's time. It is not
sufficient, however, for maintaining an accurate clock in the long run.
+
+Package: sntp-hooks
+Architecture: all
+Depends: sntp
+Description: Network Time Protocol - hooks for sntp
+ NTP, the Network Time Protocol, is used to keep computer clocks
+ accurate by synchronizing them over the Internet or a local network,
+ or by following an accurate hardware receiver that interprets GPS,
+ DCF-77, NIST or similar time signals.
+ .
+ sntp can be used as an SNTP client to query a NTP or SNTP server and
+ either display the time or set the local system's time. It is not
+ sufficient, however, for maintaining an accurate clock in the long run.
+ .
+ This package contains hooks to automatically sync the time _once_
+ when a network interface comes up or dhclient obtains a new DHCP lease.
+ It is meant to be a replacement for the legacy "ntpdate" package.
+ .
+ If the full NTP daemon from the package "ntp" is installed, then
+ sntp-ifupdown is not necessary.
=====================================
debian/ntpdate.postinst deleted
=====================================
--- a/debian/ntpdate.postinst
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if dpkg-maintscript-helper supports rm_conffile; then
- dpkg-maintscript-helper rm_conffile \
- /etc/dhcp3/dhclient-enter-hooks.d/ntpdate 1:4.2.6+dfsg-1 -- "$@"
-fi
-
-if dpkg-maintscript-helper supports mv_conffile; then
- dpkg-maintscript-helper mv_conffile \
- /etc/dhcp3/dhclient-exit-hooks.d/ntpdate \
- /etc/dhcp/dhclient-exit-hooks.d/ntpdate \
- 1:4.2.6.p1+dfsg-1 -- "$@"
-fi
-
-#DEBHELPER#
-
=====================================
debian/ntpdate.postrm
=====================================
--- a/debian/ntpdate.postrm
+++ b/debian/ntpdate.postrm
@@ -2,18 +2,6 @@
set -e
-if dpkg-maintscript-helper supports rm_conffile; then
- dpkg-maintscript-helper rm_conffile \
- /etc/dhcp3/dhclient-enter-hooks.d/ntpdate 1:4.2.6+dfsg-1 -- "$@"
-fi
-
-if dpkg-maintscript-helper supports mv_conffile; then
- dpkg-maintscript-helper mv_conffile \
- /etc/dhcp3/dhclient-exit-hooks.d/ntpdate \
- /etc/dhcp/dhclient-exit-hooks.d/ntpdate \
- 1:4.2.6.p1+dfsg-1 -- "$@"
-fi
-
#DEBHELPER#
if [ "$1" = "purge" ]; then
=====================================
debian/ntpdate.preinst deleted
=====================================
--- a/debian/ntpdate.preinst
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if dpkg-maintscript-helper supports rm_conffile; then
- dpkg-maintscript-helper rm_conffile \
- /etc/dhcp3/dhclient-enter-hooks.d/ntpdate 1:4.2.6+dfsg-1 -- "$@"
-fi
-
-if dpkg-maintscript-helper supports mv_conffile; then
- dpkg-maintscript-helper mv_conffile \
- /etc/dhcp3/dhclient-exit-hooks.d/ntpdate \
- /etc/dhcp/dhclient-exit-hooks.d/ntpdate \
- 1:4.2.6.p1+dfsg-1 -- "$@"
-fi
-
-#DEBHELPER#
-
View it on GitLab: https://salsa.debian.org/pkg-ntp-team/ntp/compare/981f9e2a031aed734d1f5c778f97dc7c104efac8...bae3ac635386a7550d4bc236576a5902a39991d1
---
View it on GitLab: https://salsa.debian.org/pkg-ntp-team/ntp/compare/981f9e2a031aed734d1f5c778f97dc7c104efac8...bae3ac635386a7550d4bc236576a5902a39991d1
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20180124/d86d7222/attachment-0001.html>
More information about the pkg-ntp-maintainers
mailing list