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

File 0001-install-cons.saver-setuid-root.patch, 658 bytes (added by ossi, 9 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/Makefile.am

    From 8e10a4e414f63567ba0b7676206927e9f7ce9f91 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/Makefile.am |    2 ++
     1 files changed, 2 insertions(+), 0 deletions(-)
    
    diff --git a/src/Makefile.am b/src/Makefile.am
    index 8af25cb..927add8 100644
    a b endif 
    128128if USE_DIFF 
    129129        $(MAKE) install_mcdiff 
    130130endif 
     131        chown root:root $(pkglibexecdir)/cons.saver 
     132        chmod u+s $(pkglibexecdir)/cons.saver 
    131133 
    132134# 
    133135# Make relative symlinks, but do the right thing if LN_S is `ln' or `cp'.