From owner-freebsd-ports@FreeBSD.ORG Mon Sep 24 12:29:36 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 111D0106564A for ; Mon, 24 Sep 2012 12:29:36 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id B80268FC14 for ; Mon, 24 Sep 2012 12:29:35 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1TG7n4-002qBe-Mr>; Mon, 24 Sep 2012 14:29:34 +0200 Received: from e178019000.adsl.alicedsl.de ([85.178.19.0] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1TG7n4-0005U5-Iq>; Mon, 24 Sep 2012 14:29:34 +0200 Message-ID: <5060522E.6050408@zedat.fu-berlin.de> Date: Mon, 24 Sep 2012 14:29:34 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120910 Thunderbird/15.0.1 MIME-Version: 1.0 To: Chris Rees References: <506031F0.5050202@zedat.fu-berlin.de> In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE8413DB8AA3A8197BA00B605" X-Originating-IP: 85.178.19.0 Cc: Boris Samorodov , Ports FreeBSD Subject: Re: How to maintain a manual download in a download restricted port? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2012 12:29:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE8413DB8AA3A8197BA00B605 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 09/24/12 12:21, schrieb Chris Rees: > On 24 Sep 2012 11:12, "O. Hartmann" wrote= : >> >> Hello. >> >> I deal with an "in spe" port, which does provide the source tarball fr= om >> the website via a PHP interface - so, no automatic fetch() seems to be= >> possible. >> >> To provide the port in due time, I'd like to ask the people here how t= o >> manage in the port's "Makefile" to refer the user to download manually= >> the sources, place them in ${DISTDIR} and restart installation. >> >> I tried to have my eyes on some ports like java/jdk16, but, to be >> honest, the Makefile is not very convenient for my fast eyes to read a= nd >> it seems there are many workarounds which are not necessary for a simp= le >> port. >> >> Maybe one of you is willing to answer me. Is there an elegant, BSDish >> way to provide the message and stop doing the automatic fetch? I >> couldn't find something in the "Porter's Handbook", but sometimes I'm >> blind ;-) If there is a statement on that subject in the handbook, >> please do not hesitate to refer to the section. >> >=20 > http://www.freebsd.org/doc/en/books/porters-handbook/book.html#AEN3090 >=20 > This appears to be a new feature- I didn't know about it either :) >=20 > Chris >=20 Thank you. I tried - but failed again. When setting those variables to: NOFETCHFILES=3D ${DISTFILES} or RESTRICTED_FILES=3D ${DISTFILES} and having =2Eif !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) IGNORE=3D \n IGNORE+=3D Due to download restrictions please download the source IGNORE+=3D tarball ${DISTNAME}${EXTRACT_SUFX} manually IGNORE+=3D and place the it in ${DISTDIR} and start again. IGNORE+=3D \n =2Eendif Somehow I expect that setting those "RESTRICTED" or "NOFETCHFILES" variables will make the script automatically not fetching anything - but whenever I start the build via "make all", the first step is that the DISTFILES are getting fetched - or tried to get fetched. This is what I need to avaoid completely. Oliver --------------enigE8413DB8AA3A8197BA00B605 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQYFIuAAoJEOgBcD7A/5N8JLcH/0LF3YyuJic4VTbTUHUP+flH JT/vMm/bKWNkh7npm6yYNupVqraAIfJrKUgDBDNirjKiSqWWBTQulTCXqn48VA+2 bP8nHryuMxGwoNgSB6xt1OhZ3RhGFl4CtkXS2HHtHJiO3m8bHcs+T+ptYeQUClvp 56Wy9C2dgUx9gcHpUALsE0hkux/v+kcqxAZpDhMBnM4jnpQjusNLXV0Fj0ywFYFL 1QCtLSr9ISMFd5eCl0C9H06fUCKuBXpHPb4y/7P9E2uHQY4MULX5Ut8+XeiIPqdO S/svxrUqIsUj51eHR1M8PZc63v1GuuGC6pmiobAafi6k9fQW4gfoBfMQ+RPw8TQ= =7OyY -----END PGP SIGNATURE----- --------------enigE8413DB8AA3A8197BA00B605--