From 28fc4c1edd457e91f2d1215487fa2ae5a3790263 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 15 May 2009 03:10:37 +0200 Subject: [PATCH] Added gnutls-2.6.6 template. --HG-- extra : convert_revision : 9623c684bb5dfaa4ed86d6be84ebd27c187108bb --- templates/gnutls-devel | 1 + templates/gnutls-tools | 1 + templates/gnutls/depends | 2 ++ templates/gnutls/devel.template | 23 ++++++++++++++++++++++ templates/gnutls/template | 34 +++++++++++++++++++++++++++++++++ templates/gnutls/tools.template | 15 +++++++++++++++ 6 files changed, 76 insertions(+) create mode 120000 templates/gnutls-devel create mode 120000 templates/gnutls-tools create mode 100644 templates/gnutls/depends create mode 100644 templates/gnutls/devel.template create mode 100644 templates/gnutls/template create mode 100644 templates/gnutls/tools.template diff --git a/templates/gnutls-devel b/templates/gnutls-devel new file mode 120000 index 0000000000..ef33489ed7 --- /dev/null +++ b/templates/gnutls-devel @@ -0,0 +1 @@ +gnutls \ No newline at end of file diff --git a/templates/gnutls-tools b/templates/gnutls-tools new file mode 120000 index 0000000000..ef33489ed7 --- /dev/null +++ b/templates/gnutls-tools @@ -0,0 +1 @@ +gnutls \ No newline at end of file diff --git a/templates/gnutls/depends b/templates/gnutls/depends new file mode 100644 index 0000000000..1e225b0efc --- /dev/null +++ b/templates/gnutls/depends @@ -0,0 +1,2 @@ +abi_depends=1.4.4 +api_depends=${abi_depends} diff --git a/templates/gnutls/devel.template b/templates/gnutls/devel.template new file mode 100644 index 0000000000..70366e3e8c --- /dev/null +++ b/templates/gnutls/devel.template @@ -0,0 +1,23 @@ +# Template file for 'libgrypt-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run gnutls + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man + mkdir -p ${DESTDIR}/usr/bin + + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man + mv ${SRCPKGDESTDIR}/usr/share/info ${DESTDIR}/usr/share + mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share + mv ${SRCPKGDESTDIR}/usr/bin/libgnutls* ${DESTDIR}/usr/bin +} diff --git a/templates/gnutls/template b/templates/gnutls/template new file mode 100644 index 0000000000..368560e488 --- /dev/null +++ b/templates/gnutls/template @@ -0,0 +1,34 @@ +# Template build file for 'gnutls'. +pkgname=gnutls +sourcepkg=$pkgname +version=2.6.6 +distfiles="ftp://ftp.gnutls.org/pub/gnutls/gnutls-$version.tar.bz2" +build_style=gnu_configure +configure_args="--with-lzo --with-zlib --disable-guile" +short_desc="GNU Transport Layer Security library" +maintainer="Juan RP " +checksum=03d85b8b51ca7885740c69b87663963c58fe7c9672da0a43e45732078fabdc9e +long_desc=" + 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 + + Additionally GnuTLS provides an emulation API for the widely used OpenSSL + library, to ease integration with existing applications." + +subpackages="devel tools" +Add_dependency full glibc +Add_dependency full zlib +Add_dependency full readline +Add_dependency full libtasn1 +Add_dependency full libgcrypt +Add_dependency full lzo diff --git a/templates/gnutls/tools.template b/templates/gnutls/tools.template new file mode 100644 index 0000000000..cfd06df39f --- /dev/null +++ b/templates/gnutls/tools.template @@ -0,0 +1,15 @@ +# Template file for 'gnutls-tools'. +# +short_desc="${short_desc} (bundled tools)" +long_desc="${long_desc} + + This package contains the tools that come with gnutls." + +Add_dependency run gnutls + +do_install() +{ + mkdir -p ${DESTDIR}/usr/share/man + mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/share/man/man1 ${DESTDIR}/usr/share/man +}