git: 2b2c9a4d2f0a - main - dns/nextdns: Prevent to delete its configuration file after each upgrade
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Jun 2022 20:34:45 UTC
The branch main has been updated by olivier: URL: https://cgit.FreeBSD.org/ports/commit/?id=2b2c9a4d2f0a015d1605184f3d4c715588f65296 commit 2b2c9a4d2f0a015d1605184f3d4c715588f65296 Author: Olivier Cochard <olivier@FreeBSD.org> AuthorDate: 2022-06-23 20:32:13 +0000 Commit: Olivier Cochard <olivier@FreeBSD.org> CommitDate: 2022-06-23 20:34:39 +0000 dns/nextdns: Prevent to delete its configuration file after each upgrade Approved by: rs@nextdns.io (maintainer) --- dns/nextdns/Makefile | 2 +- dns/nextdns/pkg-deinstall | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dns/nextdns/Makefile b/dns/nextdns/Makefile index 7f4baf3a6c0c..073f5932279b 100644 --- a/dns/nextdns/Makefile +++ b/dns/nextdns/Makefile @@ -1,6 +1,6 @@ PORTNAME= nextdns PORTVERSION= 1.37.11 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= dns security diff --git a/dns/nextdns/pkg-deinstall b/dns/nextdns/pkg-deinstall index 803dfdb4e81e..c67e487f45b0 100644 --- a/dns/nextdns/pkg-deinstall +++ b/dns/nextdns/pkg-deinstall @@ -5,6 +5,9 @@ if [ x"$2" != x"DEINSTALL" ]; then fi ${PKG_PREFIX}/nextdns uninstall >/dev/null 2>/dev/null -rm -f ${PKG_PREFIX}/etc/nextdns.conf + +echo "==> If you are uninstalling nextdns permanently," +echo " and you do *NOT* want to retain the configuration file," +echo " you should manually delete ${PKG_PREFIX}/etc/nextdns.conf" exit 0