On 07.01.2012 14:01 (UTC+1), Da Rock wrote:
On 01/07/12 19:11, Gary Jennejohn wrote:
On Sat, 07 Jan 2012 12:46:54 +1000
Da Rock<freebsd-po...@herveybayaustralia.com.au> wrote:

And finally checksums: I create a checksum for the port, the linux sites
have checksums, and I was advised in passing to check the checksums
match. The checksums are going to differ aren't they? Linux and BSD
checksums wouldn't be the same, surely?

MD5 checksums should always match - it's the same algorithm. Not sure
what the various distros use for Linux.

Thats my point - linux uses SHA256 I believe.


If I am not totally wrong here, FreeBSD has changed its ports checksums towards SHA256 for a while now. See for example

#head emulators/linux_base-f10/distinfo.i386
SHA256 (rpm/i386/fedora/10/basesystem-10.0-1.noarch.rpm) = 16ad30fc4e4efbb61c62dc2c6ec55d66273a51579421b3a7e12114f9e5313b05
SIZE (rpm/i386/fedora/10/basesystem-10.0-1.noarch.rpm) = 2915
SHA256 (rpm/i386/fedora/10/bash-3.2-30.fc10.i386.rpm) = 83e29d12db4274568b612d61945669cf520222b20ca4dcfba995ccdda48d3afb
SIZE (rpm/i386/fedora/10/bash-3.2-30.fc10.i386.rpm) = 1887256
SHA256 (rpm/i386/fedora/10/bzip2-1.0.5-3.fc10.i386.rpm) = 2b70c36689f5bff15309c360f479f67bdcb5defcb1bbd7d24505bbb53b7a5360
SIZE (rpm/i386/fedora/10/bzip2-1.0.5-3.fc10.i386.rpm) = 50129
SHA256 (rpm/i386/fedora/10/bzip2-libs-1.0.5-3.fc10.i386.rpm) = 6c2ff130e5114c5d7cf5e0d5a30c7cd10c92e2602c1a4c12bc94f3f53ab47998
SIZE (rpm/i386/fedora/10/bzip2-libs-1.0.5-3.fc10.i386.rpm) = 39174
SHA256 (rpm/i386/fedora/10/compat-db-4.6.21-5.fc10.i386.rpm) = bead077a94f027f3cc1c115c9ea8602f5807c1e23242b355befdbb1149ad2168
SIZE (rpm/i386/fedora/10/compat-db-4.6.21-5.fc10.i386.rpm) = 10267


And thats not my biggest problem. As I suspected the linux sites have
removed the rpm, so I have to either find it on a host somewhere or host
it myself. My goal is to somehow prepend MASTERSITES to look to my host
first, then one of the linux sites, then a backup host? and hopefully
one will hit if mine is down for whatever reason.

Has anyone had any experience with rpm.pbone.net?

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to