CVSROOT: /cvs Module name: ports Changes by: es...@cvs.openbsd.org 2013/05/08 02:38:37
Modified files: infrastructure/mk: bsd.port.mk infrastructure/lib/DPB: Fetch.pm Log message: revisit old codes, rewrite DISTFILES handling using .for v1 v2 in list techniques, which make it clearer. Add new syntax to distfiles, which is not painful to do now, and support it for dpb fetch as well: a distfile can now be file{url} to specify a different result from the url (this allows really weird naming scheme on http sites to give us consistent files, which has become a nagging problem). This still doesn't mean you shouldn't encourage upstream to do the right thing and provide nice archive urls. extend the fetch process in bsd.port.mk to work more like dpb does, namely download to intermediate "part" files that don't vanish and use -C if necessary. Both those mean that FETCH_CMD has to work like ftp, including the -C and -o support... discussed with various people.