summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars')
-rw-r--r--vars/build.vars7
-rw-r--r--vars/ca_certificates.vars9
2 files changed, 15 insertions, 1 deletions
diff --git a/vars/build.vars b/vars/build.vars
index e477145c..6b48b1b3 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 00000000..a5a92dd4
--- /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