2012-03-21 12:05:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.48 2012/03/21 16:05:36 sthen Exp $
|
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
|
|
|
|
2012-03-21 12:05:36 -04:00
|
|
|
DISTNAME= gnutls-2.12.18
|
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
|
|
|
|
2012-03-06 11:37:49 -05:00
|
|
|
SHARED_LIBS += gnutls 18.2 # 47.4
|
2011-04-15 12:09:39 -04:00
|
|
|
SHARED_LIBS += gnutlsxx 17.0 # 27.0
|
2011-09-08 07:36:36 -04:00
|
|
|
SHARED_LIBS += gnutls-extra 18.1 # 47.4
|
2011-04-15 12:09:39 -04:00
|
|
|
SHARED_LIBS += gnutls-openssl 17.0 # 27.0
|
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
|
|
|
|
2011-08-22 05:13:04 -04:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@bsdfrog.org>
|
|
|
|
|
|
|
|
# LGPLv3 - GPLv3
|
2003-05-02 00:04:31 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-05-12 03:50:57 -04:00
|
|
|
|
2011-08-22 05:13:04 -04:00
|
|
|
WANTLIB += c gmp hogweed lzo2 m ncurses nettle p11-kit pthread
|
|
|
|
WANTLIB += readline stdc++ tasn1 z
|
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
|
|
|
|
2008-10-26 06:50:37 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2003-05-02 00:04:31 -04:00
|
|
|
|
2011-08-22 05:13:04 -04:00
|
|
|
MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/
|
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
|
|
|
|
2011-04-15 12:09:39 -04:00
|
|
|
LIB_DEPENDS= security/libtasn1 \
|
|
|
|
archivers/lzo2 \
|
2011-08-22 05:13:04 -04:00
|
|
|
security/libnettle \
|
|
|
|
security/p11-kit
|
2003-05-02 00:04:31 -04:00
|
|
|
|
2005-12-24 15:52:58 -05:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
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 \
|
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
|
|
|
--with-included-libcfg \
|
2008-10-26 06:50:37 -04:00
|
|
|
--with-lzo \
|
2011-08-22 05:13:04 -04:00
|
|
|
--with-libtasn1-prefix=${LOCALBASE} \
|
|
|
|
--with-packager="OpenBSD Ports"
|
2011-04-15 12:09:39 -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
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2011-08-22 05:13:04 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -pthread"
|
2003-05-02 00:04:31 -04:00
|
|
|
|
2011-04-15 12:09:39 -04:00
|
|
|
pre-configure:
|
|
|
|
perl -pi -e 's,-lpthread,-pthread,g' \
|
|
|
|
${WRKSRC}/{,lib/,libextra/}configure
|
|
|
|
|
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>
|