From 258e93b2f6cd689219bc8c43cd9fdd27d9604ff3 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz (arab, vxp) Date: May 14 2018 18:01:03 +0000 Subject: vars/build.vars:native_packages_etc: adds ca_certificates (via Redfoxmoon.) vars/ca_certificates.vars: via Redfoxmoon. --- diff --git a/vars/build.vars b/vars/build.vars index e477145..6b48b1b 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -1004,8 +1004,13 @@ patch patchutils perl python2 python3 ruby smallbasic tcl"; # # Packages list native_packages_etc NATIVE_PACKAGES_ETC_PACKAGES=" -cron debianutils hexcurse htop infounzip infozip john less mc mintty nano ncdu +ca_certificates cron debianutils hexcurse htop infounzip infozip john less mc mintty nano ncdu p7zip procps_ng qpdf rw rxvt_unicode st tmux vim xeyes xorriso xterm xwd"; +: ${PKG_CA_CERTIFICATES_URLS_GIT:="ca-certificates=https://github.com/Redfoxmoon3/ca-certificates@master"}; +: ${PKG_CA_CERTIFICATES_IN_TREE:=1}; +: ${PKG_CA_CERTIFICATES_CFLAGS_BUILD_EXTRA:=-I${PREFIX_NATIVE}/include}; +: ${PKG_CA_CERTIFICATES_LDFLAGS_BUILD_EXTRA:=-L${PREFIX_NATIVE}/lib}; +: ${PKG_CA_CERTIFICATES_ENV_VARS_EXTRA:="HOST_CC=gcc"}; : ${PKG_CRON_URLS_GIT:="pkg-cron.git=git://anonscm.debian.org/pkg-cron/pkg-cron.git@debian/3.0pl1-128"}; : ${PKG_CRON_ENV_VARS_EXTRA:="CC=${DEFAULT_TARGET}-gcc:CFLAGS=${NATIVE_PACKAGES_CFLAGS_CONFIGURE} -D__GNU__"}; : ${PKG_CRON_IN_TREE:=1}; diff --git a/vars/ca_certificates.vars b/vars/ca_certificates.vars new file mode 100644 index 0000000..a5a92dd --- /dev/null +++ b/vars/ca_certificates.vars @@ -0,0 +1,9 @@ +# +# set -o errexit -o noglob are assumed. +# + +pkg_ca_certificates_install_make_pre() { + ${PKG_DESTDIR}/../ca-certificates/certdata2pem_host +}; + +# vim:filetype=sh