Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2006 06:22:24 -0800 (PST)
From:      "infofarmer @ gmail. com" <infofarmer@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/95076: New ports: new xpi extensions
Message-ID:  <442a9820.046692f8.1c13.0a93@mx.gmail.com>
Resent-Message-ID: <200603291430.k2TEULll084899@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95076
>Category:       ports
>Synopsis:       New ports: new xpi extensions
>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:   Wed Mar 29 14:30:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Pantyukhin
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD sat64.net17 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #14: Sun Mar 5 15:57:19 MSK 2006 sat@sat64.net17:/usr/obj/usr/src/sys/SATCUR32 i386


	
>Description:
These ports are www. xpi-adblock contains Makefile.xpi with
some comment. Many things are missing. If you think that it
will do more harm than good to expose these to public, let's
discuss improvements on ports@. I've tested these ports with
firefox and linux-firefox (separately and simultaneously) -
and they work fine.

Creating and maintaining xpi- ports is really a breeze. Note
though that the infrastructure does not implement XPInstall
specs, it is only a little hack to make porting xpi's easier.

	
>How-To-Repeat:
	
>Fix:

	

--- newxpi2.shar begins here ---
# 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:
#
#	xpi-adblock
#	xpi-adblock/Makefile
#	xpi-adblock/pkg-descr
#	xpi-adblock/distinfo
#	xpi-adblock/Makefile.xpi
#	xpi-colorfultabs
#	xpi-colorfultabs/Makefile
#	xpi-colorfultabs/pkg-descr
#	xpi-colorfultabs/distinfo
#	xpi-fasterfox
#	xpi-fasterfox/files
#	xpi-fasterfox/files/chrome.manifest
#	xpi-fasterfox/Makefile
#	xpi-fasterfox/pkg-descr
#	xpi-fasterfox/distinfo
#	xpi-noscript
#	xpi-noscript/Makefile
#	xpi-noscript/pkg-descr
#	xpi-noscript/distinfo
#	xpi-tabmixplus
#	xpi-tabmixplus/Makefile
#	xpi-tabmixplus/pkg-descr
#	xpi-tabmixplus/distinfo
#
echo c - xpi-adblock
mkdir -p xpi-adblock > /dev/null 2>&1
echo x - xpi-adblock/Makefile
sed 's/^X//' >xpi-adblock/Makefile << 'END-of-xpi-adblock/Makefile'
X# New ports collection makefile for:	xpi-adblock
X# Date created:		28 March 2006
X# Whom:			Andrew Pantyukhin <infofarmer@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	adblock
XPORTVERSION=	0.5.3.042
XDISTVERSIONSUFFIX=	-fx+fl+mz+ns
X
XMAINTAINER=	infofarmer@gmail.com
XCOMMENT=	A content filtering extension
X
XXPI_ID=		{34274bf4-1d97-a289-e984-17e546307e4f}
XXPI_FILES=	chrome/adblock.jar chrome.manifest components/.autoreg \
X		components/nsAdblock.js defaults/preferences/adblock.js \
X		install.js install.rdf license.txt
XXPI_DIRS=	chrome components defaults/preferences defaults
X
X.include "../xpi-adblock/Makefile.xpi"
X.include <bsd.port.mk>
END-of-xpi-adblock/Makefile
echo x - xpi-adblock/pkg-descr
sed 's/^X//' >xpi-adblock/pkg-descr << 'END-of-xpi-adblock/pkg-descr'
XAdblock is a content filtering plug-in for the Mozilla and Firefox browsers.
XIt is both more robust and more precise than the built-in image blocker.
X
XAdblock allows the user to specify filters, which remove unwanted content based
Xon the source-address.
X
XWWW: http://adblock.mozdev.org/
END-of-xpi-adblock/pkg-descr
echo x - xpi-adblock/distinfo
sed 's/^X//' >xpi-adblock/distinfo << 'END-of-xpi-adblock/distinfo'
XMD5 (xpi/adblock-0.5.3.042-fx+fl+mz+ns.xpi) = 6dd2d4bdec0ed4591f3f32af2677a4e2
XSHA256 (xpi/adblock-0.5.3.042-fx+fl+mz+ns.xpi) = c40a1919793ddf72a2a81a84afe512f5530acb802fd8cc9a360cc2e50d6a0455
XSIZE (xpi/adblock-0.5.3.042-fx+fl+mz+ns.xpi) = 79681
END-of-xpi-adblock/distinfo
echo x - xpi-adblock/Makefile.xpi
sed 's/^X//' >xpi-adblock/Makefile.xpi << 'END-of-xpi-adblock/Makefile.xpi'
X# New ports collection makefile for:	xpi infrastructure
X# Date created:		28 March 2006
X# Whom:			Andrew Pantyukhin <infofarmer@gmail.com>
X#
X# $FreeBSD$
X#
X
X# This Makefile is an alpha-version of a new xpi infrastructure.
X# It currently supports Gecko 1.8+ (Firefox 1.5+). Support for
X# Gecko 1.7x (and Seamonkey 1.0) may be merged later from
X# Thierry Thomas works (but I doubt it is worthwhile).
X#
X# A new xpi will require a PORTNAME, PORTVERSION, DISTVERSION-
X# SUFFIX and CATEGORIES. In case it is not published on the
X# mozilla.org sites, MASTER_SITES can be redefined. XPI_* vars
X# will also need to be defined manually, which helps keep the
X# infrastructure simpler.
X#
X# PKGNAMESUFFIX will probably follow the mozilla.org pattern
X# (fx for firefox, mz for mozilla) extended by abbreviations of
X# linux and devel versions, and some other things.
X#
X# An xpi compatibility with different browsers will be determined
X# from DISTVERSIONSUFFIX or manually by maintainer.
X#
X# Browsers that user want an xpi installed in can be defined by
X# WITH_XPI_BROWSERS. Employing symlinks or hardlinks may be
X# considered later, but it will complicate matters.
X#
X# In case an xpi does not have chrome.manifest, it should be
X# generated manually by a maintainer and placed in files, where
X# it will be noticed. 
X
XCATEGORIES?=	www
XMASTER_SITES?=	${MASTER_SITE_MOZILLA}
XMASTER_SITE_SUBDIR?=	extensions/${PORTNAME}
XPKGNAMEPREFIX?=	xpi-
XPKGNAMESUFFIX?=	-fx
XEXTRACT_SUFX?=	.xpi
XDIST_SUBDIR?=	xpi
X
XUSE_X_PREFIX=	yes
XNO_BUILD=	yes
XUSE_ZIP=	yes
XEXTRACT_AFTER_ARGS=	-d ${WRKSRC}
X
XWITH_XPI_BROWSERS?=	firefox		# Try adding linux-firefox
X
XXPI_DIRS?=	chrome components defaults/preferences defaults
X
X.for _BROWSER in ${WITH_XPI_BROWSERS}
XRUN_DEPENDS+=	${_BROWSER}:${PORTSDIR}/www/${_BROWSER}
XTARGET_DIRS+=	lib/${_BROWSER}/extensions/${XPI_ID}
X.endfor
X
X.for _TD in ${TARGET_DIRS}
XPLIST_FILES+=	${XPI_FILES:S.^.${_TD}/.}
XPLIST_DIRS+=	${XPI_DIRS:S.^.${_TD}/.}
XPLIST_DIRS+=	${_TD}
X.endfor
X
Xdo-install:
X.for _TD in ${TARGET_DIRS}
X	@${INSTALL} -d ${PREFIX}/${_TD}
X	@${CP} -Rp ${WRKSRC}/ ${PREFIX}/${_TD}/
X	@if [ -d ${FILESDIR} -a -f ${FILESDIR}/chrome.manifest ] ; \
X		then ${CP} -p ${FILESDIR}/chrome.manifest ${PREFIX}/${_TD}/ ; fi
X.endfor
X
X# Maintainer section
Xxpi-gen:	extract
X	@${ECHO_CMD} -n 'XPI_ID='
X	@${GREP} -m1 em:id ${WRKSRC}/install.rdf | ${CUT} -f2- -d\> | \
X	${CUT} -f1 -d\< | ${CUT} -f2 -d\"
X	@${ECHO_CMD} -n 'XPI_FILES='
X	@cd ${WRKSRC} && ${FIND} -s . -not -type d | cut -f2- -d/ | ${TR} '\n' ' '
X	@if [ -d ${FILESDIR} -a -f ${FILESDIR}/chrome.manifest ] ; \
X		then ${ECHO_CMD} chrome.manifest ; fi
X	@${ECHO_CMD}
X	@${ECHO_CMD} -n 'XPI_DIRS='
X	@cd ${WRKSRC} && ${FIND} -ds . -not -name . -type d | cut -f2- -d/ | ${TR} '\n' ' '
X	@${ECHO_CMD}
END-of-xpi-adblock/Makefile.xpi
echo c - xpi-colorfultabs
mkdir -p xpi-colorfultabs > /dev/null 2>&1
echo x - xpi-colorfultabs/Makefile
sed 's/^X//' >xpi-colorfultabs/Makefile << 'END-of-xpi-colorfultabs/Makefile'
X# New ports collection makefile for:	xpi-colorfultabs
X# Date created:		29 March 2006
X# Whom:			Andrew Pantyukhin <infofarmer@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	colorful_tabs
XPORTVERSION=	1.1
XDISTVERSIONSUFFIX=	-fx+mz
X
XMAINTAINER=	infofarmer@gmail.com
XCOMMENT=	An extension that colors every tab in a different color
X
XXPI_ID=		{0545b830-f0aa-4d7e-8820-50a4629a56fe}
XXPI_FILES=	chrome/clrtabs.jar chrome.manifest install.js install.rdf
XXPI_DIRS=	chrome
X
X.include "../xpi-adblock/Makefile.xpi"
X.include <bsd.port.mk>
END-of-xpi-colorfultabs/Makefile
echo x - xpi-colorfultabs/pkg-descr
sed 's/^X//' >xpi-colorfultabs/pkg-descr << 'END-of-xpi-colorfultabs/pkg-descr'
XThe most beautiful yet the simplest add-on that makes a
Xstrong colorful appeal. Colors every tab in a different
Xcolor and makes them easy to distinguish while beautifying
Xthe overall appearance of the interface. An essential.
X
XWWW: https://addons.mozilla.org/extensions/moreinfo.php?id=1368
END-of-xpi-colorfultabs/pkg-descr
echo x - xpi-colorfultabs/distinfo
sed 's/^X//' >xpi-colorfultabs/distinfo << 'END-of-xpi-colorfultabs/distinfo'
XMD5 (xpi/colorful_tabs-1.1-fx+mz.xpi) = 573f2790e98601da7565c7a8284d28ff
XSHA256 (xpi/colorful_tabs-1.1-fx+mz.xpi) = f211ac94ae5ac4ed85d2347ad5234b473bc711550bea92ca2c5dee6ef365ec37
XSIZE (xpi/colorful_tabs-1.1-fx+mz.xpi) = 9620
END-of-xpi-colorfultabs/distinfo
echo c - xpi-fasterfox
mkdir -p xpi-fasterfox > /dev/null 2>&1
echo c - xpi-fasterfox/files
mkdir -p xpi-fasterfox/files > /dev/null 2>&1
echo x - xpi-fasterfox/files/chrome.manifest
sed 's/^X//' >xpi-fasterfox/files/chrome.manifest << 'END-of-xpi-fasterfox/files/chrome.manifest'
X
Xoverlay	chrome://browser/content/browser.xul	chrome://fasterfox/content/fasterfoxOverlay.xul
Xoverlay	chrome://navigator/content/navigator.xul	chrome://fasterfox/content/fasterfoxOverlay.xul
Xcontent	fasterfox	jar:chrome/fasterfox.jar!/content/fasterfox/
X
Xskin	fasterfox	classic/1.0	jar:chrome/fasterfox.jar!/skin/classic/fasterfox/
X
Xlocale	fasterfox	en-US	jar:chrome/fasterfox.jar!/locale/en-US/fasterfox/
X
Xlocale	fasterfox	cs-CZ	jar:chrome/fasterfox.jar!/locale/cs-CZ/fasterfox/
X
Xlocale	fasterfox	de-DE	jar:chrome/fasterfox.jar!/locale/de-DE/fasterfox/
X
Xlocale	fasterfox	fi-FI	jar:chrome/fasterfox.jar!/locale/fi-FI/fasterfox/
X
Xlocale	fasterfox	fr-FR	jar:chrome/fasterfox.jar!/locale/fr-FR/fasterfox/
X
Xlocale	fasterfox	he-IL	jar:chrome/fasterfox.jar!/locale/he-IL/fasterfox/
X
Xlocale	fasterfox	it-IT	jar:chrome/fasterfox.jar!/locale/it-IT/fasterfox/
X
Xlocale	fasterfox	ja-JP	jar:chrome/fasterfox.jar!/locale/ja-JP/fasterfox/
X
Xlocale	fasterfox	ko-KR	jar:chrome/fasterfox.jar!/locale/ko-KR/fasterfox/
X
Xlocale	fasterfox	nl-NL	jar:chrome/fasterfox.jar!/locale/nl-NL/fasterfox/
X
Xlocale	fasterfox	pl-PL	jar:chrome/fasterfox.jar!/locale/pl-PL/fasterfox/
X
Xlocale	fasterfox	sl-SI	jar:chrome/fasterfox.jar!/locale/sl-SI/fasterfox/
X
Xlocale	fasterfox	sk-SK	jar:chrome/fasterfox.jar!/locale/sk-SK/fasterfox/
X
Xlocale	fasterfox	tr-TR	jar:chrome/fasterfox.jar!/locale/tr-TR/fasterfox/
X
Xlocale	fasterfox	zh-CN	jar:chrome/fasterfox.jar!/locale/zh-CN/fasterfox/
END-of-xpi-fasterfox/files/chrome.manifest
echo x - xpi-fasterfox/Makefile
sed 's/^X//' >xpi-fasterfox/Makefile << 'END-of-xpi-fasterfox/Makefile'
X# New ports collection makefile for:	xpi-fasterfox
X# Date created:		28 March 2006
X# Whom:			Andrew Pantyukhin <infofarmer@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fasterfox
XPORTVERSION=	1.0.3
XDISTVERSIONSUFFIX=	-fx
X
XMAINTAINER=	infofarmer@gmail.com
XCOMMENT=	Performance and network tweaks for Firefox
X
XXPI_ID=		{c36177c0-224a-11da-8cd6-0800200c9a66}
XXPI_FILES=	chrome/fasterfox.jar defaults/preferences/fasterfox.js install.rdf \
X		readme.txt chrome.manifest
XXPI_DIRS=	chrome defaults/preferences defaults
X
X.include "../xpi-adblock/Makefile.xpi"
X.include <bsd.port.mk>
END-of-xpi-fasterfox/Makefile
echo x - xpi-fasterfox/pkg-descr
sed 's/^X//' >xpi-fasterfox/pkg-descr << 'END-of-xpi-fasterfox/pkg-descr'
XFasterfox allows you to tweak many network and rendering
Xsettings such as simultaneous connections, pipelining,
Xcache, DNS cache, and initial paint delay.
X
XDynamic speed increases can be obtained with the unique
Xprefetching mechanism, which recycles idle bandwidth by
Xsilently loading and caching all of the links on the page
Xyou are browsing.
X
XWWW: http://fasterfox.mozdev.org/
END-of-xpi-fasterfox/pkg-descr
echo x - xpi-fasterfox/distinfo
sed 's/^X//' >xpi-fasterfox/distinfo << 'END-of-xpi-fasterfox/distinfo'
XMD5 (xpi/fasterfox-1.0.3-fx.xpi) = 6b34852c2c086b0444b79000c7ff25cb
XSHA256 (xpi/fasterfox-1.0.3-fx.xpi) = b617ab9dd02aae3f5c0208afecf2481a44a14aeb7612345699092512238c9810
XSIZE (xpi/fasterfox-1.0.3-fx.xpi) = 93653
END-of-xpi-fasterfox/distinfo
echo c - xpi-noscript
mkdir -p xpi-noscript > /dev/null 2>&1
echo x - xpi-noscript/Makefile
sed 's/^X//' >xpi-noscript/Makefile << 'END-of-xpi-noscript/Makefile'
X# New ports collection makefile for:	xpi-noscript
X# Date created:		28 March 2006
X# Whom:			Andrew Pantyukhin <infofarmer@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	noscript
XPORTVERSION=	1.1.3.9
XDISTVERSIONSUFFIX=	-fx+fl+mz
X
XMAINTAINER=	infofarmer@gmail.com
XCOMMENT=	A security-enhancing Java/JS filtering extension
X
XXPI_ID=		{73a6fe31-595d-460b-a920-fcc0f8843232}
XXPI_FILES=	GPL.txt NoScript_License.txt chrome/noscript.jar chrome.manifest \
X		components/.autoreg components/noscriptService.js \
X		defaults/preferences/noscript.js install.js install.rdf
X
X.include "../xpi-adblock/Makefile.xpi"
X.include <bsd.port.mk>
END-of-xpi-noscript/Makefile
echo x - xpi-noscript/pkg-descr
sed 's/^X//' >xpi-noscript/pkg-descr << 'END-of-xpi-noscript/pkg-descr'
XNoScript provides extra protection for your Mozilla/Firefox
Xor Flock browser: this extension allows JavaScript and Java
Xexecution only for trusted domains of your choice (e.g. your
Xhome-banking web site).
X
XThis whitelist based pre-emptive script blocking approach
Xprevents exploitation of security vulnerabilities (known and
Xeven not known yet!) with no loss of functionality... 
X
XWWW: http://www.noscript.net/
END-of-xpi-noscript/pkg-descr
echo x - xpi-noscript/distinfo
sed 's/^X//' >xpi-noscript/distinfo << 'END-of-xpi-noscript/distinfo'
XMD5 (xpi/noscript-1.1.3.9-fx+fl+mz.xpi) = 63ff4c5f6052651493669a46d25d4f2b
XSHA256 (xpi/noscript-1.1.3.9-fx+fl+mz.xpi) = e28c9d425d7317437ac5763f5780f52e9451491694e4de34281725fea048f108
XSIZE (xpi/noscript-1.1.3.9-fx+fl+mz.xpi) = 103935
END-of-xpi-noscript/distinfo
echo c - xpi-tabmixplus
mkdir -p xpi-tabmixplus > /dev/null 2>&1
echo x - xpi-tabmixplus/Makefile
sed 's/^X//' >xpi-tabmixplus/Makefile << 'END-of-xpi-tabmixplus/Makefile'
X# New ports collection makefile for:	xpi-tabmixplus
X# Date created:		29 March 2006
X# Whom:			Andrew Pantyukhin <infofarmer@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tab_mix_plus
XPORTVERSION=	0.3.0.5
XDISTVERSIONSUFFIX=	-fx
X
XMAINTAINER=	infofarmer@gmail.com
XCOMMENT=	An extension that enhances tab browsing capabilities
X
XXPI_ID=		{dc572301-7619-498c-a57d-39143191b318}
XXPI_FILES=	chrome/tabmixplus.jar chrome.manifest defaults/preferences/tabmix.js install.rdf
XXPI_DIRS=	chrome defaults/preferences defaults
X
X.include "../xpi-adblock/Makefile.xpi"
X.include <bsd.port.mk>
END-of-xpi-tabmixplus/Makefile
echo x - xpi-tabmixplus/pkg-descr
sed 's/^X//' >xpi-tabmixplus/pkg-descr << 'END-of-xpi-tabmixplus/pkg-descr'
XTab Mix Plus enhances Firefox's tab browsing capabilities.
XIt includes such features as duplicating tabs, controlling
Xtab focus, tab clicking options, undo closed tabs and windows,
Xplus much more. It also includes a full-featured session
Xmanager with crash recovery that can save and restore
Xcombinations of opened tabs and windows.
X
XWWW: http://tmp.garyr.net/
END-of-xpi-tabmixplus/pkg-descr
echo x - xpi-tabmixplus/distinfo
sed 's/^X//' >xpi-tabmixplus/distinfo << 'END-of-xpi-tabmixplus/distinfo'
XMD5 (xpi/tab_mix_plus-0.3.0.5-fx.xpi) = d4daf261a5c93f4015f0fb7de8f80bf8
XSHA256 (xpi/tab_mix_plus-0.3.0.5-fx.xpi) = f434b45001f1264e625f4a0d1af6f2ca6d3e20426d28a99fb2b6735e982697d2
XSIZE (xpi/tab_mix_plus-0.3.0.5-fx.xpi) = 273124
END-of-xpi-tabmixplus/distinfo
exit
--- newxpi2.shar ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?442a9820.046692f8.1c13.0a93>