Commit Diff


commit - 58b5d44034463a488e39896ac6eb579d49e49a7b
commit + 6c62918047e0c0c0cb50adb9e4fd329cac162029
blob - 5e27d901c649b91c5f79dcc9a9d9dde913096fbe
blob + df40794bd22800486e7f0e243c278fcdea8cee72
--- Makefile
+++ Makefile
@@ -69,7 +69,9 @@ y.tab.c: parse.y
 
 # -- maintainer targets --
 
-DISTFILES =	Makefile \
+PRIVKEY =	set-PRIVKEY
+DISTFILES =	CHANGES \
+		Makefile \
 		README \
 		config.c \
 		configure \
@@ -91,8 +93,14 @@ DISTFILES =	Makefile \
 		xmalloc.h \
 		y.tab.c
 
+.PHONY: release dist
+
+release: ${DISTNAME}.sha256.sig
 dist: ${DISTNAME}.sha256
 
+${DISTNAME}.sha256.sig: ${DISTNAME}.sha256
+	signify -S -e -m ${DISTNAME}.sha256 -s ${PRIVKEY}
+
 ${DISTNAME}.sha256: ${DISTNAME}.tar.gz
 	sha256 ${DISTNAME}.tar.gz > $@
 
@@ -100,6 +108,7 @@ ${DISTNAME}.tar.gz: ${DISTFILES}
 	mkdir -p .dist/${DISTNAME}/
 	${INSTALL} -m 0644 ${DISTFILES} .dist/${DISTNAME}
 	${MAKE} -C compat	DESTDIR=${PWD}/.dist/${DISTNAME}/compat dist
+	${MAKE} -C keys		DESTDIR=${PWD}/.dist/${DISTNAME}/keys dist
 	${MAKE} -C template	DESTDIR=${PWD}/.dist/${DISTNAME}/template dist
 	${MAKE} -C tests	DESTDIR=${PWD}/.dist/${DISTNAME}/tests dist
 	cd .dist/${DISTNAME} && chmod 755 configure template/configure
blob - /dev/null
blob + 86b4d943aa50a26cbb7a0e2b1a25c473c0f5c006 (mode 644)
--- /dev/null
+++ keys/Makefile
@@ -0,0 +1,18 @@
+NEXTV =		03
+
+DISTFILES =	Makefile \
+		galileo-01.pub \
+		galileo-02.pub
+
+all:
+	false
+
+newkey:
+	signify -G -p galileo-${NEXTV}.pub -s galileo-${NEXTV}.sec
+
+dist: ${DISTFILES}
+	mkdir -p ${DESTDIR}/
+	${INSTALL} -m 0644 ${DISTFILES} ${DESTDIR}/
+
+.PHONY: all dist
+include ../config.mk
blob - /dev/null
blob + 093881c0f6a29d0e1da87c546ee6391f5ce60754 (mode 644)
--- /dev/null
+++ keys/galileo-01.pub
@@ -0,0 +1,2 @@
+untrusted comment: signify public key
+RWThsLd91iVIq8+gbHvXa+QLbHv58V7ElqCHwy0Vr7cCNJIIezHMhQcI
blob - /dev/null
blob + 079968adb482effdc84abbe4a34caee29ce66109 (mode 644)
--- /dev/null
+++ keys/galileo-02.pub
@@ -0,0 +1,2 @@
+untrusted comment: signify public key
+RWSZi6lPuJH0fu0SsX6S0tcuu49noHFvtEX1jH2RAjPbacP41HkaD9M7