From owner-freebsd-ports@FreeBSD.ORG Mon Sep 24 12:58:10 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59346106567A for ; Mon, 24 Sep 2012 12:58:10 +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 0AF2E8FC15 for ; Mon, 24 Sep 2012 12:58:09 +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 <1TG8Ei-002x1c-W7>; Mon, 24 Sep 2012 14:58:09 +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 <1TG8Ei-0007uP-Ru>; Mon, 24 Sep 2012 14:58:08 +0200 Message-ID: <506058DF.6000709@zedat.fu-berlin.de> Date: Mon, 24 Sep 2012 14:58:07 +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: =?UTF-8?B?0JHQvtGA0LjRgSDQodCw0LzQvtGA0L7QtNC+0LI=?= References: <506031F0.5050202@zedat.fu-berlin.de> <5060522E.6050408@zedat.fu-berlin.de> <506056BF.7000308@passap.ru> In-Reply-To: <506056BF.7000308@passap.ru> X-Enigmail-Version: 1.4.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig52498DCD61AA92AE08ACDB4B" X-Originating-IP: 85.178.19.0 Cc: 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:58:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig52498DCD61AA92AE08ACDB4B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 09/24/12 14:49, schrieb =D0=91=D0=BE=D1=80=D0=B8=D1=81 =D0=A1=D0=B0=D0= =BC=D0=BE=D1=80=D0=BE=D0=B4=D0=BE=D0=B2: > 24.09.2012 16:29, O. Hartmann =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> Am 09/24/12 12:21, schrieb Chris Rees: >>> On 24 Sep 2012 11:12, "O. Hartmann" wro= te: >>>> >>>> Hello. >>>> >>>> I deal with an "in spe" port, which does provide the source tarball >>>> from >>>> 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= to >>>> manage in the port's "Makefile" to refer the user to download manual= ly >>>> 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= >>>> and >>>> it seems there are many workarounds which are not necessary for a >>>> simple >>>> port. >>>> >>>> Maybe one of you is willing to answer me. Is there an elegant, BSDis= h >>>> 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. >>>> >>> >>> http://www.freebsd.org/doc/en/books/porters-handbook/book.html#AEN309= 0 >>> >>> This appears to be a new feature- I didn't know about it either :) >>> >>> Chris >>> >> >> >> Thank you. >> >> I tried - but failed again. >=20 > Hm, this is not my e-mail you replied to. I suggested a little bit > different section. It was 6.2.6. "Examples". >=20 >> When setting those variables to: >> >> NOFETCHFILES=3D ${DISTFILES} >> >> or >> >> RESTRICTED_FILES=3D ${DISTFILES} >> >> and having >> .if !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 >> .endif >> >> Somehow I expect that setting those "RESTRICTED" or "NOFETCHFILES" >> variables will make the script automatically not fetching anything - b= ut >> 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. >=20 > And here is my first question: have you read the section 6.2.6. to > the end? I.e. have you noticed the mandatory recommendation > "Note that this stanza must be preceded by..."? Of course, I did NOT read the section to its end although it is very short :-( Sorry. --------------enig52498DCD61AA92AE08ACDB4B 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) iQEcBAEBAgAGBQJQYFjfAAoJEOgBcD7A/5N8eiYIAOTeI5HKHLDD2b8Hdh83wVo+ /KD6pNA4tWnBXaNdH0vZF9Y11dM9aZKgOHFvSQRfXhjEPKRtdv1hzU4JOvA95/s8 g2+Mc7uRvBm0RJFoBNKEyWiHs99hm5XBkOpokXrL1Tbf3zjXJoitNkTqoavQGLbE Cpb4MjfvHhSIJ6SkxDEc8/CMZtiAcGOAhXTC1j0T5IyPcPsVA5zhlih5KjGwJfCq ZfydcSYkgIbMBHyW5R43N1tj2MI/27QrQdakUJ9EZ+ag32A9ATN2CKaW4NbXw1l4 cQoxdFdqWecPvHH/isMJpvV3dHZi8ItevDzGhPPdFzltTtCfkopKGQhR93iiCjo= =ixz6 -----END PGP SIGNATURE----- --------------enig52498DCD61AA92AE08ACDB4B--