From nobody Wed Jul 27 12:58:33 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LtDNp2FDkz4XSgr; Wed, 27 Jul 2022 12:58:34 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LtDNp1ZS5z3Tv7; Wed, 27 Jul 2022 12:58:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658926714; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7nHefsAaDVgiad10NFp04+sKC/kvo96vsiJDISs1kUo=; b=CmE0vAgH7gwrtB7DsMLhORv59etBYgEa7/ouZ+bOyY1zr4ZXwuW0f7BkBfXgkCmjb3rAZm OOydSUV5SGlWgQ2GpxKvAa4Up48FNihMDOAO5c9EjaJ29RdpTGBmZg2qrxlCsTh/227Y2a 8nNQxVr2pNqJausmmjtht10rvUwTJGgnueCiw4PO0AwlooR3Jbg/abUOouHxWA8dgvlZxW a+0FpN6KnkaN89bnK9lEA6H2CHJ18wEU4DE/W4cN2klXYVBVtA2QnAmSgWyQ5BXL7eoq5y aW8k+ePTkvbqfn+FmV3KONjmPjOx4HteVoUNAGA0is+vsh5yCLLcXqAxa+4dug== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LtDNp0hWlzHtc; Wed, 27 Jul 2022 12:58:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26RCwYNQ042530; Wed, 27 Jul 2022 12:58:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26RCwXUm042529; Wed, 27 Jul 2022 12:58:33 GMT (envelope-from git) Date: Wed, 27 Jul 2022 12:58:33 GMT Message-Id: <202207271258.26RCwXUm042529@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 5b77ae013638 - main - x11/gdm: use pkg-message to show message on remove List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5b77ae013638f067fba35fcc5c7e5aa61d8c8188 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658926714; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7nHefsAaDVgiad10NFp04+sKC/kvo96vsiJDISs1kUo=; b=KgujeDlI+pNUkELXkID1JdakNxHy9SjmWgQjAXQSxPUQY2Ctc7hmNpXfba+P5ky60/95W/ Av2eE5PzaOItVN5oSEFDcRmg7J6hUoicXIz6tIf8ngw/r9F/G4sDXMr/SZtAQekq3V/+/P J4OGU7a/DWzinTfRJPopBqfpw4gi5FiUSt7p6/EiXP9VCBGkbXIr9CQkqkJubntpeyCmCf X3YcPK3bWdQtkVtIhYVzQZasu12FPFWALLMEwOYHfOLMLd7cYgAOa0SU8LXg/12sA2UmN+ 6ABfCCXCb/Tmaq54WbFzfTC237BHqe13dIhrMklp4ViJSlbpkUCkmpVSH64wJQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658926714; a=rsa-sha256; cv=none; b=gVhPCCMPbEIdP1hEGGQvR28GfqZmtRS4XA+hTMZ5OvFEHA+92lmIL7LiUVfuOtesSmawwC S0KAEFJDInZ4oHJnDSDY9ibYwOpwl+ihVD+ZvQN3pUILmPaNMXhA1oQ+x04mPlEyor3ITi W2wj8PBSjAp+yMG+nrsZwRwIafnYKlBmSjbxeWSjrreXlAIkYU/GDlJPTZmMmN82u3ydqr G9A7cG5IJlWrC0XINhMvj9lE+y+sxgMehYiAUTDDGnuwTJW1boyNHoj5fix+EL+y9P6tyH SngXwqtOWXhOgfV5ADKAXK4cLx1D5u5J9n72IpugDdrWe2YcISOsmMB3asBKDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b77ae013638f067fba35fcc5c7e5aa61d8c8188 commit 5b77ae013638f067fba35fcc5c7e5aa61d8c8188 Author: Baptiste Daroussin AuthorDate: 2022-07-27 12:57:44 +0000 Commit: Baptiste Daroussin CommitDate: 2022-07-27 12:58:18 +0000 x11/gdm: use pkg-message to show message on remove --- x11/gdm/Makefile | 2 +- x11/gdm/pkg-deinstall | 12 ------------ x11/gdm/pkg-message | 10 ++++++++++ 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 5bc084351f97..f0f034c75bd3 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -1,6 +1,6 @@ PORTNAME= gdm PORTVERSION= 42.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome diff --git a/x11/gdm/pkg-deinstall b/x11/gdm/pkg-deinstall deleted file mode 100644 index adf6a3e9df6c..000000000000 --- a/x11/gdm/pkg-deinstall +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -case $2 in -DEINSTALL) - echo "" - echo "To really remove the gdm port, please remove the following" - echo "directories manualy:" - echo "" - echo "/var/cache/gdm /var/gdm /var/log/gdm and /var/run/gdm" - echo "" - ;; -esac diff --git a/x11/gdm/pkg-message b/x11/gdm/pkg-message index b6d1e4e91f7d..d9ddfb60e1d4 100644 --- a/x11/gdm/pkg-message +++ b/x11/gdm/pkg-message @@ -6,6 +6,16 @@ GDM is installed. Do _NOT_ use /etc/ttys to start gdm at boot time. This will result in gdm hanging or restarting constantly. Instead, add gdm_enable="YES" to /etc/rc.conf. GDM will be started automatic on the next reboot. +EOM +}, +{ type: remove + message: <