ports/140322: update of port www/weave

Grzegorz Blach magik at roorback.net
Sat Nov 21 10:54:18 UTC 2009


Weave port with fixed plist
-------------- next part --------------
# 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/old
#	weave/Makefile
#	weave/pkg-descr
#	weave/distinfo
#	weave/pkg-plist
#	weave/files
#	weave/files/patch-Makefile
#	weave/files/patch-crypto-src-Makefile
#
echo c - weave
mkdir -p weave > /dev/null 2>&1
echo x - weave/old
sed 's/^X//' >weave/old << 'd86a960585329d7b1b35d7116fadc555'
X%%XPI_XPIDIR%%/chrome/sync.jar
X%%XPI_XPIDIR%%/defaults/preferences/sync.js
X%%XPI_XPIDIR%%/components/IWeaveCrypto.xpt
X%%XPI_XPIDIR%%/components/Weave.js
X%%XPI_XPIDIR%%/modules/base_records/collection.js
X%%XPI_XPIDIR%%/modules/base_records/crypto.js
X%%XPI_XPIDIR%%/modules/base_records/keys.js
X%%XPI_XPIDIR%%/modules/base_records/wbo.js
X%%XPI_XPIDIR%%/modules/engines/themes.js
X%%XPI_XPIDIR%%/modules/engines/clientData.js
X%%XPI_XPIDIR%%/modules/engines/cookies.js
X%%XPI_XPIDIR%%/modules/engines/extensions.js
X%%XPI_XPIDIR%%/modules/engines/forms.js
X%%XPI_XPIDIR%%/modules/engines/history.js
X%%XPI_XPIDIR%%/modules/engines/input.js
X%%XPI_XPIDIR%%/modules/engines/microformats.js
X%%XPI_XPIDIR%%/modules/engines/passwords.js
X%%XPI_XPIDIR%%/modules/engines/plugins.js
X%%XPI_XPIDIR%%/modules/engines/prefs.js
X%%XPI_XPIDIR%%/modules/engines/tabs.js
X%%XPI_XPIDIR%%/modules/engines/bookmarks.js
X%%XPI_XPIDIR%%/modules/type_records/history.js
X%%XPI_XPIDIR%%/modules/type_records/clientData.js
X%%XPI_XPIDIR%%/modules/type_records/forms.js
X%%XPI_XPIDIR%%/modules/type_records/bookmark.js
X%%XPI_XPIDIR%%/modules/type_records/passwords.js
X%%XPI_XPIDIR%%/modules/type_records/prefs.js
X%%XPI_XPIDIR%%/modules/type_records/tabs.js
X%%XPI_XPIDIR%%/modules/ext/Observers.js
X%%XPI_XPIDIR%%/modules/ext/Preferences.js
X%%XPI_XPIDIR%%/modules/ext/StringBundle.js
X%%XPI_XPIDIR%%/modules/ext/Sync.js
X%%XPI_XPIDIR%%/modules/xmpp/authenticationLayer.js
X%%XPI_XPIDIR%%/modules/xmpp/readme.txt
X%%XPI_XPIDIR%%/modules/xmpp/transportLayer.js
X%%XPI_XPIDIR%%/modules/xmpp/xmppClient.js
X%%XPI_XPIDIR%%/modules/auth.js
X%%XPI_XPIDIR%%/modules/notifications.js
X%%XPI_XPIDIR%%/modules/resource.js
X%%XPI_XPIDIR%%/modules/service.js
X%%XPI_XPIDIR%%/modules/stores.js
X%%XPI_XPIDIR%%/modules/trackers.js
X%%XPI_XPIDIR%%/modules/util.js
X%%XPI_XPIDIR%%/modules/log4moz.js
X%%XPI_XPIDIR%%/modules/engines.js
X%%XPI_XPIDIR%%/modules/identity.js
X%%XPI_XPIDIR%%/modules/constants.js
X%%XPI_XPIDIR%%/platform/%%PLATFORM%%/components/WeaveCrypto.so
X%%XPI_XPIDIR%%/install.rdf
X%%XPI_XPIDIR%%/chrome.manifest
Xlib/firefox3/extensions/%%XPI_XPIID%%
X at dirrm %%XPI_XPIDIR%%/platform/%%PLATFORM%%/components
X at dirrm %%XPI_XPIDIR%%/platform/%%PLATFORM%%
X at dirrm %%XPI_XPIDIR%%/platform
X at dirrm %%XPI_XPIDIR%%/modules/xmpp
X at dirrm %%XPI_XPIDIR%%/modules/ext
X at dirrm %%XPI_XPIDIR%%/modules/type_records
X at dirrm %%XPI_XPIDIR%%/modules/engines
X at dirrm %%XPI_XPIDIR%%/modules/base_records
X at dirrm %%XPI_XPIDIR%%/modules
X at dirrm %%XPI_XPIDIR%%/components
X at dirrm %%XPI_XPIDIR%%/defaults/preferences
X at dirrm %%XPI_XPIDIR%%/defaults
X at dirrm %%XPI_XPIDIR%%/chrome
X at dirrm %%XPI_XPIDIR%%
X at dirrmtry lib/xpi
d86a960585329d7b1b35d7116fadc555
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: ports/www/weave/Makefile,v 1.3 2009/11/05 19:35:24 glarkin Exp $
X#
X
XPORTNAME=	weave
XPORTVERSION=	1.0b1
XCATEGORIES=	www
XMASTER_SITES=	http://files.roorback.net/ \
X		LOCAL/glarkin
X
XMAINTAINER=	magik at roorback.net
XCOMMENT=	Mozilla Weave extension
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/firefox3/firefox:${PORTSDIR}/www/firefox35 \
X		${LOCALBASE}/lib/libxul/xpidl:${PORTSDIR}/www/libxul
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XONLY_FOR_ARCHS=	i386 amd64
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
X
X.include <bsd.port.options.mk>
X
X.if ${ARCH} == i386
XPLATFORM=	FreeBSD_x86-gcc3
X.elif ${ARCH} == amd64
XPLATFORM=	FreeBSD_x86_64-gcc3
X.endif
X
XGMAKE_FLAGS=	sdkdir=${PREFIX}/lib/firefox3/sdk rebuild_crypto=1 release_build=1 platform_target=${PLATFORM}
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
XPLIST_SUB+=	XPI_XPIDIR="${XPI_DIR:S,^${PREFIX}/,,}" \
X		XPI_XPIID=${XPI_ID} \
X		PLATFORM=${PLATFORM}
X
Xpost-install:
X	${MKDIR} ${XPI_DIR}
X	(cd ${XPI_DIR}; tar -xf ${WRKSRC}/dist/xpi/weave-${PORTVERSION}-rel.xpi)
X	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_DIR}/
X	${CHMOD} -R a+rX,go-w ${XPI_DIR}/
X	${MKDIR} ${PREFIX}/lib/firefox3/extensions
X	${LN} -sf ${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-1.0b1.tar.bz2) = 11d4d31548d987b2906a274cd2ab4f78
XSHA256 (weave-1.0b1.tar.bz2) = 21f2c9cf753f03c18b7e214234e85a1ff128b8414bc93cc9d68a2bbb41f87dcf
XSIZE (weave-1.0b1.tar.bz2) = 428074
11f77058d15488f6cb9d4a620461dfb2
echo x - weave/pkg-plist
sed 's/^X//' >weave/pkg-plist << '41e8e6eb1c0fee99398bff081f35f0da'
X%%XPI_XPIDIR%%/chrome/sync.jar
X%%XPI_XPIDIR%%/defaults/preferences/sync.js
X%%XPI_XPIDIR%%/components/IWeaveCrypto.xpt
X%%XPI_XPIDIR%%/components/Weave.js
X%%XPI_XPIDIR%%/modules/base_records/collection.js
X%%XPI_XPIDIR%%/modules/base_records/crypto.js
X%%XPI_XPIDIR%%/modules/base_records/keys.js
X%%XPI_XPIDIR%%/modules/base_records/wbo.js
X%%XPI_XPIDIR%%/modules/engines/themes.js
X%%XPI_XPIDIR%%/modules/engines/clientData.js
X%%XPI_XPIDIR%%/modules/engines/cookies.js
X%%XPI_XPIDIR%%/modules/engines/extensions.js
X%%XPI_XPIDIR%%/modules/engines/forms.js
X%%XPI_XPIDIR%%/modules/engines/history.js
X%%XPI_XPIDIR%%/modules/engines/input.js
X%%XPI_XPIDIR%%/modules/engines/microformats.js
X%%XPI_XPIDIR%%/modules/engines/passwords.js
X%%XPI_XPIDIR%%/modules/engines/plugins.js
X%%XPI_XPIDIR%%/modules/engines/prefs.js
X%%XPI_XPIDIR%%/modules/engines/tabs.js
X%%XPI_XPIDIR%%/modules/engines/bookmarks.js
X%%XPI_XPIDIR%%/modules/type_records/history.js
X%%XPI_XPIDIR%%/modules/type_records/clientData.js
X%%XPI_XPIDIR%%/modules/type_records/forms.js
X%%XPI_XPIDIR%%/modules/type_records/bookmark.js
X%%XPI_XPIDIR%%/modules/type_records/passwords.js
X%%XPI_XPIDIR%%/modules/type_records/prefs.js
X%%XPI_XPIDIR%%/modules/type_records/tabs.js
X%%XPI_XPIDIR%%/modules/ext/Observers.js
X%%XPI_XPIDIR%%/modules/ext/Preferences.js
X%%XPI_XPIDIR%%/modules/ext/StringBundle.js
X%%XPI_XPIDIR%%/modules/ext/Sync.js
X%%XPI_XPIDIR%%/modules/auth.js
X%%XPI_XPIDIR%%/modules/notifications.js
X%%XPI_XPIDIR%%/modules/resource.js
X%%XPI_XPIDIR%%/modules/service.js
X%%XPI_XPIDIR%%/modules/status.js
X%%XPI_XPIDIR%%/modules/stores.js
X%%XPI_XPIDIR%%/modules/trackers.js
X%%XPI_XPIDIR%%/modules/util.js
X%%XPI_XPIDIR%%/modules/log4moz.js
X%%XPI_XPIDIR%%/modules/engines.js
X%%XPI_XPIDIR%%/modules/identity.js
X%%XPI_XPIDIR%%/modules/constants.js
X%%XPI_XPIDIR%%/platform/%%PLATFORM%%/components/WeaveCrypto.so
X%%XPI_XPIDIR%%/install.rdf
X%%XPI_XPIDIR%%/chrome.manifest
Xlib/firefox3/extensions/%%XPI_XPIID%%
X at dirrm %%XPI_XPIDIR%%/platform/%%PLATFORM%%/components
X at dirrm %%XPI_XPIDIR%%/platform/%%PLATFORM%%
X at dirrm %%XPI_XPIDIR%%/platform
X at dirrm %%XPI_XPIDIR%%/modules/ext
X at dirrm %%XPI_XPIDIR%%/modules/type_records
X at dirrm %%XPI_XPIDIR%%/modules/engines
X at dirrm %%XPI_XPIDIR%%/modules/base_records
X at dirrm %%XPI_XPIDIR%%/modules
X at dirrm %%XPI_XPIDIR%%/components
X at dirrm %%XPI_XPIDIR%%/defaults/preferences
X at dirrm %%XPI_XPIDIR%%/defaults
X at dirrm %%XPI_XPIDIR%%/chrome
X at dirrm %%XPI_XPIDIR%%
X at dirrmtry lib/xpi
41e8e6eb1c0fee99398bff081f35f0da
echo c - weave/files
mkdir -p weave/files > /dev/null 2>&1
echo x - weave/files/patch-Makefile
sed 's/^X//' >weave/files/patch-Makefile << '2bbb377499acbb7ddb915f073be2d38b'
X--- Makefile.orig	2009-10-01 01:19:33.000000000 +0000
X+++ Makefile	2009-10-04 19:49:04.000000000 +0000
X@@ -64,7 +64,7 @@
X buildid_short := $(buildid)
X ifeq ($(buildid),)
X   date    := $(shell date -u +%Y%m%d%H%M)
X-  revid   := $(shell hg tip --template '{node|short}')
X+  revid   := 6fd2e74936a6
X   buildid := $(date)-$(revid)
X   buildid_short := $(date)
X endif
2bbb377499acbb7ddb915f073be2d38b
echo x - weave/files/patch-crypto-src-Makefile
sed 's/^X//' >weave/files/patch-crypto-src-Makefile << '45162eb65fc522f1c6b0c53a88dd02e3'
X--- crypto/src/Makefile.orig    2009-08-27 22:08:18.000000000 +0200
X+++ crypto/src/Makefile 2009-09-18 21:52:06.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 -lc
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@@ -121,6 +134,9 @@
X ifeq ($(machine), x86_64)
X   arch = x86_64
X else
X+ifeq ($(machine), amd64)
X+  arch = x86_64
X+else
X   $(error: Sorry, your architecture is unknown/unsupported: $(machine))
X endif
X endif
X@@ -130,6 +146,7 @@
X endif
X endif
X endif
X+endif
X 
X # Universal binary so no need for $(arch) for Darwin
X 
X@@ -188,6 +205,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 +226,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 +292,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 +350,7 @@
X endif
X endif
X endif
X+endif
X 
X ######################################################################
X 
X@@ -361,6 +409,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 +433,4 @@
X endif
X endif
X endif
X+endif
45162eb65fc522f1c6b0c53a88dd02e3
exit

