BTW, is there source code for DMS, so it can be ported to linux (not just the unpacker)?
You shouldn't use DMS anymore. There's a myriad of different DMS packers and unpackers, most of them created by patching existing binaries. Some of the have bugs, some of them produce buggy archives, some of them ignore errors.
Stay clear of DMS - use ADF or ADZ (gzipped ADF).