svn commit: r302612 - in head/sysutils: . ec2-scripts

Colin Percival cperciva at FreeBSD.org
Thu Aug 16 04:57:50 UTC 2012


Author: cperciva
Date: Thu Aug 16 04:57:49 2012
New Revision: 302612
URL: http://svn.freebsd.org/changeset/ports/302612

Log:
  Add ec2-scripts 1.0, startup scripts for FreeBSD/EC2 environment.

Added:
  head/sysutils/ec2-scripts/
  head/sysutils/ec2-scripts/Makefile   (contents, props changed)
  head/sysutils/ec2-scripts/distinfo   (contents, props changed)
  head/sysutils/ec2-scripts/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Thu Aug 16 04:34:38 2012	(r302611)
+++ head/sysutils/Makefile	Thu Aug 16 04:57:49 2012	(r302612)
@@ -206,6 +206,7 @@
     SUBDIR += dwatch
     SUBDIR += e2fsprogs
     SUBDIR += easypbi
+    SUBDIR += ec2-scripts
     SUBDIR += edid-decode
     SUBDIR += eiciel
     SUBDIR += eject

Added: head/sysutils/ec2-scripts/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/ec2-scripts/Makefile	Thu Aug 16 04:57:49 2012	(r302612)
@@ -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 at 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>

Added: head/sysutils/ec2-scripts/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/ec2-scripts/distinfo	Thu Aug 16 04:57:49 2012	(r302612)
@@ -0,0 +1,2 @@
+SHA256 (ec2-scripts-1.0.tgz) = 772bfa277d78e1b8e77c90cd1dfe849a8d1903125920066c9eb92bb22acdea8a
+SIZE (ec2-scripts-1.0.tgz) = 3400

Added: head/sysutils/ec2-scripts/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/ec2-scripts/pkg-descr	Thu Aug 16 04:57:49 2012	(r302612)
@@ -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/



More information about the svn-ports-all mailing list