From owner-freebsd-perl@freebsd.org Fri Feb 12 06:50:37 2021 Return-Path: Delivered-To: freebsd-perl@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 22B05545979 for ; Fri, 12 Feb 2021 06:50:37 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DcPJs0S8kz4VjK for ; Fri, 12 Feb 2021 06:50:37 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0DDB6545978; Fri, 12 Feb 2021 06:50:37 +0000 (UTC) Delivered-To: perl@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0DA115458E7 for ; Fri, 12 Feb 2021 06:50:37 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (glebi.us [162.251.186.162]) (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 (2048 bits) client-digest SHA256) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DcPJn3zdPz4VZ5 for ; Fri, 12 Feb 2021 06:50:33 +0000 (UTC) (envelope-from glebius@freebsd.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.16.1/8.16.1) with ESMTPS id 11C6oPYx094338 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 11 Feb 2021 22:50:25 -0800 (PST) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.glebi.us (8.16.1/8.16.1/Submit) id 11C6oPBx094337; Thu, 11 Feb 2021 22:50:25 -0800 (PST) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@freebsd.org using -f Date: Thu, 11 Feb 2021 22:50:25 -0800 From: Gleb Smirnoff To: perl@freebsd.org Cc: ocochard@freebsd.org Subject: dependency explosion with recent introduction of Crypt::PBKDF2 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="a0dp45F5VgNMZlFa" Content-Disposition: inline X-Rspamd-Queue-Id: 4DcPJn3zdPz4VZ5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:27348, ipnet:162.251.186.0/24, country:US]; local_wl_from(0.00)[freebsd.org] X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2021 06:50:37 -0000 --a0dp45F5VgNMZlFa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! Recently widely used p5-Net-SNMP growed 37 new dependencies. This happened due to p5-Crypt-CBC now depending p5-Crypt-PBKDF2. Note that p5-Net-SNMP doesn't use p5-Crypt-CBC, it comes via dependency p5-Crypt-DES. However, if we look into p5-Crypt-DES source, we would see that it doesn't really depend on p5-Crypt-CBC. It is only test that requires it. Thus, suggested patch. -- Gleb Smirnoff --a0dp45F5VgNMZlFa Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="p5-Crypt-DES.diff" Index: security/p5-Crypt-DES/Makefile =================================================================== --- security/p5-Crypt-DES/Makefile (revision 564997) +++ security/p5-Crypt-DES/Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= Crypt-DES PORTVERSION= 2.07 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,8 +14,7 @@ COMMENT= Perl5 interface to DES block cipher LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT -BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= p5-Crypt-CBC>=0:security/p5-Crypt-CBC +TEST_DEPENDS= p5-Crypt-CBC>=0:security/p5-Crypt-CBC USES= perl5 USE_PERL5= configure --a0dp45F5VgNMZlFa--