Lines 519-524
Link Here
|
519 |
mkdir -p $D |
519 |
mkdir -p $D |
520 |
tar xvzf $SRCDIR/livestatus.tar.gz -C $D |
520 |
tar xvzf $SRCDIR/livestatus.tar.gz -C $D |
521 |
pushd $D |
521 |
pushd $D |
|
|
522 |
# remove strip from Makefile.in |
523 |
sed -i -e 's/^STRIP = @STRIP@$/STRIP = \/bin\/true/' Makefile.in |
522 |
./configure --libdir=$libdir --bindir=$bindir && |
524 |
./configure --libdir=$libdir --bindir=$bindir && |
523 |
make clean && |
525 |
make clean && |
524 |
cat <<EOF > src/livestatus.h && |
526 |
cat <<EOF > src/livestatus.h && |
Lines 528-534
Link Here
|
528 |
#endif // livestatus_h |
530 |
#endif // livestatus_h |
529 |
EOF |
531 |
EOF |
530 |
make -j 8 2>&1 && |
532 |
make -j 8 2>&1 && |
531 |
strip src/livestatus.o && |
533 |
# remove strip to get meaningful backtraces |
|
|
534 |
#strip src/livestatus.o && |
532 |
mkdir -p $DESTDIR$libdir && |
535 |
mkdir -p $DESTDIR$libdir && |
533 |
install -m 755 src/livecheck src/livestatus.o $DESTDIR$libdir && |
536 |
install -m 755 src/livecheck src/livestatus.o $DESTDIR$libdir && |
534 |
mkdir -p $DESTDIR$bindir && |
537 |
mkdir -p $DESTDIR$bindir && |
Lines 817-823
Link Here
|
817 |
sed -i "s@$web_dir@$web_dir/htdocs@g" $d |
820 |
sed -i "s@$web_dir@$web_dir/htdocs@g" $d |
818 |
fi |
821 |
fi |
819 |
done && |
822 |
done && |
820 |
create_sudo_configuration && |
823 |
# disabled modification of /etc/sudoers because of ebuild access violation |
|
|
824 |
#create_sudo_configuration && |
821 |
if [ -z "$YES" ] ; then |
825 |
if [ -z "$YES" ] ; then |
822 |
echo -e "Installation completed successfully.\nPlease restart Nagios and Apache in order to update/active check_mk's web pages." |
826 |
echo -e "Installation completed successfully.\nPlease restart Nagios and Apache in order to update/active check_mk's web pages." |
823 |
echo |
827 |
echo |