FreeBSD Bugzilla – Attachment 212095 Details for
Bug 244534
net/chrony: Fix linking to nettle and update rc.d script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-1
chrony.diff (text/plain), 1.72 KB, created by
Colin T.
on 2020-03-02 07:51:55 UTC
(
hide
)
Description:
patch-1
Filename:
MIME Type:
Creator:
Colin T.
Created:
2020-03-02 07:51:55 UTC
Size:
1.72 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 527488) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= chrony > PORTVERSION= 3.5 >+PORTREVISION= 1 > CATEGORIES= net > MASTER_SITES= http://download.tuxfamily.org/chrony/ > >@@ -15,7 +16,7 @@ > USERS= chronyd > GROUPS= chronyd > >-USES= cpe gmake libedit >+USES= cpe gmake libedit pkgconfig > CPE_VENDOR= tuxfamily > HAS_CONFIGURE= yes > CONFIGURE_ARGS= --prefix=${PREFIX} \ >@@ -46,7 +47,6 @@ > NSS_BROKEN= Crashes on startup with NSS. See https://bugs.freebsd.org/223840 > NSS_CONFIGURE_OFF= --without-nss > NSS_LIB_DEPENDS= libfreebl3.so:security/nss >-NSS_USES= pkgconfig > > post-patch: > @cd ${WRKSRC}/examples && \ >Index: files/chronyd.in >=================================================================== >--- files/chronyd.in (revision 527488) >+++ files/chronyd.in (working copy) >@@ -4,17 +4,32 @@ > # > # PROVIDE: chronyd > # REQUIRE: DAEMON >+# KEYWORD: nojail shutdown > # >+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf >+# to enable this service: >+# >+# chronyd_enable (bool): Set it to "YES" to enable chronyd >+# Default is "NO" >+# chronyd_config (str): Set full path to configuration file. >+# Default is "%%PREFIX%%/etc/chrony.conf" >+# chronyd_flags (str): Flags passed to chronyd(8) >+# Default is "" >+# > > . /etc/rc.subr > > name=chronyd > rcvar=chronyd_enable >-command=%%PREFIX%%/sbin/${name} >-rc_flags="${chronyd_flags}" > > load_rc_config ${name} > >-: ${chronyd_enable="NO"} >+: ${chronyd_enable:="NO"} >+: ${chronyd_config:="%%PREFIX%%/etc/chrony.conf"} > >+command=%%PREFIX%%/sbin/${name} >+command_args="-f ${chronyd_config}" >+pidfile=/var/run/chrony/${name}.pid >+required_files=${chronyd_config} >+ > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 244534
:
212066
| 212095