2015-08-04 16:08:31 +00:00
|
|
|
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 \
|
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/"
|
2016-03-05 19:19:01 +00:00
|
|
|
COPYRIGHT="2009-2010 Free Software Fundation Inc.
|
2015-07-19 18:15:36 +00:00
|
|
|
2004-2008 Simon Josefsson
|
2016-03-05 19:19:01 +00:00
|
|
|
2000-2004 Nikos Mavrogiannopoulos"
|
2016-02-17 19:26:37 +00:00
|
|
|
LICENSE="GNU LGPL v2.1"
|
gnutls: bump to 3.4.14 + 3.5.2, drop lib*.la, add TEST(). (#628)
* Bump to 3.4.14 (current stable) and add 3.5.2, marked untested.
* Move $binDir to a _bin sub-package, for more flexibility with
regards to package co-installation. 3.4.x and 3.5.x seem to be
causing problems for other recipes, so this layout change, with
some other changes (e.g. package basename renames) can help.
* Update the layout of 2.8.x.
* Change the basename of the recipe of 3.4.x to gnutls34.
* Use gnutls35 as basename for the recipe of 3.5.x.
* Declare CONFLICTS, CONFLICTS_{bin,devel} in a way that allows
gnutls-2.8.x to be installed with either gnutls-3.4.x or
gnutls-3.5.x. On top of that, a single _bin package may be
installed (provided the base package is also installed.) Same
thing for _devel.
* Add cmd:cvs cmd:git to BUILD_PREREQUIRES in order to make
gl/tests/test-vc-list-files-{cvs,git} succeed.
* Patch gl/tests/test-float.c to enable that test.
* Add cmd:{perl,makeinfo} to BUILD_PREREQUIRES.
2016-07-26 00:51:00 +00:00
|
|
|
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"
|
gnutls: bump to 3.4.14 + 3.5.2, drop lib*.la, add TEST(). (#628)
* Bump to 3.4.14 (current stable) and add 3.5.2, marked untested.
* Move $binDir to a _bin sub-package, for more flexibility with
regards to package co-installation. 3.4.x and 3.5.x seem to be
causing problems for other recipes, so this layout change, with
some other changes (e.g. package basename renames) can help.
* Update the layout of 2.8.x.
* Change the basename of the recipe of 3.4.x to gnutls34.
* Use gnutls35 as basename for the recipe of 3.5.x.
* Declare CONFLICTS, CONFLICTS_{bin,devel} in a way that allows
gnutls-2.8.x to be installed with either gnutls-3.4.x or
gnutls-3.5.x. On top of that, a single _bin package may be
installed (provided the base package is also installed.) Same
thing for _devel.
* Add cmd:cvs cmd:git to BUILD_PREREQUIRES in order to make
gl/tests/test-vc-list-files-{cvs,git} succeed.
* Patch gl/tests/test-float.c to enable that test.
* Add cmd:{perl,makeinfo} to BUILD_PREREQUIRES.
2016-07-26 00:51:00 +00:00
|
|
|
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
|
gnutls: bump to 3.4.14 + 3.5.2, drop lib*.la, add TEST(). (#628)
* Bump to 3.4.14 (current stable) and add 3.5.2, marked untested.
* Move $binDir to a _bin sub-package, for more flexibility with
regards to package co-installation. 3.4.x and 3.5.x seem to be
causing problems for other recipes, so this layout change, with
some other changes (e.g. package basename renames) can help.
* Update the layout of 2.8.x.
* Change the basename of the recipe of 3.4.x to gnutls34.
* Use gnutls35 as basename for the recipe of 3.5.x.
* Declare CONFLICTS, CONFLICTS_{bin,devel} in a way that allows
gnutls-2.8.x to be installed with either gnutls-3.4.x or
gnutls-3.5.x. On top of that, a single _bin package may be
installed (provided the base package is also installed.) Same
thing for _devel.
* Add cmd:cvs cmd:git to BUILD_PREREQUIRES in order to make
gl/tests/test-vc-list-files-{cvs,git} succeed.
* Patch gl/tests/test-float.c to enable that test.
* Add cmd:{perl,makeinfo} to BUILD_PREREQUIRES.
2016-07-26 00:51:00 +00:00
|
|
|
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
|
2015-07-19 18:15:36 +00:00
|
|
|
"
|
gnutls: bump to 3.4.14 + 3.5.2, drop lib*.la, add TEST(). (#628)
* Bump to 3.4.14 (current stable) and add 3.5.2, marked untested.
* Move $binDir to a _bin sub-package, for more flexibility with
regards to package co-installation. 3.4.x and 3.5.x seem to be
causing problems for other recipes, so this layout change, with
some other changes (e.g. package basename renames) can help.
* Update the layout of 2.8.x.
* Change the basename of the recipe of 3.4.x to gnutls34.
* Use gnutls35 as basename for the recipe of 3.5.x.
* Declare CONFLICTS, CONFLICTS_{bin,devel} in a way that allows
gnutls-2.8.x to be installed with either gnutls-3.4.x or
gnutls-3.5.x. On top of that, a single _bin package may be
installed (provided the base package is also installed.) Same
thing for _devel.
* Add cmd:cvs cmd:git to BUILD_PREREQUIRES in order to make
gl/tests/test-vc-list-files-{cvs,git} succeed.
* Patch gl/tests/test-float.c to enable that test.
* Add cmd:{perl,makeinfo} to BUILD_PREREQUIRES.
2016-07-26 00:51:00 +00:00
|
|
|
REQUIRES_bin="
|
|
|
|
gnutls == $portVersion base
|
Minor fixes pointeed out by waddlesplash.
* gcc
Use ${effectiveTargetMachineTriple} as in the SUMMARY
Better DESCRIPTION, "The standard compiler..."
* hdialog
Fix typo, "g++"
* homeworld
Fix typo, "license"
* gnutls
Move PATCHES below CHECKSUM.
* gptfdisk
Added CHECKSUM_SHA256
Corrected patch file name.
* iozone
Fixed typo.
Removed comma after copyright year.
Moved PATCHES down.
* isl, m, iup, kdelibs4, gnutls, farfbuzz, htmltidy, ftgl
Re-order the _devel blocks
2015-07-20 14:49:47 +00:00
|
|
|
haiku
|
|
|
|
lib:libgcrypt
|
|
|
|
lib:libgpg_error
|
|
|
|
"
|
2016-02-17 19:26:37 +00:00
|
|
|
|
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
|
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
|
gnutls: bump to 3.4.14 + 3.5.2, drop lib*.la, add TEST(). (#628)
* Bump to 3.4.14 (current stable) and add 3.5.2, marked untested.
* Move $binDir to a _bin sub-package, for more flexibility with
regards to package co-installation. 3.4.x and 3.5.x seem to be
causing problems for other recipes, so this layout change, with
some other changes (e.g. package basename renames) can help.
* Update the layout of 2.8.x.
* Change the basename of the recipe of 3.4.x to gnutls34.
* Use gnutls35 as basename for the recipe of 3.5.x.
* Declare CONFLICTS, CONFLICTS_{bin,devel} in a way that allows
gnutls-2.8.x to be installed with either gnutls-3.4.x or
gnutls-3.5.x. On top of that, a single _bin package may be
installed (provided the base package is also installed.) Same
thing for _devel.
* Add cmd:cvs cmd:git to BUILD_PREREQUIRES in order to make
gl/tests/test-vc-list-files-{cvs,git} succeed.
* Patch gl/tests/test-float.c to enable that test.
* Add cmd:{perl,makeinfo} to BUILD_PREREQUIRES.
2016-07-26 00:51:00 +00:00
|
|
|
devel:libgcrypt
|
|
|
|
devel:libgpg_error
|
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="
|
2015-07-19 18:15:36 +00:00
|
|
|
haiku_devel
|
2014-09-13 11:14:44 +00:00
|
|
|
devel:libgcrypt
|
|
|
|
devel:libgpg_error
|
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
|
2015-07-19 18:15:36 +00:00
|
|
|
"
|
2014-09-13 11:14:44 +00:00
|
|
|
|
2013-03-29 16:31:03 +00:00
|
|
|
BUILD()
|
|
|
|
{
|
2010-05-22 19:45:21 +00:00
|
|
|
libtoolize --force --copy --install
|
gnutls: bump to 3.4.14 + 3.5.2, drop lib*.la, add TEST(). (#628)
* Bump to 3.4.14 (current stable) and add 3.5.2, marked untested.
* Move $binDir to a _bin sub-package, for more flexibility with
regards to package co-installation. 3.4.x and 3.5.x seem to be
causing problems for other recipes, so this layout change, with
some other changes (e.g. package basename renames) can help.
* Update the layout of 2.8.x.
* Change the basename of the recipe of 3.4.x to gnutls34.
* Use gnutls35 as basename for the recipe of 3.5.x.
* Declare CONFLICTS, CONFLICTS_{bin,devel} in a way that allows
gnutls-2.8.x to be installed with either gnutls-3.4.x or
gnutls-3.5.x. On top of that, a single _bin package may be
installed (provided the base package is also installed.) Same
thing for _devel.
* Add cmd:cvs cmd:git to BUILD_PREREQUIRES in order to make
gl/tests/test-vc-list-files-{cvs,git} succeed.
* Patch gl/tests/test-float.c to enable that test.
* Add cmd:{perl,makeinfo} to BUILD_PREREQUIRES.
2016-07-26 00:51:00 +00:00
|
|
|
cd lib
|
2014-09-13 11:14:44 +00:00
|
|
|
libtoolize --force --copy --install
|
2010-05-22 19:45:21 +00:00
|
|
|
cd ..
|
|
|
|
cd libextra
|
2014-09-13 11:14:44 +00:00
|
|
|
libtoolize --force --copy --install
|
2010-05-22 19:45:21 +00:00
|
|
|
cd ..
|
2014-09-13 11:14:44 +00:00
|
|
|
autoconf
|
|
|
|
runConfigure ./configure
|
|
|
|
make $jobArgs
|
2010-05-22 19:45:21 +00:00
|
|
|
}
|
2014-09-13 11:14:44 +00:00
|
|
|
|
2013-03-29 16:31:03 +00:00
|
|
|
INSTALL()
|
|
|
|
{
|
2010-05-22 19:45:21 +00:00
|
|
|
make install
|
2014-09-13 11:14:44 +00:00
|
|
|
|
gnutls: bump to 3.4.14 + 3.5.2, drop lib*.la, add TEST(). (#628)
* Bump to 3.4.14 (current stable) and add 3.5.2, marked untested.
* Move $binDir to a _bin sub-package, for more flexibility with
regards to package co-installation. 3.4.x and 3.5.x seem to be
causing problems for other recipes, so this layout change, with
some other changes (e.g. package basename renames) can help.
* Update the layout of 2.8.x.
* Change the basename of the recipe of 3.4.x to gnutls34.
* Use gnutls35 as basename for the recipe of 3.5.x.
* Declare CONFLICTS, CONFLICTS_{bin,devel} in a way that allows
gnutls-2.8.x to be installed with either gnutls-3.4.x or
gnutls-3.5.x. On top of that, a single _bin package may be
installed (provided the base package is also installed.) Same
thing for _devel.
* Add cmd:cvs cmd:git to BUILD_PREREQUIRES in order to make
gl/tests/test-vc-list-files-{cvs,git} succeed.
* Patch gl/tests/test-float.c to enable that test.
* Add cmd:{perl,makeinfo} to BUILD_PREREQUIRES.
2016-07-26 00:51:00 +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
|
|
|
|
gnutls: bump to 3.4.14 + 3.5.2, drop lib*.la, add TEST(). (#628)
* Bump to 3.4.14 (current stable) and add 3.5.2, marked untested.
* Move $binDir to a _bin sub-package, for more flexibility with
regards to package co-installation. 3.4.x and 3.5.x seem to be
causing problems for other recipes, so this layout change, with
some other changes (e.g. package basename renames) can help.
* Update the layout of 2.8.x.
* Change the basename of the recipe of 3.4.x to gnutls34.
* Use gnutls35 as basename for the recipe of 3.5.x.
* Declare CONFLICTS, CONFLICTS_{bin,devel} in a way that allows
gnutls-2.8.x to be installed with either gnutls-3.4.x or
gnutls-3.5.x. On top of that, a single _bin package may be
installed (provided the base package is also installed.) Same
thing for _devel.
* Add cmd:cvs cmd:git to BUILD_PREREQUIRES in order to make
gl/tests/test-vc-list-files-{cvs,git} succeed.
* Patch gl/tests/test-float.c to enable that test.
* Add cmd:{perl,makeinfo} to BUILD_PREREQUIRES.
2016-07-26 00:51:00 +00:00
|
|
|
packageEntries devel \
|
|
|
|
$developDir \
|
|
|
|
$manDir/man3
|
|
|
|
|
|
|
|
packageEntries bin \
|
|
|
|
$binDir \
|
|
|
|
$documentationDir
|
2014-09-13 11:14:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
TEST()
|
|
|
|
{
|
|
|
|
make check
|
2010-05-22 19:45:21 +00:00
|
|
|
}
|