From owner-svn-ports-head@freebsd.org Thu Jun 6 23:05:23 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA15B15C2C06; Thu, 6 Jun 2019 23:05:23 +0000 (UTC) (envelope-from woodsb02@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6DAAC8BA8C; Thu, 6 Jun 2019 23:05:23 +0000 (UTC) (envelope-from woodsb02@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3B1D92347D; Thu, 6 Jun 2019 23:05:23 +0000 (UTC) (envelope-from woodsb02@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x56N5Nq5087597; Thu, 6 Jun 2019 23:05:23 GMT (envelope-from woodsb02@FreeBSD.org) Received: (from woodsb02@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x56N5MMT087592; Thu, 6 Jun 2019 23:05:22 GMT (envelope-from woodsb02@FreeBSD.org) Message-Id: <201906062305.x56N5MMT087592@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: woodsb02 set sender to woodsb02@FreeBSD.org using -f From: Ben Woods Date: Thu, 6 Jun 2019 23:05:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r503608 - in head/x11/lightdm: . files X-SVN-Group: ports-head X-SVN-Commit-Author: woodsb02 X-SVN-Commit-Paths: in head/x11/lightdm: . files X-SVN-Commit-Revision: 503608 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6DAAC8BA8C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.94)[-0.941,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2019 23:05:24 -0000 Author: woodsb02 Date: Thu Jun 6 23:05:21 2019 New Revision: 503608 URL: https://svnweb.freebsd.org/changeset/ports/503608 Log: x11/lightdm: Update to 1.30.0, fix crash and change default config This update addresses a crash in lightdm, related to the way the user environment for the lightdm process is setup in src/process.c. The configuration option in lightdm.conf for locked memory is now honoured - the default configuration has been updated to disable this, and pkg-message has been updated to reflect this change. Changes this release: https://github.com/CanonicalLtd/lightdm/releases/tag/1.30.0 PR: 238083 Submitted by: madpilot Reported by: David.Boyd49@twc.com Differential Revision: https://reviews.freebsd.org/D20541 Modified: head/x11/lightdm/Makefile head/x11/lightdm/distinfo head/x11/lightdm/files/patch-data_lightdm.conf head/x11/lightdm/files/patch-src_process.c head/x11/lightdm/pkg-message head/x11/lightdm/pkg-plist Modified: head/x11/lightdm/Makefile ============================================================================== --- head/x11/lightdm/Makefile Thu Jun 6 22:07:17 2019 (r503607) +++ head/x11/lightdm/Makefile Thu Jun 6 23:05:21 2019 (r503608) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= lightdm -PORTVERSION= 1.28.0 -PORTREVISION= 1 +PORTVERSION= 1.30.0 CATEGORIES= x11 MASTER_SITES= https://github.com/CanonicalLtd/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ @@ -39,16 +38,16 @@ GROUPS= lightdm PORTSCOUT= limitw:1,even SUB_FILES= Xsession -OPTIONS_DEFINE= DOCS VALA -OPTIONS_DEFAULT=VALA +OPTIONS_DEFINE= DOCS VAPI +OPTIONS_DEFAULT=VAPI OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= gtkdoc-check:textproc/gtk-doc DOCS_CONFIGURE_ENABLE= gtk-doc -VALA_BUILD_DEPENDS= vapigen:lang/vala -VALA_CONFIGURE_ENABLE= vala -VALA_USE= gnome=introspection:build +VAPI_BUILD_DEPENDS= vapigen:lang/vala +VAPI_CONFIGURE_ENABLE= vala +VAPI_USE= gnome=introspection:build post-patch: @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \ Modified: head/x11/lightdm/distinfo ============================================================================== --- head/x11/lightdm/distinfo Thu Jun 6 22:07:17 2019 (r503607) +++ head/x11/lightdm/distinfo Thu Jun 6 23:05:21 2019 (r503608) @@ -1,3 +1,3 @@ -TIMESTAMP = 1549074437 -SHA256 (lightdm-1.28.0.tar.xz) = f20f599d8d7cf90b77a2df33c6e9e615abc443123b1b228de1c20a636aecfa07 -SIZE (lightdm-1.28.0.tar.xz) = 517460 +TIMESTAMP = 1559844986 +SHA256 (lightdm-1.30.0.tar.xz) = a118779650a3a5b20f05d53c4f9e377b484fbc1810a6b0914a60840d9a581f95 +SIZE (lightdm-1.30.0.tar.xz) = 509220 Modified: head/x11/lightdm/files/patch-data_lightdm.conf ============================================================================== --- head/x11/lightdm/files/patch-data_lightdm.conf Thu Jun 6 22:07:17 2019 (r503607) +++ head/x11/lightdm/files/patch-data_lightdm.conf Thu Jun 6 23:05:21 2019 (r503608) @@ -1,15 +1,17 @@ ---- data/lightdm.conf.orig 2016-12-07 02:20:29 UTC +--- data/lightdm.conf.orig 2018-09-05 01:33:31 UTC +++ data/lightdm.conf -@@ -22,7 +22,7 @@ +@@ -22,8 +22,8 @@ #start-default-seat=true #greeter-user=lightdm #minimum-display-number=0 -#minimum-vt=7 +-#lock-memory=true +minimum-vt=9 - #lock-memory=true ++lock-memory=false #user-authority-in-system-dir=false #guest-account-script=guest-account -@@ -114,7 +114,7 @@ + #logind-check-graphical=false +@@ -108,7 +108,7 @@ #allow-user-switching=true #allow-guest=true #guest-session= Modified: head/x11/lightdm/files/patch-src_process.c ============================================================================== --- head/x11/lightdm/files/patch-src_process.c Thu Jun 6 22:07:17 2019 (r503607) +++ head/x11/lightdm/files/patch-src_process.c Thu Jun 6 23:05:21 2019 (r503608) @@ -1,20 +1,11 @@ --- src/process.c.orig 2018-08-30 00:28:55 UTC +++ src/process.c -@@ -238,11 +238,16 @@ process_start (Process *process, gboolean block) +@@ -73,6 +73,8 @@ static GHashTable *processes = NULL; + static pid_t signal_pid; + static int signal_pipe[2]; - /* Set environment */ - if (priv->clear_environment) -+ { - #ifdef HAVE_CLEARENV - clearenv (); - #else -- environ = NULL; -+ extern char **environ; -+ char *cleanenv[1]; -+ environ = cleanenv; -+ cleanenv[0] = NULL; - #endif -+ } - for (guint i = 0; i < env_length; i++) - setenv (env_keys[i], env_values[i], TRUE); - ++extern char **environ; ++ + Process * + process_get_current (void) + { Modified: head/x11/lightdm/pkg-message ============================================================================== --- head/x11/lightdm/pkg-message Thu Jun 6 22:07:17 2019 (r503607) +++ head/x11/lightdm/pkg-message Thu Jun 6 23:05:21 2019 (r503608) @@ -1,9 +1,16 @@ +[ +{ + message: <