diff options
-rw-r--r-- | groups/241.native_packages_inet.group | 8 | ||||
-rw-r--r-- | patches/elinks-0.15.0_pre.local.patch | 65 |
2 files changed, 72 insertions, 1 deletions
diff --git a/groups/241.native_packages_inet.group b/groups/241.native_packages_inet.group index 1f20f15d..40cad286 100644 --- a/groups/241.native_packages_inet.group +++ b/groups/241.native_packages_inet.group @@ -3,7 +3,7 @@ # GROUP_TARGET="native_packages"; NATIVE_PACKAGES_PACKAGES="$(rtl_lconcat "${NATIVE_PACKAGES_PACKAGES}" " -apk_tools aria2 bind ca_certificates curl dropbear fetchmail git gnupg gpgme +apk_tools aria2 bind ca_certificates curl dropbear elinks fetchmail git gnupg gpgme gnutls httpd icecast inetutils irssi isync ldns lighttpd links lynx mailutils microsocks mutt nginx ngircd nullmailer openlitespeed opensmtpd openssh proxytunnel rsync socat thttpd w3m weechat wget wget2 whois")"; @@ -42,6 +42,12 @@ proxytunnel rsync socat thttpd w3m weechat wget wget2 whois")"; : ${PKG_DROPBEAR_VERSION:=2020.81}; : ${PKG_DROPBEAR_URL:=http://repository.timesys.com/buildsources/d/dropbear/dropbear-${PKG_DROPBEAR_VERSION}/dropbear-${PKG_DROPBEAR_VERSION}.tar.bz2}; : ${PKG_DROPBEAR_CONFIGURE_ARGS_EXTRA:=--disable-loginfunc}; +: ${PKG_ELINKS_DEPENDS:="gnutls libgcrypt libevent expat xz bzip2 ncurses zstd libz"}; +: ${PKG_ELINKS_SHA256SUM:=bf2e9d752921f2d83a7dcac1062c37ae6c8d7c4057d8537abe1c42fbac946fb3}; +: ${PKG_ELINKS_VERSION:=0.15.0}; +: ${PKG_ELINKS_URL:=https://github.com/rkd77/elinks/releases/download/v${PKG_ELINKS_VERSION}/elinks-${PKG_ELINKS_VERSION}.tar.xz}; +: ${PKG_ELINKS_CONFIGURE_ARGS_EXTRA:="--enable-fastmem --enable-88-colors --enable-256-colors --enable-true-color --enable-leds --enable-gemini --enable-gopher --enable-html-highlight --enable-fsp --with-terminfo --with-libevent --with-lzma --with-gnutls --without-spidermonkey --without-x"}; +: ${PKG_ELINKS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/ncurses"}; : ${PKG_FETCHMAIL_DEPENDS:="libressl"}; : ${PKG_FETCHMAIL_SHA256SUM:=c7500bed3b0bb85722f7cf2d980e74a879ac57b13cfd225d278179d671c0f5e8}; : ${PKG_FETCHMAIL_VERSION:=6.4.0.beta4}; diff --git a/patches/elinks-0.15.0_pre.local.patch b/patches/elinks-0.15.0_pre.local.patch new file mode 100644 index 00000000..e57afb81 --- /dev/null +++ b/patches/elinks-0.15.0_pre.local.patch @@ -0,0 +1,65 @@ +diff -ru elinks-0.15.0.orig/configure elinks-0.15.0/configure +--- elinks-0.15.0.orig/configure 2021-12-24 20:57:15.000000000 +0100 ++++ elinks-0.15.0/configure 2022-01-01 15:57:15.992481385 +0100 +@@ -13347,59 +13347,9 @@ + + chosen_ssl_library="GNUTLS" + +- # Extract the first word of "libgcrypt-config", so it can be a program name with args. +-set dummy libgcrypt-config; ac_word=$2 +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +-printf %s "checking for $ac_word... " >&6; } +-if test ${ac_cv_path_LIBGCRYPT_CONFIG+y} +-then : +- printf %s "(cached) " >&6 +-else $as_nop +- case $LIBGCRYPT_CONFIG in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- case $as_dir in #((( +- '') as_dir=./ ;; +- */) ;; +- *) as_dir=$as_dir/ ;; +- esac +- for ac_exec_ext in '' $ac_executable_extensions; do +- if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then +- ac_cv_path_LIBGCRYPT_CONFIG="$as_dir$ac_word$ac_exec_ext" +- printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +- done +-IFS=$as_save_IFS +- +- test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no" +- ;; +-esac +-fi +-LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG +-if test -n "$LIBGCRYPT_CONFIG"; then +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5 +-printf "%s\n" "$LIBGCRYPT_CONFIG" >&6; } +-else +- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-printf "%s\n" "no" >&6; } +-fi +- +- +- if test "$LIBGCRYPT_CONFIG" = no; then +- as_fn_error $? "libgcrypt-config not found." "$LINENO" 5 +- fi +- + # gcry_create_nounce is part of libgcrypt +- LIBGCRYPT_CFLAGS=`libgcrypt-config --cflags` +- LIBGCRYPT_LIBS=`libgcrypt-config --libs` ++ LIBGCRYPT_CFLAGS=`$PKG_CONFIG --cflags libgcrypt` ++ LIBGCRYPT_LIBS=`$PKG_CONFIG --libs libgcrypt` + + LIBS="$LIBGCRYPT_LIBS $GNUTLS_LIBS $LIBS" + |