1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/sysutils/ec2-scripts/Makefile
Colin Percival 3ffaa1bc35 Update to 1.9. This fixes a bug in ec2_ephemeralswap where the amount of
ephemeral storage on an EC2 instance is less than the amount of swap space
we want to autoconfigure.  (In particular, the m3.medium instance type has
4 GB of attached SSD storage but 3.75 GB of RAM, which results in a desired
7.5 GB of swap space.)
2014-05-17 16:40:54 +00:00

49 lines
1015 B
Makefile

# Created by: Colin Percival
# $FreeBSD$
PORTNAME= ec2-scripts
PORTVERSION= 1.9
CATEGORIES= sysutils
MASTER_SITES= http://freebsd-ec2-dist.s3.amazonaws.com/
EXTRACT_SUFX= .tgz
MAINTAINER= cperciva@FreeBSD.org
COMMENT= Startup scripts for FreeBSD/EC2 environment
LICENSE= BSD
OPTIONS_DEFINE= NOFIRSTBOOT
NOFIRSTBOOT_DESC= Use old (pre-firstboot support) version of scripts
NO_BUILD= YES
RC_SCRIPTS= ec2_bootmail ec2_ephemeralswap ec2_fetchkey ec2_loghostkey
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNOFIRSTBOOT}
PORTVERSION= 1.5
PORTREVISION= 1
NO_INSTALL= YES
RC_SCRIPTS+= ec2_firstboot panicmail
.else
RC_SCRIPTS+= ec2_configinit
PLIST_FILES= sbin/configinit
.endif
.for i in ${RC_SCRIPTS}
PLIST_FILES+= etc/rc.d/$i
.endfor
.if ! ${PORT_OPTIONS:MNOFIRSTBOOT}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/configinit.sh ${STAGEDIR}${PREFIX}/sbin/configinit
.endif
post-install:
.for i in ${RC_SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/etc/rc.d/
.endfor
.include <bsd.port.mk>