mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +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:
parent
e3f6835c0d
commit
b73338c5e4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=28968
@ -28,15 +28,12 @@ USE_GMAKE= yes
|
|||||||
MAKE_ENV= RM=${RM}
|
MAKE_ENV= RM=${RM}
|
||||||
CFLAGS+= "-I$(PREFIX)/include"
|
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:
|
post-install:
|
||||||
.for KSS in $(KSSES)
|
@${ECHO}
|
||||||
$(CHMOD) 4555 $(PREFIX)/bin/$(KSS)
|
@${ECHO_MSG} "Due to the potential security hole represented by the KDE"
|
||||||
.endfor
|
@${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>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user