-------------- next part --------------
diff -ur weave.old/Makefile weave/Makefile
--- weave.old/Makefile	2009-11-05 20:35:24.000000000 +0100
+++ weave/Makefile	2009-11-18 22:25:32.942334290 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	weave
-PORTVERSION=	0.7
+PORTVERSION=	1.0b1
 CATEGORIES=	www
 MASTER_SITES=	http://files.roorback.net/ \
 		LOCAL/glarkin
diff -ur weave.old/distinfo weave/distinfo
--- weave.old/distinfo	2009-10-07 21:52:47.000000000 +0200
+++ weave/distinfo	2009-11-18 22:25:32.943333859 +0100
@@ -1,3 +1,3 @@
-MD5 (weave-0.7.tar.bz2) = 147cf606f0b14d29970f8daf414e45a9
-SHA256 (weave-0.7.tar.bz2) = 58ab733c325aa9f130dacc1ef9f1f36dd02a065bee3b3a3c8d540d7203697ef9
-SIZE (weave-0.7.tar.bz2) = 807987
+MD5 (weave-1.0b1.tar.bz2) = 11d4d31548d987b2906a274cd2ab4f78
+SHA256 (weave-1.0b1.tar.bz2) = 21f2c9cf753f03c18b7e214234e85a1ff128b8414bc93cc9d68a2bbb41f87dcf
+SIZE (weave-1.0b1.tar.bz2) = 428074
diff -ur weave.old/files/patch-Makefile weave/files/patch-Makefile
--- weave.old/files/patch-Makefile	2009-10-07 21:52:47.000000000 +0200
+++ weave/files/patch-Makefile	2009-11-18 22:25:32.760330991 +0100
@@ -5,7 +5,7 @@
  ifeq ($(buildid),)
    date    := $(shell date -u +%Y%m%d%H%M)
 -  revid   := $(shell hg tip --template '{node|short}')
