Index: ipk/source.sh4/network_ipsec/CONTROL/postinst
===================================================================
--- ipk/source.sh4/network_ipsec/CONTROL/postinst	(revision 45364)
+++ ipk/source.sh4/network_ipsec/CONTROL/postinst	(revision 45366)
@@ -1,8 +1,16 @@
 #!/bin/sh
+
+ARCH=$(cat /etc/.arch)
 
 if [ -e /etc/.oebuild ];then
 	opkg update
-	opkg install minisatip
-	opkg install titan-plugin-minisatip --dest $1
+	opkg install strongswan
+	if [ "$ARCH" == "sh4" ];then
+		opkg install kernel-module-aes-generic
+		opkg install kernel-module-sha1-generic
+	fi
+	opkg install iptables
+	opkg install iptables-module-xt-policy
+	opkg install titan-plugin-ipsec --dest $1
 fi
 
