summaryrefslogtreecommitdiff
path: root/source/local
diff options
context:
space:
mode:
Diffstat (limited to 'source/local')
-rw-r--r--source/local/README1
-rw-r--r--source/local/jre/COPYRIGHT70
-rw-r--r--source/local/jre/README1
-rw-r--r--source/local/jre/THIRDPARTYLICENSEREADME.txt1
-rw-r--r--source/local/jre/Welcome.html26
-rwxr-xr-xsource/local/jre/jre.SlackBuild130
-rwxr-xr-xsource/local/jre/profile.d/jre.csh4
-rwxr-xr-xsource/local/jre/profile.d/jre.sh4
-rw-r--r--source/local/jre/slack-desc18
9 files changed, 0 insertions, 255 deletions
diff --git a/source/local/README b/source/local/README
deleted file mode 100644
index 4e535154..00000000
--- a/source/local/README
+++ /dev/null
@@ -1 +0,0 @@
-Build scripts that are unique to this $ARCH.
diff --git a/source/local/jre/COPYRIGHT b/source/local/jre/COPYRIGHT
deleted file mode 100644
index fcb67309..00000000
--- a/source/local/jre/COPYRIGHT
+++ /dev/null
@@ -1,70 +0,0 @@
-Copyright © 2006, 2011, Oracle and/or its affiliates.
-All rights reserved.
-
-This software and related documentation are provided under a
-license agreement containing restrictions on use and
-disclosure and are protected by intellectual property laws.
-Except as expressly permitted in your license agreement or
-allowed by law, you may not use, copy, reproduce, translate,
-broadcast, modify, license, transmit, distribute, exhibit,
-perform, publish, or display any part, in any form, or by
-any means. Reverse engineering, disassembly, or
-decompilation of this software, unless required by law for
-interoperability, is prohibited.
-
-The information contained herein is subject to change
-without notice and is not warranted to be error-free. If
-you find any errors, please report them to us in writing.
-
-If this is software or related software documentation that
-is delivered to the U.S. Government or anyone licensing it
-on behalf of the U.S. Government, the following notice is
-applicable:
-
-U.S. GOVERNMENT RIGHTS Programs, software, databases, and
-related documentation and technical data delivered to U.S.
-Government customers are "commercial computer software" or
-"commercial technical data" pursuant to the applicable
-Federal Acquisition Regulation and agency-specific
-supplemental regulations. As such, the use, duplication,
-disclosure, modification, and adaptation shall be subject to
-the restrictions and license terms set forth in the
-applicable Government contract, and, to the extent
-applicable by the terms of the Government contract, the
-additional rights set forth in FAR 52.227-19, Commercial
-Computer Software License (December 2007). Oracle America,
-Inc., 500 Oracle Parkway, Redwood City, CA 94065.
-
-This software or hardware is developed for general use in a
-variety of information management applications. It is not
-developed or intended for use in any inherently dangerous
-applications, including applications which may create a risk
-of personal injury. If you use this software or hardware in
-dangerous applications, then you shall be responsible to
-take all appropriate fail-safe, backup, redundancy, and
-other measures to ensure its safe use. Oracle Corporation
-and its affiliates disclaim any liability for any damages
-caused by use of this software or hardware in dangerous
-applications.
-
-Oracle and Java are registered trademarks of Oracle and/or
-its affiliates. Other names may be trademarks of their
-respective owners.
-
-AMD, Opteron, the AMD logo, and the AMD Opteron logo are
-trademarks or registered trademarks of Advanced Micro
-Devices. Intel and Intel Xeon are trademarks or registered
-trademarks of Intel Corporation. All SPARC trademarks are
-used under license and are trademarks or registered
-trademarks of SPARC International, Inc. UNIX is a
-registered trademark licensed through X/Open Company, Ltd.
-
-This software or hardware and documentation may provide
-access to or information on content, products, and services
-from third parties. Oracle Corporation and its affiliates
-are not responsible for and expressly disclaim all
-warranties of any kind with respect to third-party content,
-products, and services. Oracle Corporation and its
-affiliates will not be responsible for any loss, costs, or
-damages incurred due to your access to or use of third-party
-content, products, or services.
diff --git a/source/local/jre/README b/source/local/jre/README
deleted file mode 100644
index cdb30f2c..00000000
--- a/source/local/jre/README
+++ /dev/null
@@ -1 +0,0 @@
-Please refer to http://java.com/licensereadme
diff --git a/source/local/jre/THIRDPARTYLICENSEREADME.txt b/source/local/jre/THIRDPARTYLICENSEREADME.txt
deleted file mode 100644
index 4381e7df..00000000
--- a/source/local/jre/THIRDPARTYLICENSEREADME.txt
+++ /dev/null
@@ -1 +0,0 @@
-Please refer to http://java.com/thirdpartylicense
diff --git a/source/local/jre/Welcome.html b/source/local/jre/Welcome.html
deleted file mode 100644
index 33a0ba54..00000000
--- a/source/local/jre/Welcome.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<html>
-<head>
-<title>
-Welcome to the Java(TM) Platform
-</title>
-</head>
-<body>
-
-<h2>Welcome to the Java<SUP><FONT SIZE=-2>TM</FONT></SUP> Platform</h2>
-<p> Welcome to the Java<SUP><FONT SIZE=-2>TM</FONT></SUP> Standard Edition Runtime
- Environment. This provides complete runtime support for Java applications.
-<p> The runtime environment includes the Java<SUP><FONT SIZE=-2>TM</FONT></SUP>
- Plug-in product which supports the Java environment inside web browsers.
-<h3>References</h3>
-<p>
-See the <a href=http://java.sun.com/javase/6/docs/technotes/guides/plugin/index.html>Java Plug-in</a> product
-documentation for more information on using the Java Plug-in product.
-<p> See the <a href=http://java.sun.com/javase>Java Platform</a> web site for
- more information on the Java Platform.
-<hr>
-<font size="-2">
-Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
-</font>
-<p>
-</body>
-</html>
diff --git a/source/local/jre/jre.SlackBuild b/source/local/jre/jre.SlackBuild
deleted file mode 100755
index 297bfeb3..00000000
--- a/source/local/jre/jre.SlackBuild
+++ /dev/null
@@ -1,130 +0,0 @@
-#!/bin/sh
-
-# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
-
-
-# Note that the slack-desc file mentions the JRE version (edit when upgrading)!
-
-VERSION=6u25
-DVER=1.6.0_25
-ARCH=x86_64
-BUILD=${BUILD:-1}
-
-# As of jre-6u12 a 64bit plugin is available.
-# SUN says:
-# Please note that the 64-bit JRE only works with the 64-bit browser plug-in,
-# while the 32-bit JRE only works with 32-bit browser plug-in.
-# If you use both 32-bit and 64-bit browsers interchangeably, you will need to
-# have both 32-bit and 64-bit JRE's installed on your machine.
-JAVA_ARCH=${JAVA_ARCH:-x64} # or i586 if you want the 32bit version
-
-if [ "$JAVA_ARCH" = "x64" ]; then
- LIB_ARCH=amd64
-else
- LIB_ARCH=i386
-fi
-
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- LIBDIRSUFFIX=""
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-jre
-rm -rf $PKG
-mkdir -p $TMP $PKG
-
-cd $PKG
-mkdir -p usr/lib${LIBDIRSUFFIX}
-cd usr/lib${LIBDIRSUFFIX}
-yes yes | sh $( ls --indicator-style none $CWD/jre-${VERSION}-linux-${JAVA_ARCH}*.bin | tail -1) || exit 1
-mkdir -p $PKG/etc/profile.d
-for file in $(ls $CWD/profile.d/*) ; do
- cat $file | sed -e "s#lib/java#lib${LIBDIRSUFFIX}/java#" \
- > $PKG/etc/profile.d/$(basename $file)
-done
-chown -R root:root $PKG
-( cd $PKG
- find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-)
-chmod 755 $PKG/etc/profile.d/*
-( cd $PKG/usr/lib${LIBDIRSUFFIX}
- mv jre${DVER} java || exit 1
- ln -sf java jre${DVER}
-) || exit 1
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
-( cd $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
- ln -sf /usr/lib${LIBDIRSUFFIX}/java/lib/${LIB_ARCH}/libnpjp2.so libnpjp2.so
-)
-( cd $PKG/usr/lib${LIBDIRSUFFIX}
- ln -sf ./java/lib/${LIB_ARCH}/server/libjvm.so .
-)
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cat << EOF > $PKG/install/doinst.sh
-# Clean up a potential upgrade mess caused by changing the
-# installation directory to /usr/lib${LIBDIRSUFFIX}/java/:
-if [ -L usr/lib${LIBDIRSUFFIX}/java ]; then
- rm -rf usr/lib${LIBDIRSUFFIX}/java
- mkdir -p usr/lib${LIBDIRSUFFIX}/java/man
- mkdir -p usr/lib${LIBDIRSUFFIX}/java/lib/${LIB_ARCH}/server
- mkdir -p usr/lib/java/lib${LIBDIRSUFFIX}/${LIB_ARCH}/client
- mkdir -p usr/lib${LIBDIRSUFFIX}/java/javaws
- mkdir -p usr/lib${LIBDIRSUFFIX}/java/bin
- mkdir -p usr/lib${LIBDIRSUFFIX}/mozilla/plugins
-fi
-if [ -L ControlPanel ]; then
- rm -f ControlPanel
-fi
-if [ -L ja ]; then
- rm -f ja
-fi
-if [ -L javaws ]; then
- rm -f javaws
-fi
-if [ -L libjsig.so ]; then
- rm -f libjsig.so
-fi
-# End cleanup.
-EOF
-
-# Install the desktop/mime files:
-mkdir -p $PKG/usr/share/{applications,icons,mime}
-cp -a $PKG/usr/lib${LIBDIRSUFFIX}/java/lib/desktop/applications/* \
- $PKG/usr/share/applications/
-cp -a $PKG/usr/lib${LIBDIRSUFFIX}/java/lib/desktop/icons/hicolor \
- $PKG/usr/share/icons/
-cp -a $PKG/usr/lib${LIBDIRSUFFIX}/java/lib/desktop/mime/packages \
- $PKG/usr/share/mime/
-
-# We ship the package unmodified, so we do not compress manpages.
-
-cd $PKG
-/sbin/makepkg -l y -c n $TMP/jre-$(echo $VERSION | tr - _)-${ARCH}-$BUILD.txz
-
diff --git a/source/local/jre/profile.d/jre.csh b/source/local/jre/profile.d/jre.csh
deleted file mode 100755
index 2beb66ec..00000000
--- a/source/local/jre/profile.d/jre.csh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/csh
-setenv JAVA_HOME /usr/lib/java
-setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
-setenv PATH ${PATH}:${JAVA_HOME}/bin
diff --git a/source/local/jre/profile.d/jre.sh b/source/local/jre/profile.d/jre.sh
deleted file mode 100755
index 227c15cb..00000000
--- a/source/local/jre/profile.d/jre.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-export JAVA_HOME=/usr/lib/java
-export MANPATH="${MANPATH}:${JAVA_HOME}/man"
-export PATH="${PATH}:${JAVA_HOME}/bin"
diff --git a/source/local/jre/slack-desc b/source/local/jre/slack-desc
deleted file mode 100644
index 925218e2..00000000
--- a/source/local/jre/slack-desc
+++ /dev/null
@@ -1,18 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
-jre: Java(TM) 2 Platform Standard Edition Runtime Environment.
-jre:
-jre: The J2SE(TM) Runtime Environment (JRE) is intended for software
-jre: developers and vendors to redistribute with their applications.
-jre: It contains the Java virtual machine, runtime class libraries, and
-jre: Java application launcher that are necessary to run programs written
-jre: in the Java programming language.
-jre:
-jre: If you need development tools, obtain the jdk from /extra, or see the
-jre: web page: http://java.com/
-jre: