1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/net-mgmt/wmi-client/Makefile
Alexey Dokuchaev 92606b55b4 net-mgmt/wmi-client: backport three fixes to nbtsocket.c from upstream
to address some known issues with the port, namely:

  - Prevent segmentation fault in certain scenarios
  - Fix busy loop on empty UDP packet (CVE-2020-14303)
  - Plug memory leak in nbt_name_request_destructor()

While here, remove needless .include <bsd.port.options.mk> and vocalize
the installation command.

Commits:	ebab6d6, 3cc0f1e
Obtained from:	https://git.samba.org/?p=samba.git;a=history;f=libcli/nbt/nbtsocket.c
PR:		237038
2021-04-29 10:48:06 +00:00

30 lines
726 B
Makefile

# Created by: KIKUCHI Koichiro <koichiro@rworks.jp>
PORTNAME= wmi
PORTVERSION= 1.3.16
PORTREVISION= 4
CATEGORIES= net-mgmt
MASTER_SITES= http://dev.zenoss.org/trac/export/26435/trunk/inst/externallibs/ \
http://www.openvas.org/download/wmi/ \
http://mirrors.rit.edu/zi/
PKGNAMESUFFIX= -client
MAINTAINER= koichiro@rworks.jp
COMMENT= DCOM/WMI client implementation
USES= autoreconf:build gmake iconv tar:bzip2
MAKEFILE= GNUmakefile
MAKE_ARGS+= ZENHOME="${PREFIX}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_LIB="${INSTALL_LIB}"
ALL_TARGET= build
PROGS= bin/wmic bin/winexe
do-install:
.for x in ${PROGS}
${INSTALL_PROGRAM} ${WRKSRC}/Samba/source/${x} ${STAGEDIR}${PREFIX}/${x}
.endfor
.include <bsd.port.mk>