aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/bsdec2-image-upload/Makefile24
-rw-r--r--net/bsdec2-image-upload/distinfo2
-rw-r--r--net/bsdec2-image-upload/pkg-descr2
4 files changed, 29 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index bf0a81601ea0..0c40685126b2 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -52,6 +52,7 @@
SUBDIR += boinc-client
SUBDIR += boinc_curses
SUBDIR += bounce
+ SUBDIR += bsdec2-image-upload
SUBDIR += bsdproxy
SUBDIR += bwi-firmware-kmod
SUBDIR += bwn-firmware-kmod
diff --git a/net/bsdec2-image-upload/Makefile b/net/bsdec2-image-upload/Makefile
new file mode 100644
index 000000000000..dda0e80db0e4
--- /dev/null
+++ b/net/bsdec2-image-upload/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= bsdec2-image-upload
+PORTVERSION= 1.0.0
+CATEGORIES= net
+MASTER_SITES= http://freebsd-ec2-dist.s3.amazonaws.com/
+
+MAINTAINER= cperciva@FreeBSD.org
+COMMENT= Tool for creating Amazon EC2 AMIs
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
+
+RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
+
+USES= tar:tgz
+
+# Install into ${STAGEDIR}${PREFIX}; but the build respects ${DESTDIR} so
+# all we need to give is the ${PREFIX}/bin part.
+MAKE_ARGS+= BINDIR=${PREFIX}/bin
+
+PLIST_FILES= bin/bsdec2-image-upload
+
+.include <bsd.port.mk>
diff --git a/net/bsdec2-image-upload/distinfo b/net/bsdec2-image-upload/distinfo
new file mode 100644
index 000000000000..3b02be80f315
--- /dev/null
+++ b/net/bsdec2-image-upload/distinfo
@@ -0,0 +1,2 @@
+SHA256 (bsdec2-image-upload-1.0.0.tgz) = 686eb3f9298760d9f28e7bea30d4160b3e3cd829069700b36239c23c013baf1b
+SIZE (bsdec2-image-upload-1.0.0.tgz) = 21402
diff --git a/net/bsdec2-image-upload/pkg-descr b/net/bsdec2-image-upload/pkg-descr
new file mode 100644
index 000000000000..a3535857d90d
--- /dev/null
+++ b/net/bsdec2-image-upload/pkg-descr
@@ -0,0 +1,2 @@
+Tool for uploading disk images into Amazon EC2 and creating Amazon Machine
+Images from them.