summaryrefslogtreecommitdiff
path: root/net/omcmd/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-01-29 14:22:55 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-01-29 14:22:55 +0000
commit65c6806a90ecad02e414416e918dc01dab3e365c (patch)
treeba254a252e8a3bb70cfea11c856abfaa2b865576 /net/omcmd/files
parent- Update to version 1.13 (diff)
omcmd is a CLI utility for performing OMAPI queries and updates on a
running ISC DHCP server, such as adding a host entry or querying a lease. Unlike omshell, it is designed to be readily usable by shell scripts; it has simple one-shot commands and returns error codes. WWW: http://freshmeat.net/projects/omcmd PR: ports/148398 Submitted by: Pavel Volkov Feature safe: yes
Notes
Notes: svn path=/head/; revision=268379
Diffstat (limited to 'net/omcmd/files')
-rw-r--r--net/omcmd/files/patch-Makefile10
-rw-r--r--net/omcmd/files/patch-base64.c10
-rw-r--r--net/omcmd/files/patch-omfuncs.c11
3 files changed, 31 insertions, 0 deletions
diff --git a/net/omcmd/files/patch-Makefile b/net/omcmd/files/patch-Makefile
new file mode 100644
index 000000000000..400d1e7823a5
--- /dev/null
+++ b/net/omcmd/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig 2010-07-05 14:25:42.000000000 +0400
++++ Makefile 2010-07-05 14:31:08.000000000 +0400
+@@ -1,6 +1,6 @@
+ objects = base64.o omfuncs.o
+ #DEBUG=-g
+-CFLAGS=$(DEBUG)
++CFLAGS=$(DEBUG) -I/usr/local/include -L/usr/local/lib
+
+ all: omcmd
+
diff --git a/net/omcmd/files/patch-base64.c b/net/omcmd/files/patch-base64.c
new file mode 100644
index 000000000000..678f40300848
--- /dev/null
+++ b/net/omcmd/files/patch-base64.c
@@ -0,0 +1,10 @@
+--- base64.c.orig 2010-07-05 14:55:31.000000000 +0400
++++ base64.c 2010-07-05 14:56:37.000000000 +0400
+@@ -13,6 +13,7 @@
+ * Removed unneeded encode function. 2004-07-17 David L. Parsley
+ * parsley@linuxjedi.org
+ */
++#include <sys/time.h>
+ #include <ctype.h>
+ #include "omcmd.h"
+
diff --git a/net/omcmd/files/patch-omfuncs.c b/net/omcmd/files/patch-omfuncs.c
new file mode 100644
index 000000000000..d1358cee1633
--- /dev/null
+++ b/net/omcmd/files/patch-omfuncs.c
@@ -0,0 +1,11 @@
+--- omfuncs.c.orig 2010-07-05 14:29:11.000000000 +0400
++++ omfuncs.c 2010-07-05 14:30:01.000000000 +0400
+@@ -6,6 +6,8 @@
+ #include <time.h>
+ #include <string.h>
+ #include <stdarg.h>
++#include <sys/types.h>
++#include <sys/socket.h>
+ #include <arpa/inet.h>
+ #include <netinet/in.h>
+ #include <stdlib.h>