From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 6 18:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 A4B23543 for ; Sat, 6 Jul 2013 18:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 894E91F81 for ; Sat, 6 Jul 2013 18:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r66IU0Nr051717 for ; Sat, 6 Jul 2013 18:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r66IU0wZ051716; Sat, 6 Jul 2013 18:30:00 GMT (envelope-from gnats) Resent-Date: Sat, 6 Jul 2013 18:30:00 GMT Resent-Message-Id: <201307061830.r66IU0wZ051716@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jesse 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 ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/180351: new port: ftp/u1ftp X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jul 2013 18:30:00 -0000 >Number: 180351 >Category: ports >Synopsis: new port: ftp/u1ftp >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: Sat Jul 06 18:30:00 UTC 2013 >Closed-Date: >Last-Modified: >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 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 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: >Unformatted: