Step though fetch and others

Bradley Giesbrecht brad at pixilla.com
Thu Feb 5 18:10:33 PST 2009


I want to contribute a port and I picked dbmail.

I installed macports via svn.
/opt/local/etc/macports/sources.conf:
file:///Users/brad/misc/MacPorts/ports [nosync]
file:///opt/mports/trunk/dports [default]

This seemed like the way to go to add my own ports.
Am I wrong?

With this configuration, if I do "port selfupdate" will macports check  
out or update from svn trunk?

I was mostly worried about having my own ports wiped out by updates  
but now I don't think that's an issue because, I just added them to my  
local repository, right?

So I have local_repo/mail/dbmail/Portfile:
name                dbmail
version             2.2.11
homepage            http://www.dbmail.org
master_sites        http://www.dbmail.org/download/2.2/
checksums           md5     d535587973d73b85469d92a35f52133b \
                     sha1    7b9c19de7ca14d849e8388377b8aa941f3f3538b \
                     rmd160  e8a506b850d1610b66059b685b7a2318ce5e37a9

According to what I've read it should be fetching from:
${master_sites}${name}-${version}.tar.gz

Well, there is definitely a file at that address. But I'm getting a  
html page download that's failing checksum besides not being what I  
want.

How do I step through the fetch process?

Or print to console the vars fetch is using?


Thank you all,
Brad



More information about the macports-dev mailing list