Skip to content

Commit

Permalink
Sooner or later, a corrupt jlog is going to make someone's life miser…
Browse files Browse the repository at this point in the history
…able.

We should have been shipping a tool to fix that all along.  We'll ship it
as noit_jlogctl.
  • Loading branch information
postwait committed May 14, 2011
1 parent 78adbbc commit 29fae1d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ src/java/com/omniti/reconnoiter/*.class
src/java/com/omniti/reconnoiter/*/*.class
src/jlog/jlog_config.h
src/jlog/perl/Makefile.PL
src/jlog/jlogctl
src/man/*.8
src/man/*.h
src/module-online.h
Expand Down
10 changes: 8 additions & 2 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ MODULES_DIR=@MODULES_DIR@
WHOLE_ARCHIVE=@WHOLE_ARCHIVE@
NOWHOLE_ARCHIVE=@NOWHOLE_ARCHIVE@

TARGETS=noitd stratcond noit.conf test-noit.conf stratcon.conf test-stratcon.conf
TARGETS=noitd stratcond noit.conf test-noit.conf stratcon.conf test-stratcon.conf \
jlog/jlogctl

MODDIR=modules

Expand Down Expand Up @@ -110,6 +111,10 @@ java-bits:
libjlog:
@(cd jlog && $(MAKE) -s libjlog.a)

jlog/jlogctl:
@echo "- building jlogctl"
@(cd jlog && $(MAKE) -s jlogctl)

libudns:
@(cd udns && $(MAKE) -s libudns.o)

Expand Down Expand Up @@ -243,8 +248,9 @@ install-headers: $(HEADERS)
$(INSTALL) -m 0644 $$file $(DESTDIR)$(includedir)/$$file ; \
done

install-noitd: install-dirs noitd noit.conf java-bits
install-noitd: install-dirs noitd noit.conf java-bits jlog/jlogctl
$(INSTALL) -m 0755 scripts/noittrap $(DESTDIR)$(bindir)/noittrap
$(INSTALL) -m 0755 jlog/jlogctl $(DESTDIR)$(bindir)/noit_jlogctl
$(INSTALL) -m 0755 noitd $(DESTDIR)$(sbindir)/noitd
$(INSTALL) -m 0644 noit.conf $(DESTDIR)$(sysconfdir)/noit.conf.sample
$(INSTALL) -m 0644 config_templates.conf $(DESTDIR)$(sysconfdir)/config_templates.conf
Expand Down

0 comments on commit 29fae1d

Please sign in to comment.