${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}
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