ports/138539: new port www/weave

Grzegorz Blach magik at roorback.net
Fri Sep 4 20:50:11 UTC 2009


>Number:         138539
>Category:       ports
>Synopsis:       new port www/weave
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 04 20:50:10 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Grzegorz Blach
>Release:        8.0-Beta3
>Organization:
>Environment:
FreeBSD silver.doors 8.0-BETA3 FreeBSD 8.0-BETA3 #2: Sat Aug 29 06:08:19 CEST 2009     root at silver.doors:/usr/obj/usr/src/sys/SILVER  i386

>Description:
I created port, which build mozilla weave (firefox extension), so it can be added to port tree for others

>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:
#
#	weave/
#	weave/Makefile
#	weave/files
#	weave/files/patch-freebsd_port
#	weave/pkg-descr
#	weave/distinfo
#	weave/pkg-plist
#
echo c - weave/
mkdir -p weave/ > /dev/null 2>&1
echo x - weave/Makefile
sed 's/^X//' >weave/Makefile << 'e11388eb87fd6ec574dadb1ed689a2fc'
X# New ports collection makefile for:	weave
X# Date created:		31 Aug 2009
X# Whom:			Grzegorz Blach <magik at roorback.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	weave
XPORTVERSION=	0.6
XCATEGORIES=	www
XMASTER_SITES=	http://files.roorback.net/
X
XMAINTAINER=	magik at roorback.net
XCOMMENT=	Mozilla Weave extension
X
XBUILD_DEPENDS=	:${PORTSDIR}/www/firefox35 \
X		:${PORTSDIR}/www/libxul
X
XUSE_BZIP2=	1
XUSE_GMAKE=	1
XGMAKE_FLAGS=	sdkdir=${PREFIX}/lib/firefox3/sdk rebuild_crypto=1 release_build=1 platform_target=FreeBSD_x86-gcc3
XALL_TARGET=	${GMAKE_FLAGS} build
XINSTALL_TARGET=	${GMAKE_FLAGS} xpi
X
XXPI_ID=		{340c2bbc-ce74-4362-90b5-7c26312808ef}
XXPI_DIR=	${PREFIX}/lib/xpi/${XPI_ID}
X
Xpost-install:
X	${MKDIR} ${XPI_DIR}
X	(cd ${XPI_DIR}; tar xvf ${WRKSRC}/dist/xpi/weave-0.6-rel.xpi)
X	${FIND} ${XPI_DIR} -type d -exec ${CHMOD} 755 '{}' \;
X	${FIND} ${XPI_DIR} -type f -exec ${CHMOD} 644 '{}' \;
X	${FIND} ${XPI_DIR} -name '*.so' -exec ${CHMOD} 755 '{}' \;
X	${LN} -s ${XPI_DIR} ${PREFIX}/lib/firefox3/extensions
X
X.include <bsd.port.mk>
e11388eb87fd6ec574dadb1ed689a2fc
echo c - weave/files
mkdir -p weave/files > /dev/null 2>&1
echo x - weave/files/patch-freebsd_port
sed 's/^X//' >weave/files/patch-freebsd_port << 'c57c2c47beb615ae1fe000738bd2750d'
Xdiff -ru crypto/src/Makefile.orig crypto/src/Makefile
X--- crypto/src/Makefile.orig	2009-08-27 22:08:18.000000000 +0200
X+++ crypto/src/Makefile	2009-08-31 01:10:19.000000000 +0200
X@@ -45,6 +45,10 @@
X sys := $(shell uname -s)
X wince = $(WINCE)
X 
X+ifeq ($(sys), FreeBSD)
X+  xpidl = $(PREFIX)/lib/libxul/xpidl -I$(PREFIX)/share/idl/firefox3/stable
X+endif
X+
X ifeq ($(wince), 1)
X   os = WINNT
X   cxx = $(sdkdir)/sdk/bin/arm-wince-gcc
X@@ -66,6 +70,14 @@
X   so = so
X   cppflags += -shared
X else
X+ifeq ($(sys), FreeBSD)
X+  os = FreeBSD
X+  compiler = gcc3
X+  cxx = c++
X+  so = so
X+  cppflags += -shared
X+  ldflags += -L$(PREFIX)/lib/firefox3 -L$(PREFIX)/lib
X+else
X ifeq ($(sys), MINGW32_NT-6.1)
X   os = WINNT
X   compiler = msvc
X@@ -92,6 +104,7 @@
X endif
X endif
X endif
X+endif
X 
X # Arch detection
X 
X@@ -188,6 +201,13 @@
X           -I$(sdkdir)/include/nspr \
X           -I$(sdkdir)/sdk/include
X 
X+ifeq ($(sys), FreeBSD)
X+  headers += -I$(PREFIX)/include/firefox3/stable \
X+             -I$(PREFIX)/include/nspr \
X+             -I$(PREFIX)/include/nss \
X+             -I$(PREFIX)/include/firefox3/unstable
X+endif
X+
X # libraries
X libdirs := $(sdkdir)/lib $(sdkdir)/bin
X ifeq ($(wince),1)
X@@ -202,6 +222,10 @@
X 
X ifeq ($(os), Linux)
X   libs := xpcom_core $(libs)
X+else
X+ifeq ($(os), FreeBSD)
X+  libs := xpcom $(libs)
X+endif
X endif
X 
X # compiler and Linker Flags
X@@ -264,6 +288,25 @@
X              $(sdkdir)/lib/libxpcomglue_s.a \
X              $(libdirs) $(libs)
X else
X+ifeq ($(os), FreeBSD)
X+  libdirs := $(patsubst %,-L%,$(libdirs))
X+  libs := $(patsubst %,-l%,$(libs))
X+  cppflags += -pipe -O2 \
X+              -fPIC -fno-rtti -fno-exceptions -fno-strict-aliasing \
X+              -fno-common -pthread \
X+              -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth \
X+              -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align \
X+              -Wno-long-long \
X+              -include xpcom-config.h $(headers) \
X+              -fshort-wchar
X+  ldflags += -pthread -pipe -DMOZILLA_STRICT_API \
X+             -Wl,-dead_strip \
X+             -Wl,-exported_symbol \
X+             -Wl,-z,defs -Wl,-h,WeaveCrypto.so \
X+             -Wl,-rpath-link,$(sdkdir)/bin \
X+             $(sdkdir)/lib/libxpcomglue_s.a \
X+             $(libdirs) $(libs)
X+else
X ifeq ($(os), SunOS)
X   libdirs := $(patsubst %,-L%,$(libdirs))
X   libs := $(patsubst %,-l%,$(libs))
X@@ -303,6 +346,7 @@
X endif
X endif
X endif
X+endif
X 
X ######################################################################
X 
X@@ -361,6 +405,11 @@
X 	$(cxx) $(cppflags) -o $@ $(cpp_sources) $(ldflags)
X 	chmod +x $@
X else
X+ifeq ($(os), FreeBSD)
X+  $(so_target): $(idl_headers)
X+	$(cxx) $(cppflags) -o $@ $(cpp_sources) $(ldflags)
X+	chmod +x $@
X+else
X ifeq ($(os), SunOS)
X   $(so_target): $(idl_headers)
X 	$(cxx) $(cppflags) -o $@ $(cpp_sources) $(ldflags)
X@@ -380,3 +429,4 @@
X endif
X endif
X endif
X+endif
c57c2c47beb615ae1fe000738bd2750d
echo x - weave/pkg-descr
sed 's/^X//' >weave/pkg-descr << 'c8392bc4c31c45d1314067f4362fa5bb'
XWeave is a Mozilla Labs project to explore ways in which
Xthe browser can broker richer experiences on the Web,
Xby integrating more closely with online services.
X
XWWW: http://labs.mozilla.com/weave/
c8392bc4c31c45d1314067f4362fa5bb
echo x - weave/distinfo
sed 's/^X//' >weave/distinfo << '11f77058d15488f6cb9d4a620461dfb2'
XMD5 (weave-0.6.tar.bz2) = 83435fb51b7c87b6ca4b7eff26ca8541
XSHA256 (weave-0.6.tar.bz2) = 545ef4739ff3f23cfde91859c22d9cc0292d7ba7d8db25cfae438b70ca139e49
XSIZE (weave-0.6.tar.bz2) = 1414638
11f77058d15488f6cb9d4a620461dfb2
echo x - weave/pkg-plist
sed 's/^X//' >weave/pkg-plist << '41e8e6eb1c0fee99398bff081f35f0da'
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/chrome/sync.jar
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/defaults/preferences/sync.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/components/IWeaveCrypto.xpt
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/components/Weave.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/base_records/collection.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/base_records/crypto.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/base_records/keys.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/base_records/wbo.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/themes.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/clientData.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/cookies.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/extensions.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/forms.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/history.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/input.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/microformats.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/passwords.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/plugins.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/prefs.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/tabs.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines/bookmarks.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/history.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/clientData.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/forms.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/bookmark.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/passwords.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/prefs.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/tabs.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/ext/Observers.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/ext/Preferences.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/ext/StringBundle.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/ext/Sync.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/xmpp/authenticationLayer.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/xmpp/readme.txt
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/xmpp/transportLayer.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/xmpp/xmppClient.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/auth.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/notifications.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/resource.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/service.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/stores.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/trackers.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/util.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/log4moz.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/faultTolerance.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/identity.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/constants.js
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/platform/FreeBSD_x86-gcc3/components/WeaveCrypto.so
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/install.rdf
Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/chrome.manifest
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/platform/FreeBSD_x86-gcc3/components
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/platform/FreeBSD_x86-gcc3
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/platform
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/xmpp
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/ext
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/engines
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/base_records
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/components
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/defaults/preferences
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/defaults
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/chrome
X at dirrm lib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}
41e8e6eb1c0fee99398bff081f35f0da
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list