freebsd-ports/net/libvncserver/Makefile
Matthew Seaman feab39b3c3 Update to 0.9.11
This includes a	security fix for CVE-2016-9941 and CVE-2016-9942

  * Drop files/patch-libvncclient_h264.c -- upstream has dropped h264 support
  * Switch from USE_OPENSSL to USES+=ssl
  * PORTREVISION bump in ports that link against libvncserver.so (with
    their default OPTIONS settings) due to change in ABI version of
    libvncserver.so

PR:		215802
Submitted by:	vlad-fbsd@acheronmedia.com
MFH:		2017Q1
Security:	64be967a-d379-11e6-a071-001e67f15f5a
2017-01-21 21:47:21 +00:00

57 lines
1.3 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libvncserver
PORTVERSION= 0.9.11
DISTVERSIONPREFIX= LibVNCServer-
CATEGORIES= net devel
MAINTAINER= ports@FreeBSD.org
COMMENT= Provide an easy API to a custom vnc server
LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png
USE_GITHUB= yes
GH_ACCOUNT= LibVNC
USES= autoreconf jpeg libtool pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= GCRYPT IPV6 VAAPI
OPTIONS_SINGLE= SSL
OPTIONS_SINGLE_SSL= GNUTLS OPENSSL
OPTIONS_DEFAULT= OPENSSL
GCRYPT_DESC= libgcrypt support
GNUTLS_IMPLIES= GCRYPT
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_WITH= gnutls
OPENSSL_CONFIGURE_WITH= crypto ssl
OPENSSL_USES= ssl
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
GCRYPT_CONFIGURE_WITH= gcrypt
IPV6_CONFIGURE_WITH= ipv6
VAAPI_LIB_DEPENDS= libva.so:multimedia/libva
VAAPI_CONFIGURE_WITH= libva
post-install:
${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${STAGEDIR}${PREFIX}/include/rfb
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel}
BROKEN= Does not build with openssl-devel
.endif
.include <bsd.port.post.mk>