Choose media to retrieve package index from

Get package index from a FreeBSD cdrom
Get package index through FTP
Get package index from a directory