Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2379 from mariux64/fix-xscreensaver-chown
xscreensaver: no need to chown to root
  • Loading branch information
wwwutz committed Oct 1, 2021
2 parents 64147ce + eaa8a2e commit ac79c34
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions xscreensaver.be0
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION xscreensaver-6.01-0
# BEE_VERSION xscreensaver-6.01-1

# SRCURL[0]="https://www.jwz.org/xscreensaver/xscreensaver-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/a78738a034c7dc1c7960048c8a670588/xscreensaver-6.01.tar.gz"
Expand All @@ -15,13 +15,16 @@ build_in_sourcedir
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}
mee_patch() {
bee_patch "${@}"

mee_configure() {
sed 's/gdmflexiserver -ls/dm-tool switch-to-greeter/;s/USE_NLS=yes/USE_NLS=no/' -i ${S}/configure
sed 's/gdmflexiserver -ls/dm-tool switch-to-greeter/;s/USE_NLS=yes/USE_NLS=no/' -i configure
# can't find configure switch to do this. 'with-login-manager' doesn't work like expected
sed '/SUID_FLAGS = -o root -m 4755/ s/-o root //' -i driver/Makefile.in

}

mee_configure() {
bee_configure \
--with-setuid-hacks=no
}
Expand Down

0 comments on commit ac79c34

Please sign in to comment.