openbsd-ports/net/rtmpdump/Makefile
sthen 332f9f27ca update to newer RTMPDump snapshot and K-S-V patch, fixes some vulnerabilities
AMFProp_GetObject must make sure the prop is actually an object
Obsolete RTMPPacket_Free() call left over from original C++ to C rewrite
Potential integer overflow in RTMPPacket_Alloc()
Ignore zero-length packets
Additional decode input size checks
2015-12-30 14:10:50 +00:00

38 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.31 2015/12/30 14:10:50 sthen Exp $
SHARED_LIBS = rtmp 1.1
COMMENT = dump RTMP media streams
# also see VERSION in MAKE_FLAGS below
DISTNAME = rtmpdump-2.4.20151223
PATCHFILES = rtmpdump-KSV-20151215.patch.gz
CATEGORIES = net
HOMEPAGE = http://rtmpdump.mplayerhq.hu/
# tools GPLv2+, librtmp LGPLv2.1+
PERMIT_PACKAGE_CDROM = No
PERMIT_PACKAGE_FTP = Yes
WANTLIB = c crypto m pthread ssl z
# packaged from git://git.ffmpeg.org/rtmpdump : fa8646da
# and patch from https://github.com/K-S-V/Scripts/releases/, see
# http://stream-recorder.com/forum/customized-rtmpdump-binaries-patch-file-t16103.html
MASTER_SITES = https://spacehopper.org/mirrors/
MAKE_FLAGS = CC="${CC}" XCFLAGS="${CFLAGS}" OPT= \
THREADLIB=-pthread SO_VERSION=${LIBrtmp_VERSION} \
VERSION="v2.4-git-fa8646da\ KSV-2015-12-15"
NO_TEST = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rtmpdump
cd ${WRKBUILD}; \
${INSTALL_DATA} README COPYING ChangeLog ${PREFIX}/share/doc/rtmpdump
.include <bsd.port.mk>