wok-6.x diff lynx/receipt @ rev 25104

Up klavaro (1.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 08:45:04 2022 +0000 (2022-06-22)
parents ede1d184d5c5
children
line diff
     1.1 --- a/lynx/receipt	Mon Feb 14 17:51:14 2022 +0000
     1.2 +++ b/lynx/receipt	Wed Jun 22 08:45:04 2022 +0000
     1.3 @@ -6,14 +6,14 @@
     1.4  SHORT_DESC="Terminal-based text-only browser."
     1.5  MAINTAINER="samuel_trassare@yahoo.com"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="https://lynx.browser.org/"
     1.8 +WEB_SITE="https://lynx.invisible-island.net/"
     1.9  
    1.10  TARBALL="$PACKAGE${VERSION/rel/rel.}.tar.bz2"
    1.11  WGET_URL="https://invisible-mirror.net/archives/$PACKAGE/tarballs/$TARBALL"
    1.12  
    1.13  # Will require build dep libtirpc after glibc is upgraded to 2.14.
    1.14 -DEPENDS="libssl ncurses zlib"
    1.15 -BUILD_DEPENDS="ncurses-dev openssl-dev zlib-dev"
    1.16 +DEPENDS="libssl ncursesw zlib"
    1.17 +BUILD_DEPENDS="libtirpc ncursesw-dev openssl-dev zlib-dev patch"
    1.18  
    1.19  HOST_ARCH="i486 arm"
    1.20  
    1.21 @@ -27,6 +27,9 @@
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 +	# LFS security patch
    1.26 +	patch -Np1 -i $stuff/lynx-2.8.9rel.1-security_fix-1.patch || return 1
    1.27 +
    1.28  	./configure $CONFIGURE_ARGS	\
    1.29  		--sysconfdir=/etc	\
    1.30  		--mandir=/usr/share/man	\
    1.31 @@ -36,8 +39,9 @@
    1.32  		--with-ssl		\
    1.33  		--with-gnutls		\
    1.34  		--with-zlib		\
    1.35 +		--with-screen=ncursesw	\
    1.36  		--with-nss-compat &&
    1.37 -	make -j 1 && 
    1.38 +	make && 
    1.39  	make install
    1.40  }
    1.41