Date: Thu, 11 Feb 2021 22:50:25 -0800 From: Gleb Smirnoff <glebius@freebsd.org> To: perl@freebsd.org Cc: ocochard@freebsd.org Subject: dependency explosion with recent introduction of Crypt::PBKDF2 Message-ID: <YCYlMam7oAJcwcR2@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YCYlMam7oAJcwcR2>
