046c9290f6
1. A new --publicsnap option which marks the EBS snapshot for the AMI's root disk as being public. 2. When sending an SNS notification about new AMIs, the SNS region is extracted from the Topic ARN rather than using the same region as was used for uploading the AMI.
26 lines
639 B
Makefile
26 lines
639 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= bsdec2-image-upload
|
|
PORTVERSION= 1.2.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://freebsd-ec2-dist.s3.amazonaws.com/
|
|
|
|
MAINTAINER= cperciva@FreeBSD.org
|
|
COMMENT= Tool for creating Amazon EC2 AMIs
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
|
|
|
USES= ssl tar:tgz uidfix
|
|
CFLAGS+= -I${OPENSSLINC}
|
|
LDFLAGS+= -L${OPENSSLLIB}
|
|
|
|
# Install into ${STAGEDIR}${PREFIX}; but the build respects ${DESTDIR} so
|
|
# all we need to give is the ${PREFIX}/bin part.
|
|
MAKE_ARGS+= BINDIR=${PREFIX}/bin
|
|
|
|
PLIST_FILES= bin/bsdec2-image-upload
|
|
|
|
.include <bsd.port.mk>
|