Hi all,

I managed to put irssi to use the ssl library.
the option can be configured via menu

Patch attached.

Clemens


Index: package/irssi/Config.in
===================================================================
--- package/irssi/Config.in     (Revision 2168)
+++ package/irssi/Config.in     (Arbeitskopie)
@@ -9,3 +9,12 @@
          
          http://irssi.org
 
+
+config FWRT_PACKAGE_IRSSI_SSL
+        bool "  Enable SSL/TLS support"
+        depends FWRT_PACKAGE_IRSSI
+        select FWRT_PACKAGE_LIBOPENSSL
+        default n
+        help
+          Enable this to be able to chat more securely.
+
Index: package/irssi/Makefile
===================================================================
--- package/irssi/Makefile      (Revision 2168)
+++ package/irssi/Makefile      (Arbeitskopie)
@@ -27,12 +27,19 @@
                        --without-terminfo \
                        --without-bot \
                        --without-file-offset-size \
-                       --without-ssl \
-                       --disable-ssl \
                        --disable-ipv6 \
                        --disable-proxy \
                        --enable-static \
                        --with-glib-prefix=${STAGING_DIR}/usr
+
+ifeq (${FWRT_PACKAGE_IRSSI_SSL},y)
+CONFIGURE_ARGS+=        --with-ssl='${STAGING_DIR}/usr'
+PKG_DEPENDS:=           openssl
+else
+CONFIGURE_ARGS+=        --without-ssl
+PKG_DEPENDS:=
+endif
+
 BUILD_STYLE=           auto
 
 do-install:

_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to