wok-next annotate knock/stuff/knock.u @ rev 14960
Up: firefox (17.0.8esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 22:19:37 2013 +0200 (2013-08-08) |
parents | e906460e922d |
children | 216fe5c85b71 |
rev | line source |
---|---|
pascal@1435 | 1 --- knock-0.5/Makefile.in |
pascal@1435 | 2 +++ knock-0.5/Makefile.in |
pascal@1435 | 3 @@ -68,11 +68,15 @@ |
pascal@1435 | 4 (cd ..; tar czvf knock-$(VERSION).tar.gz knock-$(VERSION)) |
pascal@1435 | 5 |
pascal@1435 | 6 install: all |
pascal@1435 | 7 - $(INSTALL) -D -m0755 knockd $(DESTDIR)$(SBINDIR)/knockd |
pascal@1435 | 8 - $(INSTALL) -D -m0755 knock $(DESTDIR)$(BINDIR)/knock |
pascal@1435 | 9 - $(INSTALL) -D -m0644 $(MANSRC)knockd.1 $(DESTDIR)$(MANDIR)/man1/knockd.1 |
pascal@1435 | 10 - $(INSTALL) -D -m0644 $(MANSRC)knock.1 $(DESTDIR)$(MANDIR)/man1/knock.1 |
pascal@1435 | 11 - $(INSTALL) -D -m0644 knockd.conf $(DESTDIR)/etc/knockd.conf |
pascal@1435 | 12 + mkdir -p $(DESTDIR)$(SBINDIR) |
pascal@1435 | 13 + $(INSTALL) -m0755 knockd $(DESTDIR)$(SBINDIR)/knockd |
pascal@1435 | 14 + mkdir -p $(DESTDIR)$(BINDIR) |
pascal@1435 | 15 + $(INSTALL) -m0755 knock $(DESTDIR)$(BINDIR)/knock |
pascal@1435 | 16 + mkdir -p $(DESTDIR)$(MANDIR)/man1 |
pascal@1435 | 17 + $(INSTALL) -m0644 $(MANSRC)knockd.1 $(DESTDIR)$(MANDIR)/man1/knockd.1 |
pascal@1435 | 18 + $(INSTALL) -m0644 $(MANSRC)knock.1 $(DESTDIR)$(MANDIR)/man1/knock.1 |
pascal@1435 | 19 + mkdir -p $(DESTDIR)/etc |
pascal@1435 | 20 + $(INSTALL) -m0644 knockd.conf $(DESTDIR)/etc/knockd.conf |
pascal@1435 | 21 |
pascal@1435 | 22 clean: |
pascal@1435 | 23 rm -f *~ $(OBJDIR)*.o $(MANSRC)*.1 |
pascal@1435 | 24 |
pascal@1435 | 25 --- knock-0.5/knockd.conf |
pascal@1435 | 26 +++ knock-0.5/knockd.conf |
pascal@1435 | 27 @@ -1,4 +1,5 @@ |
pascal@1435 | 28 [options] |
pascal@1435 | 29 + PidFile = /var/run/knockd.pid |
pascal@1435 | 30 logfile = /var/log/knockd.log |
pascal@1435 | 31 |
pascal@1435 | 32 [openSSH] |
pascal@4202 | 33 |
pascal@4202 | 34 --- knock-0.5/src/knockd.c |
pascal@4202 | 35 +++ knock-0.5/src/knockd.c |
pascal@4202 | 36 @@ -46,6 +46,7 @@ |
pascal@4202 | 37 #include <syslog.h> |
pascal@4202 | 38 #include <pcap.h> |
pascal@4202 | 39 #include <errno.h> |
pascal@4202 | 40 +#include <linux/limits.h> |
pascal@4202 | 41 #include "list.h" |
pascal@4202 | 42 |
pascal@4202 | 43 static char version[] = "0.5"; |