From nobody@FreeBSD.org  Fri Sep 13 06:05:21 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 85FAA425
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Sep 2013 06:05:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 6422C2924
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Sep 2013 06:05:21 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8D65L5Z060301
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Sep 2013 06:05:21 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8D65L6W060289;
	Fri, 13 Sep 2013 06:05:21 GMT
	(envelope-from nobody)
Message-Id: <201309130605.r8D65L6W060289@oldred.freebsd.org>
Date: Fri, 13 Sep 2013 06:05:21 GMT
From: "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NEW PORT] emulators/petitecloud -- thin frontend for bhve and in future versions other hyper-v's
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 13 06:10:00 UTC 2013
>Closed-Date:    Sat Jan 04 06:01:37 UTC 2014
>Last-Modified:  Sat Jan 04 06:01:37 UTC 2014
>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:

From: Gavin Atkinson <gavin@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182056: [NEW PORT] emulators/petitecloud
Date: Mon, 16 Sep 2013 13:39:14 +0100

 Please note that the submitter requested that the copyright license not
 be included in the Makefile (requested in PR pending/182081 which I've
 closed).
 
 Also please note that the Makefile currently sets the password for the
 "petitecloud" account to "petitecloud" - so this cannot be committed
 as-is.  I would suggest leaving the account locked out.  It's not clear
 to me whether this requires an account and UID/GID reserving at all.
 
 Thanks,
 
 Gavin
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Jan 4 06:01:17 UTC 2014 
State-Changed-Why:  
Superseded by ports/185362. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182056 
>Unformatted:
