notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
ec2-scripts Startup scripts for FreeBSD/EC2 environment
1.12 sysutils on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.12Version of this port present on the latest quarterly branch.
Maintainer: cperciva@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2012-08-16 04:58:15
Last Update: 2023-06-14 18:25:23
Commit Hash: 0c63326
People watching this port, also watch:: screen, libinotify, py39-pycparser, openjdk8, rkhunter
License: BSD2CLAUSE
WWW:
https://www.daemonology.net/freebsd-on-ec2/
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (10 items)
Collapse this list.
  1. sbin/configinit
  2. etc/rc.d/ec2_bootmail
  3. etc/rc.d/ec2_configinit
  4. etc/rc.d/ec2_ephemeral_diskseen
  5. etc/rc.d/ec2_ephemeral_swap
  6. etc/rc.d/ec2_fetchkey
  7. etc/rc.d/ec2_loghostkey
  8. /usr/local/share/licenses/ec2-scripts-1.12/catalog.mk
  9. /usr/local/share/licenses/ec2-scripts-1.12/LICENSE
  10. /usr/local/share/licenses/ec2-scripts-1.12/BSD2CLAUSE
Collapse this list.
Dependency lines:
  • ec2-scripts>0:sysutils/ec2-scripts
To install the port:
cd /usr/ports/sysutils/ec2-scripts/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/ec2-scripts
  • pkg install ec2-scripts
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ec2-scripts
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1686766876 SHA256 (cperciva-ec2-scripts-1.12_GH0.tar.gz) = fb862a5d325ea005d3ed3bdb7836169c5a97c37867439bb3f1084cabc7028886 SIZE (cperciva-ec2-scripts-1.12_GH0.tar.gz) = 5967

Packages (timestamps in pop-ups are UTC):
ec2-scripts
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.121.121.10-1.12-1.10-
FreeBSD:13:quarterly1.121.12--1.12-1.121.12
FreeBSD:14:latest1.121.121.11-1.12--1.12
FreeBSD:14:quarterly1.121.12--1.12-1.121.12
FreeBSD:15:latest1.121.12n/a1.12n/a-1.12-
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. ebsnvme-id : sysutils/ebsnvme-id
  2. aws-ec2-imdsv2-get : net/aws-ec2-imdsv2-get
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
sysutils_ec2-scripts
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/cperciva/ec2-scripts/tar.gz/1.12?dummy=/
Collapse this list.

Number of commits found: 22

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.12
14 Jun 2023 18:25:23
commit hash: 0c63326cefaadc6681339fff52246538de809aedcommit hash: 0c63326cefaadc6681339fff52246538de809aedcommit hash: 0c63326cefaadc6681339fff52246538de809aedcommit hash: 0c63326cefaadc6681339fff52246538de809aed files touched by this commit
Colin Percival (cperciva) search for other commits by this committer
sysutils/ec2-scripts: Update to 1.12

This makes the "fetch user SSH key" and "process user-data" scripts
support IMDSv2 via the net/aws-ec2-imdsv2-get utiltiy rather than
making HTTP requests to the IMDS directly.

Sponsored by:	https://www.patreon.com/cperciva
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.11
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.11
20 Jul 2022 14:23:05
commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
sysutils: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <jsmith@resonatingmedia.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Landwehr <aaron@snaphat.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Adrian Chadd
  *  Adrian Chadd <adrian@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Eldridge <alane@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.11
08 Jun 2022 22:39:48
commit hash: 6851087b4dc0eca92c148a86099f709748b97da9commit hash: 6851087b4dc0eca92c148a86099f709748b97da9commit hash: 6851087b4dc0eca92c148a86099f709748b97da9commit hash: 6851087b4dc0eca92c148a86099f709748b97da9 files touched by this commit
Colin Percival (cperciva) search for other commits by this committer
sysutils/ec2-scripts: Update to 1.11

While I'm here:
* Fetch distfile directly from github,
* Remove the NOFIRSTBOOT option, which was only useful on FreeBSD
releases prior to FreeBSD 11.0, all of which have long since ceased
to be supported.
* Add a dependency on sysutils/ebsnvme-id, which is used by the new
version of these scripts.
1.10
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.10
22 Feb 2015 10:32:31
Revision:379591Original commit files touched by this commit
cperciva search for other commits by this committer
Update to 1.10.  This fixes a bug in ec2_fetchkey which made it fail to
recognize when it was trying to create an account which already existed.

