diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:10:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:10:41 +0000 |
commit | f1aa84046b0e2f317e5278b0e7ca934480bcdfba (patch) | |
tree | 3e3be4f231d328d1f30a1dc96ac819ddec96005f /debian/rules | |
parent | Adding upstream version 20240203. (diff) | |
download | ca-certificates-f1aa84046b0e2f317e5278b0e7ca934480bcdfba.tar.xz ca-certificates-f1aa84046b0e2f317e5278b0e7ca934480bcdfba.zip |
Adding debian version 20240203.debian/20240203debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4993f0e --- /dev/null +++ b/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ + +execute_before_dh_clean: + debconf-updatepo + +execute_before_dh_install: + $(MAKE) install DESTDIR=$(CURDIR)/debian/ca-certificates + # udeb handling + install -d -m 0755 "$(CURDIR)/debian/ca-certificates-udeb/etc/ssl/certs" + (cd mozilla; \ + $(MAKE) install CERTSDIR="$(CURDIR)/debian/ca-certificates-udeb/etc/ssl/certs") + openssl rehash -v "$(CURDIR)/debian/ca-certificates-udeb/etc/ssl/certs" + +override_dh_installdebconf: + find $(CURDIR)/debian/ca-certificates/usr/share/ca-certificates -type f -name '*.crt' -printf '%P\n' | \ + LC_ALL=C sort | sed -e '$$! s/$$/, /' | tr -d '\n' > debian/config.initial_certs + dh_installdebconf -n -DINITIAL_CERTS=@debian/config.initial_certs |