FS#43839 - [openntpd] Should openntpd provide ntp

Attached to Project: Community Packages
Opened by Aaditya Bagga (aaditya) - Monday, 16 February 2015, 04:23 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 07 April 2015, 14:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Vesa Kaihlavirta (vegai)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi,

The openntpd package conflicts with the ntp package, but should it also provide ntp?

I ask this because I have an application that depends on ntp, but cannot be installed because it conflicts with openntpd.

$ pacman -Si openntpd
Repository : community
Name : openntpd
Version : 5.7p1-1
Description : Free, easy to use implementation of the Network Time Protocol.
Architecture : x86_64
URL : http://www.openntpd.org/
Licenses : BSD
Groups : None
Provides : None
Depends On : openssl
Optional Deps : None
Conflicts With : ntp
Replaces : None
Download Size : 49.62 KiB
Installed Size : 187.00 KiB
Packager : Jelle van der Waa <jelle@vdwaa.nl>
Build Date : Fri Jan 9 13:21:08 2015
Validated By : MD5 Sum SHA256 Sum Signature
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 07 April 2015, 14:44 GMT
Reason for closing:  None
Additional comments about closing:  User requested: Not enough incentive to implement it currently.
Comment by Aaditya Bagga (aaditya) - Monday, 16 February 2015, 05:29 GMT
A side effect if openntpd is to provide ntp is that ntp would also need to provide ntp..

$ pacman -Si ntp
Repository : extra
Name : ntp
Version : 4.2.8.p1-1
Description : Network Time Protocol reference implementation
Architecture : x86_64
URL : http://www.ntp.org/
Licenses : custom
Groups : None
Provides : None
Depends On : openssl libcap libedit
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 1705.26 KiB
Installed Size : 4027.00 KiB
Packager : Gaetan Bisson <bisson@archlinux.org>
Build Date : Fri Feb 6 22:45:09 2015
Validated By : MD5 Sum SHA256 Sum Signature
Comment by Daniel Micay (thestinger) - Monday, 16 February 2015, 05:49 GMT
ntp is ntp so there is no need for it to provide it...

OpenNTPD doesn't really provide ntp - it provides a different command-line API, etc.
Comment by Aaditya Bagga (aaditya) - Monday, 16 February 2015, 05:53 GMT
Ah, I see, thx.

I thought both openntpd and ntp provided an implementation of the ntp protocol, like for example cronie provides cron [1].

[1]: https://www.archlinux.org/packages/core/x86_64/cronie/
Comment by Daniel Micay (thestinger) - Monday, 16 February 2015, 05:56 GMT
They do both implement the basics of the NTP protocol. That doesn't mean that OpenNTPD can be considered as providing the ntp.org ntpd just as nginx does not provide Apache.
Comment by Daniel Micay (thestinger) - Monday, 16 February 2015, 05:58 GMT
`pactree -rs ntp` shows that there are no official packages with a dependency that could be provided by openntpd. If there was a desire to depend on an ntp server in general then an ntp-server meta-package could be provided by both... but we have no use case for it in the repositories. It seems like a questionable dependency for any package anyway.
Comment by Aaditya Bagga (aaditya) - Monday, 16 February 2015, 06:03 GMT
It was an AUR package [1] that I maintain due to which I thought about this use case.

[1]: https://aur.archlinux.org/packages/timeset/
Comment by Doug Newgard (Scimmia) - Monday, 06 April 2015, 15:40 GMT
Your readme says you use ntpdate. openntpd doesn't have ntpdate, so it wouldn't work, would it? I don't see how this "provides" would be helpful.
Comment by Aaditya Bagga (aaditya) - Monday, 06 April 2015, 15:48 GMT
I was thinking of using ntpd -q, since ntpdate is obsolete [1], but did not get around to it.

I think this bug can be closed though, if its just my tiny package that needs it :)

[1]: http://www.eecis.udel.edu/~mills/ntp/html/ntpdate.html

Loading...