From nobody@FreeBSD.org  Sat Jul  6 18:20:13 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 357323A7
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Jul 2013 18:20:13 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 299F01F46
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Jul 2013 18:20:13 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r66IKCSL026617
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 6 Jul 2013 18:20:12 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r66IKC4F026397;
	Sat, 6 Jul 2013 18:20:12 GMT
	(envelope-from nobody)
Message-Id: <201307061820.r66IKC4F026397@oldred.freebsd.org>
Date: Sat, 6 Jul 2013 18:20:12 GMT
From: Jesse <jessefrgsmith@yahoo.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: new port: ftp/u1ftp
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180351
>Category:       ports
>Synopsis:       new port: ftp/u1ftp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danfe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 06 18:30:00 UTC 2013
>Closed-Date:    Fri Apr 04 07:27:38 UTC 2014
>Last-Modified:  Fri Apr 04 07:27:38 UTC 2014
>Originator:     Jesse
>Release:        FreeBSD 9.1
>Organization:
RM
>Environment:
>Description:
Please find attached my port of U1ftp, a service which connects users on the local host to the Ubuntu One storage cloud using a FTP proxy.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	u1ftp/
#	u1ftp/pkg-descr
#	u1ftp/pkg-message
#	u1ftp/Makefile
#	u1ftp/files
#	u1ftp/files/patch-ubuntuone
#	u1ftp/distinfo
#
echo c - u1ftp/
mkdir -p u1ftp/ > /dev/null 2>&1
echo x - u1ftp/pkg-descr
sed 's/^X//' >u1ftp/pkg-descr << '0caef5ded45d3f363f3b3044223cb53c'
XU1ftp is a service which connects the local user to the Ubuntu
XOne cloud storage. U1ftp does this by setting up a local FTP
Xserver as a proxy between the local host and Ubuntu One's servers.
XThis allows us to connect to the local service using only
Xthe FTP protocol.
X
XWWW: https://launchpad.net/u1ftp
0caef5ded45d3f363f3b3044223cb53c
echo x - u1ftp/pkg-message
sed 's/^X//' >u1ftp/pkg-message << '4c93a18a74a24e33021816b100dfc7ec'
XTo run the Ubuntu One client a few configuration steps will be
Xrequired by the host system.
X
X1. The FUSE module must be enabled. This can be accomplished
Xby adding the following line to your /etc/rc.conf file:
Xfusefs_enable="YES"
XYou may also wish to run /usr/local/etc/rc.d/fusefs start
X
X2. Regular user accounts should be able to mount FUSE file systems.
XThis can be enabled by adding the following line to your
X/etc/sysctl.conf file:
Xvfs.usermount=1
XTo enable this feature without a reboot run the command
Xsysctl vfs.usermount=1
X
X3. Should the user still not be able to connect to Ubuntu One
Xplease check the permissions of the virtual device /dev/fuse0
X
4c93a18a74a24e33021816b100dfc7ec
echo x - u1ftp/Makefile
sed 's/^X//' >u1ftp/Makefile << 'f9e00a6768676eb76506ea5c6f1de743'
X# New ports collection makefile for:	u1ftp
X# Date created:				July 6, 2013
X# Whom:					Jesse
X#
X# $FreeBSD: 
X#
X
XPORTNAME=	u1ftp
XPORTVERSION=	0.2
XCATEGORIES=	ftp
XMASTER_SITES=	SF/makeapbi/${PORTNAME}/
X
XMAINTAINER=	jessefrgsmith@yahoo.ca
XCOMMENT=	A proxy service which connects the local user to Ubuntu One.
X
XLICENSE=	GPLv2
XNO_BUILD=	yes
XWRKSRC=		${WRKDIR}/u1ftp
XUSE_PYTHON=	2.7
XPLIST_FILES=	share/${PORTNAME}/${PORTNAME}.zip bin/ubuntuone
XRUN_DEPENDS=	${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash \
X                ${LOCALBASE}/bin/curlftpfs:${PORTSDIR}/sysutils/fusefs-curlftpfs
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's,prefix=/usr/local,prefix=${PREFIX}/share/${PORTNAME},' ${WRKSRC}/ubuntuone
X	
Xdo-install:
X	${MKDIR} -p ${PREFIX}/share/u1ftp
X	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.zip ${PREFIX}/share/u1ftp/${PORTNAME}.zip
X	${INSTALL_DATA} ${WRKSRC}/ubuntuone ${PREFIX}/bin
X	${CHMOD} 755 ${PREFIX}/bin/ubuntuone
X
X.include <bsd.port.post.mk>
f9e00a6768676eb76506ea5c6f1de743
echo c - u1ftp/files
mkdir -p u1ftp/files > /dev/null 2>&1
echo x - u1ftp/files/patch-ubuntuone
sed 's/^X//' >u1ftp/files/patch-ubuntuone << '8fe3e900280c8395256feb84ee43bfe8'
X--- ./ubuntuone.orig	2013-07-05 21:41:16.000000000 -0300
X+++ ./ubuntuone	2013-07-06 12:01:19.000000000 -0300
X@@ -12,7 +12,8 @@
X myid=$(($myid + 1024))
X myuser=`echo "$1" | sed -e 's/@/%40/'`
X prefix=/usr/local
X-python "$prefix"/bin/u1ftp.zip &
X+python "$prefix"/u1ftp.zip &
X mkdir -p ~/Ubuntu\ One
X+sleep 5
X curlftpfs ftp://"$myuser":"$2"@localhost:$myid ~/Ubuntu\ One
X 
8fe3e900280c8395256feb84ee43bfe8
echo x - u1ftp/distinfo
sed 's/^X//' >u1ftp/distinfo << 'd0f1445b6296ada948f2861a6baada5d'
XSHA256 (u1ftp-0.2.tar.gz) = 76af3a10d28fc76c96be9355079fce30b69a5daecb9e24075b94d1b472c9801a
XSIZE (u1ftp-0.2.tar.gz) = 648496
d0f1445b6296ada948f2861a6baada5d
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->danfe 
Responsible-Changed-By: danfe 
Responsible-Changed-When: Tue Aug 6 05:52:08 UTC 2013 
Responsible-Changed-Why:  
I'll take it; submitted port has lots of bugs, it cannot be committed per se. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180351 
State-Changed-From-To: open->feedback 
State-Changed-By: danfe 
State-Changed-When: Tue Aug 6 14:13:57 UTC 2013 
State-Changed-Why:  
Something puzzles me: WWW line in pkg-descr points to launchpad.net, and 
they say that latest version is 0.1 (released on 2012-06-06), and mention 
it's licensed under GNU GPLv3. 

At the same time, MASTER_SITES point to seemingly unrelated "Make a PBI" 
project on SourceForge, which declares itself as BSD-licensed, yet also 
provides distfile called u1ftp-0.2.tar.gz, which not only has higher version 
than the upstream, but archive contents also differs significantly. 

What's going on here?  I'm not quite comfortable with what I currently see. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180351 
State-Changed-From-To: feedback->closed 
State-Changed-By: danfe 
State-Changed-When: Fri Apr 4 07:23:09 UTC 2014 
State-Changed-Why:  
It was announced that Canonical plans to shut down the Ubuntu One file 
services, hence I'm closing this PR.  Additionally, no feedback received 
since Aug 6 14:13:57 UTC 2013 about version and license controversy. 

http://blog.canonical.com/2014/04/02/shutting-down-ubuntu-one-file-services/ 

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