summaryrefslogtreecommitdiffstats
path: root/sysutils/gkrellm2
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2001-09-17 19:09:23 +0000
committerume <ume@FreeBSD.org>2001-09-17 19:09:23 +0000
commit55e922c18d574e9f7dd64c0fd0bc3b2dfb1794e4 (patch)
treea7b07ab0adf82cc7f0fa11242c62ec9c0c7841b8 /sysutils/gkrellm2
parentb416a22f6cfc4164b7d607284d5d8ee912cccd63 (diff)
downloadFreeBSD-ports-55e922c18d574e9f7dd64c0fd0bc3b2dfb1794e4.zip
FreeBSD-ports-55e922c18d574e9f7dd64c0fd0bc3b2dfb1794e4.tar.gz
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.
Diffstat (limited to 'sysutils/gkrellm2')
-rw-r--r--sysutils/gkrellm2/Makefile14
-rw-r--r--sysutils/gkrellm2/pkg-message10
2 files changed, 14 insertions, 10 deletions
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index 6915db2..863f909 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -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
diff --git a/sysutils/gkrellm2/pkg-message b/sysutils/gkrellm2/pkg-message
index 70c1f56..039d8d9 100644
--- a/sysutils/gkrellm2/pkg-message
+++ b/sysutils/gkrellm2/pkg-message
@@ -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.
****************************************************************************
OpenPOWER on IntegriCloud