diff --git a/packages/security/gnutls/build b/packages/security/gnutls/build new file mode 100755 index 0000000000..94cf5e3301 --- /dev/null +++ b/packages/security/gnutls/build @@ -0,0 +1,36 @@ +#!/bin/sh + +. config/options $1 + +# gnutls fails compiling with LTO support + strip_lto + +cd $PKG_BUILD + +ac_cv_libz=yes \ +./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --enable-shared \ + --enable-cxx \ + --enable-openssl-compatibility \ + --disable-guile \ + --with-included-opencdk \ + --with-included-libtasn1 \ + --with-lzo \ + --with-included-libcfg \ + --without-libreadline-prefix \ + --with-libgcrypt-prefix="$SYSROOT_PREFIX/usr" \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf \ + --disable-nls \ + --with-gnu-ld + +# --enable-cryptodev \ # TODO: add later + +make +$MAKEINSTALL diff --git a/packages/security/gnutls/install b/packages/security/gnutls/install new file mode 100755 index 0000000000..9497a307d6 --- /dev/null +++ b/packages/security/gnutls/install @@ -0,0 +1,7 @@ +#!/bin/sh + +. config/options + +mkdir -p $INSTALL/usr/lib + cp -P $PKG_BUILD/lib/.libs/*.so* $INSTALL/usr/lib + cp -P $PKG_BUILD/libextra/.libs/*.so* $INSTALL/usr/lib diff --git a/packages/security/gnutls/meta b/packages/security/gnutls/meta new file mode 100644 index 0000000000..3a47b00b9d --- /dev/null +++ b/packages/security/gnutls/meta @@ -0,0 +1,16 @@ +PKG_NAME="gnutls" +PKG_VERSION="2.10.4" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="LGPL" +PKG_SITE="http://www.gnutls.org/" +PKG_URL="ftp://ftp.gnutls.org/pub/gnutls/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="zlib libgcrypt" +PKG_BUILD_DEPENDS="toolchain zlib libgcrypt" +PKG_PRIORITY="optional" +PKG_SECTION="security" +PKG_SHORTDESC="gnutls: Development Library for TLS applications" +PKG_LONGDESC="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." +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no"