Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 447920 | Differences between
and this patch

Collapse All | Expand All

(-)check_mk-1.2.2p1.orig/setup.sh (-2 / +6 lines)
Lines 550-555 Link Here
550
   mkdir -p $D
550
   mkdir -p $D
551
   tar xvzf $SRCDIR/livestatus.tar.gz -C $D
551
   tar xvzf $SRCDIR/livestatus.tar.gz -C $D
552
   pushd $D
552
   pushd $D
553
   # remove strip from Makefile.in
554
   sed -i -e 's/^STRIP = @STRIP@$/STRIP = \/bin\/true/' Makefile.in
553
   ./configure --libdir=$libdir --bindir=$bindir &&
555
   ./configure --libdir=$libdir --bindir=$bindir &&
554
   make clean &&
556
   make clean &&
555
   cat <<EOF > src/livestatus.h &&
557
   cat <<EOF > src/livestatus.h &&
Lines 559-565 Link Here
559
#endif // livestatus_h
561
#endif // livestatus_h
560
EOF
562
EOF
561
   make -j 8  2>&1 &&
563
   make -j 8  2>&1 &&
562
   strip src/livestatus.o &&
564
   # remove strip to get meaningful backtraces
565
   #strip src/livestatus.o &&
563
   mkdir -p $DESTDIR$libdir &&
566
   mkdir -p $DESTDIR$libdir &&
564
   install -m 755 src/livecheck src/livestatus.o $DESTDIR$libdir &&
567
   install -m 755 src/livecheck src/livestatus.o $DESTDIR$libdir &&
565
   mkdir -p $DESTDIR$bindir &&
568
   mkdir -p $DESTDIR$bindir &&
Lines 997-1003 Link Here
997
           touch "$serials_file" &&
1000
           touch "$serials_file" &&
998
           chown $wwwuser "$serials_file" &&
1001
           chown $wwwuser "$serials_file" &&
999
           chown $wwwuser "$htpasswd_file" &&
1002
           chown $wwwuser "$htpasswd_file" &&
1000
	   create_sudo_configuration &&
1003
	   # disabled modification of /etc/sudoers because of ebuild access violation
1004
	   #create_sudo_configuration &&
1001
           if [ "$enable_mkeventd" = yes ]
1005
           if [ "$enable_mkeventd" = yes ]
1002
           then
1006
           then
1003
	       if [ -z "$YES" ] ; then echo -n "(Compiling Event Console binaries..." ; fi
1007
	       if [ -z "$YES" ] ; then echo -n "(Compiling Event Console binaries..." ; fi

Return to bug 447920