Re: Ubuntu One port -- update

2011-08-11 Thread Jesse Smith
-Original Message-
From: Koop Mast k...@rainbow-runner.nl
To: gni...@gmail.com
Cc: Jesse Smith jessefrgsm...@yahoo.ca, freebsd-ports@freebsd.org
Subject: Re: Ubuntu One port
Date: Thu, 11 Aug 2011 23:08:29 +0200

On Fri, 2011-08-12 at 00:02 +0300, Anton wrote:
 On 11.08.2011 01:53, Jesse Smith wrote:
  Hi all,
 
  I've been working on a port of the Ubuntu One client. Ubuntu One is a
  cloud storage service and the client is used to sync files with the
  remote server.
 
  The port has been progressing well and I've reached a point where it
  builds and installs cleanly on my machine. However, running the software
  still seems a bit flaky, I don't think the daemon is running properly.
 
  Is anyone here willing to give the attached port a try and send me
  feedback/suggestions?
 
 Build port is failed for me.
 
 text of error here:
 
 ===   Running ldconfig
 /sbin/ldconfig -m /usr/local/lib
 ===   Registering installation for evolution-data-server-2.32.1_1
 === SECURITY REPORT:
This port has installed the following binaries which execute with
increased privileges.
 /usr/local/libexec/camel-lock-helper-1.2
 
If there are vulnerabilities in these programs there may be a 
 security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
 ===   Returning to build of ubuntuone-client-1.7.0
 Error: shared library ebook-1.2.9 does not exist
 *** Error code 1
 
 Stop in /usr/ports/net/ubuntuone.

There isn't a libebook-1.2.9 in our evolution-data-server port only
libebook-1.2.10. And why not use the USE_GNOME=evolutiondataserver
switch to depend on it? More values are mentioned at line 81 of
Mk/bsd.gnome.mk.

 
 Is camel-lock-helper-1.2 vulnerable?
 
I have idea what you mean with this.

-Koop



I have switched out the libebook requirement for
USE_GNOME=evolutiondataserver and I also found another dependency
which had been installed on my system. Please find attached my updated
port.

Jesse


