FreeBSD Bugzilla – Attachment 214247 Details for
Bug 246293
net/chrony add option to use system's ntpd user and group
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to add USER option
chrony-user.patch (text/plain), 1.63 KB, created by
Olivier Cochard
on 2020-05-07 20:47:21 UTC
(
hide
)
Description:
patch to add USER option
Filename:
MIME Type:
Creator:
Olivier Cochard
Created:
2020-05-07 20:47:21 UTC
Size:
1.63 KB
patch
obsolete
>Index: net/chrony/Makefile >=================================================================== >--- net/chrony/Makefile (revision 534287) >+++ net/chrony/Makefile (working copy) >@@ -14,8 +14,6 @@ > LICENSE_FILE= ${WRKSRC}/COPYING > > USES= cpe gmake libedit pkgconfig >-USERS= chronyd >-GROUPS= chronyd > > CPE_VENDOR= tuxfamily > HAS_CONFIGURE= yes >@@ -24,7 +22,7 @@ > --sysconfdir=${PREFIX}/etc --mandir=${MANPREFIX}/man \ > --datarootdir=${DATADIR} --docdir=${DOCSDIR} \ > --with-readline-library=${LOCALBASE}/lib \ >- --with-user=chronyd --without-tomcrypt >+ --without-tomcrypt > USE_RC_SUBR= chronyd > > ALL_TARGET= all >@@ -35,8 +33,8 @@ > > # XXX: there are also other potentially useful options worth looking into: > # --disable-pps Disable PPS API support >-OPTIONS_DEFINE= DOCS HTMLDOCS EXAMPLES IPV6 >-OPTIONS_DEFAULT= NETTLE >+OPTIONS_DEFINE= DOCS HTMLDOCS EXAMPLES IPV6 USER >+OPTIONS_DEFAULT= NETTLE USER > OPTIONS_RADIO= CRYPTLIB > OPTIONS_RADIO_CRYPTLIB= NETTLE NSS > HTMLDOCS_IMPLIES= DOCS >@@ -45,6 +43,9 @@ > HTMLDOCS_DESC= Build HTML docs (IMPLIES DOCS, needs ruby, asciidoctor) > NETTLE_DESC= Nettle crypto library support > NSS_DESC= NSS-based support for more hashing algorithms >+USER_DESC= Run as user chronyd, group chronyd >+USER_CONFIGURE_OFF= --with-user=ntpd >+USER_CONFIGURE_ON= --with-user=chronyd > > IPV6_CONFIGURE_OFF= --disable-ipv6 > NETTLE_CONFIGURE_OFF= --without-nettle >@@ -52,6 +53,8 @@ > NSS_CONFIGURE_OFF= --without-nss > NSS_LIB_DEPENDS= libfreebl3.so:security/nss > >+USER_VARS= USERS=chronyd GROUPS=chronyd >+ > HTMLDOCS_BUILD_DEPENDS+=asciidoctor:textproc/rubygem-asciidoctor > HTMLDOCS_ALL_TARGET= docs > HTMLDOCS_INSTALL_TARGET=docs
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 246293
: 214247