From owner-freebsd-ports@FreeBSD.ORG Sun Aug 22 18:22:20 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EA3716A4CE for ; Sun, 22 Aug 2004 18:22:20 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9B0443D46 for ; Sun, 22 Aug 2004 18:22:18 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Bywyv-0001UG-00; Sun, 22 Aug 2004 20:22:17 +0200 Received: from [80.142.205.146] (helo=kyuzo.dunkelkammer.void) (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1Bywyu-0000Jh-00; Sun, 22 Aug 2004 20:22:17 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id 245234082; Sun, 22 Aug 2004 20:22:15 +0200 (CEST) Date: Sun, 22 Aug 2004 20:22:15 +0200 From: Stefan Walter To: Mark Russell , ports@freebsd.org Message-ID: <20040822182215.GA20724@kyuzo.dunkelkammer.void> Mail-Followup-To: Mark Russell , ports@freebsd.org References: <20040822210254.F822@juana.isp.net.au> <20040822143708.GA29683@xor.obsecurity.org> <20040823004314.E822@juana.isp.net.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Fba/0zbH8Xs+Fj9o" Content-Disposition: inline In-Reply-To: <20040823004314.E822@juana.isp.net.au> X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fp: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.6i X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:bea306e5fe0930b42d4355ca01786db1 Subject: Re: ignoring FETCH_DEPENDS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Aug 2004 18:22:20 -0000 --Fba/0zbH8Xs+Fj9o Content-Type: multipart/mixed; boundary="wac7ysb48OaltWcw" Content-Disposition: inline --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mark Russell in gmane.os.freebsd.devel.ports: > The distfiles of the 2 ports concerned fetch fine without the=20 > FETCH_DEPENDS, the case of net/p5-Net-SSH-Perl it wants to install its=20 > BUILD_DEPENDS before it fetches, I've yet to work out why. The other port= =20 It's a bug in the Makefile, it shouldn't have those FETCH_DEPENDS. Could you try the attached patch? It - removes the FETCH_DEPENDS. - removes an unused variable. - corrects a dependency on devel/p5-IO which is not necessary for recent Perl versions. The CVS logs say there were also problems with the package build on bento. I was able to build a package without any problems, so I removed NO_PACKAGE, too. Maybe that one's fixed now, too. I haven't checked if the port already has dependencies for all the algorithms/Perl modules you can choose in the interactive configure script. I also guess that the plist is broken if you choose not to install the SSH1 or SSH2 protocol module (the default is to install both), but I haven't looked at that, yet. I'll have a look at the rest tomorrow and then send a PR, unless someone is faster or there is a problem with the patch. Stefan --=20 No reading beyond this point --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="p5-Net-SSH-Perl.patch" Content-Transfer-Encoding: quoted-printable diff -urN p5-Net-SSH-Perl.old/Makefile p5-Net-SSH-Perl/Makefile --- p5-Net-SSH-Perl.old/Makefile Sun Aug 22 18:47:13 2004 +++ p5-Net-SSH-Perl/Makefile Sun Aug 22 19:35:51 2004 @@ -15,28 +15,30 @@ MAINTAINER=3D jesper@FreeBSD.org COMMENT=3D Perl5 module implements both the SSH1 and SSH2 protocols =20 -NO_PACKAGE=3D "Runaway package build" +PERL_CONFIGURE=3D yes =20 -PERL_BASE=3D ${SITE_PERL} -BUILD_DEPENDS=3D ${PERL_BASE}/Crypt/DSA.pm:${PORTSDIR}/security/p5-Crypt-D= SA \ - ${PERL_BASE}/Crypt/DH.pm:${PORTSDIR}/security/p5-Crypt-DH \ - ${PERL_BASE}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari \ - ${PERL_BASE}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-= Base64 \ - ${PERL_BASE}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-M= D5 \ - ${PERL_BASE}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-= SHA1 \ - ${PERL_BASE}/Digest/HMAC_SHA1.pm:${PORTSDIR}/security/p5-Digest-HMAC \ - ${PERL_BASE}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC \ - ${PERL_BASE}/Convert/PEM.pm:${PORTSDIR}/converters/p5-Convert-PEM \ - ${PERL_BASE}/Digest/BubbleBabble.pm:${PORTSDIR}/security/p5-Digest-Bubbl= eBabble \ - ${PERL_BASE}/Crypt/RSA.pm:${PORTSDIR}/security/p5-Crypt-RSA \ - ${PERL_BASE}/${PERL_ARCH}/IO/Socket.pm:${PORTSDIR}/devel/p5-IO \ - ${PERL_BASE}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CR= C32 \ - ${PERL_BASE}/${PERL_ARCH}/Math/GMP.pm:${PORTSDIR}/math/p5-Math-GMP \ - ${PERL_BASE}/${PERL_ARCH}/Crypt/IDEA.pm:${PORTSDIR}/security/p5-Crypt-ID= EA -RUN_DEPENDS=3D ${BUILD_DEPENDS} -FETCH_DEPENDS=3D ${BUILD_DEPENDS} +.include =20 -PERL_CONFIGURE=3D yes +BUILD_DEPENDS=3D ${SITE_PERL}/Crypt/DSA.pm:${PORTSDIR}/security/p5-Crypt-D= SA \ + ${SITE_PERL}/Crypt/DH.pm:${PORTSDIR}/security/p5-Crypt-DH \ + ${SITE_PERL}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari \ + ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-= Base64 \ + ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-M= D5 \ + ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-= SHA1 \ + ${SITE_PERL}/Digest/HMAC_SHA1.pm:${PORTSDIR}/security/p5-Digest-HMAC \ + ${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC \ + ${SITE_PERL}/Convert/PEM.pm:${PORTSDIR}/converters/p5-Convert-PEM \ + ${SITE_PERL}/Digest/BubbleBabble.pm:${PORTSDIR}/security/p5-Digest-Bubbl= eBabble \ + ${SITE_PERL}/Crypt/RSA.pm:${PORTSDIR}/security/p5-Crypt-RSA \ + ${SITE_PERL}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CR= C32 \ + ${SITE_PERL}/${PERL_ARCH}/Math/GMP.pm:${PORTSDIR}/math/p5-Math-GMP \ + ${SITE_PERL}/${PERL_ARCH}/Crypt/IDEA.pm:${PORTSDIR}/security/p5-Crypt-ID= EA + +.if ${PERL_LEVEL} <=3D 500600 +BUILD_DEPENDS+=3D ${SITE_PERL}/${PERL_ARCH}/IO/Socket.pm:${PORTSDIR}/devel= /p5-IO +.endif + +RUN_DEPENDS=3D ${BUILD_DEPENDS} =20 MAN3=3D Net::SSH::Perl::Constants.3 \ Net::SSH::Perl::Util.3 \ @@ -74,4 +76,4 @@ Net::SSH::Perl::Cipher::DES3.3 \ Net::SSH::Perl::Channel.3 =20 -.include +.include --wac7ysb48OaltWcw-- --Fba/0zbH8Xs+Fj9o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQGVAwUBQSjkVlaRERsSueCzAQLDagv/fXctOJ7k0E6ZjNoy3YtySJr4IPes4k3S j/VFdUyP2FOO1hJgsuem++6ORfn2rMTjiHZpPFd1zLXUZZeQ7uAavNSbls3rQ/v9 TkOWhjfouKmC9Jk2csbCl9z9aA6G7D6KBEM9bCYEuI34NhjfHP6ADTkEZ6foln+h dY2JLsK8NUddV7Z9kWFgB3TcuKadaQk1sIHVw2TSGiJ1lzuCFJAFykfaNNtUNUoG 4QuExTEiirTtu3/eQf7lH7SCv+E5TGv9yS8Q20eeJB4cT+MOfBx5bzbGZqcZKjF7 TNOhHl+Ei2EhIEqW7JYNvjE7fZIOo1XsQB+rzWBDQDeYNB5MOTm/1+mg0U/112gb z7Fbx4JdoKI85X9vOX4pISxJ9g5/735qGmf5wSaigkGrAtD2ctIgde25CtinGTL7 vy6NE9Pzg9HDnI/5RQ9zRxWH6v+AFjzfLZ8iEQjp7IB/XS3jZ3j6VuKYhgdZ2DxU m4Ie2rpzsgZrClAT6P37fdkjJxHNhCTU =Fr1V -----END PGP SIGNATURE----- --Fba/0zbH8Xs+Fj9o--