ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

cacertificates.mk (780B)


      1 # make deps: run-parts (busybox has this).
      2 TARG = cacertificates
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 cacertificates:QV:
      7 	cp ../certdata2pem.c mozilla/
      8 	make -j$nprocs
      9 
     10 install:QV:
     11 	make -j$nprocs install DESTDIR="$ROOT"
     12 	$INSTALL -d -m 755 "$ROOT/etc/ssl/certs"
     13 	( cd "$ROOT/share/ca-certificates/"; \
     14 	  find . -name '*.crt' | sort | cut -b3- > "$ROOT/etc/ca-certificates.conf" )
     15 	cp sbin/update-ca-certificates .
     16 	sed -e 's#=/etc/#=${DESTDIR}/etc/#' -i update-ca-certificates
     17 	sed -e 's#=/share/#=${DESTDIR}/share/#' -i update-ca-certificates
     18 	sed -e 's#=/local/#=${DESTDIR}/local/#' -i update-ca-certificates
     19 	# create dir update.d, called in script update-ca-certificates.
     20 	$INSTALL -d -m 755 "$ROOT/etc/ca-certificates/update.d"
     21 	DESTDIR="$ROOT" sh ./update-ca-certificates --fresh