summaryrefslogtreecommitdiff
path: root/www/mozilla-firebird/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/mozilla-firebird/files')
-rw-r--r--www/mozilla-firebird/files/mkdistfile171
-rw-r--r--www/mozilla-firebird/files/mozconfig.in66
-rw-r--r--www/mozilla-firebird/files/patch-nsprpub-pr-src-misc-prtime.c18
-rw-r--r--www/mozilla-firebird/files/patch-nsprpub-pr-src-pthreads-ptio.c22
-rw-r--r--www/mozilla-firebird/files/phoenix.rb95
5 files changed, 0 insertions, 372 deletions
diff --git a/www/mozilla-firebird/files/mkdistfile b/www/mozilla-firebird/files/mkdistfile
deleted file mode 100644
index a49174ae7b5d..000000000000
--- a/www/mozilla-firebird/files/mkdistfile
+++ /dev/null
@@ -1,171 +0,0 @@
-#!/bin/sh
-# -*-shell-script-*-
-#
-# mkdistfile -- maintainer's utility to make a phoenix distfile
-#
-# Copyright (c) 2002, Alan Eldridge
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# * Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-#
-# * Neither the name of the copyright owner nor the names of its
-# contributors may be used to endorse or promote products derived
-# from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
-#
-# $FreeBSD$
-#
-# 2002/10/21 alane@geeksrus.net
-#
-
-ORIGDIR=$(/bin/pwd); export ORIGDIR
-APPNAME=${0##*/};APPNAME=${APPNAME#-}; export APPNAME
-test -z "$TMPDIR" && TMPDIR=/tmp; export TMPDIR
-test -z "$HOSTNAME" && HOSTNAME=$(hostname); export HOSTNAME
-warn() { echo "[$APPNAME:$$]" "****" "$@";}
-status() { echo "[$APPNAME:$$]" "===>" "$@";}
-error() { echo "[$APPNAME:$$]" "ERROR:" "$@";}
-die() { echo "[$APPNAME:$$]" "FATAL:" "$@"; exit 1;}
-unset echo_n; test "X`echo -n`" = "X-n" \
- && echo_n() { echo "$@\c"; } || echo_n() { echo -n "$@"; }
-status_n() { echo_n "[$APPNAME:$$]" "===>" "$@";}
-log() { local cmd=$1;shift;echo_n $(date "+%Y%m%d.%T") "";$cmd "$@";}
-qexpr() { expr "$@" >/dev/null 2>&1;}
-qw() { echo \""$@"\"; }
-listfiles() { ls -1 ${1:+"$@"} 2>/dev/null; }
-whichre() { local n=$#; local s="$1"; shift; while test $# -ge 1; do
- qexpr "$s" : "$1"&& echo $(($n - $#)) && return 0; shift; done;
- echo 0; return 1;}
-matchre() { test $(whichre "$@") -gt 0; }
-streq() { local s="$1"; shift; while test $# -ge 1; do
- test "X$s" = "X$1" && return 0; shift; done; return 1;}
-strupper() {
- echo "$@"|tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
-}
-strlower() {
- echo "$@"|tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
-}
-chdir() { cd "$1" || die cd $(qw $1) failed; }
-absdir() { chdir "$1" && pwd; }
-abspath() { local p=''; case "$1" in /*);; *)p="$(pwd)/";; esac; echo "$p$1"; }
-tmpfile() { mktemp -t .$APPNAME ${1:+"$@"}; }
-############################################################
-# show usage and exit
-############################################################
-usage() {
- cat <<EOF
-Usage: $APPNAME [options] [--] rev[.yyyymmdd]
-Options:
- -h,--help Show this help.
- -V,--version Show version number.
- -v,--verbose Produce more verbose output.
- -x,--debug Turn on shell command tracing.
- -- Stop option processing.
-EOF
- exit $1
-}
-############################################################
-# show version and exit
-############################################################
-VERSION='$Revision$'
-VERSION=${VERSION#* }; VERSION=${VERSION% *}
-version() { echo "$APPNAME $VERSION" \
- "Copyright (c) 2002 Alan Eldridge"; exit $1;}
-############################################################
-# set default vars here
-############################################################
-DEBUG=0
-VERBOSE=0; VFLG=''
-DATETIME=$(date +%Y%m%d.%H%M)
-DATE=${DATETIME%.*}
-TIME=${DATETIME#*.}
-############################################################
-# do command line options
-############################################################
-while test $# -gt 0; do
- n=1; case "$1" in
- -h|--help) usage 0;;
- -V|--version) version 0;;
- -v|--verbose) VERBOSE=1;VFLG='-v';;
- -x|--debug) set -x;DEBUG=1;;
- --) shift; break;; -*) usage 1;; *) break;;
- esac; shift $n
-done
-
-############################################################
-# main(): script execution begins here
-############################################################
-
-test $# -eq 1 || usage 1
-
-REV=$1
-test ${REV##*.} = today && REV=${REV%.*}.$DATE
-
-status "pruning tree..."
-exfile=$(tmpfile)
-cat >>$exfile <<'EOF'
-^.*/CVS($|/)
-^.*/macbuild($|/)
-^.*/package($|/)
-^.*/.cvsignore($|/)
-^.*/windows($|/)
-^.*/activex($|/)
-^.*/os2($|/)
-^.*/solaris($|/)
-^.*/gc($|/)
-^mozilla/apache($|/)
-^mozilla/calendar($|/)
-^mozilla/cck($|/)
-^mozilla/chimera($|/)
-^mozilla/ef($|/)
-^mozilla/embed.mak($|/)
-^mozilla/embed.mk($|/)
-^mozilla/gconfig($|/)
-^mozilla/gfx2($|/)
-^mozilla/grendel($|/)
-^mozilla/java($|/)
-^mozilla/js2($|/)
-^mozilla/mail($|/)
-^mozilla/mailnews($|/)
-^mozilla/mozilla($|/)
-^mozilla/mozilla.kdevprj($|/)
-^mozilla/mozilla.lsm($|/)
-^mozilla/msgsdk($|/)
-^mozilla/mstone($|/)
-^mozilla/nglayout.mac($|/)
-^mozilla/nunet($|/)
-^mozilla/other-licenses($|/)
-^mozilla/privacy($|/)
-^mozilla/silentdl($|/)
-^mozilla/timer($|/)
-^mozilla/trex.mak($|/)
-^mozilla/trex.mk($|/)
-^mozilla/webtools($|/)
-EOF
-test -d mozilla || die "No mozilla dir here."
-find mozilla 2>/dev/null | egrep -f $exfile | xargs rm -fr
-rm -f $exfile
-status "making phoenix-$REV.tar.bz2 ..."
-tar -cjpf phoenix-$REV.tar.bz2 mozilla
-status "done."
-#EOF
diff --git a/www/mozilla-firebird/files/mozconfig.in b/www/mozilla-firebird/files/mozconfig.in
deleted file mode 100644
index 50703b5df336..000000000000
--- a/www/mozilla-firebird/files/mozconfig.in
+++ /dev/null
@@ -1,66 +0,0 @@
-# .mozconfig.in -*-shell-script-*-
-# $FreeBSD$
-######################################################################
-# standard opts from README
-export MOZ_PHOENIX=1
-mk_add_options MOZ_PHOENIX=1
-ac_add_options --enable-crypto
-ac_add_options --disable-tests
-ac_add_options --disable-debug
-ac_add_options --disable-mailnews
-ac_add_options --disable-composer
-######################################################################
-# FBSD specific
-export CPPFLAGS="@CPPFLAGS@"
-export CFLAGS="@CFLAGS@"
-export LIBS="@LIBS@"
-export LDFLAGS="@LDFLAGS@"
-export CONFIG_SH=/bin/sh
-export XP_UNIX=1
-mk_add_options XP_UNIX=1
-export PERL=/usr/local/bin/perl
-mk_add_options PERL=$PERL
-export GTK_CONFIG=@X11BASE@/bin/gtk12-config
-mk_add_options GTK_CONFIG=$GTK_CONFIG
-export GLIB_CONFIG=@LOCALBASE@/bin/glib12-config
-mk_add_options GLIB_CONFIG=$GLIB_CONFIG
-# Configure options for installation
-ac_add_options --prefix=@PREFIX@
-######################################################################
-# Use ports for these libraries
-ac_add_options --with-system-jpeg=@LOCALBASE@
-ac_add_options --with-system-zlib
-ac_add_options --with-system-png=@LOCALBASE@
-ac_add_options --with-system-mng=@LOCALBASE@
-######################################################################
-# set compile/link features
-ac_add_options --with-pthreads
-ac_add_options --enable-reorder
-ac_add_options --enable-strip
-######################################################################
-# disable unneeded/unavailable
-ac_add_options --disable-auto-deps
-ac_add_options --disable-bidi
-ac_add_options --disable-dtd-debug
-ac_add_options --disable-jsd
-ac_add_options --disable-ldap
-ac_add_options --disable-pedantic
-ac_add_options --disable-xinerama
-######################################################################
-# conditional from port Makefile
-if test -n "$WITH_DEBUG"; then
- ac_add_options --enable-debug
-else
- ac_add_options --disable-debug
-fi # test -n "$WITH_DEBUG"
-if test -n "$WITH_LOGGING"; then
- ac_add_options --enable-logging
-else
- ac_add_options --disable-logging
-fi # test -n "$WITH_LOGGING"
-if test -z "$WITHOUT_XFT"; then
- ac_add_options --enable-xft
-else
- ac_add_options --disable-xft
-fi # test -z "$WITHOUT_XFT"
-######################################################################
diff --git a/www/mozilla-firebird/files/patch-nsprpub-pr-src-misc-prtime.c b/www/mozilla-firebird/files/patch-nsprpub-pr-src-misc-prtime.c
deleted file mode 100644
index 6b65ef14fbec..000000000000
--- a/www/mozilla-firebird/files/patch-nsprpub-pr-src-misc-prtime.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- nsprpub/pr/src/misc/prtime.c.orig Sun Mar 31 12:17:46 2002
-+++ nsprpub/pr/src/misc/prtime.c Tue Dec 17 21:30:30 2002
-@@ -1666,12 +1666,13 @@
- * values for these two fields.
- */
-
--#if defined(SUNOS4) || (__GLIBC__ >= 2) || defined(XP_BEOS)
-+#if defined(__FreeBSD__)|| defined(SUNOS4) \
-+ || (__GLIBC__ >= 2) || defined(XP_BEOS)
- if (mktime(&a) == -1) {
- PR_snprintf(buf, buflen, "can't get timezone");
- return 0;
- }
--#endif
-+#endif /* check for __FreeBSD__, too <alane@freebsd.org> */
-
- return strftime(buf, buflen, fmt, &a);
- }
diff --git a/www/mozilla-firebird/files/patch-nsprpub-pr-src-pthreads-ptio.c b/www/mozilla-firebird/files/patch-nsprpub-pr-src-pthreads-ptio.c
deleted file mode 100644
index 4a965d4c7440..000000000000
--- a/www/mozilla-firebird/files/patch-nsprpub-pr-src-pthreads-ptio.c
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: nsprpub/pr/src/pthreads/ptio.c
-diff -u nsprpub/pr/src/pthreads/ptio.c.orig nsprpub/pr/src/pthreads/ptio.c
---- nsprpub/pr/src/pthreads/ptio.c.orig Fri Apr 12 03:14:39 2002
-+++ nsprpub/pr/src/pthreads/ptio.c Tue Jul 30 18:52:11 2002
-@@ -3414,6 +3414,17 @@
- if (osfd == -1) pt_MapError(_PR_MD_MAP_SOCKET_ERROR, errno);
- else
- {
-+#if (defined(_PR_INET6_PROBE) || defined(_PR_INET6)) && \
-+ defined(__FreeBSD__) && defined(IPV6_V6ONLY)
-+ if (domain == PR_AF_INET6) {
-+ int opt = 0;
-+ if (setsockopt(osfd, IPPROTO_IPV6, IPV6_V6ONLY,
-+ &opt, sizeof(opt))) {
-+ close(osfd);
-+ return NULL;
-+ }
-+ }
-+#endif
- fd = pt_SetMethods(osfd, ftype, PR_FALSE, PR_FALSE);
- if (fd == NULL) close(osfd);
- }
diff --git a/www/mozilla-firebird/files/phoenix.rb b/www/mozilla-firebird/files/phoenix.rb
deleted file mode 100644
index fdbe4c594297..000000000000
--- a/www/mozilla-firebird/files/phoenix.rb
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/usr/bin/env ruby
-=begin -*-mode: ruby-*-
-
- MoZiLLa.in
-
- Copyright (c) 2002, Alan Eldridge
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- * Neither the name of the copyright owner nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
-
- $Id: MoZiLLa.in,v 1.18 2002/12/18 02:40:58 alane Exp $
-
- 2002-12-16 Alan Eldridge <alane@geeksrus.net>
-
-=end
-
-X11BIN = "/usr/X11R6/bin"
-NAME = File::basename($0, ".rb")
-APP_PATH = File::join(X11BIN, NAME)
-
-if !File::executable?(APP_PATH)
- raise "File '#{APP_PATH}' not found. Giving up."
-elsif ($display = ENV["DISPLAY"]) == nil
- raise "Environment variable DISPLAY not found. Giving up."
-end
-
-if ARGV.size > 0
- if ARGV[0] == "--debug"
- ARGV.shift
- else
- $stdin.reopen(File::open("/dev/null", "r"))
- $stdout.reopen(File::open("/dev/null", "w"))
- $stderr.reopen(File::open("/dev/null", "w"))
- end
-end
-
-if ARGV.size < 1
- $url = nil
-else
- $url = ARGV.pop
- $url.sub!(/^ghelp:/, "file:")
-end
-
-IO::popen("xwininfo -display #{$display} -root -tree") {
- |io|
- if NAME != "phoenix"
- $windows = io.grep(%r<"Mozilla"\s+"navigator:\s*browser">)
- else
- $windows = io.grep(%r<Phoenix.*"Mozilla"\s+"navigator:\s*browser">)
- end
-}
-
-if $windows.size > 0
- $id = $windows.map {
- |s| s.strip.split.first
- }.sort.first
- $args = [ "-id", $id, "-raise", "-remote" ]
- $args.push($url ? "\"openURL(#{$url},new-window)\"" :
- "\"xfeDoCommand(openBrowser)\"")
-else
- $args = ARGV
- $args.push("\"#{$url}\"") if $url
-end
-
-fork {
- exec(([APP_PATH] + $args).join(" "))
-}
-exit!
-
-#EOF