Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2012 14:29:34 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Chris Rees <utisoft@gmail.com>
Cc:        Boris Samorodov <bsam@passap.ru>, Ports FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: How to maintain a manual download in a download restricted port?
Message-ID:  <5060522E.6050408@zedat.fu-berlin.de>
In-Reply-To: <CADLo83-kNv4MApq1s3-4GZPYUuPFv8Z4L9o3HSb_nU=do0GoOw@mail.gmail.com>
References:  <506031F0.5050202@zedat.fu-berlin.de> <CADLo83-kNv4MApq1s3-4GZPYUuPFv8Z4L9o3HSb_nU=do0GoOw@mail.gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5060522E.6050408>