Subject: multiple distfiles, but different master sites
To: None <tech-pkg@netbsd.org>
From: Dan McMahill <dmcmahill@netbsd.org>
List: tech-pkg
Date: 09/11/2003 18:22:23
I'm working on adding some vendor supplied patches to a package and have
the following issue.  The two 'patches' are actually just tar files which
should be extracted over the old code before building.  Also, these two
files live in a different directory on the ftp server than the main
distfile and they are (ugh) not versioned.

So my questions are

1)  do I just list the other site in MASTER_SITES knowing it will take
a few tries before 'make fetch' gets to that location?

2)  Should I just do something like:
post-extract:
	cd ${WRKSRC}/path/to/stuff && ${EXTRACT_CMD} ${DISTDIR}/fix1.tar.gz
	cd ${WRKSRC}/path/to/otherstuff && ${EXTRACT_CMD} ${DISTDIR}/fix2.tar.gz

to get the files extracted?

Thanks
-Dan

--