2007-01-24 16:58:04 +01:00
|
|
|
# $NetBSD: Makefile,v 1.58 2007/01/24 15:58:04 tron Exp $
|
2003-05-14 05:46:44 +02:00
|
|
|
|
Update to 1.6.1:
* Version 1.6.1 (released 2006-12-28)
** Fix the list of trusted CAs that server's send to clients.
Before, the list contained issuer DN's instead of subject DN's of the
trusted CAs. Reported by Max Kellermann
** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
Reported by Max Kellermann
** Encode UID fields in DN's as DirectoryString.
Before GnuTLS encoded and parsed UID fields as IA5String. This was
incorrect, it should have used DirectoryString. Now it will use
DirectoryString for the UID field, but for backwards compatibility it
will also accept IA5String UID's. Reported by Max Kellermann
** Fix ./configure failure with non-GCC compilers.
This fixes the following error message:
configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
Reported by "Michael C. Vergallen"
* Version 1.6.0 (released 2006-11-17)
** No changes since 1.5.5.
The major changes compared to the 1.4.x branch are:
*** A GnuTLS C++ library is part of the official distribution.
Currently there are no examples or documentation, but hopefully this
will change. See gnutlsxx.h for the API.
*** Windows is a supported platform.
There are, however, two know bugs. One is related to select() in
command line tools (not, nota bene, in the library), the other is a
problem with libgcrypt that causes delays. Help is needed to resolve
those issues, so we feel we can't delay the release because of this.
*** New APIs for custom push/pull function error reporting.
The new APIs are gnutls_transport_set_errno and
gnutls_transport_set_global_errno. See the release notes for version
1.5.4 for more information.
*** Self tests are run under valgrind, if available. See --disable-valgrind.
2007-01-20 18:38:06 +01:00
|
|
|
DISTNAME= gnutls-1.6.1
|
2007-01-24 16:58:04 +01:00
|
|
|
PKGREVISION= 1
|
2003-05-14 05:46:44 +02:00
|
|
|
CATEGORIES= security devel
|
Update to 1.2.0. From the release announcement:
We are pleased to announce the availability of GnuTLS 1.2.0!
This release is the result of the 23 development releases made on the
development branch (1.1.x).
Major changes compared to the 1.0 branch include:
* Moved SRP password authentication from the GnuTLS-extra library
(licensed under GPL) to the core library (licensed under LGPL).
* The API has been cleaned up, and data types now use a '_t' suffix.
* Fixes to handle denial of service problem when verifying long
certificate chains.
* The manual has been converted to Texinfo and is consequently
available in many formats, see:
<http://josefsson.org/gnutls/manual/>
* A reference API manual has been added, and is available in HTML and
DevHelp formats, thanks to GTK-DOC, see:
<http://josefsson.org/gnutls/reference/gnutls-gnutls.html>
The 1.2.0 version is intended to be stable, and to be a drop-in
replacement of the stable 1.0.x branch.
We encourage developers to move to the 1.2 branch as soon as possible,
since we will now spend less time improving version 1.0.x.
We are not planning to open a 1.3 development branch soon, because
there are no plans to start work on any major new feature today.
Instead, we will continue to carefully improve the quality of this
release over time.
Improving GnuTLS is costly, but you can help! We are looking for
organizations that find GnuTLS useful and wish to contribute back.
You can contribute by reporting bugs, improve the software, or donate
money or equipment.
2005-02-19 01:14:23 +01:00
|
|
|
MASTER_SITES= http://josefsson.org/gnutls/releases/ \
|
|
|
|
ftp://ftp.gnutls.org/pub/gnutls/ \
|
2004-05-22 12:09:53 +02:00
|
|
|
ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/ \
|
|
|
|
http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \
|
|
|
|
ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/
|
Update to 1.2.0. From the release announcement:
We are pleased to announce the availability of GnuTLS 1.2.0!
This release is the result of the 23 development releases made on the
development branch (1.1.x).
Major changes compared to the 1.0 branch include:
* Moved SRP password authentication from the GnuTLS-extra library
(licensed under GPL) to the core library (licensed under LGPL).
* The API has been cleaned up, and data types now use a '_t' suffix.
* Fixes to handle denial of service problem when verifying long
certificate chains.
* The manual has been converted to Texinfo and is consequently
available in many formats, see:
<http://josefsson.org/gnutls/manual/>
* A reference API manual has been added, and is available in HTML and
DevHelp formats, thanks to GTK-DOC, see:
<http://josefsson.org/gnutls/reference/gnutls-gnutls.html>
The 1.2.0 version is intended to be stable, and to be a drop-in
replacement of the stable 1.0.x branch.
We encourage developers to move to the 1.2 branch as soon as possible,
since we will now spend less time improving version 1.0.x.
We are not planning to open a 1.3 development branch soon, because
there are no plans to start work on any major new feature today.
Instead, we will continue to carefully improve the quality of this
release over time.
Improving GnuTLS is costly, but you can help! We are looking for
organizations that find GnuTLS useful and wish to contribute back.
You can contribute by reporting bugs, improve the software, or donate
money or equipment.
2005-02-19 01:14:23 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2003-05-14 05:46:44 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-05-14 05:46:44 +02:00
|
|
|
HOMEPAGE= http://www.gnutls.org/
|
|
|
|
COMMENT= GNU Transport Layer Security library
|
|
|
|
|
2004-02-25 19:20:06 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2006-11-05 18:31:09 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-02-25 19:20:06 +01:00
|
|
|
|
Update to 1.6.1:
* Version 1.6.1 (released 2006-12-28)
** Fix the list of trusted CAs that server's send to clients.
Before, the list contained issuer DN's instead of subject DN's of the
trusted CAs. Reported by Max Kellermann
** Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it.
Reported by Max Kellermann
** Encode UID fields in DN's as DirectoryString.
Before GnuTLS encoded and parsed UID fields as IA5String. This was
incorrect, it should have used DirectoryString. Now it will use
DirectoryString for the UID field, but for backwards compatibility it
will also accept IA5String UID's. Reported by Max Kellermann
** Fix ./configure failure with non-GCC compilers.
This fixes the following error message:
configure: error: conditional "HAVE_LD_OUTPUT_DEF" was never defined.
Reported by "Michael C. Vergallen"
* Version 1.6.0 (released 2006-11-17)
** No changes since 1.5.5.
The major changes compared to the 1.4.x branch are:
*** A GnuTLS C++ library is part of the official distribution.
Currently there are no examples or documentation, but hopefully this
will change. See gnutlsxx.h for the API.
*** Windows is a supported platform.
There are, however, two know bugs. One is related to select() in
command line tools (not, nota bene, in the library), the other is a
problem with libgcrypt that causes delays. Help is needed to resolve
those issues, so we feel we can't delay the release because of this.
*** New APIs for custom push/pull function error reporting.
The new APIs are gnutls_transport_set_errno and
gnutls_transport_set_global_errno. See the release notes for version
1.5.4 for more information.
*** Self tests are run under valgrind, if available. See --disable-valgrind.
2007-01-20 18:38:06 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2005-08-30 16:29:00 +02:00
|
|
|
USE_LIBTOOL= yes
|
2006-12-08 06:44:19 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2005-12-05 21:49:47 +01:00
|
|
|
USE_TOOLS+= gmake
|
2005-08-30 16:29:00 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-08 17:50:41 +02:00
|
|
|
TEST_TARGET= check
|
2007-01-24 16:58:04 +01:00
|
|
|
INFO_FILES= yes
|
Update to 1.2.0. From the release announcement:
We are pleased to announce the availability of GnuTLS 1.2.0!
This release is the result of the 23 development releases made on the
development branch (1.1.x).
Major changes compared to the 1.0 branch include:
* Moved SRP password authentication from the GnuTLS-extra library
(licensed under GPL) to the core library (licensed under LGPL).
* The API has been cleaned up, and data types now use a '_t' suffix.
* Fixes to handle denial of service problem when verifying long
certificate chains.
* The manual has been converted to Texinfo and is consequently
available in many formats, see:
<http://josefsson.org/gnutls/manual/>
* A reference API manual has been added, and is available in HTML and
DevHelp formats, thanks to GTK-DOC, see:
<http://josefsson.org/gnutls/reference/gnutls-gnutls.html>
The 1.2.0 version is intended to be stable, and to be a drop-in
replacement of the stable 1.0.x branch.
We encourage developers to move to the 1.2 branch as soon as possible,
since we will now spend less time improving version 1.0.x.
We are not planning to open a 1.3 development branch soon, because
there are no plans to start work on any major new feature today.
Instead, we will continue to carefully improve the quality of this
release over time.
Improving GnuTLS is costly, but you can help! We are looking for
organizations that find GnuTLS useful and wish to contribute back.
You can contribute by reporting bugs, improve the software, or donate
money or equipment.
2005-02-19 01:14:23 +01:00
|
|
|
|
Update to 1.0.22:
Version 1.0.22 (28/10/2004)
- Print DN of certificates with unknown characters in them, but in hexform
only.
- Corrected bug in _gnutls_x509_get_dn_oid(), and returns the actual OID.
- Added second precision to the X.509 parsing functions.
- Add parameter --la-file to libgnutls-config and libgnutls-extra-config,
tiny patch contributed by Joe Orton <joe@manyfish.co.uk>.
- Add pkg-config meta files, suggested by Stéphane LOEUILLET
<stephane.loeuillet@tiscali.fr>.
- Fix memory initializaion bug in gnutls_certificate_set_x509_trust,
tiny patch by Aleix Conchillo Flaque <aleix@member.fsf.org>.
- Fix certtool --password for PKCS #12, back ported from 1.1.x branch.
- Fix library order in libgnutls*-config --libs output, to permit
static linking, reported by Yoann Vandoorselaere
<yoann@prelude-ids.org>.
Version 1.0.21 (07/10/2004)
- Fix memory leak in gnutls_certificate_verify_peers and
gnutls_certificate_free_credentials, report and patch by Simon
Posnjak <simon.posnjak@cetrtapot.si>.
- Fix crash in `certtool --to-p12 --load-privkey foo', i.e. exporting
a key and no certificate to PKCS#12.
- Fix objdir != srcdir builds, reported by "Gerrit P. Haase"
<gp@familiehaase.de>.
- Avoid redefining getpass if system already has it, reported by
Yoann Vandoorselaere <yoann@prelude-ids.org>.
- Add new example "ex-rfc2818" for certificate verification, from Nikos.
- Known bug: the library require snprintf.
2004-11-08 20:34:46 +01:00
|
|
|
PKGCONFIG_OVERRIDE= lib/gnutls.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= libextra/gnutls-extra.pc.in
|
|
|
|
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.opencdk+= opencdk>=0.5.5
|
2006-05-17 23:50:22 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libtasn1+= libtasn1>=0.3.4
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libgcrypt+= libgcrypt>=1.2.2
|
2004-08-27 15:16:16 +02:00
|
|
|
|
2005-10-20 02:43:32 +02:00
|
|
|
MAKE_ENV+= RM=${RM:Q}
|
2005-02-25 16:23:24 +01:00
|
|
|
MAKE_ENV+= TZ=UTC
|
2004-07-25 08:15:24 +02:00
|
|
|
|
2003-05-14 05:46:44 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/gnutls
|
|
|
|
EGDIR= ${PREFIX}/share/examples/gnutls
|
|
|
|
|
2007-01-21 19:13:55 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2006-11-05 18:31:09 +01:00
|
|
|
INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} include/gnutls
|
2004-04-29 12:31:16 +02:00
|
|
|
|
2003-05-14 05:46:44 +02:00
|
|
|
post-install:
|
2006-11-05 18:31:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/TODO ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/gnutls.ps ${DESTDIR}${DOCDIR}
|
|
|
|
cd ${WRKSRC}/doc/examples && ${INSTALL_DATA} *.c ${DESTDIR}${EGDIR}
|
2003-05-14 05:46:44 +02:00
|
|
|
|
2005-08-30 16:29:00 +02:00
|
|
|
.include "../../archivers/lzo/buildlink3.mk"
|
2006-01-20 22:14:04 +01:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2004-02-10 01:20:29 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2005-09-05 09:34:05 +02:00
|
|
|
.include "../../devel/libcfg+/buildlink3.mk"
|
2004-02-10 01:20:29 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
|
|
|
.include "../../security/libtasn1/buildlink3.mk"
|
|
|
|
.include "../../security/opencdk/buildlink3.mk"
|
2003-05-14 05:46:44 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|