summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/gnutls/DESCR15
-rw-r--r--security/gnutls/Makefile32
-rw-r--r--security/gnutls/PLIST48
-rw-r--r--security/gnutls/buildlink2.mk29
-rw-r--r--security/gnutls/distinfo4
5 files changed, 128 insertions, 0 deletions
diff --git a/security/gnutls/DESCR b/security/gnutls/DESCR
new file mode 100644
index 00000000000..59d1f4d3b12
--- /dev/null
+++ b/security/gnutls/DESCR
@@ -0,0 +1,15 @@
+GnuTLS is a portable ANSI C based library which implements the TLS 1.0 and SSL
+3.0 protocols. The library does not include any patented algorithms and is
+available under the GNU Lesser GPL license.
+
+Important features of the GnuTLS library include:
+- Thread safety
+- Support for both TLS 1.0 and SSL 3.0 protocols
+- Support for both X.509 and OpenPGP certificates
+- Support for basic parsing and verification of certificates
+- Support for SRP for TLS authentication
+- Support for TLS Extension mechanism
+- Support for TLS Compression Methods
+
+Additionaly GnuTLS provides an emulation API for the widely used OpenSSL
+library, to ease integration with existing applications.
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
new file mode 100644
index 00000000000..54de7fe6cc2
--- /dev/null
+++ b/security/gnutls/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/14 03:46:44 salo Exp $
+#
+
+DISTNAME= gnutls-0.8.7
+CATEGORIES= security devel
+MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.gnutls.org/
+COMMENT= GNU Transport Layer Security library
+
+USE_BUILDLINK2= YES
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+DOCDIR= ${PREFIX}/share/doc/gnutls
+EGDIR= ${PREFIX}/share/examples/gnutls
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/TODO ${DOCDIR}
+ cd ${WRKSRC}/doc/tex && ${INSTALL_DATA} *.ps *.tex *.eps ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ cd ${WRKSRC}/doc/examples && ${INSTALL_DATA} *.c ${EGDIR}
+
+.include "../../archivers/liblzo/buildlink2.mk"
+.include "../../security/libtasn1/buildlink2.mk"
+.include "../../security/opencdk/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/gnutls/PLIST b/security/gnutls/PLIST
new file mode 100644
index 00000000000..19b8f6b99c0
--- /dev/null
+++ b/security/gnutls/PLIST
@@ -0,0 +1,48 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/14 03:46:44 salo Exp $
+bin/gnutls-cli
+bin/gnutls-cli-debug
+bin/gnutls-serv
+bin/gnutls-srpcrypt
+bin/libgnutls-config
+bin/libgnutls-extra-config
+include/gnutls/compat4.h
+include/gnutls/extra.h
+include/gnutls/gnutls.h
+include/gnutls/openssl.h
+lib/libgnutls-extra.a
+lib/libgnutls-extra.la
+lib/libgnutls-extra.so
+lib/libgnutls-extra.so.8
+lib/libgnutls-extra.so.8.7
+lib/libgnutls.a
+lib/libgnutls.la
+lib/libgnutls.so
+lib/libgnutls.so.8
+lib/libgnutls.so.8.7
+share/aclocal/libgnutls-extra.m4
+share/aclocal/libgnutls.m4
+share/doc/gnutls/TODO
+share/doc/gnutls/cover.tex
+share/doc/gnutls/fdl.tex
+share/doc/gnutls/gnutls-logo.ps
+share/doc/gnutls/gnutls.ps
+share/doc/gnutls/gnutls.tex
+share/doc/gnutls/internals.eps
+share/doc/gnutls/layers.eps
+share/doc/gnutls/pgp-fig1.eps
+share/doc/gnutls/x509-1.eps
+share/examples/gnutls/ex-alert.c
+share/examples/gnutls/ex-client-resume.c
+share/examples/gnutls/ex-client-srp.c
+share/examples/gnutls/ex-client1.c
+share/examples/gnutls/ex-client2.c
+share/examples/gnutls/ex-info.c
+share/examples/gnutls/ex-pgp-keyserver.c
+share/examples/gnutls/ex-rfc2818.c
+share/examples/gnutls/ex-serv-export.c
+share/examples/gnutls/ex-serv-pgp.c
+share/examples/gnutls/ex-serv-srp.c
+share/examples/gnutls/ex-serv1.c
+@dirrm share/examples/gnutls
+@dirrm share/doc/gnutls
+@dirrm include/gnutls
diff --git a/security/gnutls/buildlink2.mk b/security/gnutls/buildlink2.mk
new file mode 100644
index 00000000000..b8bf95f2261
--- /dev/null
+++ b/security/gnutls/buildlink2.mk
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/05/14 03:46:44 salo Exp $
+#
+# This Makefile fragment is included by packages that use gnutls.
+#
+# This file was created automatically using createbuildlink 2.6.
+#
+
+.if !defined(GNUTLS_BUILDLINK2_MK)
+GNUTLS_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= gnutls
+BUILDLINK_DEPENDS.gnutls?= gnutls>=0.8.7
+BUILDLINK_PKGSRCDIR.gnutls?= ../../security/gnutls
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.gnutls=gnutls
+BUILDLINK_PREFIX.gnutls_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.gnutls+= include/gnutls/*.h
+BUILDLINK_FILES.gnutls+= lib/libgnutls-extra.*
+BUILDLINK_FILES.gnutls+= lib/libgnutls.*
+
+.include "../../archivers/liblzo/buildlink2.mk"
+.include "../../security/libtasn1/buildlink2.mk"
+.include "../../security/opencdk/buildlink2.mk"
+
+BUILDLINK_TARGETS+= gnutls-buildlink
+
+gnutls-buildlink: _BUILDLINK_USE
+
+.endif # GNUTLS_BUILDLINK2_MK
diff --git a/security/gnutls/distinfo b/security/gnutls/distinfo
new file mode 100644
index 00000000000..e206f48e501
--- /dev/null
+++ b/security/gnutls/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/05/14 03:46:44 salo Exp $
+
+SHA1 (gnutls-0.8.7.tar.gz) = db3ec6a15a453778c8638de46109283fba7d53af
+Size (gnutls-0.8.7.tar.gz) = 998594 bytes