0
0
Fork 0
haikuports/net-libs/gnutls/gnutls-2.8.6.recipe

116 lines
2.3 KiB
Bash
Raw Permalink Normal View History

SUMMARY="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
2014-09-13 11:14:44 +00:00
DESCRIPTION="GnuTLS is a secure communications library implementing the SSL, \
TLS and DTLS protocols and technologies around them. It provides a simple C \
language application programming interface (API) to access the secure \
communications protocols as well as APIs to parse and write X.509, PKCS #12, \
OpenPGP and other required structures. It is aimed to be portable and \
De-Lint recipes. * fossil Improved SUMMARY, thanks waddlesplash for noticing the error. * gcc Shortened SUMMARY (at least removing the "\" linebreak that seems to trigger the lint warning) Minor cosmetics. * gd Renamed recipe to correct version. Added license. Corrected copyright. Added autoconf, aclocal, libtoolize to BUILD_PREREQUIRES. Added SOURCE_DIR. Now it almost builds, failing with: configure.ac:79: warning: macro 'AM_ICONV' not found in library configure.ac:130: error: possibly undefined macro: AC_MSG_ERROR * global Removed "." from SUMMARY. Minor cosmetics. * gnupg Removed "." from SUMMARY. Minor cosmetics. * gnutls Added PATCHES="gnutls-2.8.6.patch" to fix the lint warning. Moved haiku_devel to BUILD_REQUIRES. Sorted the _devel blocks to the top. Minor cosmetics. Build fails... * golang Removed "." from SUMMARY. Minor cosmetics. * gptfdisk Removed "." from SUMMARY. Minor cosmetics. * graphviz Minor cosmetics. * gri Removed "." from SUMMARY. Minor cosmetics. * ha Slightly improved SUMMARY/DESCRIPTION Minor cosmetics. * handbreak Removed "." from SUMMARY. Minor cosmetics. * harfbuzz Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hdialog Removed "." from SUMMARY. Use g++ instead of gcc. Minor cosmetics. * help2man Removed "." from SUMMARY. Minor cosmetics. * heroes Removed "." from SUMMARY. Minor cosmetics. * homeworld Removed "." from SUMMARY. Minor cosmetics. * htmldoc Remove outdated patch file Minor cosmetics. * htmltidy Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hyperstudio Removed "." from SUMMARY. Minor cosmetics.
2015-07-19 18:15:36 +00:00
efficient with focus on security and interoperability."
2014-09-13 11:14:44 +00:00
HOMEPAGE="http://www.gnutls.org/"
COPYRIGHT="2009-2010 Free Software Fundation Inc.
De-Lint recipes. * fossil Improved SUMMARY, thanks waddlesplash for noticing the error. * gcc Shortened SUMMARY (at least removing the "\" linebreak that seems to trigger the lint warning) Minor cosmetics. * gd Renamed recipe to correct version. Added license. Corrected copyright. Added autoconf, aclocal, libtoolize to BUILD_PREREQUIRES. Added SOURCE_DIR. Now it almost builds, failing with: configure.ac:79: warning: macro 'AM_ICONV' not found in library configure.ac:130: error: possibly undefined macro: AC_MSG_ERROR * global Removed "." from SUMMARY. Minor cosmetics. * gnupg Removed "." from SUMMARY. Minor cosmetics. * gnutls Added PATCHES="gnutls-2.8.6.patch" to fix the lint warning. Moved haiku_devel to BUILD_REQUIRES. Sorted the _devel blocks to the top. Minor cosmetics. Build fails... * golang Removed "." from SUMMARY. Minor cosmetics. * gptfdisk Removed "." from SUMMARY. Minor cosmetics. * graphviz Minor cosmetics. * gri Removed "." from SUMMARY. Minor cosmetics. * ha Slightly improved SUMMARY/DESCRIPTION Minor cosmetics. * handbreak Removed "." from SUMMARY. Minor cosmetics. * harfbuzz Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hdialog Removed "." from SUMMARY. Use g++ instead of gcc. Minor cosmetics. * help2man Removed "." from SUMMARY. Minor cosmetics. * heroes Removed "." from SUMMARY. Minor cosmetics. * homeworld Removed "." from SUMMARY. Minor cosmetics. * htmldoc Remove outdated patch file Minor cosmetics. * htmltidy Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hyperstudio Removed "." from SUMMARY. Minor cosmetics.
2015-07-19 18:15:36 +00:00
2004-2008 Simon Josefsson
2000-2004 Nikos Mavrogiannopoulos"
2016-02-17 19:26:37 +00:00
LICENSE="GNU LGPL v2.1"
REVISION="2"
SOURCE_URI="ftp://ftp.gnu.org/pub/gnu/gnutls/gnutls-$portVersion.tar.bz2"
2016-02-17 19:26:37 +00:00
CHECKSUM_SHA256="d6f846a7064af3ee2c9aebd65dcee76953b767170cbcd719e990ed6b9688a356"
PATCHES="gnutls-$portVersion.patch"
2016-02-17 19:26:37 +00:00
2014-09-13 11:14:44 +00:00
ARCHITECTURES="x86_gcc2"
PROVIDES="
gnutls = $portVersion
2018-08-09 08:34:39 +00:00
lib:libgnutls = 26.14.12 compat = 26
lib:libgnutls_extra = 26.14.12 compat = 26
lib:libgnutls_openssl = 26.14.12 compat = 26
lib:libgnutlsxx = 26.14.12 compat = 26
"
REQUIRES="
haiku
lib:libgcrypt
lib:libgpg_error
"
PROVIDES_bin="
gnutls_bin = $portVersion
2014-09-13 11:14:44 +00:00
cmd:certtool
cmd:gnutls_cli
cmd:gnutls_cli_debug
cmd:gnutls_serv
cmd:psktool
cmd:srptool
De-Lint recipes. * fossil Improved SUMMARY, thanks waddlesplash for noticing the error. * gcc Shortened SUMMARY (at least removing the "\" linebreak that seems to trigger the lint warning) Minor cosmetics. * gd Renamed recipe to correct version. Added license. Corrected copyright. Added autoconf, aclocal, libtoolize to BUILD_PREREQUIRES. Added SOURCE_DIR. Now it almost builds, failing with: configure.ac:79: warning: macro 'AM_ICONV' not found in library configure.ac:130: error: possibly undefined macro: AC_MSG_ERROR * global Removed "." from SUMMARY. Minor cosmetics. * gnupg Removed "." from SUMMARY. Minor cosmetics. * gnutls Added PATCHES="gnutls-2.8.6.patch" to fix the lint warning. Moved haiku_devel to BUILD_REQUIRES. Sorted the _devel blocks to the top. Minor cosmetics. Build fails... * golang Removed "." from SUMMARY. Minor cosmetics. * gptfdisk Removed "." from SUMMARY. Minor cosmetics. * graphviz Minor cosmetics. * gri Removed "." from SUMMARY. Minor cosmetics. * ha Slightly improved SUMMARY/DESCRIPTION Minor cosmetics. * handbreak Removed "." from SUMMARY. Minor cosmetics. * harfbuzz Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hdialog Removed "." from SUMMARY. Use g++ instead of gcc. Minor cosmetics. * help2man Removed "." from SUMMARY. Minor cosmetics. * heroes Removed "." from SUMMARY. Minor cosmetics. * homeworld Removed "." from SUMMARY. Minor cosmetics. * htmldoc Remove outdated patch file Minor cosmetics. * htmltidy Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hyperstudio Removed "." from SUMMARY. Minor cosmetics.
2015-07-19 18:15:36 +00:00
"
REQUIRES_bin="
gnutls == $portVersion base
haiku
lib:libgcrypt
lib:libgpg_error
"
2016-02-17 19:26:37 +00:00
De-Lint recipes. * fossil Improved SUMMARY, thanks waddlesplash for noticing the error. * gcc Shortened SUMMARY (at least removing the "\" linebreak that seems to trigger the lint warning) Minor cosmetics. * gd Renamed recipe to correct version. Added license. Corrected copyright. Added autoconf, aclocal, libtoolize to BUILD_PREREQUIRES. Added SOURCE_DIR. Now it almost builds, failing with: configure.ac:79: warning: macro 'AM_ICONV' not found in library configure.ac:130: error: possibly undefined macro: AC_MSG_ERROR * global Removed "." from SUMMARY. Minor cosmetics. * gnupg Removed "." from SUMMARY. Minor cosmetics. * gnutls Added PATCHES="gnutls-2.8.6.patch" to fix the lint warning. Moved haiku_devel to BUILD_REQUIRES. Sorted the _devel blocks to the top. Minor cosmetics. Build fails... * golang Removed "." from SUMMARY. Minor cosmetics. * gptfdisk Removed "." from SUMMARY. Minor cosmetics. * graphviz Minor cosmetics. * gri Removed "." from SUMMARY. Minor cosmetics. * ha Slightly improved SUMMARY/DESCRIPTION Minor cosmetics. * handbreak Removed "." from SUMMARY. Minor cosmetics. * harfbuzz Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hdialog Removed "." from SUMMARY. Use g++ instead of gcc. Minor cosmetics. * help2man Removed "." from SUMMARY. Minor cosmetics. * heroes Removed "." from SUMMARY. Minor cosmetics. * homeworld Removed "." from SUMMARY. Minor cosmetics. * htmldoc Remove outdated patch file Minor cosmetics. * htmltidy Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hyperstudio Removed "." from SUMMARY. Minor cosmetics.
2015-07-19 18:15:36 +00:00
PROVIDES_devel="
gnutls_devel = $portVersion
2018-08-09 08:34:39 +00:00
devel:libgnutls = 26.14.12 compat = 26
De-Lint recipes. * fossil Improved SUMMARY, thanks waddlesplash for noticing the error. * gcc Shortened SUMMARY (at least removing the "\" linebreak that seems to trigger the lint warning) Minor cosmetics. * gd Renamed recipe to correct version. Added license. Corrected copyright. Added autoconf, aclocal, libtoolize to BUILD_PREREQUIRES. Added SOURCE_DIR. Now it almost builds, failing with: configure.ac:79: warning: macro 'AM_ICONV' not found in library configure.ac:130: error: possibly undefined macro: AC_MSG_ERROR * global Removed "." from SUMMARY. Minor cosmetics. * gnupg Removed "." from SUMMARY. Minor cosmetics. * gnutls Added PATCHES="gnutls-2.8.6.patch" to fix the lint warning. Moved haiku_devel to BUILD_REQUIRES. Sorted the _devel blocks to the top. Minor cosmetics. Build fails... * golang Removed "." from SUMMARY. Minor cosmetics. * gptfdisk Removed "." from SUMMARY. Minor cosmetics. * graphviz Minor cosmetics. * gri Removed "." from SUMMARY. Minor cosmetics. * ha Slightly improved SUMMARY/DESCRIPTION Minor cosmetics. * handbreak Removed "." from SUMMARY. Minor cosmetics. * harfbuzz Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hdialog Removed "." from SUMMARY. Use g++ instead of gcc. Minor cosmetics. * help2man Removed "." from SUMMARY. Minor cosmetics. * heroes Removed "." from SUMMARY. Minor cosmetics. * homeworld Removed "." from SUMMARY. Minor cosmetics. * htmldoc Remove outdated patch file Minor cosmetics. * htmltidy Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hyperstudio Removed "." from SUMMARY. Minor cosmetics.
2015-07-19 18:15:36 +00:00
devel:libgnutls_extra = 26.14.12 compat = 26
devel:libgnutls_openssl = 26.14.12 compat = 26
devel:libgnutlsxx = 26.14.12 compat = 26
"
REQUIRES_devel="
gnutls == $portVersion base
devel:libgcrypt
devel:libgpg_error
De-Lint recipes. * fossil Improved SUMMARY, thanks waddlesplash for noticing the error. * gcc Shortened SUMMARY (at least removing the "\" linebreak that seems to trigger the lint warning) Minor cosmetics. * gd Renamed recipe to correct version. Added license. Corrected copyright. Added autoconf, aclocal, libtoolize to BUILD_PREREQUIRES. Added SOURCE_DIR. Now it almost builds, failing with: configure.ac:79: warning: macro 'AM_ICONV' not found in library configure.ac:130: error: possibly undefined macro: AC_MSG_ERROR * global Removed "." from SUMMARY. Minor cosmetics. * gnupg Removed "." from SUMMARY. Minor cosmetics. * gnutls Added PATCHES="gnutls-2.8.6.patch" to fix the lint warning. Moved haiku_devel to BUILD_REQUIRES. Sorted the _devel blocks to the top. Minor cosmetics. Build fails... * golang Removed "." from SUMMARY. Minor cosmetics. * gptfdisk Removed "." from SUMMARY. Minor cosmetics. * graphviz Minor cosmetics. * gri Removed "." from SUMMARY. Minor cosmetics. * ha Slightly improved SUMMARY/DESCRIPTION Minor cosmetics. * handbreak Removed "." from SUMMARY. Minor cosmetics. * harfbuzz Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hdialog Removed "." from SUMMARY. Use g++ instead of gcc. Minor cosmetics. * help2man Removed "." from SUMMARY. Minor cosmetics. * heroes Removed "." from SUMMARY. Minor cosmetics. * homeworld Removed "." from SUMMARY. Minor cosmetics. * htmldoc Remove outdated patch file Minor cosmetics. * htmltidy Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hyperstudio Removed "." from SUMMARY. Minor cosmetics.
2015-07-19 18:15:36 +00:00
"
2016-02-17 19:26:37 +00:00
2014-09-13 11:14:44 +00:00
BUILD_REQUIRES="
De-Lint recipes. * fossil Improved SUMMARY, thanks waddlesplash for noticing the error. * gcc Shortened SUMMARY (at least removing the "\" linebreak that seems to trigger the lint warning) Minor cosmetics. * gd Renamed recipe to correct version. Added license. Corrected copyright. Added autoconf, aclocal, libtoolize to BUILD_PREREQUIRES. Added SOURCE_DIR. Now it almost builds, failing with: configure.ac:79: warning: macro 'AM_ICONV' not found in library configure.ac:130: error: possibly undefined macro: AC_MSG_ERROR * global Removed "." from SUMMARY. Minor cosmetics. * gnupg Removed "." from SUMMARY. Minor cosmetics. * gnutls Added PATCHES="gnutls-2.8.6.patch" to fix the lint warning. Moved haiku_devel to BUILD_REQUIRES. Sorted the _devel blocks to the top. Minor cosmetics. Build fails... * golang Removed "." from SUMMARY. Minor cosmetics. * gptfdisk Removed "." from SUMMARY. Minor cosmetics. * graphviz Minor cosmetics. * gri Removed "." from SUMMARY. Minor cosmetics. * ha Slightly improved SUMMARY/DESCRIPTION Minor cosmetics. * handbreak Removed "." from SUMMARY. Minor cosmetics. * harfbuzz Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hdialog Removed "." from SUMMARY. Use g++ instead of gcc. Minor cosmetics. * help2man Removed "." from SUMMARY. Minor cosmetics. * heroes Removed "." from SUMMARY. Minor cosmetics. * homeworld Removed "." from SUMMARY. Minor cosmetics. * htmldoc Remove outdated patch file Minor cosmetics. * htmltidy Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hyperstudio Removed "." from SUMMARY. Minor cosmetics.
2015-07-19 18:15:36 +00:00
haiku_devel
2014-09-13 11:14:44 +00:00
devel:libgcrypt
devel:libgpg_error
De-Lint recipes. * fossil Improved SUMMARY, thanks waddlesplash for noticing the error. * gcc Shortened SUMMARY (at least removing the "\" linebreak that seems to trigger the lint warning) Minor cosmetics. * gd Renamed recipe to correct version. Added license. Corrected copyright. Added autoconf, aclocal, libtoolize to BUILD_PREREQUIRES. Added SOURCE_DIR. Now it almost builds, failing with: configure.ac:79: warning: macro 'AM_ICONV' not found in library configure.ac:130: error: possibly undefined macro: AC_MSG_ERROR * global Removed "." from SUMMARY. Minor cosmetics. * gnupg Removed "." from SUMMARY. Minor cosmetics. * gnutls Added PATCHES="gnutls-2.8.6.patch" to fix the lint warning. Moved haiku_devel to BUILD_REQUIRES. Sorted the _devel blocks to the top. Minor cosmetics. Build fails... * golang Removed "." from SUMMARY. Minor cosmetics. * gptfdisk Removed "." from SUMMARY. Minor cosmetics. * graphviz Minor cosmetics. * gri Removed "." from SUMMARY. Minor cosmetics. * ha Slightly improved SUMMARY/DESCRIPTION Minor cosmetics. * handbreak Removed "." from SUMMARY. Minor cosmetics. * harfbuzz Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hdialog Removed "." from SUMMARY. Use g++ instead of gcc. Minor cosmetics. * help2man Removed "." from SUMMARY. Minor cosmetics. * heroes Removed "." from SUMMARY. Minor cosmetics. * homeworld Removed "." from SUMMARY. Minor cosmetics. * htmldoc Remove outdated patch file Minor cosmetics. * htmltidy Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hyperstudio Removed "." from SUMMARY. Minor cosmetics.
2015-07-19 18:15:36 +00:00
"
2014-09-13 11:14:44 +00:00
BUILD_PREREQUIRES="
cmd:autoconf
cmd:automake
cmd:gcc
cmd:libtoolize
cmd:make
De-Lint recipes. * fossil Improved SUMMARY, thanks waddlesplash for noticing the error. * gcc Shortened SUMMARY (at least removing the "\" linebreak that seems to trigger the lint warning) Minor cosmetics. * gd Renamed recipe to correct version. Added license. Corrected copyright. Added autoconf, aclocal, libtoolize to BUILD_PREREQUIRES. Added SOURCE_DIR. Now it almost builds, failing with: configure.ac:79: warning: macro 'AM_ICONV' not found in library configure.ac:130: error: possibly undefined macro: AC_MSG_ERROR * global Removed "." from SUMMARY. Minor cosmetics. * gnupg Removed "." from SUMMARY. Minor cosmetics. * gnutls Added PATCHES="gnutls-2.8.6.patch" to fix the lint warning. Moved haiku_devel to BUILD_REQUIRES. Sorted the _devel blocks to the top. Minor cosmetics. Build fails... * golang Removed "." from SUMMARY. Minor cosmetics. * gptfdisk Removed "." from SUMMARY. Minor cosmetics. * graphviz Minor cosmetics. * gri Removed "." from SUMMARY. Minor cosmetics. * ha Slightly improved SUMMARY/DESCRIPTION Minor cosmetics. * handbreak Removed "." from SUMMARY. Minor cosmetics. * harfbuzz Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hdialog Removed "." from SUMMARY. Use g++ instead of gcc. Minor cosmetics. * help2man Removed "." from SUMMARY. Minor cosmetics. * heroes Removed "." from SUMMARY. Minor cosmetics. * homeworld Removed "." from SUMMARY. Minor cosmetics. * htmldoc Remove outdated patch file Minor cosmetics. * htmltidy Removed "." from SUMMARY. Minor cosmetics. Sorted the _devel blocks to the top. * hyperstudio Removed "." from SUMMARY. Minor cosmetics.
2015-07-19 18:15:36 +00:00
"
2014-09-13 11:14:44 +00:00
BUILD()
{
libtoolize --force --copy --install
cd lib
2014-09-13 11:14:44 +00:00
libtoolize --force --copy --install
cd ..
cd libextra
2014-09-13 11:14:44 +00:00
libtoolize --force --copy --install
cd ..
2014-09-13 11:14:44 +00:00
autoconf
runConfigure ./configure
make $jobArgs
}
2014-09-13 11:14:44 +00:00
INSTALL()
{
make install
2014-09-13 11:14:44 +00:00
rm -f $libDir/lib*.la
prepareInstalledDevelLibs \
libgnutls-extra \
libgnutls-openssl \
libgnutls \
libgnutlsxx
2014-09-19 08:30:26 +00:00
fixPkgconfig
2014-09-13 11:14:44 +00:00
packageEntries devel \
$developDir \
$manDir/man3
packageEntries bin \
$binDir \
$documentationDir
2014-09-13 11:14:44 +00:00
}
TEST()
{
make check
}