Permalink
Browse files

Rename zlog to devent-router

  • Loading branch information...
1 parent 1fcf914 commit 869953e567acf0f326c241138aecfc2da10ad327 Silas Sewell committed Jul 19, 2011
Showing with 22 additions and 21 deletions.
  1. +1 −0 LICENSE
  2. +9 −9 Makefile
  3. +12 −12 README.md
View
@@ -1,6 +1,7 @@
The MIT License
Copyright (c) 2011 Silas Sewell
+Copyright (c) 2011 Shutterstock LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
View
@@ -11,28 +11,28 @@ SRC ?= src
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
-all: zlog-hub zlog-recv zlog-send
+all: dr-hub dr-recv dr-send
-zlog-http: $(SRC)/http.o
+dr-http: $(SRC)/http.o
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) -I$(LIBEVENT)/include \
-I$(LIBSIMPLEHTTP)/include -L$(LIBEVENT)/lib -L$(LIBSIMPLEHTTP)/lib -levent \
-lsimplehttp -lm
-zlog-hub: $(SRC)/hub.o
+dr-hub: $(SRC)/hub.o
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
-zlog-recv: $(SRC)/recv.o
+dr-recv: $(SRC)/recv.o
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
-zlog-send: $(SRC)/send.o
+dr-send: $(SRC)/send.o
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
.PHONY: clean install
install:
- /usr/bin/install -p -D -m 755 zlog-hub $(PREFIX)/bin/zlog-hub
- /usr/bin/install -p -D -m 755 zlog-recv $(PREFIX)/bin/zlog-recv
- /usr/bin/install -p -D -m 755 zlog-send $(PREFIX)/bin/zlog-send
+ /usr/bin/install -p -D -m 755 dr-hub $(PREFIX)/bin/dr-hub
+ /usr/bin/install -p -D -m 755 dr-recv $(PREFIX)/bin/dr-recv
+ /usr/bin/install -p -D -m 755 dr-send $(PREFIX)/bin/dr-send
clean:
- rm -f zlog-* $(SRC)/*.o
+ rm -f dr-* $(SRC)/*.o
View
@@ -1,27 +1,27 @@
-zlog
-====
+devent-router
+=============
-zlog is a collection of log aggregation tools.
+devent-router is a collection of event aggregation tools.
### Getting Started
-First build zlog:
+First build devent-router:
make
-Next start `zlog-hub` and `zlog-recv`:
+Next start `dr-hub` and `dr-recv`:
- ./zlog-hub 'tcp://*:5555' 'tcp://*:5556' &
- ./zlog-recv 'tcp://*:5556' mytopic
+ ./dr-hub 'tcp://*:5555' 'tcp://*:5556' &
+ ./dr-recv 'tcp://*:5556' mytopic
-In a new window open another instance of `zlog-recv`:
+In a new window open another instance of `dr-recv`:
- ./zlog-recv 'tcp://*:5556' mytopic.second
+ ./dr-recv 'tcp://*:5556' mytopic.second
-And in one more window run `zlog-send`:
+And in one more window run `dr-send`:
- echo "both topics" | ./zlog-send 'tcp://*:5555' mytopic
- echo "only second topic" | ./zlog-send 'tcp://*:5555' mytopic.second
+ echo "both topics" | ./dr-send 'tcp://*:5555' mytopic
+ echo "only second topic" | ./dr-send 'tcp://*:5555' mytopic.second
### Requirements

0 comments on commit 869953e

Please sign in to comment.