[Pkg-mozext-commits] [requestpolicy] 05/65: [rem] Makefile: signed xpi no longer necessary

David Prévot taffit at moszumanska.debian.org
Fri Mar 25 22:59:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository requestpolicy.

commit f1a7f576a6e6f2bb60de6f79ff81364636055a8b
Author: Martin Kimmerle <dev at 256k.de>
Date:   Tue Jan 5 05:21:55 2016 +0100

    [rem] Makefile: signed xpi no longer necessary
    
    ...due to Mozilla's mandatory Extension Signing
    https://wiki.mozilla.org/Add-ons/Extension_Signing
---
 Makefile | 34 +---------------------------------
 1 file changed, 1 insertion(+), 33 deletions(-)

diff --git a/Makefile b/Makefile
index fcb72c0..1893600 100644
--- a/Makefile
+++ b/Makefile
@@ -102,13 +102,6 @@ rp_deleted_files += $(off_amo__deleted_files)
 rp_empty_dirs += $(off_amo__empty_dirs)
 
 
-# __________________________________________
-# vars for generating a signed "off-AMO" XPI
-#
-
-signed_xpi_file := $(dist_path)$(extension_name)-signed.xpi
-
-
 # _________________________________
 # vars for generating the "AMO" XPI
 #
@@ -224,7 +217,7 @@ mozrunner_prefs_ini := tests/mozrunner-prefs.ini
 # define targets
 # ==============================================================================
 
-.PHONY: all build dist sign
+.PHONY: all build dist
 
 # set "all" to be the default target
 .DEFAULT_GOAL := all
@@ -241,8 +234,6 @@ dist xpi: $(off_amo__xpi_file)
 $(dist_path):
 	@mkdir -p $(dist_path)
 
-signed-xpi: $(signed_xpi_file)
-
 .PHONY: preprocessor
 preprocessor: $(build_dirname)/preprocess-content-types.txt
 $(build_dirname)/preprocess-content-types.txt:
@@ -265,19 +256,6 @@ $(off_amo__xpi_file): $(off_amo__build_path) $(off_amo__all_files) | $(dist_path
 	$(ZIP) $(abspath $(off_amo__xpi_file)) $(rp_all_files)
 	@echo "Creating XPI file: Done!"
 
-# _______________________________
-# create the signed "off-AMO" XPI
-#
-
-$(signed_xpi_file): $(off_amo__build_path) $(off_amo__all_files) $(off_amo__build_path)/META-INF/ | $(dist_path)
-	@rm -f $(signed_xpi_file)
-	@cd $(off_amo__build_path) && \
-	$(ZIP) $(abspath $(signed_xpi_file)) \
-		META-INF/zigbert.rsa && \
-	$(ZIP) -r -D $(abspath $(signed_xpi_file)) \
-		$(rp_all_files) META-INF \
-		-x META-INF/zigbert.rsa
-
 # ____________________
 # create the "AMO" XPI
 #
@@ -378,16 +356,6 @@ $(off_amo__copy_files) : $(off_amo__build_path)% : $(source_path)%
 	@# Use `--dereference` to copy the files instead of the symlinks.
 	cp --dereference $< $@
 
-# _____________________________________________
-# create the files for the signed "off-AMO" XPI
-#
-
-$(off_amo__build_path)/META-INF/: $(off_amo__build_path) $(off_amo__all_files)
-	mkdir -p $(off_amo__build_path)/META-INF
-	signtool -d .signing \
-		-k "Open Source Developer, Martin Kimmerle's Unizeto Technologies S.A. ID" \
-		$(off_amo__build_path)
-
 # __________________________________
 # create the files for the "AMO" XPI
 #

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git



More information about the Pkg-mozext-commits mailing list