From owner-svn-ports-all@FreeBSD.ORG Thu Aug 16 04:57:49 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5B80106566B; Thu, 16 Aug 2012 04:57:49 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A71508FC0A; Thu, 16 Aug 2012 04:57:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7G4vnCM061720; Thu, 16 Aug 2012 04:57:49 GMT (envelope-from cperciva@svn.freebsd.org) Received: (from cperciva@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7G4vnxF061715; Thu, 16 Aug 2012 04:57:49 GMT (envelope-from cperciva@svn.freebsd.org) Message-Id: <201208160457.q7G4vnxF061715@svn.freebsd.org> From: Colin Percival Date: Thu, 16 Aug 2012 04:57:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r302612 - in head/sysutils: . ec2-scripts X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2012 04:57:50 -0000 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@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 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/