Don't install with setuid root by default. Some people claims
it casuses problem. If you wish to enable LM78/79 feature support, please specify WITH_SENSOR=yes at building.
This commit is contained in:
parent
1561199a91
commit
e286fd3b8e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47922
4 changed files with 28 additions and 20 deletions
|
@ -22,10 +22,12 @@ INCLUDES= gkrellm.h gkrellm_public_proto.h
|
|||
MAN1= gkrellm.1
|
||||
DOCS= COPYRIGHT README Themes.html
|
||||
|
||||
# You should aware that GKrellM must be setuid root to obtain
|
||||
# temperatures. If your motherboard doesn't support LM78/79 feature,
|
||||
# you may not want this.
|
||||
# WITHOUT_SENSOR=yes
|
||||
# If you want to support LM78/79 feature, set this to `yes'. You
|
||||
# should aware that GKrellM must be setuid root to obtain
|
||||
# temperatures. Furthermore, this causes problem on some
|
||||
# motherboards. If your motherboard doesn't support LM78/79 feature,
|
||||
# you should not enable this.
|
||||
# WITH_SENSOR=yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -36,7 +38,7 @@ ALL_TARGET= freebsd
|
|||
.endif
|
||||
|
||||
BINGRP= kmem
|
||||
.if !defined(WITHOUT_SENSOR)
|
||||
.if defined(WITH_SENSOR)
|
||||
BINOWN= root
|
||||
BINMODE= 4111
|
||||
.else
|
||||
|
@ -67,7 +69,7 @@ do-install:
|
|||
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gkrellm
|
||||
.endfor
|
||||
.endif
|
||||
.if !defined(WITHOUT_SENSOR)
|
||||
.if !defined(WITH_SENSOR)
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
****************************************************************************
|
||||
|
||||
You should aware that GKrellM must be setuid root to obtain
|
||||
temperatures. If your motherboard doesn't support LM78/79 feature,
|
||||
you may not want this. You can disable it by typing
|
||||
`make install WITHOUT_SENSOR=yes' at the "${PORTSDIR}/sysutils/gkrellm"
|
||||
If you want to support LM78/79 feature,
|
||||
`make install WITH_SENSOR=yes' at the "${PORTSDIR}/sysutils/gkrellm"
|
||||
directory to re-make this package.
|
||||
You should aware that GKrellM must be setuid root to obtain
|
||||
temperatures. Furthermore, this causes problem on some
|
||||
motherboards. If your motherboard doesn't support LM78/79 feature,
|
||||
you should not enable this.
|
||||
|
||||
****************************************************************************
|
||||
|
|
|
@ -22,10 +22,12 @@ INCLUDES= gkrellm.h gkrellm_public_proto.h
|
|||
MAN1= gkrellm.1
|
||||
DOCS= COPYRIGHT README Themes.html
|
||||
|
||||
# You should aware that GKrellM must be setuid root to obtain
|
||||
# temperatures. If your motherboard doesn't support LM78/79 feature,
|
||||
# you may not want this.
|
||||
# WITHOUT_SENSOR=yes
|
||||
# If you want to support LM78/79 feature, set this to `yes'. You
|
||||
# should aware that GKrellM must be setuid root to obtain
|
||||
# temperatures. Furthermore, this causes problem on some
|
||||
# motherboards. If your motherboard doesn't support LM78/79 feature,
|
||||
# you should not enable this.
|
||||
# WITH_SENSOR=yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -36,7 +38,7 @@ ALL_TARGET= freebsd
|
|||
.endif
|
||||
|
||||
BINGRP= kmem
|
||||
.if !defined(WITHOUT_SENSOR)
|
||||
.if defined(WITH_SENSOR)
|
||||
BINOWN= root
|
||||
BINMODE= 4111
|
||||
.else
|
||||
|
@ -67,7 +69,7 @@ do-install:
|
|||
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gkrellm
|
||||
.endfor
|
||||
.endif
|
||||
.if !defined(WITHOUT_SENSOR)
|
||||
.if !defined(WITH_SENSOR)
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
****************************************************************************
|
||||
|
||||
You should aware that GKrellM must be setuid root to obtain
|
||||
temperatures. If your motherboard doesn't support LM78/79 feature,
|
||||
you may not want this. You can disable it by typing
|
||||
`make install WITHOUT_SENSOR=yes' at the "${PORTSDIR}/sysutils/gkrellm"
|
||||
If you want to support LM78/79 feature,
|
||||
`make install WITH_SENSOR=yes' at the "${PORTSDIR}/sysutils/gkrellm"
|
||||
directory to re-make this package.
|
||||
You should aware that GKrellM must be setuid root to obtain
|
||||
temperatures. Furthermore, this causes problem on some
|
||||
motherboards. If your motherboard doesn't support LM78/79 feature,
|
||||
you should not enable this.
|
||||
|
||||
****************************************************************************
|
||||
|
|
Loading…
Reference in a new issue