Ticket #22: 0001-install-cons.saver-setuid-root.patch

File 0001-install-cons.saver-setuid-root.patch, 702 bytes (added by ossi, 4 years ago)

for that matter, here is the patch i'm running with, uhm, like, forever. i can only re-iterate that the plain "make install" should *just work* and any modifications should be left to the distributors, not the other way round.

  • src/consaver/Makefile.am

    From 6574dba3ee76d18bf558ae77e3cea1c43110b56e Mon Sep 17 00:00:00 2001
    From: Oswald Buddenhagen <ossi@kde.org>
    Date: Fri, 3 Apr 2009 00:09:22 +0200
    Subject: [PATCH] install cons.saver setuid root
    
    ---
     src/consaver/Makefile.am | 4 ++++
     1 file changed, 4 insertions(+)
    
    diff --git a/src/consaver/Makefile.am b/src/consaver/Makefile.am
    index ba446c13b..919a5517c 100644
    a b pkglibexec_PROGRAMS = cons.saver 
    55cons_saver_SOURCES = cons.saver.c 
    66 
    77AM_CPPFLAGS = -I$(top_srcdir) 
     8 
     9install-exec-hook: 
     10        chown root:root $(DESTDIR)$(pkglibexecdir)/cons.saver 
     11        chmod u+s $(DESTDIR)$(pkglibexecdir)/cons.saver