removing dead scripts

Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le Moine 2015-11-19 21:48:11 +01:00
parent 180d5b748b
commit 10e70eccd3
20 changed files with 5 additions and 4350 deletions

View file

@ -1,122 +0,0 @@
#!/bin/sh -x
# variables
VERSION=${VERSION:-$(date +%F | tr - .)}
BUILD=1
TAG=cyco
OUTPUT=/tmp
TMP=/tmp/$TAG
CWD=$(pwd)
PRGNAM=$(basename $CWD)
PKG=$TMP/pkg-$PRGNAM
ARCH=$(uname -m)
PREFIX=/usr
REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM
# nettoyage préalable
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
GOARCH=amd64
case $ARCH in
x86_64)
GOARCH=amd64
;;
"i?86")
GOARCH=386
;;
*)
GOARCH=arm
esac
# mise en place
cd $TMP
[ ! -e $REPOSITORY ] \
&& hg clone -u release https://code.google.com/p/go $REPOSITORY \
|| (cd $REPOSITORY && hg pull -u)
mkdir -p $PKG$PREFIX/lib$(echo $ARCH | grep -o "64")
cp -R $REPOSITORY $PKG$PREFIX/lib$(echo $ARCH | grep -o "64")/
rm -fr $PKG$PREFIX/lib$(echo $ARCH | grep -o "64")/$PRGNAM/.hg*
cd $PKG$PREFIX/lib$(echo $ARCH | grep -o "64")/$PRGNAM/src
./all.bash
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 640 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
cd $PRGNAM/misc/emacs
find . -type f -name \*.el -exec emacs -batch -f batch-byte-compile {} \;
mkdir -p $PKG$PREFIX/share/emacs/site-lisp/
cd $PKG$PREFIX/share/emacs/site-lisp/
ln -s ../../../$PRGNAM/misc/emacs golang
mkdir -p $PKG/etc/profile.d
cat <<EOF > $PKG/etc/profile.d/$PRGNAM.sh
#!/bin/sh
export GOROOT=$PREFIX/$PRGNAM
export GOBIN=\$GOROOT/bin
export GOOS=linux
export GOARCH=$GOARCH
export PATH=\$PATH:\$GOBIN
EOF
chmod +x $PKG/etc/profile.d/$PRGNAM.sh
cat <<EOF > $PKG/etc/profile.d/$PRGNAM.csh
#!/bin/csh
setenv GOROOT $PREFIX/$PRGNAM
setenv GOBIN \$GOROOT/bin
setenv GOOS linux
setenv GOARCH $GOARCH
setenv PATH \$PATH:\$GOBIN
EOF
chmod +x $PKG/etc/profile.d/$PRGNAM.csh
mkdir -p $PKG$PREFIX/doc
cd $PKG$PREFIX/doc
ln -s ../$PRGNAM/doc $PRGNAM-$VERSION
# correction
cd $PKG
chown -R root:root *
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
# embaumement
mkdir -p $PKG/install
cat <<EOF > $PKG/install/slack-desc
# 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------------------------------------------------------|
$PRGNAM: $PRGNAM (a systems programming language)
$PRGNAM:
$PRGNAM: Go is…
$PRGNAM: …simple
$PRGNAM: …fast
$PRGNAM: …safe
$PRGNAM: …concurrent
$PRGNAM: …fun
$PRGNAM: …open source
$PRGNAM:
$PRGNAM: http://weekly.golang.org/
EOF
# empaquetage
makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz

View file

@ -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.

View file

@ -1,9 +0,0 @@
1. Download the file jdk-6u*-linux-i586.bin from
java.com and put it in the directory.
2. Run jdk.SlackBuild to package it as an installable
.txz package.
Newer (or older) versions may be packaged by editing the
version number in jdk.SlackBuild first.

View file

@ -1 +0,0 @@
Please refer to http://java.com/license

View file

@ -1,10 +0,0 @@
<html>
<head>
<title>README
</title>
</head>
<body>
Please refer to http://java.com/licensereadme
</body>
</html>

View file

