Name ca-certificates
Description Common CA certificates
Version 20240203
Package Base
Homepage
Maintainers ['Julien Cristau <jcristau@debian.org>', 'Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/ca-certificates/tree/?h=ubuntu/noble
Sources []
Dependencies ['debconf', 'openssl']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'po-debconf']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 641de77d8f142cfd62a1a6f964ba67b20754d3337c480efb529d086075a06c9a
#!/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