[Midnightbsd-cvs] mports [22209] trunk/sysutils: add ec2-scripts port

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jan 15 14:44:30 EST 2017


Revision: 22209
          http://svnweb.midnightbsd.org/mports/?rev=22209
Author:   laffer1
Date:     2017-01-15 14:44:29 -0500 (Sun, 15 Jan 2017)
Log Message:
-----------
add ec2-scripts port

Modified Paths:
--------------
    trunk/sysutils/Makefile

Added Paths:
-----------
    trunk/sysutils/ec2-scripts/
    trunk/sysutils/ec2-scripts/Makefile
    trunk/sysutils/ec2-scripts/distinfo
    trunk/sysutils/ec2-scripts/pkg-descr

Modified: trunk/sysutils/Makefile
===================================================================
--- trunk/sysutils/Makefile	2017-01-04 17:33:24 UTC (rev 22208)
+++ trunk/sysutils/Makefile	2017-01-15 19:44:29 UTC (rev 22209)
@@ -30,6 +30,7 @@
 SUBDIR += dvd+rw-tools
 SUBDIR += dvdbackup
 SUBDIR += e2fsprogs
+SUBDIR += ec2-scripts
 SUBDIR += extipl
 SUBDIR += ezjail
 SUBDIR += ffs2recov

Added: trunk/sysutils/ec2-scripts/Makefile
===================================================================
--- trunk/sysutils/ec2-scripts/Makefile	                        (rev 0)
+++ trunk/sysutils/ec2-scripts/Makefile	2017-01-15 19:44:29 UTC (rev 22209)
@@ -0,0 +1,49 @@
+# Created by: Colin Percival
+# $FreeBSD: head/sysutils/ec2-scripts/Makefile 379591 2015-02-22 10:32:30Z cperciva $
+# $MidnightBSD$
+
+PORTNAME=	ec2-scripts
+PORTVERSION=	1.10
+CATEGORIES=	sysutils
+MASTER_SITES=	http://freebsd-ec2-dist.s3.amazonaws.com/
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Startup scripts for FreeBSD/EC2 environment
+
+LICENSE=	bsd2
+
+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.mport.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 ${PREFIX}/sbin/configinit
+.endif
+
+post-install:
+.for i in ${RC_SCRIPTS}
+	${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/etc/rc.d/
+.endfor
+
+.include <bsd.port.mk>


Property changes on: trunk/sysutils/ec2-scripts/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/sysutils/ec2-scripts/distinfo
===================================================================
--- trunk/sysutils/ec2-scripts/distinfo	                        (rev 0)
+++ trunk/sysutils/ec2-scripts/distinfo	2017-01-15 19:44:29 UTC (rev 22209)
@@ -0,0 +1,4 @@
+SHA256 (ec2-scripts-1.5.tgz) = b1c95ecf56d3bcd1e903714cd453666b3fba842ee9ad9a82da519f2b01f00934
+SIZE (ec2-scripts-1.5.tgz) = 4383
+SHA256 (ec2-scripts-1.10.tgz) = 4f8e2386b0eb5eac25e869da82d2c71af42894b0de37cf2f79684b7204c64069
+SIZE (ec2-scripts-1.10.tgz) = 4779


Property changes on: trunk/sysutils/ec2-scripts/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/sysutils/ec2-scripts/pkg-descr
===================================================================
--- trunk/sysutils/ec2-scripts/pkg-descr	                        (rev 0)
+++ trunk/sysutils/ec2-scripts/pkg-descr	2017-01-15 19:44:29 UTC (rev 22209)
@@ -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/


Property changes on: trunk/sysutils/ec2-scripts/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list