I always seem to forget what tool I use to checksum files when I'm building packages for macports, so here's a note for myself

openssl sha1 fossil-src-20100805100943.tar.gz 
openssl rmd160 fossil-src-20100805100943.tar.gz 
openssl md5 fossil-src-20100805100943.tar.gz 

OpenSSL should be available on most if not all unix/linux/osx like systems.

While I'm at it, here's a macports file for fossil scm

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- 
# vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem          1.0
name            fossil
version         20100805100943
categories      devel
maintainers     tchpc.tcd.ie:jtang
description     Fossil: Simple, high-reliability, distributed software configuration management
homepage        http://www.fossil-scm.org/
master_sites        http://www.fossil-scm.org/download
distfiles       ${name}-src-${version}${extract.suffix}
distname        ${name}
worksrcdir          ${name}-src-${version}
depends_lib     port:zlib

use_configure       no

checksums           md5     33c2cf512c72f5b153dbfc26867e16ed \
            sha1    8840609b75106a9d685486a2778d9b1319b37bc8 \
            rmd160  80b92c63fd431c35a793eddcab067e992de0bd3b


destroot.destdir  DESTDIR=${destroot} prefix=${prefix}

build.target        all

configure {}

destroot {
     xinstall -m 755 -d ${destroot}${prefix}/bin
     xinstall -m 755 ${worksrcpath}/fossil ${destroot}${prefix}/bin
}
Bookmark and Share