From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- base/ca_certificates/ca_certificates.build | 61 ++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100755 base/ca_certificates/ca_certificates.build (limited to 'base/ca_certificates/ca_certificates.build') diff --git a/base/ca_certificates/ca_certificates.build b/base/ca_certificates/ca_certificates.build new file mode 100755 index 0000000..7d6ccb6 --- /dev/null +++ b/base/ca_certificates/ca_certificates.build @@ -0,0 +1,61 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=ca_certificates +VERSION=20130119 +ARCH=noarch +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh </dev/null 2>/dev/null +EOF + +# Sources + +SRCNAME[0]=ca-certificates +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://packages.debian.org/source/testing/${SRCNAME[0]}/${SRCNAME[0]}_${SRCVERS[0]}.tar.gz + +build0() +{ +make ${JOBS} +make install DESTDIR="${PKG}" +doc debian/NEWS +install.dat doinst.sh ${PKG}/install +install.dir ${PKG}${SYS_DIR[man]}/man8 +install.man sbin/update-ca-certificates.8 ${PKG}${SYS_DIR[man]}/man8 +install.dir ${PKG}${SYS_DIR[share]}/ca-certificates/update +install.dir ${PKG}${SYS_DIR[var]}/cache/cacerts +echo "# Automatically generated by ${NAME}-${VERSION}" > ${PKG}${SYS_DIR[var]}/cache/cacerts/cacerts.cache +( + cd ${PKG}${SYS_DIR[share]}/ca-certificates + find . -name '*.crt' | sort | cut -b3- +) >> ${PKG}${SYS_DIR[var]}/cache/cacerts/cacerts.cache +} -- cgit v1.2.3-70-g09d2