pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
add keama-git to pkgsrc-wip
Module Name: pkgsrc-wip
Committed By: Niclas Rosenvik <nros%NetBSD.org@localhost>
Pushed By: nros
Date: Tue Jan 21 11:57:47 2020 +0000
Changeset: 40018137f35261a8455051f0fd93471777864c63
Added Files:
keama-git/DESCR
keama-git/Makefile
keama-git/PLIST
keama-git/distinfo
keama-git/patches/patch-configure.ac
keama-git/patches/patch-keama_confparse.c
keama-git/patches/patch-keama_eval.c
keama-git/patches/patch-keama_keama.c
keama-git/patches/patch-keama_print.c
keama-git/patches/patch-keama_reduce.c
Log Message:
add keama-git to pkgsrc-wip
add keama-git to pkgsrc-wip.
keama(KEA Migration Assistant) is a tool to help out with the migration
of config files from isc dhcp to isc kea.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=40018137f35261a8455051f0fd93471777864c63
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
keama-git/DESCR | 2 ++
keama-git/Makefile | 26 ++++++++++++++++++++++++++
keama-git/PLIST | 3 +++
keama-git/distinfo | 8 ++++++++
keama-git/patches/patch-configure.ac | 15 +++++++++++++++
keama-git/patches/patch-keama_confparse.c | 15 +++++++++++++++
keama-git/patches/patch-keama_eval.c | 15 +++++++++++++++
keama-git/patches/patch-keama_keama.c | 15 +++++++++++++++
keama-git/patches/patch-keama_print.c | 15 +++++++++++++++
keama-git/patches/patch-keama_reduce.c | 15 +++++++++++++++
10 files changed, 129 insertions(+)
diffs:
diff --git a/keama-git/DESCR b/keama-git/DESCR
new file mode 100644
index 0000000000..569a37d47a
--- /dev/null
+++ b/keama-git/DESCR
@@ -0,0 +1,2 @@
+keama (KEA Migration Assistant) is an experimental tool to help with the
+migraton of isc dhcp config files to isc kea.
diff --git a/keama-git/Makefile b/keama-git/Makefile
new file mode 100644
index 0000000000..a53f2932b2
--- /dev/null
+++ b/keama-git/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+PKGNAME= keama-0.0
+CATEGORIES= net
+GIT_REPO= https://gitlab.isc.org/isc-projects/dhcp.git
+GIT_ENV= GIT_SSL_NO_VERIFY=true
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.isc.org/kea/
+COMMENT= Migration tool from ISC dhcp to kea dhcp
+LICENSE= mpl-2.0
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+BUILD_DIRS= keama
+USE_TOOLS= autoconf
+
+pre-configure:
+ cd ${WRKSRC} && autoconf
+
+
+.include "../../wip/mk/git-package.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/keama-git/PLIST b/keama-git/PLIST
new file mode 100644
index 0000000000..c1bcd95516
--- /dev/null
+++ b/keama-git/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+man/man8/keama.8
+sbin/keama
diff --git a/keama-git/distinfo b/keama-git/distinfo
new file mode 100644
index 0000000000..e53e82b1f6
--- /dev/null
+++ b/keama-git/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (patch-configure.ac) = d81aef4ac06a8b7f6e29bfea3638365e13132526
+SHA1 (patch-keama_confparse.c) = c7eeaba29e6917e4d81586e4b4049da4f8be3bc7
+SHA1 (patch-keama_eval.c) = 992cdbefee4c57e74ca4053851bd7db7f475068d
+SHA1 (patch-keama_keama.c) = e687a64b12eb2f5c38a4ed7e9a3fca89972b3eee
+SHA1 (patch-keama_print.c) = dbd9a0697525467d9b5c5be2ce0bbb86495b3472
+SHA1 (patch-keama_reduce.c) = 941ad90699b1190341e6001f3250c3fc0d19ceb3
diff --git a/keama-git/patches/patch-configure.ac b/keama-git/patches/patch-configure.ac
new file mode 100644
index 0000000000..70aae760a6
--- /dev/null
+++ b/keama-git/patches/patch-configure.ac
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* gethostname is guaranteed to be in libnsl on solaris and derivates
+
+--- configure.ac.orig 2020-01-18 20:15:59.996202788 +0000
++++ configure.ac
+@@ -605,7 +605,7 @@ AC_CHECK_HEADERS(sys/socket.h net/if_dl.
+
+ # Solaris needs some libraries for functions
+ AC_SEARCH_LIBS(socket, [socket])
+-AC_SEARCH_LIBS(inet_ntoa, [nsl])
++AC_SEARCH_LIBS(gethostbyname, [nsl])
+
+ AC_SEARCH_LIBS(inet_aton, [socket nsl], ,
+ AC_DEFINE([NEED_INET_ATON], [1],
diff --git a/keama-git/patches/patch-keama_confparse.c b/keama-git/patches/patch-keama_confparse.c
new file mode 100644
index 0000000000..190bcf8cb0
--- /dev/null
+++ b/keama-git/patches/patch-keama_confparse.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* use posix errno.h instead of bsd sys/errno.h (fixes build on illumos)
+
+--- keama/confparse.c.orig 2020-01-18 19:49:58.000000000 +0000
++++ keama/confparse.c
+@@ -25,7 +25,7 @@
+
+ #include "keama.h"
+
+-#include <sys/errno.h>
++#include <errno.h>
+ #include <arpa/inet.h>
+ #include <assert.h>
+ #include <ctype.h>
diff --git a/keama-git/patches/patch-keama_eval.c b/keama-git/patches/patch-keama_eval.c
new file mode 100644
index 0000000000..498f3c07cb
--- /dev/null
+++ b/keama-git/patches/patch-keama_eval.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* use posix errno.h instead of bsd sys/errno.h (fixes build on illumos)
+
+--- keama/eval.c.orig 2020-01-18 19:49:58.000000000 +0000
++++ keama/eval.c
+@@ -23,7 +23,7 @@
+
+ #include "keama.h"
+
+-#include <sys/errno.h>
++#include <errno.h>
+ #include <sys/types.h>
+ #include <arpa/inet.h>
+ #include <ctype.h>
diff --git a/keama-git/patches/patch-keama_keama.c b/keama-git/patches/patch-keama_keama.c
new file mode 100644
index 0000000000..0437d8b8ef
--- /dev/null
+++ b/keama-git/patches/patch-keama_keama.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* use posix errno.h instead of bsd sys/errno.h (fixes build on illumos)
+
+--- keama/keama.c.orig 2020-01-18 19:49:58.000000000 +0000
++++ keama/keama.c
+@@ -21,7 +21,7 @@
+ *
+ */
+
+-#include <sys/errno.h>
++#include <errno.h>
+ #include <arpa/inet.h>
+ #include <assert.h>
+ #include <fcntl.h>
diff --git a/keama-git/patches/patch-keama_print.c b/keama-git/patches/patch-keama_print.c
new file mode 100644
index 0000000000..cff7bbf4ac
--- /dev/null
+++ b/keama-git/patches/patch-keama_print.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* use posix errno.h instead of bsd sys/errno.h (fixes build on illumos)
+
+--- keama/print.c.orig 2020-01-18 19:49:58.000000000 +0000
++++ keama/print.c
+@@ -23,7 +23,7 @@
+
+ #include "keama.h"
+
+-#include <sys/errno.h>
++#include <errno.h>
+ #include <sys/types.h>
+ #include <arpa/inet.h>
+ #include <ctype.h>
diff --git a/keama-git/patches/patch-keama_reduce.c b/keama-git/patches/patch-keama_reduce.c
new file mode 100644
index 0000000000..65d730d4fd
--- /dev/null
+++ b/keama-git/patches/patch-keama_reduce.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* use posix errno.h instead of bsd sys/errno.h (fixes build on illumos)
+
+--- keama/reduce.c.orig 2020-01-18 19:49:58.000000000 +0000
++++ keama/reduce.c
+@@ -23,7 +23,7 @@
+
+ #include "keama.h"
+
+-#include <sys/errno.h>
++#include <errno.h>
+ #include <sys/types.h>
+ #include <arpa/inet.h>
+ #include <ctype.h>
Home |
Main Index |
Thread Index |
Old Index