This set of patches can be used to compile monit version 5.0_beta6. It
updates the existing Makefile used for version 4.10.1, and includes a
fixed version of the patch to disable SSL support (line numbers
changed).

I wanted to upgrade to 5.0_beta6 in order to get monit working as part
of inittab. For reference, here is the line I added to /etc/inittab:
::respawn:/usr/sbin/monit -Ic /etc/monitrc

hope these patches came out correctly.

Signed-off-by: Dan Brown <[email protected]>



Index: package/feeds/packages/monit/update_Makefile
===================================================================
--- Makefile.original   2009-02-21 21:25:46.000000000 -0800
+++ Makefile    2009-02-22 19:05:58.000000000 -0800
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk

 PKG_NAME:=monit
-PKG_VERSION:=4.10.1
+PKG_VERSION:=5.0_beta6
 PKG_RELEASE:=1

 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://www.tildeslash.com/monit/dist/
-PKG_MD5SUM:=d3143b0bbd79b53f1b019d2fc1dae656
+PKG_SOURCE_URL:=http://www.tildeslash.com/monit/dist/beta/
+PKG_MD5SUM:=a4d9224d08f885b46b418ede0fad592e

 include $(INCLUDE_DIR)/package.mk

Index: package/feeds/packages/monit/patches/001-no_sslv2.patch
===================================================================
--- a/ssl.c
+++ b/ssl.c
@@ -675,9 +675,11 @@
     ssl->method = SSLv23_client_method();
     break;

+#ifndef OPENSSL_NO_SSLV2
   case SSL_VERSION_SSLV2:
     ssl->method = SSLv2_client_method();
     break;
+#endif

   case SSL_VERSION_SSLV3:
     ssl->method = SSLv3_client_method();
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to