summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpctl
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2008-12-05 03:28:38 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2008-12-05 03:28:38 +0000
commitd8212310e46cd4d9b3d172cdb2c77a18241b7f0e (patch)
tree20663311b7e41c903bf01855418197f14a9937df /usr.sbin/smtpd/smtpctl
parent747f62b5dbedca879d99609ee63547c8d6d68e49 (diff)
- smtpctl utility to control the smtpd, don't expect too much yet as it is
just an empty clone of relayctl with the glue needed to have it exchange imsg with smtpd correctly. code mostly by pyr@, reviewed by chl@ and I a while ago.
Diffstat (limited to 'usr.sbin/smtpd/smtpctl')
-rw-r--r--usr.sbin/smtpd/smtpctl/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/usr.sbin/smtpd/smtpctl/Makefile b/usr.sbin/smtpd/smtpctl/Makefile
new file mode 100644
index 00000000000..c8dba4072d6
--- /dev/null
+++ b/usr.sbin/smtpd/smtpctl/Makefile
@@ -0,0 +1,15 @@
+# $OpenBSD: Makefile,v 1.1 2008/12/05 03:28:37 gilles Exp $
+
+.PATH: ${.CURDIR}/..
+
+PROG= smtpctl
+BINOWN= root
+
+BINMODE?=555
+
+BINDIR= /usr/bin
+MAN= smtpctl.8
+
+SRCS= smtpctl.c parser.c buffer.c imsg.c log.c
+LDFLAGS= -lutil
+.include <bsd.prog.mk>