Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2012 14:58:07 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        =?UTF-8?B?0JHQvtGA0LjRgSDQodCw0LzQvtGA0L7QtNC+0LI=?= <bsam@passap.ru>
Cc:        Ports FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: How to maintain a manual download in a download restricted port?
Message-ID:  <506058DF.6000709@zedat.fu-berlin.de>
In-Reply-To: <506056BF.7000308@passap.ru>
References:  <506031F0.5050202@zedat.fu-berlin.de> <CADLo83-kNv4MApq1s3-4GZPYUuPFv8Z4L9o3HSb_nU=do0GoOw@mail.gmail.com> <5060522E.6050408@zedat.fu-berlin.de> <506056BF.7000308@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <ohartman@zedat.fu-berlin.de> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?506058DF.6000709>