summaryrefslogtreecommitdiff
path: root/package/gnutls
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/gnutls
Initial import
Diffstat (limited to 'package/gnutls')
-rw-r--r--package/gnutls/Config.in97
-rw-r--r--package/gnutls/Makefile44
-rw-r--r--package/gnutls/ipkg/gnutls-utils.control5
-rw-r--r--package/gnutls/ipkg/libgnutls-extra.control5
-rw-r--r--package/gnutls/ipkg/libgnutls-openssl.control5
-rw-r--r--package/gnutls/ipkg/libgnutls.control5
-rw-r--r--package/gnutls/ipkg/libgnutlsxx.control5
7 files changed, 166 insertions, 0 deletions
diff --git a/package/gnutls/Config.in b/package/gnutls/Config.in
new file mode 100644
index 000000000..cfc6ed4f0
--- /dev/null
+++ b/package/gnutls/Config.in
@@ -0,0 +1,97 @@
+config ADK_COMPILE_GNUTLS
+ tristate
+ default n
+ depends ADK_PACKAGE_LIBGNUTLS
+
+config ADK_PACKAGE_LIBGNUTLS
+ prompt "libgnutls......................... The GNU TLS library"
+ tristate
+ default n
+ select ADK_COMPILE_GNUTLS
+ select ADK_PACKAGE_LIBGCRYPT
+ select ADK_PACKAGE_LIBTASN1
+ select ADK_PACKAGE_ZLIB
+ help
+ GnuTLS is a project that aims to develop a library which provides a
+ secure layer, over a reliable transport layer. Currently the GnuTLS
+ library implements the proposed standards by the IETF's TLS working
+ group.
+
+ Quoting from RFC2246 - the TLS 1.0 protocol specification:
+
+ "The TLS protocol provides communications privacy over the Internet.
+ The protocol allows client/server applications to communicate in a
+ way that is designed to prevent eavesdropping, tampering, or message
+ forgery."
+
+ Features
+ * Support for TLS 1.1 and SSL 3.0 protocols
+ * Support for TLS extensions
+ * Support for authentication using the SRP protocol
+ * Support for authentication using both X.509 certificates
+ * and OpenPGP keys Support for X.509 and OpenPGP certificate handling.
+ * Supports all the strong encryption algorithms
+
+ http://www.gnu.org/software/gnutls/
+
+ This packages contains the core GnuTLS shared library,
+ needed by other programs.
+
+config ADK_PACKAGE_LIBGNUTLS_EXTRA
+ prompt "libgnutls-extra................... The GNU TLS extra library"
+ tristate
+ default n
+ depends ADK_PACKAGE_LIBGNUTLS
+ select ADK_PACKAGE_LIBOPENCDK
+ select ADK_PACKAGE_LIBLZO
+ help
+ GnuTLS is a project that aims to develop a library which provides a
+ secure layer, over a reliable transport layer. Currently the GnuTLS
+ library implements the proposed standards by the IETF's TLS working
+ group.
+
+ This packages contains the optional "extra" GnuTLS shared
+ library, needed by other programs, which contains OpenPGP,
+ TLS/IA and LZO2 compression.
+
+config ADK_PACKAGE_LIBGNUTLS_OPENSSL
+ prompt "libgnutls-openssl................. The GNU TLS OpenSSL compatibility layer library"
+ tristate
+ default n
+ depends ADK_PACKAGE_LIBGNUTLS
+ help
+ GnuTLS is a project that aims to develop a library which provides a
+ secure layer, over a reliable transport layer. Currently the GnuTLS
+ library implements the proposed standards by the IETF's TLS working
+ group.
+
+ This packages contains the GnuTLS OpenSSL compatibility
+ layer shared library.
+
+config ADK_PACKAGE_LIBGNUTLSXX
+ prompt "libgnutlsxx....................... The GNU TLS C++ library"
+ tristate
+ default n
+ depends on ADK_CXX
+ depends ADK_PACKAGE_LIBGNUTLS
+ help
+ GnuTLS is a project that aims to develop a library which provides a
+ secure layer, over a reliable transport layer. Currently the GnuTLS
+ library implements the proposed standards by the IETF's TLS working
+ group.
+
+ This packages contains the GnuTLS C++ shared library.
+
+config ADK_PACKAGE_GNUTLS_UTILS
+ prompt "gnutls-utils...................... The GNU TLS utilities"
+ tristate
+ default n
+ depends ADK_PACKAGE_LIBGNUTLS
+ select ADK_PACKAGE_LIBGNUTLS_EXTRA
+ help
+ GnuTLS is a project that aims to develop a library which provides a
+ secure layer, over a reliable transport layer. Currently the GnuTLS
+ library implements the proposed standards by the IETF's TLS working
+ group.
+
+ This packages contains some GnuTLS command line utilities.
diff --git a/package/gnutls/Makefile b/package/gnutls/Makefile
new file mode 100644
index 000000000..1a46a3b3a
--- /dev/null
+++ b/package/gnutls/Makefile
@@ -0,0 +1,44 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= gnutls
+PKG_VERSION:= 2.6.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= f42e7342cf9c12755577d207fffa9713
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+MASTER_SITES:= ${MASTER_SITE_GNU:=gnutls/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBGNUTLS,libgnutls,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,GNUTLS_UTILS,gnutls-utils,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,LIBGNUTLS_EXTRA,libgnutls-extra,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,LIBGNUTLS_OPENSSL,libgnutls-openssl,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+$(eval $(call PKG_template,LIBGNUTLSXX,libgnutlsxx,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --without-libopencdk-prefix \
+ --without-libz-prefix
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBGNUTLS}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libgnutls.so.* ${IDIR_LIBGNUTLS}/usr/lib
+ ${INSTALL_DIR} ${IDIR_LIBGNUTLS_EXTRA}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libgnutls-extra.so.* ${IDIR_LIBGNUTLS_EXTRA}/usr/lib
+ ${INSTALL_DIR} ${IDIR_LIBGNUTLS_OPENSSL}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libgnutls-openssl.so.* ${IDIR_LIBGNUTLS_OPENSSL}/usr/lib
+ ${INSTALL_DIR} ${IDIR_GNUTLS_UTILS}/usr/bin
+ ${CP} ${WRKINST}/usr/bin/{{cert,srp,psk}tool,gnutls-{cli,serv}} \
+ ${IDIR_GNUTLS_UTILS}/usr/bin
+ifeq ($(ADK_CXX),y)
+ ${INSTALL_DIR} ${IDIR_LIBGNUTLSXX}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libgnutlsxx.so.* ${IDIR_LIBGNUTLSXX}/usr/lib
+endif
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gnutls/ipkg/gnutls-utils.control b/package/gnutls/ipkg/gnutls-utils.control
new file mode 100644
index 000000000..856d704a8
--- /dev/null
+++ b/package/gnutls/ipkg/gnutls-utils.control
@@ -0,0 +1,5 @@
+Package: gnutls-utils
+Priority: optional
+Section: admin
+Description: GNU TLS utilities
+Depends: libgnutls, libgnutls-extra
diff --git a/package/gnutls/ipkg/libgnutls-extra.control b/package/gnutls/ipkg/libgnutls-extra.control
new file mode 100644
index 000000000..332384a1b
--- /dev/null
+++ b/package/gnutls/ipkg/libgnutls-extra.control
@@ -0,0 +1,5 @@
+Package: libgnutls-extra
+Priority: optional
+Section: libs
+Description: GNU TLS extra library
+Depends: libgnutls, opencdk, liblzo
diff --git a/package/gnutls/ipkg/libgnutls-openssl.control b/package/gnutls/ipkg/libgnutls-openssl.control
new file mode 100644
index 000000000..ea06e1522
--- /dev/null
+++ b/package/gnutls/ipkg/libgnutls-openssl.control
@@ -0,0 +1,5 @@
+Package: libgnutls-openssl
+Priority: optional
+Section: libs
+Description: GNU TLS OpenSSL compatibility layer library
+Depends: libgnutls
diff --git a/package/gnutls/ipkg/libgnutls.control b/package/gnutls/ipkg/libgnutls.control
new file mode 100644
index 000000000..6c2faffee
--- /dev/null
+++ b/package/gnutls/ipkg/libgnutls.control
@@ -0,0 +1,5 @@
+Package: libgnutls
+Priority: optional
+Section: libs
+Description: GNU TLS library
+Depends: libgcrypt, libtasn1, zlib
diff --git a/package/gnutls/ipkg/libgnutlsxx.control b/package/gnutls/ipkg/libgnutlsxx.control
new file mode 100644
index 000000000..7034a5f33
--- /dev/null
+++ b/package/gnutls/ipkg/libgnutlsxx.control
@@ -0,0 +1,5 @@
+Package: libgnutlsxx
+Priority: optional
+Section: libs
+Description: GNU TLS C++ library
+Depends: libgnutls