mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
db6969e024
Changes: https://github.com/pupnp/pupnp/releases/tag/release-1.14.5 PR: 254825 Submitted by: Dries Michiels <driesm.michiels@gmail.com> (maintainer) Approved by: mentors (implicit) MFH: 2021Q2 Security: CVE-2021-28302
74 lines
2.2 KiB
Makefile
74 lines
2.2 KiB
Makefile
# Created by: Yen-Ming Lee <leeym@leeym.com>
|
|
|
|
PORTNAME= upnp
|
|
DISTVERSIONPREFIX= release-
|
|
DISTVERSION= 1.14.5
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= driesm.michiels@gmail.com
|
|
COMMENT= Universal Plug and Play Software Development Kit
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= autoreconf cpe libtool pathfix pkgconfig
|
|
CPE_VENDOR= libupnp_project
|
|
CPE_PRODUCT= libupnp
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= pupnp
|
|
GH_PROJECT= pupnp
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-device \
|
|
--enable-gena \
|
|
--enable-soap \
|
|
--enable-ssdp \
|
|
--enable-webserver
|
|
INSTALL_TARGET= install-strip
|
|
TEST_TARGET= check
|
|
|
|
OPTIONS_DEFINE= CLIENT DEBUG DOCS EXAMPLES IPV6 LARGEFILE OPENSSL \
|
|
OPTSSDP POSTWRITE REUSEADDR SCRIPTSUPPORT TCP_BLOCK \
|
|
TEST TOOLS UNSPECIFIED_SERVER
|
|
OPTIONS_DEFAULT= CLIENT LARGEFILE OPTSSDP REUSEADDR SCRIPTSUPPORT \
|
|
TCP_BLOCK TOOLS
|
|
OPTIONS_SUB= yes
|
|
|
|
CLIENT_DESC= Enable control point code
|
|
LARGEFILE_DESC= Large files support
|
|
OPTSSDP_DESC= Enable optional SSDP headers support
|
|
POSTWRITE_DESC= Write to filesystem on unhandled POST requests
|
|
REUSEADDR_DESC= Bind miniserver socket with reuseaddr
|
|
SCRIPTSUPPORT_DESC= Enable script support for IXML document tree
|
|
TCP_BLOCK_DESC= Enable blocking TCP connections
|
|
TEST_DESC= Perfom a few tests (implies TOOLS)
|
|
TOOLS_DESC= Enable helpers API in upnptools.h
|
|
UNSPECIFIED_SERVER_DESC= Enable unspecified SERVER header
|
|
|
|
CLIENT_CONFIGURE_ENABLE= client
|
|
DEBUG_CONFIGURE_ENABLE= debug
|
|
EXAMPLES_CONFIGURE_ENABLE= samples
|
|
IPV6_CONFIGURE_ENABLE= ipv6
|
|
LARGEFILE_CONFIGURE_ENABLE= largefile
|
|
OPENSSL_USES= ssl
|
|
OPENSSL_CONFIGURE_ENABLE= open_ssl
|
|
OPENSSL_CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
|
|
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
|
|
OPTSSDP_CONFIGURE_ENABLE= optssdp
|
|
POSTWRITE_CONFIGURE_ENABLE= postwrite
|
|
REUSEADDR_CONFIGURE_ENABLE= reuseaddr
|
|
SCRIPTSUPPORT_CONFIGURE_ENABLE= scriptsupport
|
|
TCP_BLOCK_CONFIGURE_ENABLE= blocking_tcp_connections
|
|
TEST_IMPLIES= TOOLS
|
|
TOOLS_CONFIGURE_ENABLE= tools
|
|
UNSPECIFIED_SERVER_CONFIGURE_ENABLE= unspecified_server
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/docs/UPnP_Programming_Guide.pdf \
|
|
${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|