Rename 'Reference NTP' rc script to xntpd to avoid conflict with the
basesystem's ntpd rc script. Adjust PLIST and bump. Previous diff looked ok to aja@, rename to xntpd instead of isc_ntpd prodded by naddy@.
This commit is contained in:
parent
22cec090d5
commit
54066adc97
@ -1,15 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.52 2011/07/08 02:14:59 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.53 2011/07/11 17:43:14 landry Exp $
|
||||
|
||||
COMMENT= Network Time Protocol reference implementation
|
||||
|
||||
# ISC's NTP has a 'pN' in its version number, which we don't want
|
||||
# NTP has a 'pN' in its version number, which we don't want
|
||||
# to confuse with the ports system's 'pN' convention, so we
|
||||
# convert it to 'pl' for local use.
|
||||
|
||||
VERSION= 4.2.6p2
|
||||
DISTNAME= ntp-${VERSION}
|
||||
PKGNAME= ntp-${VERSION:S/p/pl/}
|
||||
REVISION= 6
|
||||
REVISION= 7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://archive.ntp.org/ntp4/ntp-4.2/
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.17 2010/11/10 21:21:26 jasper Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.18 2011/07/11 17:43:14 landry Exp $
|
||||
@conflict ntp-doc-*
|
||||
@pkgpath net/ntp,-main
|
||||
@man man/man1/ntp-keygen.1
|
||||
@ -233,4 +233,4 @@ share/examples/ntp/malarky.conf
|
||||
share/examples/ntp/pogo.conf
|
||||
share/examples/ntp/rackety.conf
|
||||
@extra ${SYSCONFDIR}/ntp.conf
|
||||
@rcscript ${RCDIR}/ntpd
|
||||
@rcscript ${RCDIR}/xntpd
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README,v 1.3 2011/07/08 02:14:58 ajacoutot Exp $
|
||||
$OpenBSD: README,v 1.4 2011/07/11 17:43:14 landry Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
@ -11,9 +11,9 @@ Several steps need to be taken to properly configure the NTP daemon.
|
||||
|
||||
${PREFIX}/share/examples/ntp
|
||||
|
||||
2. Now ntp can be started with:
|
||||
2. Now xntpd can be started with:
|
||||
|
||||
/etc/rc.d/ntpd start
|
||||
/etc/rc.d/xntpd start
|
||||
|
||||
Or to start 'ntpd' at every boot, add it to pkg_scripts in
|
||||
Or to start 'xntpd' at every boot, add it to pkg_scripts in
|
||||
/etc/rc.conf.local.
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: ntpd.rc,v 1.5 2010/12/27 14:50:23 ajacoutot Exp $
|
||||
# $OpenBSD: xntpd.rc,v 1.1 2011/07/11 17:43:14 landry Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/ntpd"
|
||||
|
Loading…
Reference in New Issue
Block a user