Changeset 2533
- Timestamp:
- 05/17/07 20:12:08 (2 years ago)
- Files:
-
- trunk/freewrt/package/tntnet/Config.in (modified) (2 diffs)
- trunk/freewrt/package/tntnet/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/package/tntnet/Config.in
r2351 r2533 5 5 select FWRT_PACKAGE_UCLIBCXX 6 6 select FWRT_PACKAGE_CXXTOOLS 7 select FWRT_PACKAGE_LIBOPENSSL8 7 select FWRT_PACKAGE_LIBICONV 9 8 select FWRT_PACKAGE_LIBGCC … … 16 15 http://www.tntnet.org 17 16 17 config 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 25 config 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 9 9 PKG_NAME:= tntnet 10 10 PKG_VERSION:= 1.5.3.6 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 2108da4e68b22b2e6260c21964cee685 13 13 … … 18 18 $(eval $(call PKG_template,TNTNET,tntnet,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) 19 19 20 SSL:=--without-ssl 21 ifeq ($(FWRT_COMPILE_TNTNET_WITH_OPENSSL),y) 22 SSL:=--with-ssl=openssl 23 PKG_DEPEND+=", libopenssl" 24 endif 25 ifeq ($(FWRT_COMPILE_TNTNET_WITH_GNUTLS),y) 26 SSL:=--with-ssl=gnutls 27 PKG_DEPEND+=", libgnutls" 28 endif 29 20 30 TCXXFLAGS+= -fno-builtin -nostdinc++ 21 31 TLDFLAGS+= -luClibc++ -liconv -lpthread -lcxxtools -nodefaultlibs 22 32 CONFIGURE_STYLE:= gnu 23 CONFIGURE_ARGS+= --with-ssl=openssl --without-epoll \ 33 CONFIGURE_ARGS+= ${SSL} \ 34 --without-epoll \ 24 35 --without-sdk --without-cgi --without-sendfile 25 36 CONFIGURE_ENV+= LIBS="-luClibc++ -lz -lpthread -lcxxtools" \


