Skip to content

Commit 1e601fe

Browse files
committed
release: Default to gpg2 to avoid SHA1 signatures
1 parent b220914 commit 1e601fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ SNAPDIR= ${DISTPREFIX}-${SNAP}
2828
SNAPFILE= ${SNAPDIR}.tar.xz
2929

3030
SHA256?= sha256
31-
PGP?= gpg
31+
PGP?= gpg2
3232

3333
dist-git:
3434
git archive --prefix=${DISTPREFIX}/ v${VERSION} | xz >${DISTFILE}
@@ -47,7 +47,7 @@ distinfo: dist
4747
${SHA256} ${DISTFILE} >${DISTINFO}
4848
wc -c <${DISTFILE} \
4949
| xargs printf 'Size (${DISTFILE}) = %s\n' >>${DISTINFO}
50-
${PGP} --armour --detach-sign ${DISTFILE}
50+
${PGP} --sign --armour --detach ${DISTFILE}
5151
chmod 644 ${DISTSIGN}
5252
ls -l ${DISTFILE} ${DISTINFO} ${DISTSIGN}
5353

0 commit comments

Comments
 (0)