aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/xorg-nestserver/Makefile
blob: 349fc778b02ea59d32ac36739fa4cc7437e3b339 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Created by: Eric Anholt <anholt@FreeBSD.org>
# $FreeBSD$

PORTNAME=   xorg-nestserver
PORTVERSION=    1.19.1
PORTEPOCH=  2

COMMENT=    Nesting X server from X.Org

LICENSE=    MIT

MASTERDIR=  ${.CURDIR}/../xorg-server
DESCR=      ${.CURDIR}/pkg-descr
DISTINFO_FILE=  ${.CURDIR}/distinfo
PATCHDIR=   ${.CURDIR}/files

RUN_DEPENDS=    xkeyboard-config>=2.5:x11/xkeyboard-config

SLAVE_PORT= yes
OPTIONS_EXCLUDE=DEVD HAL SUID

USE_XORG=   x11 xext xfont2

CONFIGURE_ARGS+=--enable-xnest --disable-dmx --disable-xephyr --disable-xvfb \
        --disable-xwayland

PLIST_FILES=    bin/Xnest man/man1/Xnest.1.gz

EXTRA_PATCHES=  ${MASTERDIR}/files/patch-CVE-2017-12176 \
        ${MASTERDIR}/files/patch-CVE-2017-12177 \
        ${MASTERDIR}/files/patch-CVE-2017-12178 \
        ${MASTERDIR}/files/patch-CVE-2017-12179 \
        ${MASTERDIR}/files/patch-CVE-2017-12183 \
        ${MASTERDIR}/files/patch-CVE-2017-1218x \
        ${MASTERDIR}/files/patch-CVE-2017-1218y \
        ${MASTERDIR}/files/patch-CVE-2017-13721 \
        ${MASTERDIR}/files/patch-CVE-2017-13723 \
        ${MASTERDIR}/files/patch-os_io.c

do-install:
    cd ${WRKSRC}/hw/xnest; DESTDIR=${STAGEDIR} ${MAKE} install

.include "${MASTERDIR}/Makefile"