Changeset f78c412 in freewrt


Ignore:
Timestamp:
Jun 26, 2007, 3:31:38 PM (18 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Children:
ee44276
Parents:
e3110e9
Message:

let the user decide if ssl should be enabled, requested by ms@

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2923 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/lighttpd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • package/lighttpd/Config.in

    re3110e9 rf78c412  
    55        tristate
    66        default n
    7         select FWRT_PACKAGE_LIBOPENSSL
    87        select FWRT_PACKAGE_LIBPCRE
    98        help
     
    1110         
    1211          http://www.lighttpd.net/
    13          
    14           Depends: libopenssl, libpcre
     12
     13choice
     14prompt "SSL Configuration"
     15depends on FWRT_PACKAGE_LIGHTTPD
     16default FWRT_COMPILE_LIGHTTPD_WITHOUT_OPENSSL
     17
     18config FWRT_COMPILE_LIGHTTPD_WITHOUT_OPENSSL
     19        bool "no ssl encryption support"
     20        help
     21
     22config FWRT_COMPILE_LIGHTTPD_WITH_OPENSSL
     23        bool "enable openssl encryption support"
     24        depends FWRT_PACKAGE_LIGHTTPD
     25        select FWRT_PACKAGE_LIBOPENSSL
     26        help
     27
     28endchoice
    1529
    1630config FWRT_PACKAGE_LIGHTTPD_MOD_ACCESSLOG
  • package/lighttpd/Makefile

    re3110e9 rf78c412  
    99PKG_NAME:=              lighttpd
    1010PKG_VERSION:=           1.4.15
    11 PKG_RELEASE:=           1
     11PKG_RELEASE:=           2
    1212PKG_MD5SUM:=            d2ceaaf242b2b3593ff4d8222d543649
    1313MASTER_SITES:=          http://www.lighttpd.net/download/
     
    6060$(eval $(call PKG_mod_template,LIGHTTPD_MOD_WEBDAV,webdav))
    6161
     62SSL:=--without-openssl
     63ifeq ($(FWRT_COMPILE_LIGHTTPD_WITH_OPENSSL),y)
     64SSL:=--with-openssl="$(STAGING_DIR)/usr"
     65PKG_DEPEND+=", libopenssl"
     66endif
     67
    6268TCPPFLAGS+=             -I$(STAGING_DIR)/usr/include/libxml2
    6369CONFIGURE_STYLE=        gnu
    6470CONFIGURE_ENV+=         PCRE_LIB="-lpcre"
    65 CONFIGURE_ARGS+=        --libdir=/usr/lib/lighttpd \
     71CONFIGURE_ARGS+=        ${SSL} \
     72                        --libdir=/usr/lib/lighttpd \
    6673                        --sysconfdir=/etc/lighttpd \
    6774                        --without-attr \
     
    7380                        --without-memcache \
    7481                        --without-mysql \
    75                         --with-openssl="$(STAGING_DIR)/usr" \
    7682                        --with-pcre \
    7783                        --without-valgrind \
Note: See TracChangeset for help on using the changeset viewer.