summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-07-30 21:53:39 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-07-30 21:53:39 +0000
commit118dbd535510c4f693b8122d5e66ca4fbbee4293 (patch)
tree20c1c0cdd8ae2729148fc98f8d434acdf249ae14 /dev-java/snipsnap
parentmove dev-java/snipsnap dev-java/snipsnap-bin (diff)
downloadhistorical-118dbd535510c4f693b8122d5e66ca4fbbee4293.tar.gz
historical-118dbd535510c4f693b8122d5e66ca4fbbee4293.tar.bz2
historical-118dbd535510c4f693b8122d5e66ca4fbbee4293.zip
move dev-java/snipsnap dev-java/snipsnap-bin
Diffstat (limited to 'dev-java/snipsnap')
-rw-r--r--dev-java/snipsnap/ChangeLog18
-rw-r--r--dev-java/snipsnap/Manifest10
-rw-r--r--dev-java/snipsnap/files/0.4.2a-run.sh55
-rw-r--r--dev-java/snipsnap/files/0.4.2a-snipsnap23
-rw-r--r--dev-java/snipsnap/files/0.5.1a-run.sh55
-rw-r--r--dev-java/snipsnap/files/0.5.1a-snipsnap23
-rw-r--r--dev-java/snipsnap/files/digest-snipsnap-0.4.2a1
-rw-r--r--dev-java/snipsnap/files/digest-snipsnap-0.5.1a1
-rw-r--r--dev-java/snipsnap/metadata.xml5
-rw-r--r--dev-java/snipsnap/snipsnap-0.4.2a.ebuild22
-rw-r--r--dev-java/snipsnap/snipsnap-0.5.1a.ebuild22
11 files changed, 0 insertions, 235 deletions
diff --git a/dev-java/snipsnap/ChangeLog b/dev-java/snipsnap/ChangeLog
deleted file mode 100644
index 8ac8cb006f56..000000000000
--- a/dev-java/snipsnap/ChangeLog
+++ /dev/null
@@ -1,18 +0,0 @@
-# ChangeLog for dev-java/snipsnap
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/snipsnap/ChangeLog,v 1.4 2004/06/24 22:42:49 agriffis Exp $
-
- 19 Jun 2004; David Holm <dholm@gentoo.org> snipsnap-0.5.1a.ebuild:
- Added to ~ppc.
-
-*snipsnap-0.5.1a (16 Feb 2004)
-
- 16 Feb 2004; Chris Aniszczyk <zx@gentoo.org> snipsnap-0.5.1a.ebuild,
- files/0.5.1a-run.sh, files/0.5.1a-snipsnap:
- Version Bump. Bug #41037
-
-*snipsnap-0.4.2a (27 Apr 2003)
-
- 27 Apr 2003; Todd Berman <tberman@gentoo.org> snipsnap-0.4.2a.ebuild:
- Initial import.
-
diff --git a/dev-java/snipsnap/Manifest b/dev-java/snipsnap/Manifest
deleted file mode 100644
index 080d67f7ad7a..000000000000
--- a/dev-java/snipsnap/Manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-MD5 20ada145a45f797c27747b3b331f59a8 snipsnap-0.4.2a.ebuild 635
-MD5 c7e682c00ff03db229c0b5381e08256f snipsnap-0.5.1a.ebuild 638
-MD5 108759076023142ce5e496cb44c50d2c ChangeLog 596
-MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
-MD5 36af28823473d41a150d20fbceba3ba0 files/digest-snipsnap-0.4.2a 74
-MD5 5b47f6680b38ea95f097319cab50a00a files/digest-snipsnap-0.5.1a 74
-MD5 01545f16e77b2a91a7822b1581be8368 files/0.4.2a-snipsnap 568
-MD5 8b72de829569f3697d7a5b9fd0eb910d files/0.5.1a-snipsnap 568
-MD5 0a1abd3a75a98c94389512eb4bd9a1ea files/0.4.2a-run.sh 1844
-MD5 ab4b8d9f503c24fb0b5f16479e373aca files/0.5.1a-run.sh 1763
diff --git a/dev-java/snipsnap/files/0.4.2a-run.sh b/dev-java/snipsnap/files/0.4.2a-run.sh
deleted file mode 100644
index 24340f9e3fec..000000000000
--- a/dev-java/snipsnap/files/0.4.2a-run.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#! /bin/sh
-
-base=/opt/snipsnap
-jar=$base/lib
-
-if [ -f $HOME/.gentoo/java-env ] ; then
- source $HOME/.gentoo/java-env
-else
- JAVA_HOME=`java-config --jdk-home`
- if [ -z $JAVA_HOME ] ; then
- JAVA_HOME=`java-config --jre-home`
- fi
-fi
-
-if [ -z "$JAVA_HOME" ]; then
- echo "Please set JAVA_HOME environment variable!"
- echo "A Java SDK of at least version 1.3 is required!"
- exit
-fi
-
-# check whether the java compiler is available
-if [ ! -f $JAVA_HOME/lib/tools.jar -a ! -f /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar ]; then
- echo "$JAVA_HOME/lib/tools.jar or MacOS X pendant not found, cannot compile jsp files"
- echo "Make sure tools.jar or similar from the Java SDK is in the classpath!"
- exit
-else
- if [ -f /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar ]; then
- TOOLS=/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar
- else
- TOOLS=$JAVA_HOME/lib/tools.jar
- fi
-fi
-
-if [ ! -f $jar/snipsnap.jar ]; then
- echo "$jar/snipsnap.jar missing, please compile application first"
- exit
-fi
-
-# put classpath together (this is a script-local variable)
-CLASSPATH=$jar/org.mortbay.jetty.jar:$jar/javax.servlet.jar:$jar/org.apache.crimson.jar:$jar/org.apache.jasper.jar:$jar/jdbcpool.jar:$jar/mckoidb.jar:$TOOLS
-
-if [ "$1" = "admin" ]; then
- $JAVA_HOME/bin/java -cp $CLASSPATH:$jar/snipsnap.jar org.snipsnap.server.AppServer -admin "$2" "$3"
- exit
-fi
-
-if [ "$1" = "-debug" ]; then
- DBG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000"
-fi
-
-# execute application server
-[ -f $base/server.log ] && mv $base/server.log $base/server.log.old
-cd $base
-$JAVA_HOME/bin/java -server $DBG -cp $CLASSPATH:$jar/snipsnap.jar -Duser.dir=$base org.snipsnap.server.AppServer $cmdline > $base/server.log 2>&1 &
-echo "$!" > /var/run/snipsnap.pid
diff --git a/dev-java/snipsnap/files/0.4.2a-snipsnap b/dev-java/snipsnap/files/0.4.2a-snipsnap
deleted file mode 100644
index 5dc7ee262acf..000000000000
--- a/dev-java/snipsnap/files/0.4.2a-snipsnap
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/snipsnap/files/0.4.2a-snipsnap,v 1.2 2004/07/14 21:51:33 agriffis Exp $
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting snipsnap"
- start-stop-daemon -o --quiet --start --startas /opt/snipsnap/run.sh \
- --pidfile /var/run/snipsnap.pid
- eend $?
-}
-
-stop() {
- ebegin "Stopping snipsnap"
- start-stop-daemon -o --quiet --stop --pidfile /var/run/snipsnap.pid
- rm /var/run/snipsnap.pid
- eend $?
-}
-
diff --git a/dev-java/snipsnap/files/0.5.1a-run.sh b/dev-java/snipsnap/files/0.5.1a-run.sh
deleted file mode 100644
index eaabefbeb734..000000000000
--- a/dev-java/snipsnap/files/0.5.1a-run.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#! /bin/sh
-
-base=/opt/snipsnap
-jar=$base/lib
-
-if [ -f $HOME/.gentoo/java-env ] ; then
- source $HOME/.gentoo/java-env
-else
- JAVA_HOME=`java-config --jdk-home`
- if [ -z $JAVA_HOME ] ; then
- JAVA_HOME=`java-config --jre-home`
- fi
-fi
-
-if [ -z "$JAVA_HOME" ]; then
- echo "Please set JAVA_HOME environment variable!"
- echo "A Java SDK of at least version 1.3 is required!"
- exit
-fi
-
-# check whether the java compiler is available
-if [ ! -f $JAVA_HOME/lib/tools.jar -a ! -f /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar ]; then
- echo "$JAVA_HOME/lib/tools.jar or MacOS X pendant not found, cannot compile jsp files"
- echo "Make sure tools.jar or similar from the Java SDK is in the classpath!"
- exit
-else
- if [ -f /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar ]; then
- TOOLS=/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar
- else
- TOOLS=$JAVA_HOME/lib/tools.jar
- fi
-fi
-
-if [ ! -f $jar/snipsnap.jar ]; then
- echo "$jar/snipsnap.jar missing, please compile application first"
- exit
-fi
-
-# put classpath together (this is a script-local variable)
-CLASSPATH=$jar/org.mortbay.jetty.jar:$jar/javax.servlet.jar:$jar/org.apache.crimson.jar:$jar/org.apache.jasper.jar:$jar/jdbcpool.jar:$jar/mckoidb.jar:$TOOLS
-
-if [ "$1" = "admin" ]; then
- $JAVA_HOME/bin/java -jar $jar/snipsnap-utils.jar "$2" "$3"
- exit
-fi
-
-if [ "$1" = "-debug" ]; then
- DBG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000"
-fi
-
-# execute application server
-[ -f $base/server.log ] && mv $base/server.log $base/server.log.old
-cd $base
-$JAVA_HOME/bin/java -server $DBG -jar $jar/snipsnap.jar -Duser.dir=$base $cmdline > $base/server.log 2>&1 &
-echo "$!" > /var/run/snipsnap.pid
diff --git a/dev-java/snipsnap/files/0.5.1a-snipsnap b/dev-java/snipsnap/files/0.5.1a-snipsnap
deleted file mode 100644
index ed39484e0ddd..000000000000
--- a/dev-java/snipsnap/files/0.5.1a-snipsnap
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/snipsnap/files/0.5.1a-snipsnap,v 1.2 2004/07/14 21:51:33 agriffis Exp $
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting snipsnap"
- start-stop-daemon -o --quiet --start --startas /opt/snipsnap/run.sh \
- --pidfile /var/run/snipsnap.pid
- eend $?
-}
-
-stop() {
- ebegin "Stopping snipsnap"
- start-stop-daemon -o --quiet --stop --pidfile /var/run/snipsnap.pid
- rm /var/run/snipsnap.pid
- eend $?
-}
-
diff --git a/dev-java/snipsnap/files/digest-snipsnap-0.4.2a b/dev-java/snipsnap/files/digest-snipsnap-0.4.2a
deleted file mode 100644
index b40d321bf135..000000000000
--- a/dev-java/snipsnap/files/digest-snipsnap-0.4.2a
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9483948e906b108e74cc321ba815e94a snipsnap-0.4.2a-20030326.tgz 8585100
diff --git a/dev-java/snipsnap/files/digest-snipsnap-0.5.1a b/dev-java/snipsnap/files/digest-snipsnap-0.5.1a
deleted file mode 100644
index d52e618a7d7b..000000000000
--- a/dev-java/snipsnap/files/digest-snipsnap-0.5.1a
+++ /dev/null
@@ -1 +0,0 @@
-MD5 dda47282fe2af382e302081277fce809 snipsnap-0.5.1a-20040123.tgz 9319631
diff --git a/dev-java/snipsnap/metadata.xml b/dev-java/snipsnap/metadata.xml
deleted file mode 100644
index 838c00a4a448..000000000000
--- a/dev-java/snipsnap/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>java</herd>
-</pkgmetadata>
diff --git a/dev-java/snipsnap/snipsnap-0.4.2a.ebuild b/dev-java/snipsnap/snipsnap-0.4.2a.ebuild
deleted file mode 100644
index 44ac9df6ab6b..000000000000
--- a/dev-java/snipsnap/snipsnap-0.4.2a.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/snipsnap/snipsnap-0.4.2a.ebuild,v 1.5 2004/06/24 22:42:49 agriffis Exp $
-
-DESCRIPTION="A blog/wiki personal content management system"
-HOMEPAGE="http://snipsnap.org"
-SRC_URI="mirror://sourceforge/${PN}/${P}-20030326.tgz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-DEPEND=">=virtual/jre-1.3"
-
-src_install() {
- dodir /opt/${PN}
- cp -pR * ${D}/opt/${PN}
-
- exeinto /opt/${PN}
- newexe ${FILESDIR}/${PV}-run.sh run.sh
- exeinto /etc/init.d
- newexe ${FILESDIR}/${PV}-snipsnap snipsnap
-}
diff --git a/dev-java/snipsnap/snipsnap-0.5.1a.ebuild b/dev-java/snipsnap/snipsnap-0.5.1a.ebuild
deleted file mode 100644
index 9c27f6bc0626..000000000000
--- a/dev-java/snipsnap/snipsnap-0.5.1a.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/snipsnap/snipsnap-0.5.1a.ebuild,v 1.3 2004/06/24 22:42:49 agriffis Exp $
-
-DESCRIPTION="A blog/wiki personal content management system"
-HOMEPAGE="http://snipsnap.org"
-SRC_URI="ftp://snipsnap.org/${PN}/${P}-20040123.tgz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ~ppc"
-IUSE=""
-DEPEND=">=virtual/jre-1.3"
-
-src_install() {
- dodir /opt/${PN}
- cp -pR * ${D}/opt/${PN}
-
- exeinto /opt/${PN}
- newexe ${FILESDIR}/${PV}-run.sh run.sh
- exeinto /etc/init.d
- newexe ${FILESDIR}/${PV}-snipsnap snipsnap
-}