wok-6.x view knock/stuff/knock.u @ rev 11123
Up: zsh to 4.3.12.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 26 20:10:43 2011 +0000 (2011-10-26) |
parents | e906460e922d |
children | 216fe5c85b71 |
line source
1 --- knock-0.5/Makefile.in
2 +++ knock-0.5/Makefile.in
3 @@ -68,11 +68,15 @@
4 (cd ..; tar czvf knock-$(VERSION).tar.gz knock-$(VERSION))
6 install: all
7 - $(INSTALL) -D -m0755 knockd $(DESTDIR)$(SBINDIR)/knockd
8 - $(INSTALL) -D -m0755 knock $(DESTDIR)$(BINDIR)/knock
9 - $(INSTALL) -D -m0644 $(MANSRC)knockd.1 $(DESTDIR)$(MANDIR)/man1/knockd.1
10 - $(INSTALL) -D -m0644 $(MANSRC)knock.1 $(DESTDIR)$(MANDIR)/man1/knock.1
11 - $(INSTALL) -D -m0644 knockd.conf $(DESTDIR)/etc/knockd.conf
12 + mkdir -p $(DESTDIR)$(SBINDIR)
13 + $(INSTALL) -m0755 knockd $(DESTDIR)$(SBINDIR)/knockd
14 + mkdir -p $(DESTDIR)$(BINDIR)
15 + $(INSTALL) -m0755 knock $(DESTDIR)$(BINDIR)/knock
16 + mkdir -p $(DESTDIR)$(MANDIR)/man1
17 + $(INSTALL) -m0644 $(MANSRC)knockd.1 $(DESTDIR)$(MANDIR)/man1/knockd.1
18 + $(INSTALL) -m0644 $(MANSRC)knock.1 $(DESTDIR)$(MANDIR)/man1/knock.1
19 + mkdir -p $(DESTDIR)/etc
20 + $(INSTALL) -m0644 knockd.conf $(DESTDIR)/etc/knockd.conf
22 clean:
23 rm -f *~ $(OBJDIR)*.o $(MANSRC)*.1
25 --- knock-0.5/knockd.conf
26 +++ knock-0.5/knockd.conf
27 @@ -1,4 +1,5 @@
28 [options]
29 + PidFile = /var/run/knockd.pid
30 logfile = /var/log/knockd.log
32 [openSSH]
34 --- knock-0.5/src/knockd.c
35 +++ knock-0.5/src/knockd.c
36 @@ -46,6 +46,7 @@
37 #include <syslog.h>
38 #include <pcap.h>
39 #include <errno.h>
40 +#include <linux/limits.h>
41 #include "list.h"
43 static char version[] = "0.5";