From c3c1a75bf8273d581da32670e9a4e2cbd6bb40a5 Mon Sep 17 00:00:00 2001
From: Vincent Cheng <Vincentc1208@gmail.com>
Date: Wed, 17 Apr 2013 01:18:35 -0700
Subject: [PATCH 6/6] Include polarssl plugin, remove reference to matrixssl
 in d/control

---
 debian/control |    4 ++--
 debian/rules   |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 56c533c..bb5ef07 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: monkey
 Section: httpd
 Priority: optional
 Maintainer: Eduardo Silva <edsiper@gmail.com>
-Build-Depends: debhelper (>= 7.0.50~), autotools-dev
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libpolarssl-dev
 Standards-Version: 3.9.1
 Homepage: http://monkey-project.com
 Vcs-Git: git://git.monkey-project.com/monkey
@@ -10,7 +10,7 @@ Vcs-Browser: http://git.monkey-project.com/?p=monkey
 
 Package: monkey
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libmatrixssl3.2 (>= 3.2)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Fast and lightweight Web Server for Linux.
  Monkey HTTP Daemon has been designed to be very scalable with low memory 
  and CPU consumption, the perfect solution for embedded environments. It 
diff --git a/debian/rules b/debian/rules
index 2440cc8..6c06994 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 	dh $@ --with autotools_dev
 
 override_dh_auto_configure:
-	dh_auto_configure -- --prefix=/usr	\
+	./configure --prefix=/usr	\
 		--bindir=/usr/sbin		\
 		--mandir=/usr/share/man		\
 		--sysconfdir=/etc/monkey	\
@@ -12,5 +12,5 @@ override_dh_auto_configure:
 		--logdir=/var/log/monkey	\
 		--default-user=www-data 	\
 		--plugdir=/usr/lib/monkey	\
-		--enable-plugins="auth,liana,liana_ssl,mandril,cheetah,cgi,logger,palm,dirlisting"    \
+		--enable-plugins="auth,liana,liana_ssl,mandril,cheetah,cgi,logger,dirlisting,polarssl"    \
 		--disable-plugins="*"
-- 
1.7.10.4

