Page MenuHomeFreeBSD

`make fetchindex' may leave a corrupt INDEX file
Needs ReviewPublic

Authored by wosch on Jan 28 2018, 12:24 PM.

Details

Reviewers
lme
mat
Group Reviewers
portmgr
Summary

As described in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224871

the `make fetchindex' may leave a corrupt INDEX file

Another issue is: the fetch command runs in mirror mode (-am), but the INDEX.bz2 file will be deleted after extracted. That does not make sense.

Last but not least I think we should display a message where we download the INDEX file.

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

wosch created this revision.Jan 28 2018, 12:24 PM
lme added a comment.Feb 1 2018, 2:17 PM

I'm leaving this to mat...

bapt added a subscriber: bapt.Jun 4 2019, 9:41 PM
bapt added inline comments.
Makefile
81

why not just saying fetch ${MASTER_SITE_INDEX}/... instead of nameing the file and repeating again?