From nobody Sun Jul 14 14:02:16 2024 X-Original-To: dev-commits-ports-main@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 4WMRpw5Ng3z5QgvK; Sun, 14 Jul 2024 14:02:16 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WMRpw489Dz43Sw; Sun, 14 Jul 2024 14:02:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720965736; 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=8yrUomGr2gMzf0pm8FWBEbd0/yOQLfho+ub1jLrWyP4=; b=grOnIAQYqoXFc/fOP5IGpVTjld6N2KjXUwN5U4QXNN8NicAwiwUU1dmTGZLjbfLPjCaCbz J2TN93RTO8I1TMvB7yymLsOUL+4yapdAUocMnEzSzHg8nowovyZoZvbMMU270wsTlpnrfN i602ydHTswMcPnhsSd6QA8/YwyY3iQfIu88nSOKMsu0v7gXs0cpU0B9B63e4x5v3f5STrx 4F8gJYi4Pobu68rznV4SMbNDB9WqReuzNG4qgjl7F9Gy40GCQlrqodPqd+aT7eC8uURqxM KsjNyyOUJcmOLjlX4CMGZQoGAGF8hAJ4aTatYxnWnM6C9s22/ASceJYhRE7KXw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720965736; a=rsa-sha256; cv=none; b=Cv2akGZbXXPt8ixrexbW8ASBKBmfGeI8bZQclI248iLd3WjQTQ+VX4okS/OqyELLLYL2aQ OKPzc3Gc1Bh+vztuUXfqA2GdRnMtnNhjW8vUEH/F2LcNhnQSRPUEr85l/FVXy6l6gRtrW6 yo45/cyTmoj/m3PL+p0hF2xHFvgZ22UEWidQiS13DtQ0sH41MXF6ZQq/rYYMQTztRTxJOE 9z9O2wIAFuUJBkXA74dqeV5/YkDYOLMQvegezNds60oyDyC+QrwSK2VbYCrVlrglspvelY 4pbrWFAq2HtAb7QBZXPyOMdKOClIlMu4nV7p/6m8R375G9UkkMhuehbTCgvqwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720965736; 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=8yrUomGr2gMzf0pm8FWBEbd0/yOQLfho+ub1jLrWyP4=; b=pYiwPIQMKHEg+RMe7cCchm2fv+XNei+diohKdyKgLqdVVUUTTOFOA5nCe6L21sh51IBtNp kQeBkQgEkOP2yNL63OB2WF6HReWHRVXWggX89xWXStCT/LlxuVJPXmESj/TFONpr7MpumP kRCJxG69NxjqHhaylMLYNOj6aVtFugzk3/aFv+mWge2Djf18ULqKIU2K6VaEYVWu4L02Kq 1sFcBoRZQIR0lNDVD4XJkq8a/wLLoITO1L5n3Xg3kSF4IMNnvYZV7xfjhh85SVhXvYh0Gt xT3sH0dQ49YUNvEVHBB+NYwdtWuU0xxJjW1D6nU0atC5bOKewliwkugExthNTQ== 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 4WMRpw3kjPz1Bwn; Sun, 14 Jul 2024 14:02:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46EE2GYo067054; Sun, 14 Jul 2024 14:02:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46EE2G8M067051; Sun, 14 Jul 2024 14:02:16 GMT (envelope-from git) Date: Sun, 14 Jul 2024 14:02:16 GMT Message-Id: <202407141402.46EE2G8M067051@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: f993572c8109 - main - rmport: warn about node slave packages when removing a www/node port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f993572c8109f9cd8284499f2eb10a22c811bdde Auto-Submitted: auto-generated The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=f993572c8109f9cd8284499f2eb10a22c811bdde commit f993572c8109f9cd8284499f2eb10a22c811bdde Author: Rene Ladan AuthorDate: 2024-07-14 14:01:13 +0000 Commit: Rene Ladan CommitDate: 2024-07-14 14:01:55 +0000 rmport: warn about node slave packages when removing a www/node port --- Tools/scripts/rmport | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport index 9f90e01b900e..930dd60753fd 100755 --- a/Tools/scripts/rmport +++ b/Tools/scripts/rmport @@ -445,6 +445,13 @@ for catport in $* ; do # everything seems ok, edit the files + if [ -z "${catport##www/node*}" ] ; then + node_version="${catport##www/node}" + if [ -n "${node_version}" ] ; then + echo "You are removing a node port, do not forget www/npm-node${node_version} and www/yarn-node${node_version}" + fi + fi + edit_MOVED ${catport} edit_Makefile ${cat} ${port}