Changeset 2533

Show
Ignore:
Timestamp:
05/17/07 20:12:08 (2 years ago)
Author:
wbx
Message:

make a menue entry for openssl/gnutls support

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/tntnet/Config.in

    r2351 r2533  
    55        select FWRT_PACKAGE_UCLIBCXX 
    66        select FWRT_PACKAGE_CXXTOOLS 
    7         select FWRT_PACKAGE_LIBOPENSSL 
    87        select FWRT_PACKAGE_LIBICONV 
    98        select FWRT_PACKAGE_LIBGCC 
     
    1615          http://www.tntnet.org 
    1716 
     17config FWRT_COMPILE_TNTNET_WITH_OPENSSL 
     18        prompt "enable openssl encryption support" 
     19        bool 
     20        default n 
     21        depends FWRT_PACKAGE_TNTNET 
     22        select FWRT_PACKAGE_LIBOPENSSL 
     23        help 
     24 
     25config FWRT_COMPILE_TNTNET_WITH_GNUTLS 
     26        prompt "enable gnutls encryption support" 
     27        bool 
     28        default n 
     29        depends FWRT_PACKAGE_TNTNET 
     30        select FWRT_PACKAGE_LIBGNUTLS 
     31        help 
     32 
  • trunk/freewrt/package/tntnet/Makefile

    r2488 r2533  
    99PKG_NAME:=              tntnet 
    1010PKG_VERSION:=           1.5.3.6 
    11 PKG_RELEASE:=           1 
     11PKG_RELEASE:=           2 
    1212PKG_MD5SUM:=            2108da4e68b22b2e6260c21964cee685 
    1313 
     
    1818$(eval $(call PKG_template,TNTNET,tntnet,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) 
    1919 
     20SSL:=--without-ssl 
     21ifeq ($(FWRT_COMPILE_TNTNET_WITH_OPENSSL),y) 
     22SSL:=--with-ssl=openssl 
     23PKG_DEPEND+=", libopenssl" 
     24endif 
     25ifeq ($(FWRT_COMPILE_TNTNET_WITH_GNUTLS),y) 
     26SSL:=--with-ssl=gnutls 
     27PKG_DEPEND+=", libgnutls" 
     28endif 
     29 
    2030TCXXFLAGS+=             -fno-builtin -nostdinc++ 
    2131TLDFLAGS+=              -luClibc++ -liconv -lpthread -lcxxtools -nodefaultlibs 
    2232CONFIGURE_STYLE:=       gnu 
    23 CONFIGURE_ARGS+=        --with-ssl=openssl --without-epoll \ 
     33CONFIGURE_ARGS+=        ${SSL} \ 
     34                        --without-epoll \ 
    2435                        --without-sdk --without-cgi --without-sendfile 
    2536CONFIGURE_ENV+=         LIBS="-luClibc++ -lz -lpthread -lcxxtools" \