git: 2317f1554165 - main - security/amavisd-new: Fix installing from official pkg repo

From: Florian Smeets <flo_at_FreeBSD.org>
Date: Fri, 22 Jul 2022 14:44:08 UTC
The branch main has been updated by flo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2317f15541650a6cd93007c1431f9b9b54f8d129

commit 2317f15541650a6cd93007c1431f9b9b54f8d129
Author:     Florian Smeets <flo@FreeBSD.org>
AuthorDate: 2022-07-22 14:19:12 +0000
Commit:     Florian Smeets <flo@FreeBSD.org>
CommitDate: 2022-07-22 14:43:19 +0000

    security/amavisd-new: Fix installing from official pkg repo
    
    Remove LHA from from the default options. This change makes it possible
    to use amavis-new from the official packages repo again. This hasn't
    been possible since archivers/lha packages may not be distributed, thus
    trying to install amavisd-new failed with the following error message
    
    pkg: amavisd-new has a missing dependency: lha
    
    PR:             265240
    Reported by:    James B. Byrne <byrnejb@harte-lyne.ca>
---
 security/amavisd-new/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index 91af2abb887e..e0c98bbf22bf 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	amavisd-new
 PORTVERSION=	2.12.2
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	security
 MASTER_SITES=	https://gitlab.com/amavis/amavis/-/archive/v${PORTVERSION}/
@@ -43,7 +44,7 @@ DAEMON?=	/usr/sbin/daemon -p
 OPTIONS_DEFINE=	IPV6 BDB SNMP SQLITE MYSQL PGSQL LDAP SASL SPAMASSASSIN P0F \
 		FILE RAR UNRAR ARJ UNARJ LHA ARC NOMARCH CAB RPM ZOO UNZOO LZOP \
 		7ZIP MSWORD TNEF DOCS
-OPTIONS_DEFAULT=	BDB SPAMASSASSIN FILE UNRAR ARJ LHA ARC CAB RPM ZOO LZOP \
+OPTIONS_DEFAULT=	BDB SPAMASSASSIN FILE UNRAR ARJ ARC CAB RPM ZOO LZOP \
 			7ZIP MSWORD
 BDB_DESC=		Use BerkeleyDB for nanny/cache/snmp
 SNMP_DESC=		Install amavisd snmp subagent