@ -1 +0,0 @@
You should use http://alien.slackbook.org/blog/openjdk-replacing-oracles-binaries/

File diff suppressed because it is too large Load diff

View file

@ -1,123 +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.
# Adapted for version 7 by Gwenhael Le Moine, 2011.12.20
VERSION=7u2
DVER=1.7.0_02
ARCH=x86_64 # only determines the lib path locations
JAVA_ARCH=${JAVA_ARCH:-x64} # or i586 if you want the 32bit version
BUILD=${BUILD:-1cyco}
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-jdk
rm -rf $PKG
mkdir -p $TMP $PKG
cd $PKG
mkdir -p usr/lib${LIBDIRSUFFIX}
cd usr/lib${LIBDIRSUFFIX}
tar xf $CWD/jdk-${VERSION}-linux-${JAVA_ARCH}.tar.gz || 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
find $PKG \
\( -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 jdk${DVER} java || exit 1
ln -sf java jdk${DVER}
) || exit 1
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
( cd $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
ln -sf /usr/lib${LIBDIRSUFFIX}/java/jre/lib/${LIB_ARCH}/libnpjp2.so libnpjp2.so
)
( cd $PKG/usr/lib${LIBDIRSUFFIX}
ln -sf ./java/jre/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/jre/lib/${LIB_ARCH}/server
mkdir -p usr/lib${LIBDIRSUFFIX}/java/jre/lib/${LIB_ARCH}/client
mkdir -p usr/lib${LIBDIRSUFFIX}/java/jre/javaws
mkdir -p usr/lib${LIBDIRSUFFIX}/java/jre/bin
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/jre/lib/desktop/applications/* \
$PKG/usr/share/applications/
cp -a $PKG/usr/lib${LIBDIRSUFFIX}/java/jre/lib/desktop/icons/hicolor \
$PKG/usr/share/icons/
cp -a $PKG/usr/lib${LIBDIRSUFFIX}/java/jre/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/jdk-$(echo $VERSION | tr - _)-$ARCH-$BUILD.txz

View file

@ -1,4 +0,0 @@
#!/bin/csh
setenv JAVA_HOME /usr/lib/java
setenv MANPATH ${MANPATH}:${JAVA_HOME}/man
setenv PATH ${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin

View file

@ -1,4 +0,0 @@
#!/bin/sh
export JAVA_HOME=/usr/lib/java
export MANPATH="${MANPATH}:${JAVA_HOME}/man"
export PATH="${PATH}:${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"

View file

@ -1,79 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Register your JDK</title>
<style type="text/css">
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
.style3 {font-family: Arial, Helvetica, sans-serif; font-size: small; }
input.buttonblue,input.defbutton{ background: #3F6580;border-right:1px solid #304C60;border-bottom:1px solid #304C60;border-left:1px solid #BACDD9;border-top:1px solid #BACDD9; font-weight:bold; color:#FFFFFF; font-size:.8em; height:1.9em}
input.buttonblue:hover{color:#fbe249;}
a:link,a.named:visited{color:#3E6B8A}
a:hover{text-decoration:underline}
a{text-decoration:none}
a:visited,a:visited code{color:#917E9C}
-->
</style>
</head>
<body>
<table width="813" border="0" cellpadding="3" cellspacing="0">
<tr>
<td width="7" height="78">&nbsp;</td>
<td width="794" align="left" valign="top">
<img src="file:/tmp/package-jdk/usr/lib64/jdk1.6.0_27/jre/lib/servicetag/jdk_header.png" width="783" height="63"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><p class="style1">Thank you for installing the
<strong> Java Development Kit Version 6 Update 27 </strong>
from Oracle Corporation. </p>
<p class="style1">Registering your product will give you the following benefits:</p>
<ul class="style1">
<li> Notification of new versions, patches, and updates</li>
<li> Special offers on Oracle developer products, services and training </li>
<li> Access to early releases and documentation </li>
</ul>
<p class="style1">Product registration is FREE, quick and easy!</p>
<blockquote>
<p class="style1">All you need is an Oracle.com account. If you don't already have one, you will be prompted to create one. </p>
<table width="708" border="0" cellspacing="0" cellpadding="3">
<tr valign="top">
<td width="126" height="35">
<form name="form1" method="post" action="https://hs-ws1.oracle.com/RegistrationWeb/register/urn:st:fc590bce-aea7-417c-b803-a326a4c9e52d?product=jdk&locale=en" enctype="text/xml">
<input type="hidden" name="servicetag_payload" value="<?xml version=%221.0%22 encoding=%22UTF-8%22 standalone=%22no%22?><registration_data version=%221.0%22><environment><hostname>Unknown host</hostname><hostId>00000000</hostId><osName>Linux</osName><osVersion>2.6.38.7</osVersion><osArchitecture>amd64</osArchitecture><systemModel>AuthenticAMD</systemModel><systemManufacturer>gigabyte technology co., ltd.</systemManufacturer><cpuManufacturer>AuthenticAMD</cpuManufacturer><serialNumber>serial number</serialNumber></environment><registry urn=%22urn:st:fc590bce-aea7-417c-b803-a326a4c9e52d%22 version=%221.0%22><service_tag><instance_urn>urn:st:556e833f-73a9-4d7a-82fc-8394c9fc2f0c</instance_urn><product_name>Java SE 6 Development Kit</product_name><product_version>1.6.0_27</product_version><product_urn>urn:uuid:b58ef9a8-5ae8-11db-a023-080020a9ed93</product_urn><product_parent_urn>urn:uuid:fdc90b21-018d-4cab-b866-612c7c119ed3</product_parent_urn><product_parent>Java Platform Standard Edition 6 (Java SE 6)</product_parent><product_defined_inst_id>id=1.6.0_27-b07 amd64,dir=/tmp/package-jdk/usr/lib64/jdk1.6.0_27/jre</product_defined_inst_id><product_vendor>Sun Microsystems</product_vendor><platform_arch>amd64</platform_arch><timestamp>2011-08-18 22:19:54 GMT</timestamp><container>global</container><source>jdk-6u27-fcs-bin-b07-linux-amd64-19_jul_2011.bin</source><installer_uid>-1</installer_uid></service_tag></registry></registration_data>">
<input type="submit" name="Submit"border="0" class="buttonblue" onmouseover="this.style.color='#fbe249';" onmouseout="this.style.color='#FFF';" value="Register My JDK">
</form></td>
<td width="570"><span class="style3">You need to be connected to the Internet to register this Oracle product. </span></td>
</tr>
</table>
</blockquote>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td bgcolor="#f1f7df">
<p class="style3">Oracle Corporation respects your privacy.
We will use your personal information for communications
and management of your Oracle.com account, the services
and applications you access using your Oracle.com account,
and the products and systems you register with your Oracle.com account.</p>
<p class="style3">For more information on the data that will be collected as
part of the registration process and how it will be managed <br>
see <a href="http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html">http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html</a>. <br>
<br>
For more information on Oracle's Privacy Policy see <a href="http://www.oracle.com/html/privacy.html">http://www.oracle.com/html/privacy.html</a> or contact <a class="moz-txt-link-rfc2396E" href="mailto:privacy_ww@oracle.com">privacy_ww@oracle.com.</a></p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

View file

@ -1,91 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or
g/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>JDK 製品登録</title>
<!--
Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation. Oracle designates this
particular file as subject to the "Classpath" exception as provided
by Oracle in the LICENSE file that accompanied this code.
This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).
You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.
-->
<style type="text/css">
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
.style3 {font-family: Arial, Helvetica, sans-serif; font-size: small; }
input.buttonblue,input.defbutton{ background: #3F6580;border-right:1px solid #304C60;border-bottom:1px solid #304C60;border-left:1px solid #BACDD9;border-top:1px solid #BACDD9; font-weight:bold; color:#FFFFFF; font-size:.8em; height:1.9em}
input.buttonblue:hover{color:#fbe249;}
a:link,a.named:visited{color:#3E6B8A}
a:hover{text-decoration:underline}
a{text-decoration:none}
a:visited,a:visited code{color:#917E9C}
-->
</style></head><body>
<table border="0" cellpadding="3" cellspacing="0" width="813">
<tbody><tr>
<td height="78" width="7">&nbsp;</td>
<td align="left" valign="top" width="794"><img src="file:/tmp/package-jdk/usr/lib64/jdk1.6.0_27/jre/lib/servicetag/jdk_header.png" height="63" width="783"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><p class="style1">Oracle Corporation の<strong> Java Development Kit Version 6 Update 27 </strong>をインストールしていただき、ありがとうございます。 </p>
<p class="style1">製品登録をすると、次のような特典を受けることができます。</p>
<ul class="style1">
<li> 最新のバージョン、パッチ、および更新についての通知</li>
<li> Oracle の開発者向け製品、サービス、およびトレーニングの特別販売 </li>
<li> アーリーリリースおよびドキュメントへのアクセス </li>
</ul>
<p class="style1">製品登録は無料であり、迅速で簡単です。</p>
<blockquote>
<p class="style1">必要になるのは、Oracle.com アカウントだけです。 まだアカウントがない場合は、アカウントの作成が求められます。 </p>
<table width="708" border="0" cellspacing="0" cellpadding="3">
<tr valign="top">
<td width="126" height="35"><form name="form1" method="post" action="https://hs-ws1.oracle.com/RegistrationWeb/register/urn:st:fc590bce-aea7-417c-b803-a326a4c9e52d?product=jdk&locale=ja" enctype="text/xml">
<input type="hidden" name="servicetag_payload" value="<?xml version=%221.0%22 encoding=%22UTF-8%22 standalone=%22no%22?><registration_data version=%221.0%22><environment><hostname>Unknown host</hostname><hostId>00000000</hostId><osName>Linux</osName><osVersion>2.6.38.7</osVersion><osArchitecture>amd64</osArchitecture><systemModel>AuthenticAMD</systemModel><systemManufacturer>gigabyte technology co., ltd.</systemManufacturer><cpuManufacturer>AuthenticAMD</cpuManufacturer><serialNumber>serial number</serialNumber></environment><registry urn=%22urn:st:fc590bce-aea7-417c-b803-a326a4c9e52d%22 version=%221.0%22><service_tag><instance_urn>urn:st:556e833f-73a9-4d7a-82fc-8394c9fc2f0c</instance_urn><product_name>Java SE 6 Development Kit</product_name><product_version>1.6.0_27</product_version><product_urn>urn:uuid:b58ef9a8-5ae8-11db-a023-080020a9ed93</product_urn><product_parent_urn>urn:uuid:fdc90b21-018d-4cab-b866-612c7c119ed3</product_parent_urn><product_parent>Java Platform Standard Edition 6 (Java SE 6)</product_parent><product_defined_inst_id>id=1.6.0_27-b07 amd64,dir=/tmp/package-jdk/usr/lib64/jdk1.6.0_27/jre</product_defined_inst_id><product_vendor>Sun Microsystems</product_vendor><platform_arch>amd64</platform_arch><timestamp>2011-08-18 22:19:54 GMT</timestamp><container>global</container><source>jdk-6u27-fcs-bin-b07-linux-amd64-19_jul_2011.bin</source><installer_uid>-1</installer_uid></service_tag></registry></registration_data>">
<input type="submit" name="Submit"border="0" class="buttonblue" onmouseover="this.style.color='#fbe249';" onmouseout="this.style.color='#FFF';" value="JDK 製品登録">
</form></td>
<td width="570"><span class="style3">この Oracle 製品を登録するには、インターネットに接続している必要があります。 </span></td>
</tr>
</table>
</blockquote>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td bgcolor="#f1f7df">
<p class="style3">Oracle Corporation は、お客様のプライバシーを尊重します。 お客様の個人情報は、お客様の Oracle.com アカウント、お客様が Oracle.com アカウントを使用してアクセスするサービスとアプリケーション、およびお客様が Oracle.com アカウントで登録する製品とシステムの通信と管理に使用します。</p>
<p class="style3">登録の際に収集されるデータや、それらがどのように管理されるかについての詳細は、<br><a href="http://java.sun.com/javase/ja/registration/JDKRegistrationPrivacy.html">http://java.sun.com/javase/ja/registration/JDKRegistrationPrivacy.html</a> を参照してください。 <br> <br> Oracle のプライバシーポリシーについての詳細は、<a href="http://www.oracle.com/html/privacy.html">http://www.oracle.com/html/privacy.html</a> を参照するか、<a class="moz-txt-link-rfc2396E" href="mailto:privacy_ww@oracle.com">お問い合わせフォーム</a>からお問い合わせください。</p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

View file

@ -1,66 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册您的 JDK</title>
<style type="text/css">
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
.style3 {font-family: Arial, Helvetica, sans-serif; font-size: small; }
input.buttonblue,input.defbutton{ background: #3F6580;border-right:1px solid #304C60;border-bottom:1px solid #304C60;border-left:1px solid #BACDD9;border-top:1px solid #BACDD9; font-weight:bold; color:#FFFFFF; font-size:.8em; height:1.9em}
input.buttonblue:hover{color:#fbe249;}
a:link,a.named:visited{color:#3E6B8A}
a:hover{text-decoration:underline}
a{text-decoration:none}
a:visited,a:visited code{color:#917E9C}
-->
</style></head><body>
<table border="0" cellpadding="3" cellspacing="0" width="813">
<tbody><tr>
<td height="78" width="7">&nbsp;</td>
<td align="left" valign="top" width="794"><img src="file:/tmp/package-jdk/usr/lib64/jdk1.6.0_27/jre/lib/servicetag/jdk_header.png" height="63" width="783"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><p class="style1">感谢您安装 Oracle Corporation 的 <strong>Java Development Kit Version 6 Update 27</strong></p>
<p class="style1">注册产品后您将获得如下增值服务:</p>
<ul class="style1">
<li> 获得新版本、修补程序和更新的通知服务</li>
<li> 获得有关 Oracle 开发者产品、服务和培训的优惠 </li>
<li> 获得对早期版本和文档的访问权限 </li>
</ul>
<p class="style1">产品注册是免费的,即快速又轻松!</p>
<blockquote>
<p class="style1">您需要具有 Oracle.com 帐户。如果您没有,系统将提示您创建一个。 </p>
<table width="708" border="0" cellspacing="0" cellpadding="3">
<tr valign="top">
<td width="126" height="35"><form name="form1" method="post" action="https://hs-ws1.oracle.com/RegistrationWeb/register/urn:st:fc590bce-aea7-417c-b803-a326a4c9e52d?product=jdk&locale=zh_CN" enctype="text/xml">
<input type="hidden" name="servicetag_payload" value="<?xml version=%221.0%22 encoding=%22UTF-8%22 standalone=%22no%22?><registration_data version=%221.0%22><environment><hostname>Unknown host</hostname><hostId>00000000</hostId><osName>Linux</osName><osVersion>2.6.38.7</osVersion><osArchitecture>amd64</osArchitecture><systemModel>AuthenticAMD</systemModel><systemManufacturer>gigabyte technology co., ltd.</systemManufacturer><cpuManufacturer>AuthenticAMD</cpuManufacturer><serialNumber>serial number</serialNumber></environment><registry urn=%22urn:st:fc590bce-aea7-417c-b803-a326a4c9e52d%22 version=%221.0%22><service_tag><instance_urn>urn:st:556e833f-73a9-4d7a-82fc-8394c9fc2f0c</instance_urn><product_name>Java SE 6 Development Kit</product_name><product_version>1.6.0_27</product_version><product_urn>urn:uuid:b58ef9a8-5ae8-11db-a023-080020a9ed93</product_urn><product_parent_urn>urn:uuid:fdc90b21-018d-4cab-b866-612c7c119ed3</product_parent_urn><product_parent>Java Platform Standard Edition 6 (Java SE 6)</product_parent><product_defined_inst_id>id=1.6.0_27-b07 amd64,dir=/tmp/package-jdk/usr/lib64/jdk1.6.0_27/jre</product_defined_inst_id><product_vendor>Sun Microsystems</product_vendor><platform_arch>amd64</platform_arch><timestamp>2011-08-18 22:19:54 GMT</timestamp><container>global</container><source>jdk-6u27-fcs-bin-b07-linux-amd64-19_jul_2011.bin</source><installer_uid>-1</installer_uid></service_tag></registry></registration_data>">
<input type="submit" name="Submit"border="0" class="buttonblue" onmouseover="this.style.color='#fbe249';" onmouseout="this.style.color='#FFF';" value="注册我的 JDK">
</form></td>
<td width="570"><span class="style3">您需要连接到 Internet 来注册此 Oracle 产品。 </span></td>
</tr>
</table>
</blockquote>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td bgcolor="#f1f7df">
<p class="style3">Oracle 尊重您的隐私。我们会将您的个人信息用于通信和 Oracle.com 帐户的管理、Oracle.com 帐户访问的服务和应用程序以及用于使用 Oracle.com 帐户注册的产品和系统。</p>
<p class="style3">有关注册过程中收集的数据以及这些数据的管理方式的更多信息,<br>请访问 <a href="http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html">http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html</a><br> <br>有关 Oracle 隐私政策的更多信息,请访问 <a href="http://www.oracle.com/html/privacy.html">http://www.oracle.com/html/privacy.html</a> 或与 <a class="moz-txt-link-rfc2396E" href="mailto:privacy_ww@oracle.com">privacy_ww@oracle.com</a> 联系。</p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

View file

@ -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------------------------------------------------------|
jdk: Java(TM) 2 Platform Standard Edition Development Kit.
jdk:
jdk: The Java 2 SDK software includes tools for developing, testing, and
jdk: running programs written in the Java programming language. This
jdk: package contains everything you need to run Java(TM).
jdk:
jdk: For additional information, refer to this web page:
jdk: http://java.com/
jdk:
jdk:
jdk:

View file

@ -1,66 +0,0 @@
#!/bin/sh
set -x -e
CWD=$(pwd)
PRGNAM=${PRGNAM:=$(basename $CWD)}
ARCH=${ARCH:=$(uname -m)}
VERSION=${VERSION:=1.6.3}
BUILD=${BUILD:=2}
TAG=${TAG:=cyco}
OUTPUT=${OUTPUT:=/tmp}
TMP=${TMP:=/tmp/$TAG}
PKG=${PKG:=$TMP/pkg-$PRGNAM}
PREFIX=${PREFIX:=/usr}
# cleaning
rm -fr $PKG
[ ! -e $CWD/$PRGNAM-bin-$VERSION.tar.gz ] && wget -c -O $CWD/$PRGNAM-bin-$VERSION.tar.gz http://jruby.org.s3.amazonaws.com/downloads/$VERSION/jruby-bin-$VERSION.tar.gz
# unpacking
mkdir -p $PKG$PREFIX/libexec/
( cd $PKG$PREFIX/libexec/
tar xf $CWD/$PRGNAM-bin-$VERSION.tar.gz
ln -s $PRGNAM-$VERSION $PRGNAM
rm $PRGNAM-$VERSION/bin/*.bat
rm -fr $PKG$PREFIX/libexec/$PRGNAM-$VERSION/lib/native/{Darwin,i386-FreeBSD,i386-OpenBSD,i386-SunOS,i386-Windows,ppc-AIX,sparc-SunOS,sparcv9-SunOS,x86_64-FreeBSD,x86_64-OpenBSD,x86_64-SunOS,x86_64-Windows}
if [ "x$ARCH" == "xx86_64" ]; then
rm -fr $PKG$PREFIX/libexec/$PRGNAM-$VERSION/lib/native/i386-Linux/
else
rm -fr $PKG$PREFIX/libexec/$PRGNAM-$VERSION/lib/native/x86_64-Linux/
fi
)
# installation
mkdir -p $PKG/etc/profile.d
cat <<EOF > $PKG/etc/profile.d/$PRGNAM.sh
#!/bin/sh
export PATH=\$PATH:$PKG$PREFIX/libexec/$PRGNAM-$VERSION/bin/
EOF
cat <<EOF > $PKG/etc/profile.d/$PRGNAM.csh
#!/bin/csh
setenv PATH \$PATH:$PKG$PREFIX/libexec/$PRGNAM-$VERSION/bin/
EOF
chmod +x $PKG/etc/profile.d/$PRGNAM.*sh
# packaging
cd $PKG
mkdir install
cat <<EOF > install/slack-desc
$PRGNAM: $PRGNAM (Ruby on the JVM)
$PRGNAM:
$PRGNAM: 100% Pure-Java Implementation of the Ruby Programming Language
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://www.jruby.org/
$PRGNAM:
EOF
makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz

View file

@ -1,77 +0,0 @@
#!/bin/sh -x
CWD=$(pwd)
PRGNAM=$(basename $CWD)
VERSION=git$(date +%Y.%m.%d_%H.%M)
BUILD=1
ARCH=$(uname -m)
REPOSITORIES=/home/installs/SlackBuilds/repositories
TAG=cyco
TMP=/tmp/$TAG
PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp
PREFIX=/usr
# cleaning
rm -fr $PKG
mkdir -p $TMP $PKG
# get sources
[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES
( cd $REPOSITORIES
if [ -e $REPOSITORIES/$PRGNAM ] ; then
( cd $REPOSITORIES/$PRGNAM
git pull
)
else
git clone http://luajit.org/git/luajit-2.0.git $REPOSITORIES/$PRGNAM
fi
)
( cd $TMP
rm -fr $PRGNAM-$VERSION && cp -R $REPOSITORIES/$PRGNAM $PRGNAM-$VERSION
( cd $PRGNAM-$VERSION
sed -i "s|/usr/local|$PREFIX|g" Makefile src/luaconf.h
sed -i 's|$(INSTALL_SHARE)/man/man1|$(DPREFIX)/man/man1|g' Makefile
echo "$ARCH" | grep -q 64 && sed -i "s|/lib|/lib64|g" Makefile src/luaconf.h
echo "$ARCH" | grep -q 64 && sed -i "s|lib/|lib64/|g" Makefile src/luaconf.h
make
make DESTDIR=$PKG install
( cd $PKG$PREFIX/bin/
ln -s luajit-* luajit
)
)
)
( cd $PKG
mkdir -p install
cat <<EOF > install/slack-desc
$PRGNAM: $PRGNAM (a Just-In-Time Compiler for Lua.)
$PRGNAM:
$PRGNAM: LuaJIT implements the full set of language features defined by Lua 5.1.
$PRGNAM: The virtual machine (VM) is API- and ABI-compatible to the standard Lua
$PRGNAM: interpreter and can be deployed as a drop-in replacement.
$PRGNAM:
$PRGNAM: LuaJIT offers more performance, at the expense of portability. It currently
$PRGNAM: runs on all popular operating systems based on x86 or x64 CPUs
$PRGNAM:
$PRGNAM: http://luajit.org/luajit.html
$PRGNAM:
EOF
chown -R root:root *
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz
)

View file

@ -1,53 +0,0 @@
#!/bin/sh
set -x -e
CWD=$(pwd)
PRGNAM=$(basename $CWD)
ARCH=java
VERSION=2.0.4
BUILD=1
TAG=cyco
OUTPUT=/tmp
TMP=/tmp/$TAG
PKG=$TMP/pkg-$PRGNAM
PREFIX=/usr
# cleaning
rm -fr $PKG
[ ! -e $CWD/$PRGNAM-$VERSION.zip ] && wget -c -O $CWD/$PRGNAM-$VERSION.zip http://download.playframework.org/releases/$PRGNAM-$VERSION.zip
# unpacking
mkdir -p $PKG/opt $PKG$PREFIX/doc/$PRGNAM $PKG$PREFIX/bin
cd $PKG/opt
unzip $CWD/$PRGNAM-$VERSION.zip
cd $PRGNAM-$VERSION
[ -e play.bat ] && rm play.bat
chmod +x play
cd $PKG$PREFIX/doc/$PRGNAM
ln -s ../../../opt/$PRGNAM-$VERSION/README.textile
ln -s ../../../opt/$PRGNAM-$VERSION/samples
cd $PKG$PREFIX/bin
ln -s /opt/$PRGNAM-$VERSION/play
# packaging
cd $PKG
mkdir install
cat <<EOF > install/slack-desc
$PRGNAM: $PRGNAM (Java Web framework)
$PRGNAM:
$PRGNAM: The Play framework makes it easier to build Web applications with Java
$PRGNAM: and Scala.
$PRGNAM:
$PRGNAM: Finally a Java Web framework made by Web developers. Discover a clean
$PRGNAM: alternative to bloated enterprise Java stacks. Play focuses on developer
$PRGNAM: productivity and targets RESTful architectures.
$PRGNAM:
$PRGNAM: http://www.playframework.org/
$PRGNAM:
EOF
makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz

View file

@ -1,62 +0,0 @@
#!/bin/sh
CWD=$(pwd)
PRGNAM=$(basename $CWD)
VERSION=$(date +%Y.%m.%d_%H.%M)
BUILD=1
ARCH=$(uname -m)
REPOSITORIES=/home/installs/SlackBuilds/repositories
TAG=cyco
TMP=/tmp/$TAG
PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp
PREFIX=/usr
# cleaning
rm -fr $PKG
# get sources
if [ ! -e $REPOSITORIES/$PRGNAM ]; then
git clone http://github.com/facebook/tornado.git $REPOSITORIES/$PRGNAM
else
( cd $REPOSITORIES/$PRGNAM
git pull
)
fi
mkdir -p $TMP
cd $TMP
rm -fr $PRGNAM-$VERSION && cp -R $REPOSITORIES/$PRGNAM $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
python setup.py build
python setup.py install --root=$PKG
cd $PKG
mkdir -p install
cat <<EOF > install/slack-desc
$PRGNAM: $PRGNAM (Web server and tools)
$PRGNAM:
$PRGNAM: Tornado is an open source version of the scalable, non-blocking web server
$PRGNAM: and and tools that power FriendFeed. Documentation and downloads are
$PRGNAM: available at http://www.tornadoweb.org/
$PRGNAM:
$PRGNAM: Tornado is licensed under the Apache Licence, Version 2.0
$PRGNAM: (http://www.apache.org/licenses/LICENSE-2.0.html).
$PRGNAM:
$PRGNAM:
$PRGNAM:
EOF
chown -R root:root *
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz

View file

@ -34,7 +34,7 @@ cat <<EOF > $PKG/install/slack-desc
# customary to leave one space after the ':'.
|-----handy-ruler----------------------------------------------------|
$PRGNAM: $PRGNAM ( The Haskell Tool Stack)
$PRGNAM: $PRGNAM (The Haskell Tool Stack)
$PRGNAM:
$PRGNAM: $PRGNAM is a cross-platform program for developing Haskell projects.
$PRGNAM: It is aimed at Haskellers both new and experienced.

View file

@ -36,12 +36,11 @@ cp -R $REPOSITORY $PRGNAM
cd $PRGNAM
rm -fr .git .gitignore
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \
-exec chmod 750 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \
-exec chmod 640 {} \;
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \
-exec chmod 750 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \
-exec chmod 640 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM
cp -a *.md $PKG/usr/doc/$PRGNAM
@ -50,12 +49,6 @@ cp -a *.md $PKG/usr/doc/$PRGNAM
chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM
chmod 0750 $PKG/$DOCROOT/$PRGNAM
mkdir -p $PKG/install
cat <<EOF > $PKG/install/doinst.sh
#!/bin/sh
chown -R $PHPUSER:$PHPGROUP $DOCROOT/$PRGNAM/apps
EOF
cat <<EOF > $PKG/install/slack-desc
$PRGNAM: $PRGNAM (open source self hostable read-it-later web app)
$PRGNAM: