diff options
author | cperciva <cperciva@FreeBSD.org> | 2012-08-16 12:57:49 +0800 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2012-08-16 12:57:49 +0800 |
commit | 9c7449aec2ce8600e3351c2103b1b1f95064d69f (patch) | |
tree | bfac880dd2d5701e5ac4bdf34ee4c8e48014d88c /sysutils/ec2-scripts | |
parent | f63e574d515ef2db4305bbd446b89c4de95725b3 (diff) | |
download | freebsd-ports-gnome-9c7449aec2ce8600e3351c2103b1b1f95064d69f.tar.gz freebsd-ports-gnome-9c7449aec2ce8600e3351c2103b1b1f95064d69f.tar.zst freebsd-ports-gnome-9c7449aec2ce8600e3351c2103b1b1f95064d69f.zip |
Add ec2-scripts 1.0, startup scripts for FreeBSD/EC2 environment.
Diffstat (limited to 'sysutils/ec2-scripts')
-rw-r--r-- | sysutils/ec2-scripts/Makefile | 32 | ||||
-rw-r--r-- | sysutils/ec2-scripts/distinfo | 2 | ||||
-rw-r--r-- | sysutils/ec2-scripts/pkg-descr | 11 |
3 files changed, 45 insertions, 0 deletions
diff --git a/sysutils/ec2-scripts/Makefile b/sysutils/ec2-scripts/Makefile new file mode 100644 index 000000000000..68d334b95971 --- /dev/null +++ b/sysutils/ec2-scripts/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: FreeBSD/EC2 startup scripts +# Date created: 2012-08-14 +# Whom: Colin Percival +# +# $FreeBSD$ +# + +PORTNAME= ec2-scripts +PORTVERSION= 1.0 +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 + +NO_BUILD= YES +NO_INSTALL= YES + +RC_SCRIPTS= ec2_bootmail ec2_ephemeralswap ec2_fetchkey \ + ec2_firstboot ec2_loghostkey panicmail + +.for i in ${RC_SCRIPTS} +PLIST_FILES+= etc/rc.d/$i +.endfor + +post-install: + @for i in ${RC_SCRIPTS}; do \ + ${INSTALL_SCRIPT} ${WRKSRC}/$${i} ${PREFIX}/etc/rc.d/$${i}; \ + done + +.include <bsd.port.mk> diff --git a/sysutils/ec2-scripts/distinfo b/sysutils/ec2-scripts/distinfo new file mode 100644 index 000000000000..c339467f88e9 --- /dev/null +++ b/sysutils/ec2-scripts/distinfo @@ -0,0 +1,2 @@ +SHA256 (ec2-scripts-1.0.tgz) = 772bfa277d78e1b8e77c90cd1dfe849a8d1903125920066c9eb92bb22acdea8a +SIZE (ec2-scripts-1.0.tgz) = 3400 diff --git a/sysutils/ec2-scripts/pkg-descr b/sysutils/ec2-scripts/pkg-descr new file mode 100644 index 000000000000..a591229b9b13 --- /dev/null +++ b/sysutils/ec2-scripts/pkg-descr @@ -0,0 +1,11 @@ +This package provides boot scripts used to enable FreeBSD to run on the +Amazon EC2 cloud computing platform. These include: + * Downloading the SSH public key which will be used to log in to a + newly-launched virtual machine, + * Printing SSH host key fingerprints to the console in a standard + format used by other EC2 images, + * Automatically configuring swap space on EC2 "ephemeral" disks, and + * Sending email when an virtual machine first boots and when rebooting + after a kernel panic. + +WWW: http://www.daemonology.net/freebsd-on-ec2/ |