ports/138539: new port www/weave

Grzegorz Blach magik at roorback.net
Mon Sep 7 04:00:14 UTC 2009


The following reply was made to PR ports/138539; it has been noted by GNATS.

From: Grzegorz Blach <magik at roorback.net>
To: bug-followup at FreeBSD.org, magik at roorback.net
Cc:  
Subject: Re: ports/138539: new port www/weave
Date: Mon, 7 Sep 2009 05:28:13 +0200

 --MP_/OozMIgHKspH.Ws.YctHuiyE
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 I updated weave port, to correctly build dependences.
 shar archive in attachment.
 
 --MP_/OozMIgHKspH.Ws.YctHuiyE
 Content-Type: text/plain
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment; filename=weave.shar.txt
 
 # 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/files
 #	weave/files/patch-freebsd_port
 #	weave/Makefile
 #	weave/pkg-descr
 #	weave/distinfo
 #	weave/pkg-plist
 #
 echo c - weave
 mkdir -p weave > /dev/null 2>&1
 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 << 'c57c2c47beb615ae1fe000738b=
 d2750d'
 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 :=3D $(shell uname -s)
 X wince =3D $(WINCE)
 X=20
 X+ifeq ($(sys), FreeBSD)
 X+  xpidl =3D $(PREFIX)/lib/libxul/xpidl -I$(PREFIX)/share/idl/firefox3/sta=
 ble
 X+endif
 X+
 X ifeq ($(wince), 1)
 X   os =3D WINNT
 X   cxx =3D $(sdkdir)/sdk/bin/arm-wince-gcc
 X@@ -66,6 +70,14 @@
 X   so =3D so
 X   cppflags +=3D -shared
 X else
 X+ifeq ($(sys), FreeBSD)
 X+  os =3D FreeBSD
 X+  compiler =3D gcc3
 X+  cxx =3D c++
 X+  so =3D so
 X+  cppflags +=3D -shared
 X+  ldflags +=3D -L$(PREFIX)/lib/firefox3 -L$(PREFIX)/lib
 X+else
 X ifeq ($(sys), MINGW32_NT-6.1)
 X   os =3D WINNT
 X   compiler =3D msvc
 X@@ -92,6 +104,7 @@
 X endif
 X endif
 X endif
 X+endif
 X=20
 X # Arch detection
 X=20
 X@@ -188,6 +201,13 @@
 X           -I$(sdkdir)/include/nspr \
 X           -I$(sdkdir)/sdk/include
 X=20
 X+ifeq ($(sys), FreeBSD)
 X+  headers +=3D -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 :=3D $(sdkdir)/lib $(sdkdir)/bin
 X ifeq ($(wince),1)
 X@@ -202,6 +222,10 @@
 X=20
 X ifeq ($(os), Linux)
 X   libs :=3D xpcom_core $(libs)
 X+else
 X+ifeq ($(os), FreeBSD)
 X+  libs :=3D xpcom $(libs)
 X+endif
 X endif
 X=20
 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 :=3D $(patsubst %,-L%,$(libdirs))
 X+  libs :=3D $(patsubst %,-l%,$(libs))
 X+  cppflags +=3D -pipe -O2 \
 X+              -fPIC -fno-rtti -fno-exceptions -fno-strict-aliasing \
 X+              -fno-common -pthread \
 X+              -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Ws=
 ynth \
 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 +=3D -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 :=3D $(patsubst %,-L%,$(libdirs))
 X   libs :=3D $(patsubst %,-l%,$(libs))
 X@@ -303,6 +346,7 @@
 X endif
 X endif
 X endif
 X+endif
 X=20
 X ######################################################################
 X=20
 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/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=3D	weave
 XPORTVERSION=3D	0.6
 XCATEGORIES=3D	www
 XMASTER_SITES=3D	http://files.roorback.net/
 X
 XMAINTAINER=3D	magik at roorback.net
 XCOMMENT=3D	Mozilla Weave extension
 X
 XBUILD_DEPENDS=3D	${PREFIX}/lib/firefox3/firefox:${PORTSDIR}/www/firefox35 \
 X		${PREFIX}/lib/libxul/xpidl:${PORTSDIR}/www/libxul
 X
 XUSE_BZIP2=3D	1
 XUSE_GMAKE=3D	1
 XGMAKE_FLAGS=3D	sdkdir=3D${PREFIX}/lib/firefox3/sdk rebuild_crypto=3D1 rele=
 ase_build=3D1 platform_target=3DFreeBSD_x86-gcc3
 XALL_TARGET=3D	${GMAKE_FLAGS} build
 XINSTALL_TARGET=3D	${GMAKE_FLAGS} xpi
 X
 XXPI_ID=3D		{340c2bbc-ce74-4362-90b5-7c26312808ef}
 XXPI_DIR=3D	${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 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) =3D 83435fb51b7c87b6ca4b7eff26ca8541
 XSHA256 (weave-0.6.tar.bz2) =3D 545ef4739ff3f23cfde91859c22d9cc0292d7ba7d8d=
 b25cfae438b70ca139e49
 XSIZE (weave-0.6.tar.bz2) =3D 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/collec=
 tion.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/microformat=
 s.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/histor=
 y.js
 Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/client=
 Data.js
 Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/forms.=
 js
 Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/bookma=
 rk.js
 Xlib/xpi/{340c2bbc-ce74-4362-90b5-7c26312808ef}/modules/type_records/passwo=
 rds.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/authentication=
 Layer.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/c=
 omponents/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
 
 
 --MP_/OozMIgHKspH.Ws.YctHuiyE--



More information about the freebsd-ports-bugs mailing list