diff --git a/Makefile b/Makefile index a930d301..4f7caffd 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ distinfo: dist ${SHA256} ${DISTFILE} >${DISTINFO} wc -c <${DISTFILE} \ | xargs printf 'Size (${DISTFILE}) = %s\n' >>${DISTINFO} - ${PGP} --armour --detach-sign ${DISTFILE} + ${PGP} --sign --armour --detach ${DISTFILE} chmod 644 ${DISTSIGN} ls -l ${DISTFILE} ${DISTINFO} ${DISTSIGN} diff --git a/Makefile.inc b/Makefile.inc index de18984d..782ea969 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -15,12 +15,10 @@ LINT?= lint SED?= sed HOST_SH?= /bin/sh -# This isn't very portable, but I generaly make releases from DragonFlyBSD +# This isn't very portable, but I generaly make releases from NetBSD SHA256?= sha256 -PGP?= gpg -# old NetBSD defs -#SHA256?= cksum -a SHA256 -#PGP?= netpgp +# Force gpg2 to avoid SHA1 signatures from gpg1 +PGP?= gpg2 SCRIPT= ${LIBEXECDIR}/dhcpcd-run-hooks HOOKDIR= ${LIBEXECDIR}/dhcpcd-hooks