-+  revid   := bc1857fb6754
++  revid   := 6fd2e74936a6
    buildid := $(date)-$(revid)
    buildid_short := $(date)
  endif
Only in weave: old
diff -ur weave.old/pkg-plist weave/pkg-plist
--- weave.old/pkg-plist	2009-10-07 21:52:47.000000000 +0200
+++ weave/pkg-plist	2009-11-21 11:51:31.216148420 +0100
@@ -30,14 +30,11 @@
 %%XPI_XPIDIR%%/modules/ext/Preferences.js
 %%XPI_XPIDIR%%/modules/ext/StringBundle.js
 %%XPI_XPIDIR%%/modules/ext/Sync.js
-%%XPI_XPIDIR%%/modules/xmpp/authenticationLayer.js
-%%XPI_XPIDIR%%/modules/xmpp/readme.txt
-%%XPI_XPIDIR%%/modules/xmpp/transportLayer.js
-%%XPI_XPIDIR%%/modules/xmpp/xmppClient.js
 %%XPI_XPIDIR%%/modules/auth.js
 %%XPI_XPIDIR%%/modules/notifications.js
 %%XPI_XPIDIR%%/modules/resource.js
 %%XPI_XPIDIR%%/modules/service.js
+%%XPI_XPIDIR%%/modules/status.js
 %%XPI_XPIDIR%%/modules/stores.js
 %%XPI_XPIDIR%%/modules/trackers.js
 %%XPI_XPIDIR%%/modules/util.js
@@ -52,7 +49,6 @@
 @dirrm %%XPI_XPIDIR%%/platform/%%PLATFORM%%/components
 @dirrm %%XPI_XPIDIR%%/platform/%%PLATFORM%%
 @dirrm %%XPI_XPIDIR%%/platform
- at dirrm %%XPI_XPIDIR%%/modules/xmpp
 @dirrm %%XPI_XPIDIR%%/modules/ext
 @dirrm %%XPI_XPIDIR%%/modules/type_records
 @dirrm %%XPI_XPIDIR%%/modules/engines


More information about the freebsd-ports-bugs mailing list