2013-03-23 09:25:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.75 2013/03/23 13:25:04 ajacoutot Exp $
|
2012-09-05 03:15:50 -04:00
|
|
|
|
|
|
|
# XXX check why our getopt_long(3) fails the configure test
|
|
|
|
# + rm patch-gl_unistd_in_h
|
2003-05-02 00:04:31 -04:00
|
|
|
|
Long due update to GnuTLS 2.0.4, based on a submission by Giovanni Bechis.
Reformat DESCR, remove unneeded patches and LIB*ALIAS goo, reformat Makefile
Tested by many, thanks naddy for alpha, kili for zaurus and powerpc, okan
for amd64 and sparc64, sthen for sparc64 and others i forgot.
Ports depending on it have been vastly tested, thanks sthen for iksemel,
aanriot for prelude, Sebastian Reitenbach for heartbeat, and surely others.
ok kili@ okan@
2007-12-03 15:57:33 -05:00
|
|
|
COMMENT= GNU Transport Layer Security library
|
2003-05-02 00:04:31 -04:00
|
|
|
|
2013-03-23 09:25:04 -04:00
|
|
|
V= 3.1.10
|
2012-12-23 05:39:21 -05:00
|
|
|
DISTNAME= gnutls-${V}
|
2012-07-08 05:02:10 -04:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
|
Long due update to GnuTLS 2.0.4, based on a submission by Giovanni Bechis.
Reformat DESCR, remove unneeded patches and LIB*ALIAS goo, reformat Makefile
Tested by many, thanks naddy for alpha, kili for zaurus and powerpc, okan
for amd64 and sparc64, sthen for sparc64 and others i forgot.
Ports depending on it have been vastly tested, thanks sthen for iksemel,
aanriot for prelude, Sebastian Reitenbach for heartbeat, and surely others.
ok kili@ okan@
2007-12-03 15:57:33 -05:00
|
|
|
CATEGORIES= security
|
2009-05-12 03:50:57 -04:00
|
|
|
|
2013-03-23 09:25:04 -04:00
|
|
|
SHARED_LIBS += gnutls 39.4 # 46.0
|
2012-09-27 02:35:07 -04:00
|
|
|
SHARED_LIBS += gnutlsxx 29.1 # 29.0
|
2013-02-05 02:37:33 -05:00
|
|
|
SHARED_LIBS += gnutls-xssl 0.0 # 0.0
|
2012-07-08 05:02:10 -04:00
|
|
|
SHARED_LIBS += gnutls-openssl 27.2 # 27.2
|
2003-05-02 00:04:31 -04:00
|
|
|
|
Long due update to GnuTLS 2.0.4, based on a submission by Giovanni Bechis.
Reformat DESCR, remove unneeded patches and LIB*ALIAS goo, reformat Makefile
Tested by many, thanks naddy for alpha, kili for zaurus and powerpc, okan
for amd64 and sparc64, sthen for sparc64 and others i forgot.
Ports depending on it have been vastly tested, thanks sthen for iksemel,
aanriot for prelude, Sebastian Reitenbach for heartbeat, and surely others.
ok kili@ okan@
2007-12-03 15:57:33 -05:00
|
|
|
HOMEPAGE= http://www.gnutls.org/
|
2003-05-02 00:04:31 -04:00
|
|
|
|
2012-10-08 06:43:15 -04:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
2011-08-22 05:13:04 -04:00
|
|
|
|
|
|
|
# LGPLv3 - GPLv3
|
2003-05-02 00:04:31 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2009-05-12 03:50:57 -04:00
|
|
|
|
2012-07-08 05:02:10 -04:00
|
|
|
WANTLIB += c gmp hogweed idn m nettle p11-kit pthread stdc++ tasn1
|
|
|
|
WANTLIB += z
|
2003-05-02 00:04:31 -04:00
|
|
|
|
2012-12-23 05:39:21 -05:00
|
|
|
MASTER_SITES= ftp://ftp.gnutls.org/gcrypt/gnutls/v${V:R}/
|
2003-05-02 00:04:31 -04:00
|
|
|
|
Long due update to GnuTLS 2.0.4, based on a submission by Giovanni Bechis.
Reformat DESCR, remove unneeded patches and LIB*ALIAS goo, reformat Makefile
Tested by many, thanks naddy for alpha, kili for zaurus and powerpc, okan
for amd64 and sparc64, sthen for sparc64 and others i forgot.
Ports depending on it have been vastly tested, thanks sthen for iksemel,
aanriot for prelude, Sebastian Reitenbach for heartbeat, and surely others.
ok kili@ okan@
2007-12-03 15:57:33 -05:00
|
|
|
MODULES= devel/gettext
|
2009-05-12 03:50:57 -04:00
|
|
|
|
2012-07-08 05:02:10 -04:00
|
|
|
LIB_DEPENDS= devel/libidn \
|
2012-12-08 03:20:10 -05:00
|
|
|
security/libtasn1 \
|
|
|
|
security/libnettle \
|
2011-08-22 05:13:04 -04:00
|
|
|
security/p11-kit
|
2003-05-02 00:04:31 -04:00
|
|
|
|
2012-11-05 05:41:24 -05:00
|
|
|
USE_GMAKE= Yes
|
2005-12-24 15:52:58 -05:00
|
|
|
|
2009-10-09 19:05:20 -04:00
|
|
|
# regression tests need this
|
|
|
|
PORTHOME= ${WRKDIR}
|
|
|
|
|
Long due update to GnuTLS 2.0.4, based on a submission by Giovanni Bechis.
Reformat DESCR, remove unneeded patches and LIB*ALIAS goo, reformat Makefile
Tested by many, thanks naddy for alpha, kili for zaurus and powerpc, okan
for amd64 and sparc64, sthen for sparc64 and others i forgot.
Ports depending on it have been vastly tested, thanks sthen for iksemel,
aanriot for prelude, Sebastian Reitenbach for heartbeat, and surely others.
ok kili@ okan@
2007-12-03 15:57:33 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
2011-04-15 12:09:39 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--disable-gtk-doc \
|
2009-10-11 09:17:00 -04:00
|
|
|
--disable-guile \
|
2011-08-22 05:13:04 -04:00
|
|
|
--disable-valgrind-tests \
|
2012-07-08 05:02:10 -04:00
|
|
|
--disable-hardware-acceleration \
|
2011-08-22 05:13:04 -04:00
|
|
|
--with-packager="OpenBSD Ports"
|
2011-04-15 12:09:39 -04:00
|
|
|
|
2012-12-08 03:20:10 -05:00
|
|
|
# add dependency on net/unbound; see post-install as well
|
|
|
|
CONFIGURE_ARGS += --disable-libdane
|
|
|
|
|
2012-09-05 03:15:50 -04:00
|
|
|
# requires security/trousers: not committed, needs kernel support for tpm(4):
|
|
|
|
# http://bsssd.sourceforge.net/
|
|
|
|
CONFIGURE_ARGS += --without-tpm
|
|
|
|
|
Long due update to GnuTLS 2.0.4, based on a submission by Giovanni Bechis.
Reformat DESCR, remove unneeded patches and LIB*ALIAS goo, reformat Makefile
Tested by many, thanks naddy for alpha, kili for zaurus and powerpc, okan
for amd64 and sparc64, sthen for sparc64 and others i forgot.
Ports depending on it have been vastly tested, thanks sthen for iksemel,
aanriot for prelude, Sebastian Reitenbach for heartbeat, and surely others.
ok kili@ okan@
2007-12-03 15:57:33 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2012-08-24 08:33:14 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2003-05-02 00:04:31 -04:00
|
|
|
|
2012-09-21 10:48:05 -04:00
|
|
|
# If one of these tools is found at configure stage, it might be used,
|
|
|
|
# no matter whether we use --disable-gtk-doc or not.
|
|
|
|
CONFIGURE_ENV +=ac_cv_path_GTKDOC_CHECK="" \
|
|
|
|
ac_cv_path_GTKDOC_REBASE="" \
|
|
|
|
ac_cv_path_GTKDOC_MKPDF=""
|
|
|
|
|
2003-05-02 00:04:31 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnutls
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnutls
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gnutls
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/examples/*.c \
|
2011-08-22 05:13:04 -04:00
|
|
|
${PREFIX}/share/examples/gnutls
|
2011-04-15 12:09:39 -04:00
|
|
|
# needed by at least:
|
|
|
|
# devel/libvmime, security/prelude/manager, textproc/iksemel
|
|
|
|
${INSTALL} -m 555 ${FILESDIR}/libgnutls-config ${PREFIX}/bin
|
2003-05-02 00:04:31 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|