diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-15 22:30:39 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-21 19:49:45 -0500 |
commit | 017eafd8cb7641c69d6395ae166e9e664c28468f (patch) | |
tree | 33d6240c577d12468808d1b64968801d1da29af8 /network | |
parent | 57e9c3f476ae644ce34fa26a7fe8e64245f6f37d (diff) |
network/glassfish: Removed (No maintainer).
Diffstat (limited to 'network')
-rw-r--r-- | network/glassfish/README | 16 | ||||
-rw-r--r-- | network/glassfish/asadmin | 2 | ||||
-rw-r--r-- | network/glassfish/doinst.sh | 25 | ||||
-rw-r--r-- | network/glassfish/glassfish.SlackBuild | 93 | ||||
-rw-r--r-- | network/glassfish/glassfish.info | 10 | ||||
-rw-r--r-- | network/glassfish/rc.glassfish | 64 | ||||
-rw-r--r-- | network/glassfish/slack-desc | 19 |
7 files changed, 0 insertions, 229 deletions
diff --git a/network/glassfish/README b/network/glassfish/README deleted file mode 100644 index 0d54e4fd07e30..0000000000000 --- a/network/glassfish/README +++ /dev/null @@ -1,16 +0,0 @@ -Glassfish is an open-source application server for the Java EE platform. -Glassfish is the reference implementation of Java EE and as such supports -Enterprise JavaBeans, JPA, JavaServer Faces, JMS, RMI, JavaServer Pages and -servlets. - -You must have a "glassfish" user and a "glassfish" group to run this script: - groupadd -g 263 glassfish - useradd -u 263 -g glassfish -d /var/lib/glassfish -s /bin/false glassfish - -The SlackBuild will use /var/lib/glassfish to store domain and node -configuration files. The default domain1 will be installed to /var/lib but note -that this will be overwritten on upgrade, so it is advised to install any -applications into a differently-named domain. - -The rc.glassfish script will operate on the default domain unless another is -specified on the command line. diff --git a/network/glassfish/asadmin b/network/glassfish/asadmin deleted file mode 100644 index 59c7b2a4725e2..0000000000000 --- a/network/glassfish/asadmin +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -/opt/glassfish3/bin/asadmin "$@" diff --git a/network/glassfish/doinst.sh b/network/glassfish/doinst.sh deleted file mode 100644 index 127eb56cc6389..0000000000000 --- a/network/glassfish/doinst.sh +++ /dev/null @@ -1,25 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -preserve_perms() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ -e $OLD ]; then - cp -a $OLD ${NEW}.incoming - cat $NEW > ${NEW}.incoming - mv ${NEW}.incoming $NEW - fi - config $NEW -} - -preserve_perms etc/rc.d/rc.glassfish.new diff --git a/network/glassfish/glassfish.SlackBuild b/network/glassfish/glassfish.SlackBuild deleted file mode 100644 index b0c04cb2ffb16..0000000000000 --- a/network/glassfish/glassfish.SlackBuild +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/sh - -# Slackware build script for glassfish - -# Copyright 2014 Benjamin Trigona-Harany -# 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. - -PRGNAM=glassfish -VERSION=${VERSION:-4.1} -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -MAJORVER=$(echo $VERSION | cut -d. -f1) - -set -e - -if ! getent group glassfish 2>&1 > /dev/null; then - echo " You must have a \"glassfish\" group to run this script." - echo " # groupadd -g 263 glassfish" - exit 1 -elif ! getent passwd glassfish 2>&1 > /dev/null; then - echo " You must have a \"glassfish\" user to run this script." - echo " # useradd -u 263 -g glassfish -d /var/lib/glassfish -s /bin/false glassfish" - exit 1 -fi - -rm -rf $PKG -mkdir -p $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM$MAJORVER -unzip $CWD/$PRGNAM-$VERSION-web.zip -cd $PRGNAM$MAJORVER - -mkdir -p $PKG/usr/share/$PRGNAM -cp -r bin glassfish javadb pkg $PKG/usr/share/$PRGNAM -find $PKG/usr/share/$PRGNAM -name "*.bat" -exec rm {} + -sed -i "s/^\(AS_INSTALL=\).*/\1\/usr\/share\/$PRGNAM\/glassfish/g" $PKG/usr/share/$PRGNAM/bin/asadmin -sed -i "s/^\(AS_DEF_DOMAINS_PATH=\).*/\1\"\/var\/lib\/glassfish\/domains\"/" $PKG/usr/share/$PRGNAM/glassfish/config/asenv.conf -sed -i "s/^\(AS_DEF_NODES_PATH=\).*/\1\"\/var\/lib\/glassfish\/nodes\"/" $PKG/usr/share/$PRGNAM/glassfish/config/asenv.conf - -mkdir -p $PKG/usr/bin -ln -s $PKG/usr/share/$PRGNAM/bin/asadmin $PKG/usr/bin - -mkdir -p $PKG/var/lib/$PRGNAM -mv $PKG/usr/share/$PRGNAM/glassfish/domains $PKG/var/lib/glassfish -mkdir -p $PKG/var/lib/$PRGNAM/nodes - -mkdir -p $PKG/etc/rc.d -cat $CWD/rc.glassfish > $PKG/etc/rc.d/rc.glassfish.new - -chown -R glassfish:glassfish $PKG/var/lib/$PRGNAM - -find $PKG \ - \( -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 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - README.txt \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/glassfish/glassfish.info b/network/glassfish/glassfish.info deleted file mode 100644 index 6e93aaa51c694..0000000000000 --- a/network/glassfish/glassfish.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="glassfish" -VERSION="4.1" -HOMEPAGE="http://glassfish.java.net" -DOWNLOAD="http://download.java.net/glassfish/4.1/release/glassfish-4.1-web.zip" -MD5SUM="252ab55a3ce890570092009df5fc6e6b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="jdk" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere" diff --git a/network/glassfish/rc.glassfish b/network/glassfish/rc.glassfish deleted file mode 100644 index eb4389fa52309..0000000000000 --- a/network/glassfish/rc.glassfish +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh - -# Glassfish startup script for Slackware Linux - -# $Date: 2014/11/11 $ -# -# Copyright 2014 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# 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. - -DOMAIN=${2:-domain1} - -start() -{ - /usr/bin/sudo -u glassfish /usr/bin/asadmin start-domain $DOMAIN -} - -stop() -{ - /usr/bin/sudo -u glassfish /usr/bin/asadmin stop-domain $DOMAIN -} - -restart() -{ - /usr/bin/sudo -u glassfish /usr/bin/asadmin restart-domain $DOMAIN -} - -status() -{ - /usr/bin/sudo -u glassfish /usr/bin/asadmin list-domains -} - -case "$1" in -'start') - start - ;; -'stop') - stop - ;; -'restart') - restart - ;; -'status') - status - ;; -*) - echo "usage $0 start|stop|restart|status [DOMAIN]" -esac diff --git a/network/glassfish/slack-desc b/network/glassfish/slack-desc deleted file mode 100644 index 20e30c645b30b..0000000000000 --- a/network/glassfish/slack-desc +++ /dev/null @@ -1,19 +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 ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -glassfish: glassfish (Java EE Application Server) -glassfish: -glassfish: Glassfish is an open-source application server for the Java EE -glassfish: platform. It supports Enterprise JavaBeans, JPA, JavaServer Faces, -glassfish: JMS, RMI, JavaServer Pages and servlets. -glassfish: -glassfish: -glassfish: -glassfish: -glassfish: -glassfish: |