Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Feb 2026 02:58:15 +0000
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c5dcdc15344e - main - net/tigervnc-server: Explicitly disable Wayland (w0vncserver)
Message-ID:  <69840747.414de.4170c79d@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by meta:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c5dcdc15344ee871ccf4cb42a886fcfd9b000318

commit c5dcdc15344ee871ccf4cb42a886fcfd9b000318
Author:     Koichiro Iwao <meta@FreeBSD.org>
AuthorDate: 2026-02-05 02:02:32 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2026-02-05 02:57:40 +0000

    net/tigervnc-server: Explicitly disable Wayland (w0vncserver)
    
    The default is AUTO, which attempts to build with Wayland if it is
    installed in the build environment. This may result in
    non-reproducible builds depending on the build environment.
    
    In addition, w0vncserver currently fails to build. This is on my TODO
    list but disabled for the time being.
    
    While here, explicitly enable pwquality and declare a dependency on
    security/libpwquality.
    
    PR:             292938
    Reported by:    Paul Boehmer
---
 net/tigervnc-server/Makefile | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/net/tigervnc-server/Makefile b/net/tigervnc-server/Makefile
index 834b261a8f64..be61306fc08d 100644
--- a/net/tigervnc-server/Makefile
+++ b/net/tigervnc-server/Makefile
@@ -1,4 +1,5 @@
 PKGNAMESUFFIX=	-server
+PORTREVISION=	1
 
 COMMENT=	TigerVNC Server
 WWW=		https://tigervnc.org/
@@ -12,7 +13,8 @@ LIB_DEPENDS=	libxshmfence.so:x11/libxshmfence \
 		libnettle.so:security/nettle \
 		libgmp.so:math/gmp \
 		libavcodec.so:multimedia/ffmpeg \
-		libxcvt.so:x11/libxcvt
+		libxcvt.so:x11/libxcvt \
+		libpwquality.so:security/libpwquality
 # almost equivalent to x11-servers/xorg-server's
 RUN_DEPENDS+=	${LOCALBASE}/share/X11/xkb/rules/base:x11/xkeyboard-config \
 		xkbcomp:x11/xkbcomp
@@ -62,10 +64,14 @@ XORG_CONFIGURE_ARGS+=	--with-default-font-path="${DEFAULT_FONTPATH_LIST:ts,}"
 
 CFLAGS+=	-I${LOCALBASE}/include/libdrm
 
-# This is server port, disabling some features
+# This is server port, enabling/disabling some features explicitly
 # - disable vncviewer
-# - server is not internationalized
+# - disable NLS, server is not internationalized
 CMAKE_ARGS+=	-DBUILD_VIEWER:BOOL=false -DENABLE_NLS:BOOL=false
+# - disable w0vncserver at the moment
+CMAKE_ARGS+=	-DENABLE_WAYLAND:STRING=OFF
+# - enable password quality check
+CMAKE_ARGS+=	-DENABLE_PWQUALITY:STRING=ON
 
 # TIGERVNC_XOG_PATCH_VER will be 21 when xorg-server 21.1.13
 TIGERVNC_XORG_PATCH_VER=	${MAKE} -C "${.CURDIR}/../../x11-servers/xorg-server" -V PORTVERSION:R:R


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69840747.414de.4170c79d>