summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shuler <michael@pbandjelly.org>2016-11-30 20:37:34 -0600
committerMichael Shuler <michael@pbandjelly.org>2016-11-30 20:37:34 -0600
commit3acb3a9042a00307ba35d10052d81cdc206c34a4 (patch)
tree7088ec6c081de91487570088b7aaa641d1fce283
parentc6a4c8182eda2527eecda90ba0aebc73d8c07d62 (diff)
downloadca-certificates-3acb3a9042a00307ba35d10052d81cdc206c34a4.tar.gz
Add ca-certificates udeb package #845456
-rw-r--r--debian/ca-certificates-udeb.links1
-rw-r--r--debian/ca-certificates.dirs (renamed from debian/dirs)0
-rw-r--r--debian/ca-certificates.postinst (renamed from debian/postinst)0
-rw-r--r--debian/ca-certificates.postrm (renamed from debian/postrm)0
-rw-r--r--debian/changelog7
-rw-r--r--debian/control14
-rwxr-xr-xdebian/rules10
7 files changed, 29 insertions, 3 deletions
diff --git a/debian/ca-certificates-udeb.links b/debian/ca-certificates-udeb.links
new file mode 100644
index 0000000..51bf8d3
--- /dev/null
+++ b/debian/ca-certificates-udeb.links
@@ -0,0 +1 @@
+etc/ssl/certs usr/lib/ssl/certs
diff --git a/debian/dirs b/debian/ca-certificates.dirs
index b64bbd3..b64bbd3 100644
--- a/debian/dirs
+++ b/debian/ca-certificates.dirs
diff --git a/debian/postinst b/debian/ca-certificates.postinst
index 21586bb..21586bb 100644
--- a/debian/postinst
+++ b/debian/ca-certificates.postinst
diff --git a/debian/postrm b/debian/ca-certificates.postrm
index 11759fe..11759fe 100644
--- a/debian/postrm
+++ b/debian/ca-certificates.postrm
diff --git a/debian/changelog b/debian/changelog
index 3503b78..7fe4498 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ca-certificates (20161130) UNRELEASED; urgency=medium
+
+ [ Philipp Kern ]
+ * Add ca-certificates udeb package. Closes: #845456
+
+ -- Michael Shuler <michael@pbandjelly.org> Wed, 30 Nov 2016 20:34:44 -0600
+
ca-certificates (20161102) unstable; urgency=medium
[ Michael Shuler ]
diff --git a/debian/control b/debian/control
index 86ad83c..4d0ec1f 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Raphael Geissert <geissert@debian.org>,
Thijs Kinkhorst <thijs@debian.org>,
Christian Perrier <bubulle@debian.org>
Build-Depends: debhelper (>= 9), po-debconf
-Build-Depends-Indep: python
+Build-Depends-Indep: python, openssl
Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/collab-maint/ca-certificates.git
Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/ca-certificates.git
@@ -29,3 +29,15 @@ Description: Common CA certificates
have in any way been audited for trustworthiness or RFC 3647 compliance.
Full responsibility to assess them belongs to the local system
administrator.
+
+Package: ca-certificates-udeb
+Package-Type: udeb
+Section: debian-installer
+Architecture: all
+Depends: ${misc:Depends}
+Description: Common CA certificates - udeb
+ Contains the certificate authorities shipped with Mozilla's browser,
+ all enabled by default.
+ .
+ This package is for use in the installer environment only.
+ Do not install on a normal system.
diff --git a/debian/rules b/debian/rules
index fd4632b..a935300 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,7 @@ build-arch: build-stamp
build-indep: build-stamp
-build-stamp: configure-stamp
+build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
@@ -56,16 +56,22 @@ install: build
cd $(CURDIR)/debian; \
sed -e "s|#INITIAL_CERTS#|$$crts|" \
config.in > config)
+ # 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")
+ c_rehash -v "$(CURDIR)/debian/ca-certificates-udeb/etc/ssl/certs"
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
+ dh_link
dh_installdebconf -n
dh_installdocs
dh_installexamples
dh_installman sbin/update-ca-certificates.8
- dh_installchangelogs
+ dh_installchangelogs
dh_compress -X examples
dh_fixperms
dh_installdeb