[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#926337: unblock: notary/0.6.1~ds1-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package notary

* Regenerate some test certs since they are expired (Closes: #924119)

unblock notary/0.6.1~ds1-3
diff -Nru notary-0.6.1~ds1/debian/changelog notary-0.6.1~ds1/debian/changelog
--- notary-0.6.1~ds1/debian/changelog	2018-07-11 09:34:36.000000000 +0800
+++ notary-0.6.1~ds1/debian/changelog	2019-04-04 00:12:00.000000000 +0800
@@ -1,3 +1,10 @@
+notary (0.6.1~ds1-3) unstable; urgency=medium
+
+  * Team upload.
+  * Regenerate some test certs since they are expired (Closes: #924119)
+
+ -- Shengjing Zhu <zhsj@debian.org>  Thu, 04 Apr 2019 00:12:00 +0800
+
 notary (0.6.1~ds1-2) unstable; urgency=medium
 
   * New upstream patch to remove "golang-ed25519-dev" dependency.
diff -Nru notary-0.6.1~ds1/debian/control notary-0.6.1~ds1/debian/control
--- notary-0.6.1~ds1/debian/control	2018-07-11 09:17:53.000000000 +0800
+++ notary-0.6.1~ds1/debian/control	2019-04-04 00:12:00.000000000 +0800
@@ -30,7 +30,8 @@
                golang-golang-x-sys-dev,
                golang-google-grpc-dev (>= 0.0~git20151002~),
                golang-gopkg-gorethink-gorethink.v3-dev,
-               golang-goprotobuf-dev
+               golang-goprotobuf-dev,
+               openssl
 Standards-Version: 4.1.4
 Homepage: https://github.com/theupdateframework/notary
 Vcs-Browser: https://salsa.debian.org/go-team/packages/notary
diff -Nru notary-0.6.1~ds1/debian/rules notary-0.6.1~ds1/debian/rules
--- notary-0.6.1~ds1/debian/rules	2018-06-19 23:04:42.000000000 +0800
+++ notary-0.6.1~ds1/debian/rules	2019-04-04 00:12:00.000000000 +0800
@@ -13,6 +13,14 @@
 	      --buildsystem=golang \
 	      --with=golang
 
+override_dh_auto_configure:
+	# Note(zhsj): some certs are expired and cause test failures.
+	# but there's no need to regenerate certs which need cfssljson tool.
+	# And I don't want to add another Build-Depends.
+	sed -i '/command -v cfssljson/i exit 0' ./fixtures/regenerateTestingCerts.sh
+	cd fixtures && ./regenerateTestingCerts.sh
+	dh_auto_configure
+
 override_dh_auto_build:
 	dh_auto_build -- -tags "$(BUILDTAGS)"
 

Attachment: signature.asc
Description: PGP signature


Reply to: