Date: Fri, 13 Sep 2013 06:05:21 GMT From: "Aryeh M. Friedman" <aryeh.friedman@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182056: [NEW PORT] emulators/petitecloud -- thin frontend for bhve and in future versions other hyper-v's Message-ID: <201309130605.r8D65L6W060289@oldred.freebsd.org> Resent-Message-ID: <201309130610.r8D6A07v085655@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182056 >Category: ports >Synopsis: [NEW PORT] emulators/petitecloud -- thin frontend for bhve and in future versions other hyper-v's >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 13 06:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Aryeh M. Friedman >Release: >Organization: >Environment: >Description: --- ../petitecloud.old/Makefile 2013-09-13 01:27:14.000000000 -0400 +++ Makefile 2013-09-13 01:23:04.000000000 -0400 @@ -0,0 +1,24 @@ +# +# Copyright (C) 2013 Friedman-Nixon-Wong Enterprises, LLC +# + +CATEGORIES= emulators +PORTNAME= petitecloud +PORTVERSION= 0.1 +MASTER_SITES= ftp://ftp.petitecloud.org/petitecloud/aryeh/0.1/ +COMMENT= Thin frontend to bhve + +USERS= petitecloud +GROUPS= petitecloud + +BUILD_DEPENDS= ${LOCALBASE}/openjdk7/bin/java:${PORTSDIR}/java/openjdk7 \ + ${LOCALBASE}/bin/cook:${PORTSDIR}/devel/cook \ + ${LOCALBASE}/bin/sudo:${PORTSDIR}/security/sudo \ +${LOCALBASE}/apache-tomcat-7.0/bin/catalina.sh:${PORTSDIR}/www/tomcat7 + +post-install: + echo petitecloud | pw usermod petitecloud -h 0 2>&1 + chmod 6755 /usr/local/sbin/petitecloud-install + chown -R www:www /usr/local/etc/petitecloud + +.include <bsd.port.mk> --- ../petitecloud.old/distinfo 2013-09-13 01:27:14.000000000 -0400 +++ distinfo 2013-09-13 01:23:04.000000000 -0400 @@ -0,0 +1,2 @@ +SIZE (petitecloud-0.1.tar.gz) = 266752 +SHA256 (petitecloud-0.1.tar.gz) = 5894bbd9053a0d0a30103a604fc6ef2cb3bd680a36dc0516865da23c41448536 --- ../petitecloud.old/pkg-descr 2013-09-13 01:27:14.000000000 -0400 +++ pkg-descr 2013-09-12 06:47:23.000000000 -0400 @@ -0,0 +1,3 @@ +A thin front end to bhyve and in future versions other Hyper-V's + +WWW: http://www.petitecloud.org --- ../petitecloud.old/pkg-message 2013-09-13 01:27:14.000000000 -0400 +++ pkg-message 2013-09-12 06:47:23.000000000 -0400 @@ -0,0 +1,15 @@ +You need to have vmm.ko, if_bridge.ko and if_tun.ko loaded: + +kldload vmm +kldload if_bridge +kldload if_tap + +You also need the bridge configured to be connected to bridge0 and to the NIC that goes to the public internet. +For example: + +ifconfig bridge0 create +ifconfig bridge0 addm em0 up + +You also need www/tomcat7 running: + +/usr/local/etc/rc.d/tomcat7 onestart --- ../petitecloud.old/pkg-plist 2013-09-13 01:27:14.000000000 -0400 +++ pkg-plist 2013-09-13 01:23:04.000000000 -0400 @@ -0,0 +1,4 @@ +/usr/local/apache-tomcat-7.0/webapps/petitecloud-0.1-aryeh.war +/usr/local/share/java/classes/petitecloud-0.1-aryeh.jar +/usr/local/sbin/petitecloud-install +/usr/local/etc/rc.d/petitecloud --- /usr/ports/UIDs.old 2013-09-13 01:28:45.000000000 -0400 +++ /usr/ports/UIDs 2013-09-05 23:46:06.000000000 -0400 @@ -267,4 +267,5 @@ shibd:*:971:971::0:0:Shibboleth SAML daemon:/nonexistent:/usr/sbin/nologin plex:*:972:972::0:0:Plex Media Server:/nonexistent:/usr/sbin/nologin boinc:*:973:973::0:0:BOINC user:/var/db/boinc:/usr/sbin/nologin +petitecloud:*:974:974::0:0:Petitecloud Admin Acct:/home/petitecloud:/usr/sbin/petitecloud-install nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin 262a263 > petitecloud:*:974: >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309130605.r8D65L6W060289>