All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH for/next] krb5: new package
Date: Tue, 8 Nov 2016 01:50:32 +0100	[thread overview]
Message-ID: <20161108005032.11340-1-arnout@mind.be> (raw)

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Daniel Price <daniel.price@gmail.com>
Cc: Charles Hardin <ckhardin@exablox.com>
---
Note: I do NOT want to be added to DEVELOPERS for this package, it's
just something I cobbled together quickly.
---
 package/Config.in      |  1 +
 package/krb5/Config.in | 13 ++++++++++++
 package/krb5/krb5.hash |  2 ++
 package/krb5/krb5.mk   | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 71 insertions(+)
 create mode 100644 package/krb5/Config.in
 create mode 100644 package/krb5/krb5.hash
 create mode 100644 package/krb5/krb5.mk

diff --git a/package/Config.in b/package/Config.in
index 0d449dc..83ce629 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1189,6 +1189,7 @@ menu "Networking"
 	source "package/gupnp-dlna/Config.in"
 	source "package/ibrcommon/Config.in"
 	source "package/ibrdtn/Config.in"
+	source "package/krb5/Config.in"
 	source "package/libcgi/Config.in"
 	source "package/libcgicc/Config.in"
 	source "package/libcoap/Config.in"
diff --git a/package/krb5/Config.in b/package/krb5/Config.in
new file mode 100644
index 0000000..43fd799
--- /dev/null
+++ b/package/krb5/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_KRB5
+	bool "krb5"
+	depends on BR2_USE_MMU # fork()
+	help
+	  KRB5 is the MIT Kerberos Version 5 implementation
+
+	  Kerberos is a network authentication protocol. It is designed
+	  to provide strong authentication for client/server
+	  applications by using secret-key cryptography. A free
+	  implementation of this protocol is available from the
+	  Massachusetts Institute of Technology.
+
+	  http://web.mit.edu/Kerberos
diff --git a/package/krb5/krb5.hash b/package/krb5/krb5.hash
new file mode 100644
index 0000000..22cd970
--- /dev/null
+++ b/package/krb5/krb5.hash
@@ -0,0 +1,2 @@
+# Locally calculated after checking pgp signature from https://web.mit.edu/kerberos/krb5-1.14/krb5-1.14.4.sig
+sha256  03a61a4280c9161771fb39019085dbe6a57aa602080515ff93b43cd6137e0b95  krb5-1.14.4.tar.gz
diff --git a/package/krb5/krb5.mk b/package/krb5/krb5.mk
new file mode 100644
index 0000000..59603c5
--- /dev/null
+++ b/package/krb5/krb5.mk
@@ -0,0 +1,55 @@
+################################################################################
+#
+# krb5
+#
+################################################################################
+
+KRB5_VERSION_MAJOR = 1.14
+KRB5_VERSION = $(KRB5_VERSION_MAJOR).4
+KRB5_SITE = http://web.mit.edu/kerberos/dist/krb5/$(KRB5_VERSION_MAJOR)
+KRB5_LICENSE = BSD-2c, others
+KRB5_LICENSE_FILES = NOTICE
+KRB5_SUBDIR = src
+KRB5_INSTALL_STAGING = YES
+
+KRB5_CONF_ENV = \
+	krb5_cv_attr_constructor_destructor=yes,yes \
+	ac_cv_func_regcomp=yes \
+	krb5_cv_sys_rcdir=/tmp \
+	ac_cv_printf_positional=yes \
+	WARN_CFLAGS='-Wall'
+
+KRB5_CONF_OPTS = \
+	--without-tcl \
+	--without-hesiod \
+	--without-ldap \
+	--without-libedit \
+	--without-libreadline
+
+# No buildroot packages exist for these so use the bundled ones.
+KRB5_CONF_OPTS += \
+	--without-system-libverto \
+	--without-system-ss \
+	--without-system-et
+
+# Buildroot's berkeleydb does not provide API 1.85
+KRB5_CONF_OPTS += --without-system-db
+
+ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
+KRB5_CONF_OPTS += --enable-thread-support
+else
+KRB5_CONF_OPTS += --disable-thread-support
+endif
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+KRB5_CONF_OPTS += --with-crypto-impl=openssl
+KRB5_DEPENDENCIES += openssl
+else ifeq ($(BR2_PACKAGE_LIBNSS),y)
+KRB5_CONF_OPTS += --with-crypto-impl=nss
+KRB5_DEPENDENCIES += libnss
+else
+KRB5_CONF_OPTS += --with-crypto-impl=builtin
+endif
+
+
+$(eval $(autotools-package))
-- 
2.10.2

             reply	other threads:[~2016-11-08  0:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-08  0:50 Arnout Vandecappelle [this message]
2016-11-09  0:07 ` [Buildroot] [PATCH for/next] krb5: new package Daniel Price
2016-11-15 23:04 ` Thomas Petazzoni
2016-11-16  8:45   ` Arnout Vandecappelle
2016-11-16 22:31     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161108005032.11340-1-arnout@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.