1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

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>
This commit is contained in:
Will Andrews 2000-05-30 03:59:31 +00:00
parent e3f6835c0d
commit b73338c5e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=28968

View File

@ -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>