FreeBSD Bugzilla – Attachment 179543 Details for
Bug 216737
net/chrony: enable privilege separation and other changes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updates to the chrony port
chrony-updates.patch (text/plain), 2.60 KB, created by
Yonas Yanfa
on 2017-02-02 20:28:06 UTC
(
hide
)
Description:
Updates to the chrony port
Filename:
MIME Type:
Creator:
Yonas Yanfa
Created:
2017-02-02 20:28:06 UTC
Size:
2.60 KB
patch
obsolete
>diff --git a/Makefile b/Makefile >index ebd9a2b..180f388 100644 >--- a/Makefile >+++ b/Makefile >@@ -12,23 +12,23 @@ COMMENT= System clock synchronization client and server > LICENSE= GPLv2 > LICENSE_FILE= ${WRKSRC}/COPYING > >-BUILD_DEPENDS= rubygem-asciidoctor>=0:textproc/rubygem-asciidoctor >+USERS= chronyd >+GROUPS= chronyd > >-USES= cpe gmake makeinfo readline >+USES= cpe gmake libedit > CPE_VENDOR= tuxfamily > HAS_CONFIGURE= yes > CONFIGURE_ARGS= --prefix=${PREFIX} \ > --chronyvardir=/var/db/${PORTNAME} \ > --infodir=${PREFIX}/info \ > --sysconfdir=${PREFIX}/etc --mandir=${MANPREFIX}/man \ >- --datarootdir=${DATADIR} --docdir=${DOCSDIR} >+ --datarootdir=${DATADIR} --docdir=${DOCSDIR} \ >+ --with-user=chronyd > USE_RC_SUBR= chronyd > >-ALL_TARGET= all docs >-INSTALL_TARGET= install install-docs >-EXTRAPORTDOCS= FAQ NEWS README >-PORTDOCS= chrony.conf.html chronyc.html chronyd.html faq.html \ >- installation.html ${EXTRAPORTDOCS} >+ALL_TARGET= all >+INSTALL_TARGET= install >+PORTDOCS= FAQ NEWS README > PORTEXAMPLES= chrony.conf.example1 chrony.conf.example2 \ > chrony.conf.example3 chrony.keys.example > >@@ -46,7 +46,8 @@ BROKEN_aarch64= Fails to compile: invalid operands to binary expression (double > post-install: > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chronyc > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/chronyd >- ${INSTALL_DATA} ${EXTRAPORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} > @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} > ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} \ > ${STAGEDIR}${EXAMPLESDIR} >diff --git a/pkg-message b/pkg-message >index f9d73bb..5db648e 100644 >--- a/pkg-message >+++ b/pkg-message >@@ -1,5 +1,4 @@ > Unfortunately, this software has shameful history of several vulnerabilities > previously discovered. FreeBSD Project cannot guarantee that this spree had >-come to an end. It is further complicated, as chronyd(8) requires superuser >-permissions to operate; please type ``make deinstall'' to deinstall the port >+come to an end. Please type ``make deinstall'' to deinstall the port > if tight security is a concern. >diff --git a/pkg-plist b/pkg-plist >index 47cda48..cf9ea49 100644 >--- a/pkg-plist >+++ b/pkg-plist >@@ -4,4 +4,6 @@ man/man1/chronyc.1.gz > man/man5/chrony.conf.5.gz > man/man8/chronyd.8.gz > sbin/chronyd >+@owner chronyd >+@group chronyd > @dir /var/db/chrony
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
Flags:
yonas
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 216737
:
179543
|
179836
|
179948