Date: Wed, 12 Aug 2020 08:53:50 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r544738 - in head/security/tripwire: . files Message-ID: <202008120853.07C8roP0012497@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Wed Aug 12 08:53:49 2020 New Revision: 544738 URL: https://svnweb.freebsd.org/changeset/ports/544738 Log: 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. MFH: 2020Q3 (packaging bugfix) Modified: head/security/tripwire/Makefile (contents, props changed) head/security/tripwire/files/pkg-deinstall.in (contents, props changed) Modified: head/security/tripwire/Makefile ============================================================================== --- head/security/tripwire/Makefile Wed Aug 12 07:55:50 2020 (r544737) +++ head/security/tripwire/Makefile Wed Aug 12 08:53:49 2020 (r544738) @@ -3,6 +3,7 @@ PORTNAME= tripwire PORTVERSION= 2.4.3.7 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= cy@FreeBSD.org Modified: head/security/tripwire/files/pkg-deinstall.in ============================================================================== --- head/security/tripwire/files/pkg-deinstall.in Wed Aug 12 07:55:50 2020 (r544737) +++ head/security/tripwire/files/pkg-deinstall.in Wed Aug 12 08:53:49 2020 (r544738) @@ -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?202008120853.07C8roP0012497>