aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-05-30 11:59:31 +0800
committerwill <will@FreeBSD.org>2000-05-30 11:59:31 +0800
commitc498f5ac9d6185bbacbb55677e6c5c33a483307d (patch)
tree20066881921eb1fedf38dff71e365b7b84c1407a
parentcf462afd5e9464e85d18607c3eab24d1ab922681 (diff)
downloadfreebsd-ports-gnome-c498f5ac9d6185bbacbb55677e6c5c33a483307d.tar.gz
freebsd-ports-gnome-c498f5ac9d6185bbacbb55677e6c5c33a483307d.tar.zst
freebsd-ports-gnome-c498f5ac9d6185bbacbb55677e6c5c33a483307d.zip
Let's not take any risks and leave the *.kss files alone, even if it
doesn't allow normal users to run the KDE screensavers. It's quite doubtful that the KDE people are going to do any audits of such code, so "better safe than sorry" principle comes in play here. PR: 17692 Submitted by: Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
-rw-r--r--x11/kdebase11/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/x11/kdebase11/Makefile b/x11/kdebase11/Makefile
index e278322e4f20..ad2be10d63cc 100644
--- a/x11/kdebase11/Makefile
+++ b/x11/kdebase11/Makefile
@@ -28,15 +28,12 @@ USE_GMAKE= yes
MAKE_ENV= RM=${RM}
CFLAGS+= "-I$(PREFIX)/include"
-KSSES= kattraction.kss kbanner.kss kbat.kss kblankscrn.kss \
- kblob.kss kbouboule.kss kbsod.kss kflame.kss kforest.kss \
- khop.kss klaser.kss klines.kss klissie.kss kmatrix.kss \
- kmorph3d.kss kpipes.kss kpolygon.kss kpyro.kss krock.kss \
- kscience.kss kslidescreen.kss kslip.kss kspace.kss kswarm.kss
-
post-install:
-.for KSS in $(KSSES)
- $(CHMOD) 4555 $(PREFIX)/bin/$(KSS)
-.endfor
+ @${ECHO}
+ @${ECHO_MSG} "Due to the potential security hole represented by the KDE"
+ @${ECHO_MSG} "screensavers, you will have to set them setuid yourself."
+ @${ECHO_MSG} "In order to do this, run:"
+ @${ECHO_MSG} " # chmod 4755 ${PREFIX}/bin/*.kss"
+ @${ECHO}
.include <bsd.port.mk>