pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/bsdec2-image-upload Initial import of bsdec2-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49eba23202c9
branches:  trunk
changeset: 396111:49eba23202c9
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Wed May 22 08:45:10 2019 +0000

description:
Initial import of bsdec2-image-upload version 1.2.2.

Tool for uploading disk images into Amazon EC2 and creating Amazon Machine
Images from them.

diffstat:

 sysutils/bsdec2-image-upload/DESCR                |   2 +
 sysutils/bsdec2-image-upload/Makefile             |  27 +++++++++++++++++++++++
 sysutils/bsdec2-image-upload/PLIST                |   2 +
 sysutils/bsdec2-image-upload/distinfo             |   7 +++++
 sysutils/bsdec2-image-upload/patches/patch-main.c |  14 +++++++++++
 5 files changed, 52 insertions(+), 0 deletions(-)

diffs (72 lines):

diff -r d257f22a07a9 -r 49eba23202c9 sysutils/bsdec2-image-upload/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bsdec2-image-upload/DESCR        Wed May 22 08:45:10 2019 +0000
@@ -0,0 +1,2 @@
+Tool for uploading disk images into Amazon EC2 and creating Amazon Machine
+Images from them.
diff -r d257f22a07a9 -r 49eba23202c9 sysutils/bsdec2-image-upload/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bsdec2-image-upload/Makefile     Wed May 22 08:45:10 2019 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2019/05/22 08:45:10 jmcneill Exp $
+
+GITHUB_PROJECT=        bsdec2-image-upload
+DISTNAME=      1.2.2
+PKGNAME=       ${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=cperciva/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+
+MAINTAINER=    jmcneill%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/cperciva/bsdec2-image-upload/
+COMMENT=       Tool for creating Amazon EC2 AMIs
+LICENSE=       2-clause-bsd
+
+WRKSRC=                ${WRKDIR}/bsdec2-image-upload-1.2.2
+
+CFLAGS+=       -DCERTFILE=\"${PREFIX}/share/mozilla-rootcerts/cacert.pem\"
+
+INSTALLATION_DIRS+=    bin
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/bsdec2-image-upload ${DESTDIR}${PREFIX}/bin
+
+DEPENDS+=      mozilla-rootcerts>=1.0:../../security/mozilla-rootcerts
+.include "../../security/openssl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r d257f22a07a9 -r 49eba23202c9 sysutils/bsdec2-image-upload/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bsdec2-image-upload/PLIST        Wed May 22 08:45:10 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/05/22 08:45:10 jmcneill Exp $
+bin/bsdec2-image-upload
diff -r d257f22a07a9 -r 49eba23202c9 sysutils/bsdec2-image-upload/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bsdec2-image-upload/distinfo     Wed May 22 08:45:10 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/05/22 08:45:10 jmcneill Exp $
+
+SHA1 (bsdec2-image-upload/1.2.2.tar.gz) = ae24f4178c6b6d51062619c2854b287cba81e8ac
+RMD160 (bsdec2-image-upload/1.2.2.tar.gz) = e042dc00cbc8fdf57615d6c2608534c5822555d8
+SHA512 (bsdec2-image-upload/1.2.2.tar.gz) = 366a8515ca99f6fc3c313d7f00e505747043f5405d0a28c4d7fd895c7bbe6692936ee9875ae608cc07b3b91c7a627c95f9869a2e15f54816998b7dd9c7c61a51
+Size (bsdec2-image-upload/1.2.2.tar.gz) = 25013 bytes
+SHA1 (patch-main.c) = 54da1068a235b60e44cee55339d375867ca4fd47
diff -r d257f22a07a9 -r 49eba23202c9 sysutils/bsdec2-image-upload/patches/patch-main.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bsdec2-image-upload/patches/patch-main.c Wed May 22 08:45:10 2019 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-main.c,v 1.1 2019/05/22 08:45:11 jmcneill Exp $
+
+--- main.c.orig        2019-03-20 02:36:05.000000000 +0000
++++ main.c
+@@ -17,7 +17,9 @@
+ #include "sslreq.h"
+ #include "warnp.h"
+ 
++#ifndef CERTFILE
+ #define CERTFILE "/usr/local/share/certs/ca-root-nss.crt"
++#endif
+ #define PARTSZ (10 * 1024 * 1024)
+ 
+ /* Elastic string type. */



Home | Main Index | Thread Index | Old Index