freebsd-ports/x11/kde4-runtime/Makefile
Martin Wilke 5cc7f243b6 Secuirty Update:
Ark input sanitization errors:
The KDE archiving tool, Ark, performs insufficient validation
which leads to specially crafted archive files, using unknown
MIME types, to be rendered using a KHTML instance, this can
trigger uncontrolled XMLHTTPRequests to remote sites.

IO Slaves input sanitization errors:
KDE protocol handlers perform insufficient input validation, an
attacker can craft malicious URI that would trigger JavaScript
execution. Additionally the 'help://' protocol handler suffer
from directory traversal. It should be noted that the scope of
this issue is limited as the malicious URIs cannot be embedded
in Internet hosted content.

KMail input sanitization errors:
The KDE mail client, KMail, performs insufficient validation which
leads to specially crafted email attachments, using unknown MIME
types, to be rendered using a KHTML instance, this can trigger
uncontrolled XMLHTTPRequests to remote sites.

Submitted by:	Eygene Ryabinkin <rea-fbsd@codelabs.ru> (based on)
Approved by:	secteam (myself), portmgr
Security:	http://www.vuxml.org/freebsd/6f358f5a-c7ea-11de-a9f3-0030843d3802.html
2009-11-03 09:45:47 +00:00

55 lines
1.4 KiB
Makefile

# -*-mode: makefile-*-
# New ports collection makefile for: kdebase-runtime
# Date created: 22 Januar 2008
# Whom: kde@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= kdebase-runtime
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 2
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Basic applications for the KDE system
LIB_DEPENDS= lzma.0:${PORTSDIR}/archivers/xz \
xine.1:${PORTSDIR}/multimedia/libxine \
slp.1:${PORTSDIR}/net/openslp
USE_KDE4= kdelibs pimlibs kdeprefix kdehier automoc4 kdeexp
KDE4_BUILDENV= yes
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= corelib opengl dbus phonon \
qmake_build moc_build rcc_build uic_build
USE_GETTEXT= yes
MAKE_JOBS_SAFE= yes
MAN1= kdesu.1
MAN8= nepomukserver.8 nepomukservicestub.8
OPTIONS= PULSEAUDIO "Enable playback via PulseAudio soundserver" off
.include <bsd.port.pre.mk>
.if defined(WITH_PULSEAUDIO)
CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=ON
LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio
.else
CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF
.endif
post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
${PATCH_WRKSRC}/khelpcenter/infotree.cpp \
${PATCH_WRKSRC}/kioslave/info/kde-info2html.conf \
${PATCH_WRKSRC}/kioslave/man/kio_man.cpp \
${PATCH_WRKSRC}/kioslave/man/man2html.cpp \
${PATCH_WRKSRC}/cmake/modules/FindCLucene.cmake
.include <bsd.port.post.mk>