Submitted by:	Bradley T. Hughes
1.9
11 Dec 2014 00:40:17
Revision:374505Original commit files touched by this commit
feld search for other commits by this committer
Update "BSD" license in sysutils category
1.9
17 May 2014 16:40:54
Revision:354338Original commit files touched by this commit
cperciva search for other commits by this committer
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.)
1.8
06 Jan 2014 16:17:32
Revision:338903Original commit files touched by this commit
cperciva search for other commits by this committer
Update to 1.8.  The ec2_fetchkey rc.d script now creates the user
specified in the $ec2_fetchkey_user variable, so that it can be
(usefully) specified via user-data at EC2 instance launch time.
1.7
08 Dec 2013 05:46:31
Revision:335865Original commit files touched by this commit
cperciva search for other commits by this committer
Update ec2-scripts to 1.7:
* Add support for system configuration via ec2 user-data.
* Add support for allocating swap space from ephemeral disks with EC2
  (linux) device names of "xvd[a-j]" rather than just "sd[a-j]".
1.6
04 Nov 2013 23:54:01
Revision:332791Original commit files touched by this commit
cperciva search for other commits by this committer
Update to 1.6.  This uses "firstboot" support in the base system, so
provide an option which reverts back to the old version of this port.

I'm making it a configurable option rather than autodetecting based
on OSVERSION to make my life easier with "cross-building" images.
1.5
20 Sep 2013 23:06:00
Revision:327772Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils)
1.5
18 Sep 2013 02:59:40
Revision:327509Original commit files touched by this commit
cperciva search for other commits by this committer
Update to 1.5: Replace rcvar=`set_rcvar` with rcvar=FOO_enable in the
rc.d scripts in order to be compatible with newer versions of rc.subr.
1.4
19 Mar 2013 05:21:31
Revision:314617Original commit files touched by this commit
cperciva search for other commits by this committer
Update to 1.4: When creating swap space on EC2 ephemeral disks, parse EC2
device names of "sd[bcde]" in addition to "/dev/sd[bcde]".  Until recently
EC2 hosts all used the latter form, but an increasing number seem to have
switched to the former.

Submitted by:   Luke Marsden
1.3
17 Mar 2013 16:44:03
Revision:314460Original commit files touched by this commit
eadler search for other commits by this committer
Fix minor nit: use the canconical FreeBSD.org form for email addresses.
This was causing me issues when attempting to gather certain statistics.

While here trim header

Approved by:	miwi, adrian, tj
No objection from:	db, bjk, cperciva, scheidell, osa
1.3
26 Feb 2013 10:27:18
Revision:312969Original commit files touched by this commit
cperciva search for other commits by this committer
Unbreak INDEX.
1.3
26 Feb 2013 10:11:58
Revision:312968Original commit files touched by this commit
cperciva search for other commits by this committer
Break INDEX as part of testing of new portsnap build code.

I'll unbreak it in a few minutes.
1.3
05 Oct 2012 23:16:22
Revision:305322Original commit files touched by this commit
cperciva search for other commits by this committer
Update to 1.3: Make ec2_fetchkey work proper set up .ssh/authorized_keys
for a non-root user.
1.2
04 Oct 2012 23:19:05
Revision:305290Original commit files touched by this commit
cperciva search for other commits by this committer
Update to 1.2.  This fixes a division-by-zero error when there are no
ephemeral disks present [1], and avoids enabling crash dumps to an
XXXs1b partition which isn't being used for swapping.

Submitted by:	Simon Olofsson [1]
1.1
31 Aug 2012 14:06:21
Revision:303426Original commit files touched by this commit
cperciva search for other commits by this committer
Update to version 1.1 of my ec2 boot scripts: Use the SWAPMETA entry in
the output of `vmstat -z` to figure out how much swap space we can
safely configure, instead of the kern.maxswzone sysctl.
1.0
16 Aug 2012 04:57:49
Original commit files touched by this commit
cperciva search for other commits by this committer
Add ec2-scripts 1.0, startup scripts for FreeBSD/EC2 environment.

Number of commits found: 22