78b956e3d3
+ get rid of calls to snprintf which simply add the returned value to the number of characters used so far. This practice is unsafe. Instead, use a dynamic buffer and grow its size to accommodate the contents. + add USE_ARG definition to some files which use it but don't check to see that it's been defined pkgsrc changes: + Bump version number to 20160214 + Use the same method as libnetpgpverify for finding the version number from the sources.
25 lines
560 B
Makefile
25 lines
560 B
Makefile
# $NetBSD: Makefile,v 1.20 2016/02/19 22:41:50 agc Exp $
|
|
|
|
DISTNAME= netpgpverify-${VERSION}
|
|
CATEGORIES= security
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= agc@NetBSD.org
|
|
HOMEPAGE= http://www.NetBSD.org/
|
|
COMMENT= Standalone PGP and ssh signature verification utility
|
|
LICENSE= modified-bsd
|
|
|
|
AUTO_MKDIRS= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
TEST_TARGET= tst
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
VERSION!= ${AWK} '/\#define.*NETPGP_VERIFY_H_/ {print $$3}' ${FILESDIR}/verify.h
|
|
|
|
do-extract:
|
|
@${CP} -R ${FILESDIR} ${WRKSRC}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|