From nobody Wed Jul 27 12:58:30 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 4LtDNk6hzHz4XStg; Wed, 27 Jul 2022 12:58:30 +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 4LtDNk5zmXz3TcG; Wed, 27 Jul 2022 12:58:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658926710; 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=jKXWdm1gnM1l8T4FkGuS2z9RkjJBHZHt7WHkhn9FXz0=; b=IC9gdej5qpV+ndTYF6KAbSTyrti2IAZTt9e8cXOLnA2HuTKV1OKh5qrRBQ53iyWltc3LiK RsoCDmC08CcM07Yb9hoQ9MfqUZ+t104EesPoZD+DSS0g0l/ZWfbyNAYNmMKZzXwmWTz6fR dWQx9cSnvHcrPMBV7WtwoEZI+s3nf/U+DhPqmXamXuJCF8jPickcSEgPUQtxVoG70ZShUq kmUOkHDpPMcYUBj7+Yb1TPgpUiE/ae+MHpXf8rMih6d/J5FLXfGdtPkSfTkhHbMPOMJjau FX9fA2OYEjQeFwavzxJ+PFcULg8m9WTEwq6Dv89dufm8NrPoYCUFUiwxfbGQyA== 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 4LtDNk55vGzHYT; Wed, 27 Jul 2022 12:58:30 +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 26RCwU0f042453; Wed, 27 Jul 2022 12:58:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26RCwUDs042452; Wed, 27 Jul 2022 12:58:30 GMT (envelope-from git) Date: Wed, 27 Jul 2022 12:58:30 GMT Message-Id: <202207271258.26RCwUDs042452@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: 42e904d02c66 - main - security/pwned-check: 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: 42e904d02c6695123d22aaeddfccb3d0863a2831 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658926710; 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=jKXWdm1gnM1l8T4FkGuS2z9RkjJBHZHt7WHkhn9FXz0=; b=lFdXpjPPgmMl2pJNlU3vJPuPYoXabxPUFRVJYTSluyK54WjIsBpJlA6V9I/NtwayG4yVjl 5m+bv1KNQhuMLyafbLjdtwQGWV327U4EoDDkGRqQJTAf+oDgqfib7QFIYN/HyVpoFk/Faf m4yVqg46SusnkUBrjH3EBPxqaGB9QdkWyzFJIavJ5Z2bIu6qqzd/k47jacoj1kFCdN8ppy oducIxto85EutAR4LNq7dYbo0gBP4zjRvkxIg2mcVwqR/W24nbM/NJjZ9UknC/ldgshUUo oWG5/oYTIv4SgA8C6Jfw3a9FmShQA4OUoODpfHBsOH+Jpwra4/BPVigczN5qPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658926710; a=rsa-sha256; cv=none; b=q6PBG78EID41nZKEbrpqpTW9Yt2QQICuCLpCIaVmSfBvWnujNVQWRWKDGcmRR1NTd8oluy EpUEUKCqw6C4PkHCZGLG9HHHzLuWEuFKcEIEtUJUmpZYGRGk+k13bSX21GbmaHfQ81AiFn fs00s/c/OzVrUK3cS6xUqcH2Kw+W8s7nWUeui7vlXo3iBU3K2ckbNImJ5PyTHzC99Uivzn /ZPJMuq82+Kd/YV7qB304ZFW2G8RgFXJaiCTRqd7PpenRp62a3HyDSE3N3hoi3NN2SlqEj vjmz67/2Tr9lHRYe6oV78bKsObkrsdD0FoA9sSHevuG9HDbzLjRqjoDHEvw14w== 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=42e904d02c6695123d22aaeddfccb3d0863a2831 commit 42e904d02c6695123d22aaeddfccb3d0863a2831 Author: Baptiste Daroussin AuthorDate: 2022-07-27 12:50:33 +0000 Commit: Baptiste Daroussin CommitDate: 2022-07-27 12:50:33 +0000 security/pwned-check: use pkg-message to show message on remove --- security/pwned-check/Makefile | 3 +++ security/pwned-check/files/pkg-message.in | 12 ++++++++++++ security/pwned-check/pkg-deinstall | 15 --------------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/security/pwned-check/Makefile b/security/pwned-check/Makefile index 19f0878214d7..72057c2e2450 100644 --- a/security/pwned-check/Makefile +++ b/security/pwned-check/Makefile @@ -11,6 +11,9 @@ COMMENT= Check whether password is known to have been exposed in a data breach LICENSE= BSD2CLAUSE +SUB_FILES= pkg-message +SUB_LIST= PORTNAME=${PORTNAME} + NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/src diff --git a/security/pwned-check/files/pkg-message.in b/security/pwned-check/files/pkg-message.in index e12280d612c2..4a11c095cbc6 100644 --- a/security/pwned-check/files/pkg-message.in +++ b/security/pwned-check/files/pkg-message.in @@ -13,5 +13,17 @@ The installation procedure will fetch 6 GB of compressed data and will temporarily need 18 GB of free space in that directory and 13 GB when the installation is complete. EOM +}, +{ type : remove + message: <