I have ported the uc_auspost module to drupal 6/ubercart 2. The base code is the original ubercart 1 uc_auspost module which can be found here http://www.ubercart.org/comment/10283/Re_Hi_Again_Herere_few_error.
I used the ubercart 2 uc_ups and uc_usps modules as a guide. there are quite a few changes to the original uc_auspost code. For those interested, here are some of the changes/details.
* There are now two conditional actions to see if the destination country is Australia or "not Australia". If so, a domestic function is called, if not an international function is called. It is much the same as how uc_usps does it.
* Because of the two conditional actions, there are now two Shipping methods, Australia Post and Australia Post (Intl.). So enable them both if you want to ship everywhere in the world.
* In the Shipping quote settings for auspost the domestic and international services are now split into two groups.
* I removed the option to package similar items together. I went with what ups and usps have and that is "Each in its own package" and "All in one".
* One thing that is important to note is that even if you have "All in one" selected and a customer orders only one product but with a quantity more than 1, the number of identical products in the package will depond on the "Package quantity" setting for that product. e.g. if this is set to one, then one package will be created for every item and will not put them "All in one" package. So it is important to set the "Package quantity" for each product. This is the way the ups and usps modules seem to do it.
* I took out some of the custom length and weight conversion functions and am using uc_weight_conversion() and uc_length_conversion().
* When "Each in its own package" is selected, the dimensions of the product are sent to the online delivery calculator. When things are packaged "All in one" I used the same dummy dimensions (250mm x 250mm x 250mm). Maybe this is something that can be worked on in the future.
1. Upload the module to your ubercart/contrib directory and enable it on your Drupal site.
2. Enable shipping method at admin/store/settings/quotes/methods
3. Configure the auspost settings at admin/store/settings/quotes/methods/auspost
I have tested the module and it seems to behave itself but it needs some more testing from the community.