John - Is your contrib for SME9 only? I'd be happy to help with testing, but I have a mixture of 9s and 8.1s, and my own server is still @ 8.1! 
The code should work on both. Only difference is that v9/CentOS6 has libreswan in a standard repo but v8 doesn't. I think there is one minor setting in the masq template that won't affect SME 8 anyway i.e. there is a CentOS 6 specific setting there that won't affect CentOS 5 I believe.
You can get my el5 rpm here :
http://www.reetspetit.com/smeserver/5/repoview/libreswan.htmlyum localinstall and then use the code from git -
make sure you use the 0.4 branch. Just copy it to the right places. I *think* you need a
signal-event initialize-default-databases
and possibly
signal-event post-upgrade
(not got that far yet !!!!)
That should set the minimum default settings for a connection. You need to add the specifics for your IPs and passwords etc to the ipsec_connections file, enable ipsec itself, and the connection, and then run signal-event ipsec-update.
Remember this is effectively for a peer to peer (LAN - LAN) connection. I need to sort out L2TPD for dialup ones from mobiles etc.
To connect OUT you need auto=start
For just incoming use auto=add
There are a few notes on settings in git. Note there is no panel yet, but should be easy enough for someone to build one later. Just wanted the basic thing working first.
I'll try and roll a contrib RPM asap - just up to my neck in stuff right now ! Probably be tomorrow.
Fire away of you have questions.
B. Rgds
John