39b298ed88
git shortlog: Brad Davis (1): Fix typo Colin Percival (37): Allow CERTFILE to be specified at compile-time Merge pull request #8 from natpicone/fix-region-upload Fix build: MAN=, not NO_MAN=yes. Add Architecture field to SNS notifications Split the concept of "we're publishing AMIs". Implement --allregions and -publicamis. Fix TLS certificate name checking Add support for signing Amazon SSM API calls. Add --ssm-name <path> option aws_sign.[ch] are now part of libcperciva Refactor snapshot creation. Use aws_readkeys from libcperciva Use libcperciva getopt. Introduce sslreq2, which sends headers + payload Add --vhd option. Add instructions for AWS account setup This will be version 1.3.0. Support OpenSSL < 1.1.1. Version and date bumps. Support > 10 GB disk images Use OpenSSL default root certificates by default. Ignore SIGPIPE globally. Don't map files MAP_NOCORE if that's not defined. Switch from BSD make to POSIX-compliant make Add casts betweeh char * and uint8_t * Add region to S3 hostname. Add <limits.h> for INT_MAX. Add compatibility with LibreSSL >= 2.9. Version and date bumps. Include region in presigned S3 URLs too Add --uefi option. sslreq: Don't leak socket sslreq: Clean up on error Bump version to 1.4.3. publish: Add @ISODATE@ substitution. Add -v option and autoinsert version/date Set DataType in SSM PutParameter request Natalino Picone (1): fix region upload Tassilo Philipp (1): Support LibreSSL 3.3.2 and later.
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2021/12/05 18:34:17 maya Exp $
|
|
|
|
GITHUB_PROJECT= bsdec2-image-upload
|
|
DISTNAME= 1.4.5
|
|
PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=cperciva/}
|
|
DIST_SUBDIR= ${GITHUB_PROJECT}
|
|
|
|
MAINTAINER= jmcneill@NetBSD.org
|
|
HOMEPAGE= https://github.com/cperciva/bsdec2-image-upload/
|
|
COMMENT= Tool for creating Amazon EC2 AMIs
|
|
LICENSE= 2-clause-bsd
|
|
|
|
WRKSRC= ${WRKDIR}/bsdec2-image-upload-${PKGVERSION_NOREV}
|
|
|
|
MAKE_ENV+= NOMAN=1
|
|
CFLAGS+= -DCERTFILE=\"${PREFIX}/share/mozilla-rootcerts/cacert.pem\"
|
|
|
|
.include "../../mk/compiler.mk"
|
|
.if !empty(PKGSRC_COMPILER:Mgcc)
|
|
CFLAGS+= -Wno-error=pointer-sign \
|
|
-Wno-error=maybe-uninitialized \
|
|
-Wno-error=discarded-qualifiers
|
|
.elif !empty(PKGSRC_COMPILER:Mclang)
|
|
CFLAGS+= -Wno-unknown-warning-option -Wno-pointer-sign \
|
|
-Wno-incompatible-pointer-types-discards-qualifiers
|
|
.endif
|
|
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bsdec2-image-upload/bsdec2-image-upload ${DESTDIR}${PREFIX}/bin
|
|
|
|
DEPENDS+= mozilla-rootcerts>=1.0:../../security/mozilla-rootcerts
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|