Changeset 414


Ignore:
Timestamp:
Sep 1, 2012, 5:11:07 PM (12 years ago)
Author:
katerina
Message:

Fix for problem with logrotate script and 'make distcheck'.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r412 r414  
    613613        fi
    614614        @if test -d /etc/logrotate.d; then \
    615                 if test ! -f /etc/logrotate.d/@install_name@; then \
    616                         cp $(srcdir)/scripts/logrotate /etc/logrotate.d/@install_name@; \
     615                if test ! -d $(DESTDIR)/etc/logrotate.d; then \
     616                        $(mkinstalldirs) $(DESTDIR)/etc/logrotate.d; \
     617                fi; \
     618                if test ! -f $(DESTDIR)/etc/logrotate.d/@install_name@; then \
     619                        if test -w $(DESTDIR)/etc/logrotate.d; then \
     620                                cp $(srcdir)/scripts/logrotate $(DESTDIR)/etc/logrotate.d/@install_name@; \
     621                        else \
     622                                echo "$(DESTDIR)/etc/logrotate.d not writable"; \
     623                        fi; \
    617624                else \
    618                         echo "/etc/logrotate.d/@install_name@ exists, not overwriting"; \
     625                        echo "$(DESTDIR)/etc/logrotate.d/@install_name@ exists, not overwriting"; \
    619626                fi; \
    620627        fi
     
    16401647samhain.startIRIX samhain.startMACOSX
    16411648
    1642 SCRIPTFILES=redhat_i386.client.spec check_samhain.pl samhainadmin.pl logrotate \
     1649SCRIPTFILES=redhat_i386.client.spec check_samhain.pl samhainadmin.pl \
    16431650yuleadmin.pl samhain.ebuild samhain.ebuild-light samhain.spec
    16441651
  • trunk/docs/Changelog

    r408 r414  
    113.0.6:
     2        * install logrotate script if /etc/logrotate.d is detected
     3        * new option --enable-suid for nagios
    24        * fix for --enable-ptrace: make the save_tv variable thread specific
    35        * fix bug in inotify code which made it follow symlinks (by [anonymous])
Note: See TracChangeset for help on using the changeset viewer.