Date: Thu, 13 Aug 2020 13:46:33 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r544811 - in branches/2020Q3/security/tripwire: . files Message-ID: <202008131346.07DDkXco084297@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Thu Aug 13 13:46:33 2020 New Revision: 544811 URL: https://svnweb.freebsd.org/changeset/ports/544811 Log: MFH: r544738 pkg delete tripwire results in an infinite loop due to it askking whether to retain the tripwrie databse or not. The resolution is to notify the user to manually remove the tripwrie database if it is not longer needed. (Packaging bugfix.) Approved by: portmgr (joneum) Modified: branches/2020Q3/security/tripwire/Makefile branches/2020Q3/security/tripwire/files/pkg-deinstall.in Directory Properties: branches/2020Q3/ (props changed) Modified: branches/2020Q3/security/tripwire/Makefile ============================================================================== --- branches/2020Q3/security/tripwire/Makefile Thu Aug 13 13:45:02 2020 (r544810) +++ branches/2020Q3/security/tripwire/Makefile Thu Aug 13 13:46:33 2020 (r544811) @@ -3,6 +3,7 @@ PORTNAME= tripwire PORTVERSION= 2.4.3.7 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= cy@FreeBSD.org Modified: branches/2020Q3/security/tripwire/files/pkg-deinstall.in ============================================================================== --- branches/2020Q3/security/tripwire/files/pkg-deinstall.in Thu Aug 13 13:45:02 2020 (r544810) +++ branches/2020Q3/security/tripwire/files/pkg-deinstall.in Thu Aug 13 13:46:33 2020 (r544811) @@ -6,25 +6,7 @@ POST-DEINSTALL) return 0 fi if [ -d %%TWCFG%% -o -d %%TWDB%% ]; then - unset ANS - echo - while [ -z "$ANS" ]; do - echo If permanently deleting this package, - echo %%TWCFG%% and %%TWDB%% may be removed. - echo Do you wish to delete %%TWCFG%% - echo -n and %%TWDB%%? '(yes/no) -: ' - read ANS - case $ANS in - [Yy]|[Yy][Ee][Ss]) - rm -rf %%TWCFG%% %%TWDB%% - ;; - [Nn]|[Nn][Oo]) - ;; - *) echo Answer must be yes or no. - echo - unset ANS - ;; - esac - done + echo If permanently deleting this package, + echo %%TWCFG%% and %%TWDB%% may be removed. fi esac
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008131346.07DDkXco084297>