pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/mk/fetch



On 17/09/15 15:25, David Sainty wrote:
On 17/09/15 07:48, Joerg Sonnenberger wrote:
On Wed, Sep 16, 2015 at 01:29:11PM +1200, David Sainty wrote:
On 16/09/15 01:16, Joerg Sonnenberger wrote:
On Tue, Sep 15, 2015 at 06:26:45PM +1200, David Sainty wrote:
On 14/09/15 03:03, Joerg Sonnenberger wrote:
Module Name:    pkgsrc
Committed By:    joerg
Date:        Sun Sep 13 15:03:57 UTC 2015

Modified Files:
    pkgsrc/mk/fetch: bsd.fetch-vars.mk fetch.mk

Log Message:
Introduce IGNORE_INTERACTIVE_FETCH to allow trying to fetch files from the override site, even for INTERACTIVE_STATE=stage or FETCH_MESSAGE.
Ignore all backup sites as they won't have the distfile anyway, the
fetch wouldn't be interactive in first place otherwise.

This breaks for PKG_RESUME_TRANSFERS=yes.

Works perfectly fine here giving the FETCH_MESSAGE.


You could try a different package that you do normally install that has an interactive fetch (I.e. you have interactively fetched the distfiles already). Or creating zero length stub distfiles would also simulate my scenario:

cd lang/oracle-jre8
d=`make show-var VARNAME=DISTDIR`; touch "$d/jce_policy-8.zip" "$d/jre-8u60-linux-i586.tar.gz"
make PKG_RESUME_TRANSFERS=yes install

More portably:

cd lang/oracle-jre8
d=`make show-var VARNAME=DISTDIR`; f=`make show-var VARNAME=DISTFILES`; ( cd "$d" && touch $f )
make PKG_RESUME_TRANSFERS=yes install




Home | Main Index | Thread Index | Old Index