Rename srsd into pfix-srsd.
authorPierre Habouzit <madcoder@debian.org>
Wed, 29 Aug 2007 20:03:59 +0000 (22:03 +0200)
committerPierre Habouzit <madcoder@debian.org>
Wed, 29 Aug 2007 20:03:59 +0000 (22:03 +0200)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
.gitignore
Makefile
srsd.c

index fc954d3..03619bb 100644 (file)
@@ -2,7 +2,7 @@
 
 /postlicyd
 /tst-rbl
-/srsd
+/pfix-srsd
 
 *.o
 .tags
index 948c575..4f76cf2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ include mk/cflags.mk
 
 CFLAGS += --std=gnu99 -D_GNU_SOURCE
 
-PROGRAMS = postlicyd srsd
+PROGRAMS = postlicyd pfix-srsd
 TESTS    = tst-rbl
 
 GENERATED = tokens.h tokens.c
@@ -44,8 +44,8 @@ postlicyd_SOURCES = common.c str.c buffer.c daemon.c rbl.c postfix.c \
                    $(GENERATED) postlicyd.c
 postlicyd_LIBADD = -lpthread
 
-srsd_SOURCES = common.c buffer.c str.c daemon.c srsd.c
-srsd_LIBADD = -lsrs2
+pfix-srsd_SOURCES = common.c buffer.c str.c daemon.c srsd.c
+pfix-srsd_LIBADD = -lsrs2
 
 tst-rbl_SOURCES = tst-rbl.c
 
diff --git a/srsd.c b/srsd.c
index b28b024..0ee15ca 100644 (file)
--- a/srsd.c
+++ b/srsd.c
@@ -45,7 +45,7 @@
 #include "mem.h"
 #include "buffer.h"
 
-#define DAEMON_NAME             "srsd"
+#define DAEMON_NAME             "pfix-srsd"
 #define DEFAULT_ENCODER_PORT    10000
 #define DEFAULT_DECODER_PORT    10001
 #define __tostr(x)  #x