[Groonga-commit] groonga/groonga at 14f60aa [master] packages: provides cryptographic signature

Back to archive index

HAYASHI Kentaro null+****@clear*****
Sun Apr 24 15:32:43 JST 2016


HAYASHI Kentaro	2016-04-24 15:32:43 +0900 (Sun, 24 Apr 2016)

  New Revision: 14f60aa85748827a5fa70411e092069aaa06c688
  https://github.com/groonga/groonga/commit/14f60aa85748827a5fa70411e092069aaa06c688

  Message:
    packages: provides cryptographic signature
    
    It is used to check whether the package is tampered or not.
    
    ref. https://wiki.debian.org/debian/watch#Cryptographic_signature_verification

  Modified files:
    packages/source/Makefile.am

  Modified: packages/source/Makefile.am (+7 -1)
===================================================================
--- packages/source/Makefile.am    2016-04-24 13:49:26 +0900 (d66ff32)
+++ packages/source/Makefile.am    2016-04-24 15:32:43 +0900 (7248215)
@@ -18,10 +18,16 @@ ensure-rsync-path:
 	  false;							\
 	fi
 
+ensure-signed-archive: $(FILES)
+	for file in $(notdir $(FILES)); do				\
+	  (cd files &&							\
+	    gpg2 --local-user $(GPG_UID) --armor --detach-sign $$file);	\
+	done
+
 download: ensure-rsync-path
 	rsync -avz --progress --delete $(RSYNC_PATH)/source/groonga/ files
 
-upload: ensure-rsync-path $(FILES)
+upload: ensure-rsync-path $(FILES) ensure-signed-archive
 	rsync -avz --progress --delete files/ $(RSYNC_PATH)/source/groonga
 
 upload-to-tmp: $(TMP_FILES)
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index