# 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:
#
#   ubuntuone/
#   ubuntuone/Makefile
#   ubuntuone/files
#   ubuntuone/files/patch-gsd-plugin__Makefile.in
#   ubuntuone/files/patch-libsyncdaemon__Makefile.in
#   ubuntuone/pkg-descr
#   ubuntuone/pkg-plist
#
echo c - ubuntuone/
mkdir -p ubuntuone/  /dev/null 21
echo x - ubuntuone/Makefile
sed 's/^X//' ubuntuone/Makefile  '4389879cafd3f1803ddcb97118823a93'
X# New ports collection makefile for:   ubuntuone
X# Date created:August 1, 2011
X# Whom:Jesse
X#
X# $FreeBSD: $
X#
X
XPORTNAME=  ubuntuone-client
XPORTVERSION=   1.7.0
XCATEGORIES=ftp
XMASTER_SITES=  http://launchpadlibrarian.net/74046725/
X
XMAINTAINER=jessefrgsm...@yahoo.ca
XCOMMENT=   Client software for Ubuntu One cloud services
X
XLICENSE=   GPLv3
XUSE_GNOME= evolutiondataserver
XLIB_DEPENDS=   nautilus-extension.1:${PORTSDIR}/x11-fm/nautilus \
Xgconf-2.4:${PORTSDIR}/devel/gconf2 \
X   keyboard:${PORTSDIR}/sysutils/gnome-settings-daemon
X
XBUILD_DEPENDS= lndir:${PORTSDIR}/devel/lndir \
X   gettext:$(PORTSDIR)/devel/gettext
X
XWRKSRC=${WRKDIR}/${PORTNAME}-${PORTVERSION}
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS=--prefix=/usr/local --libdir=/usr/local/lib
X# HAS_CONFIGURE=   yes
XUSE_PYTHON=yes
XUSE_GMAKE= yes
X
X
X.include bsd.port.mk
4389879cafd3f1803ddcb97118823a93
echo c - ubuntuone/files
mkdir -p ubuntuone/files  /dev/null 21
echo x - ubuntuone/files/patch-gsd-plugin__Makefile.in
sed 's/^X//' ubuntuone/files/patch-gsd-plugin__Makefile.in  
'7680c73ce1a1b69b2a41aa3a280645f8'
X--- ./gsd-plugin/Makefile.in.orig  2011-06-24 17:30:17.0 -0300
X+++ ./gsd-plugin/Makefile.in   2011-08-08 14:15:52.0 -0300
X@@ -84,7 +84,7 @@
X   $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
X   $(libubuntuone_la_CFLAGS) $(CFLAGS) $(libubuntuone_la_LDFLAGS) \
X   $(LDFLAGS) -o $@
X-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
X+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I/usr/local/include
X depcomp = $(SHELL) $(top_srcdir)/depcomp
X am__depfiles_maybe = depfiles
X am__mv = mv -f
X@@ -376,8 +376,9 @@
X else :; fi; \
X   done; \
X   test -z $$list2 || { \
X-echo  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install 
$(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'; \
X-$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install 
$(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 $(DESTDIR)$(plugindir); \
X+# echo  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) 

Re: Ubuntu One port -- update

2011-08-11 Thread Jason Helfman

On Thu, Aug 11, 2011 at 08:54:00PM -0300, Jesse Smith thus spake:

-Original Message-
From: Koop Mast k...@rainbow-runner.nl
To: gni...@gmail.com
Cc: Jesse Smith jessefrgsm...@yahoo.ca, freebsd-ports@freebsd.org
Subject: Re: Ubuntu One port
Date: Thu, 11 Aug 2011 23:08:29 +0200

On Fri, 2011-08-12 at 00:02 +0300, Anton wrote:

On 11.08.2011 01:53, Jesse Smith wrote:
 Hi all,

 I've been working on a port of the Ubuntu One client. Ubuntu One is a
 cloud storage service and the client is used to sync files with the
 remote server.

 The port has been progressing well and I've reached a point where it
 builds and installs cleanly on my machine. However, running the software
 still seems a bit flaky, I don't think the daemon is running properly.

 Is anyone here willing to give the attached port a try and send me
 feedback/suggestions?

Build port is failed for me.

text of error here:

===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===   Registering installation for evolution-data-server-2.32.1_1
=== SECURITY REPORT:
   This port has installed the following binaries which execute with
   increased privileges.
/usr/local/libexec/camel-lock-helper-1.2

   If there are vulnerabilities in these programs there may be a
security
   risk to the system. FreeBSD makes no guarantee about the security of
   ports included in the Ports Collection. Please type 'make deinstall'
   to deinstall the port if this is a concern.
===   Returning to build of ubuntuone-client-1.7.0
Error: shared library ebook-1.2.9 does not exist
*** Error code 1

Stop in /usr/ports/net/ubuntuone.


There isn't a libebook-1.2.9 in our evolution-data-server port only
libebook-1.2.10. And why not use the USE_GNOME=evolutiondataserver
switch to depend on it? More values are mentioned at line 81 of
Mk/bsd.gnome.mk.



Is camel-lock-helper-1.2 vulnerable?


I have idea what you mean with this.

-Koop



I have switched out the libebook requirement for
USE_GNOME=evolutiondataserver and I also found another dependency
which had been installed on my system. Please find attached my updated
port.

Jesse





You may want to check out the porters handbook for some guidance on this
port.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html

For instance, the default WRKSRC is what you have defined, so that is not
needed.

You don't need to have gettext as a build dependency, if you include this in
your port:
USE_GETTEXT=yes

I would recommend tuning your use of /usr/local to be ${LOCALBASE}, as
${LOCALBASE} = /usr/local

In addition, you may want to look into disabling nls, if you can, during the
configure, as an option.

I also highly recommend running portlint against this port, as it will tell
you a number of issue to cleanup.

Hope this is of some help,
Jason

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Ubuntu One port -- update

2011-08-11 Thread Anton

On 12.08.2011 02:54, Jesse Smith wrote:

Please find attached my updated port. Jesse



I try ubuntu-one-take2.txt and got error:

===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===   Registering installation for gnome-settings-daemon-2.32.1_1
===   Returning to build of ubuntuone-client-1.7.0
Error: shared library keyboard does not exist
*** Error code 1

Stop in /usr/ports/net/ubuntuone.


--
best regards,
Anton

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org