[pkg-ntp-maintainers] [pkg-ntp] 02/05: split sntp into seperate binary package
Bernhard Schmidt
berni at moszumanska.debian.org
Thu Jun 1 10:09:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
berni pushed a commit to branch berni-wip
in repository pkg-ntp.
commit 134712e5914b3edca0cf241945fe71629def9df2
Author: Bernhard Schmidt <berni at debian.org>
Date: Thu Jun 1 11:04:45 2017 +0200
split sntp into seperate binary package
---
debian/control | 17 ++++++++++++++++-
debian/ntp.install | 2 --
debian/patches/debian-locfile.patch | 3 +--
debian/sntp.install | 2 ++
4 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index 724674d..9e3748e 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ 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}
+Recommends: ${perl:Depends}, sntp
Suggests: ntp-doc
Breaks: dhcp3-client (<< 4.1.0-1), apparmor-profiles-extra (<< 1.8)
Replaces: apparmor-profiles-extra (<< 1.8)
@@ -67,3 +67,18 @@ Description: Network Time Protocol documentation
ntpdate). Since there are no substantive man pages for ntp's
programs and configuration files, this package is desirable for any
setup beyond the simple default configuration.
+
+Package: sntp
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Breaks: ntp (<<1:4.2.8p10+dfsg-3+exp3)
+Replaces: ntp (<<1:4.2.8p10+dfsg-3+exp3)
+Description: Network Time Protocol - sntp client
+ 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.
diff --git a/debian/ntp.install b/debian/ntp.install
index 579d142..49d4527 100644
--- a/debian/ntp.install
+++ b/debian/ntp.install
@@ -7,7 +7,6 @@ debian/tmp/usr/sbin/ntp-keygen
debian/tmp/usr/sbin/ntp-wait
debian/tmp/usr/sbin/ntpd
debian/tmp/usr/sbin/ntptime
-debian/tmp/usr/sbin/sntp
debian/tmp/usr/share/ntp/lib/NTP/Util.pm
debian/tmp/usr/share/doc/ntp/ntp-keygen.html
debian/tmp/usr/share/doc/ntp/ntp-wait.html
@@ -19,7 +18,6 @@ debian/tmp/usr/share/doc/ntp/ntpq.html
debian/tmp/usr/share/doc/ntp/ntpsnmpd.html
debian/tmp/usr/share/doc/ntp/ntpsweep.html
debian/tmp/usr/share/doc/ntp/ntptrace.html
-debian/tmp/usr/share/doc/sntp/sntp.html
debian/tmp/usr/share/doc/ntp/update-leap.html
debian/tmp/usr/share/man/man*/*
debian/ntp-systemd-wrapper usr/lib/ntp
diff --git a/debian/patches/debian-locfile.patch b/debian/patches/debian-locfile.patch
index f225065..8e7f34d 100644
--- a/debian/patches/debian-locfile.patch
+++ b/debian/patches/debian-locfile.patch
@@ -16,9 +16,8 @@
+ntpsweep,noinst,1
ntptime,sbin,8
ntptrace,bin,1
--sntp,bin,1
+ sntp,bin,1
-tickadj,sbin,8
-+sntp,sbin,1
+tickadj,noinst,8
timetrim,sbin,8
-update-leap,sbin,8
diff --git a/debian/sntp.install b/debian/sntp.install
new file mode 100644
index 0000000..6ac3720
--- /dev/null
+++ b/debian/sntp.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/bin/sntp
+debian/tmp/usr/share/doc/sntp/sntp.html
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ntp/pkg-ntp.git
More information about the pkg-ntp-maintainers
mailing list