[Lunar-commits] <moonbase> firefox2: removed due to security reasons
Zbigniew Luszpinski
zbiggy at lunar-linux.org
Mon Sep 21 02:56:37 CEST 2009
commit 8577e386a07ecd7142dbe20af783c8940ad3bb39
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date: Mon Sep 21 02:56:37 2009 +0200
firefox2: removed due to security reasons
---
web/firefox2/BUILD | 97 ------------------------------------------
web/firefox2/CONFLICTS | 1 -
web/firefox2/DEPENDS | 15 ------
web/firefox2/DETAILS | 16 -------
web/firefox2/POST_INSTALL | 16 -------
web/firefox2/POST_REMOVE | 3 -
web/firefox2/firefox.desktop | 11 -----
7 files changed, 0 insertions(+), 159 deletions(-)
diff --git a/web/firefox2/BUILD b/web/firefox2/BUILD
deleted file mode 100644
index d9eef8a..0000000
--- a/web/firefox2/BUILD
+++ /dev/null
@@ -1,97 +0,0 @@
-(
- if module_is_expired $MODULE && [ "$VERSION" != "`installed_version $MODULE`" ]; then
- set_module_config OLD_VER "`installed_version $MODULE`"
- fi &&
-
- # This should always be just a link
- rm -rf /usr/lib/firefox-$VERSION/plugins &&
-
- MOZILLA_HOME=/usr/lib/firefox-$VERSION
-
- MOZ_EXTENSIONS="default,xmlextras,xforms,webservices,universalchardet,transformiix,tasks,schema-validation,reporter,cookie,cview,datetime,finger,p3p,permissions,spellcheck,-gnomevfs"
- # wallet extension makes empty duplicate password dialog so do not use it
-
- if in_depends $MODULE heimdal ; then
- MOZ_EXTENSIONS="${MOZ_EXTENSIONS},auth"
- else
- MOZ_EXTENSIONS="${MOZ_EXTENSIONS},-auth"
- fi &&
-
- # This hack added to fix a gtk+-2/pango/atk update that broke firefox. This should be removed in the future.
- sedit "s/(MOZ_GTK2_LIBS)/(MOZ_GTK2_LIBS) -lX11 -lXrender/" layout/build/Makefile.in &&
-
- export MOZ_FREETYPE2="no"
- export MOZ_PANGO="yes"
- export MOZ_CO_PROJECT=browser
- export MOZ_PHOENIX=1
- export MOZILLA_OFFICIAL=1
- export BUILD_OFFICIAL=1
-
- ./configure \
- --prefix=/usr \
- --with-x \
- --with-pthreads \
- --with-default-mozilla-five-home=$MOZILLA_HOME \
- --with-user-appdir=".firefox" \
- --with-system-zlib \
- --with-system-png \
- --with-system-jpeg \
- --enable-extensions=${MOZ_EXTENSIONS} \
- --enable-single-profile \
- --enable-application=browser \
- --enable-default-toolkit=gtk2 \
- --enable-optimize="$CFLAGS" \
- --enable-xft \
- --enable-reorder \
- --enable-cpp-rtti \
- --enable-cpp-exceptions \
- --enable-crypto \
- --enable-strip \
- --enable-strip-libs \
- --enable-canvas \
- --enable-svg \
- --enable-svg-renderer=cairo \
- --enable-system-cairo \
- --enable-xterm-updates \
- --enable-official-branding \
- --disable-debug \
- --disable-tests \
- --disable-installer \
- --disable-pedantic \
- --disable-mailnews \
- --disable-logging \
- --disable-accessibility \
- --disable-ldap \
- --disable-profilesharing \
- --disable-mathml \
- $OPTS &&
-
- default_make &&
-
- # Put some important headers in place
- mkdir -p /usr/include/firefox-$VERSION/nss &&
- cp -Lf dist/private/nss/*.h dist/public/nss/*.h /usr/include/firefox-$VERSION/nss &&
-
- # Install the plugins in the right directories
- mkdir -p /opt/lunar/plugins &&
- for plugin in `ls /usr/lib/firefox-$VERSION/plugins`; do
- `install -m755 /usr/lib/firefox-$VERSION/plugins/$plugin /opt/lunar/plugins`; done &&
-
- rm -rf /usr/lib/firefox-$VERSION/plugins &&
- ln -snf /opt/lunar/plugins /usr/lib/firefox-$VERSION/plugins &&
-
- # Now the .desktop file and the icon
- mkdir -p /usr/share/applications /usr/share/pixmaps &&
- install -m644 $SCRIPT_DIRECTORY/firefox.desktop /usr/share/applications &&
- # please, dont just let the lin fail because /usr/share/pixmaps/firefox.xpm is an existing symlink...
- rm -f /usr/share/pixmaps/firefox.xpm &&
- install -m644 $MOZILLA_HOME/icons/default.xpm /usr/share/pixmaps/firefox.xpm &&
-
- # Make firefox use its own icon
-
- rm -rf /usr/lib/firefox-$VERSION/chrome/icons &&
- mkdir -p /usr/lib/firefox-$VERSION/chrome/icons/default &&
-for icon in `ls /usr/lib/firefox-$VERSION/icons`; do
-`ln -snf /usr/lib/firefox-$VERSION/icons/$icon /usr/lib/firefox-$VERSION/chrome/icons/default/$icon`; done
-
-) > $C_FIFO 2>&1
diff --git a/web/firefox2/CONFLICTS b/web/firefox2/CONFLICTS
deleted file mode 100644
index db109b6..0000000
--- a/web/firefox2/CONFLICTS
+++ /dev/null
@@ -1 +0,0 @@
-conflicts firefox
diff --git a/web/firefox2/DEPENDS b/web/firefox2/DEPENDS
deleted file mode 100644
index 747969f..0000000
--- a/web/firefox2/DEPENDS
+++ /dev/null
@@ -1,15 +0,0 @@
-depends ORBit2 &&
-depends zip &&
-depends unzip &&
-depends expat &&
-depends gtk+-2 &&
-
-optional_depends "flash-plugin-10" "" "" \
- "to enable Shockwave Flash " &&
-
-optional_depends "gnome-vfs" "" "--disable-gnomevfs" \
- "for Gnome VFS support" &&
-optional_depends "heimdal" \
- "--with-gssapi=/usr/include/heimdal" \
- "--without-gssapi" \
- "Heimdal GSSAPI Support"
diff --git a/web/firefox2/DETAILS b/web/firefox2/DETAILS
deleted file mode 100644
index 24ad528..0000000
--- a/web/firefox2/DETAILS
+++ /dev/null
@@ -1,16 +0,0 @@
- MODULE=firefox2
- VERSION=2.0.0.20
- SOURCE=firefox-${VERSION}-source.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla
- SOURCE_URL[0]=ftp://mozilla.isc.org/pub/mozilla.org/firefox/releases/$VERSION/source/
- SOURCE_URL[1]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/firefox/releases/$VERSION/source/
- SOURCE_URL[2]=ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/source/
- SOURCE_VFY=sha1:16601fdbbb0a83b85fd053e76350f7da397f525e
- WEB_SITE=http://www.mozilla.org/projects/firefox
- ENTERED=20030810
- UPDATED=20090103
- SHORT="a speedy, full-featured web browser. (version 2)"
-cat << EOF
-This module provides the version 2 of the Mozilla Firefox browser.
-For Firefox 3 please install the firefox module.
-EOF
diff --git a/web/firefox2/POST_INSTALL b/web/firefox2/POST_INSTALL
deleted file mode 100644
index 27043e5..0000000
--- a/web/firefox2/POST_INSTALL
+++ /dev/null
@@ -1,16 +0,0 @@
-OLD_VER="`get_module_config OLD_VER`"
-FIREFOX_HOME=/usr
-FFOX_LIBDIR=firefox-$VERSION
-
-if [ ! -z $OLD_VER ]; then
- rm -rf /usr/lib/firefox-$OLD_VER
-fi
-
-unset_module_config OLD_VER
-
-export LD_LIBRARY_PATH="$FIREFOX_HOME/lib/$FFOX_LIBDIR:$FIREFOX_HOME/lib/$FFOX_LIBDIR/plugins:$FIREFOX_HOME/lib/$FFOX_LIBDIR/components"
-export MOZILLA_FIVE_HOME="$FIREFOX_HOME/lib/$FFOX_LIBDIR"
-ldconfig
-
-cd $FIREFOX_HOME/lib/$FFOX_LIBDIR
-./regxpcom
diff --git a/web/firefox2/POST_REMOVE b/web/firefox2/POST_REMOVE
deleted file mode 100644
index a9328ff..0000000
--- a/web/firefox2/POST_REMOVE
+++ /dev/null
@@ -1,3 +0,0 @@
-rm -f /usr/share/pixmaps/firefox.xpm
-rm -rf /usr/include/firefox-$VERSION
-rm -rf /usr/lib/firefox-$VERSION
diff --git a/web/firefox2/firefox.desktop b/web/firefox2/firefox.desktop
deleted file mode 100644
index f8733ea..0000000
--- a/web/firefox2/firefox.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Firefox
-Comment=Firefox Web Browser
-Exec=firefox
-Icon=/usr/share/pixmaps/firefox.xpm
-Terminal=false
-Type=Application
-Categories=Application;Network;
-Comment[pl]=Firefox - przeglÄ
darka WWW
-X-KDE-StartupNotify=true
More information about the Lunar-commits
mailing list