summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2019-11-09 20:01:13 -0500
committerAaron Bauman <bman@gentoo.org>2019-11-09 20:01:13 -0500
commit580fb20468962f8a836a7975c592e079e1ed9856 (patch)
treeeb3df2a98f82360c6e357dc3c9060671ec21258c /net-im
parentmail-filter/clamsmtp: drop last-rited package (diff)
downloadgentoo-580fb20468962f8a836a7975c592e079e1ed9856.tar.gz
gentoo-580fb20468962f8a836a7975c592e079e1ed9856.tar.bz2
gentoo-580fb20468962f8a836a7975c592e079e1ed9856.zip
net-im/openfire: drop last-rited package
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/openfire/Manifest1
-rw-r--r--net-im/openfire/files/openfire-confd11
-rw-r--r--net-im/openfire/files/openfire-initd29
-rw-r--r--net-im/openfire/files/openfire.service13
-rw-r--r--net-im/openfire/metadata.xml10
-rw-r--r--net-im/openfire/openfire-4.2.3-r1.ebuild96
-rw-r--r--net-im/openfire/openfire-4.2.3-r2.ebuild79
7 files changed, 0 insertions, 239 deletions
diff --git a/net-im/openfire/Manifest b/net-im/openfire/Manifest
deleted file mode 100644
index b05b5f8cfe01..000000000000
--- a/net-im/openfire/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST openfire_src_4_2_3.tar.gz 113557155 BLAKE2B f01bfb57ee76be4dfea11d450534f66f1b50450095cf2d752f910352057ab421f72603b8a79f809f1e9aef20004bb90e9514e68dccb95de709083de9410e4a57 SHA512 8b968c94fcd779544c90de34172b00d472dc2e42142f2aa5eda01f0e0c3dda903a3b9b6d82286916bb1ae8f97fb12f0a94aeb42fad1df0b2dd47e951e03b8523
diff --git a/net-im/openfire/files/openfire-confd b/net-im/openfire/files/openfire-confd
deleted file mode 100644
index 35caecef20cc..000000000000
--- a/net-im/openfire/files/openfire-confd
+++ /dev/null
@@ -1,11 +0,0 @@
-OPENFIRE_HOME=/opt/openfire
-OPENFIRE_LIB="${OPENFIRE_HOME}/lib"
-OPENFIRE_OPTS="-Xmx256m -DopenfireHome=${OPENFIRE_HOME} -Dopenfire.lib.dir=${OPENFIRE_LIB}"
-OPENFIRE_CLASS="-classpath ${OPENFIRE_LIB}/startup.jar"
-OPENFIRE_JAR="-jar ${OPENFIRE_LIB}/startup.jar"
-OPENFIRE_ARGS="-server ${OPENFIRE_OPTS} ${OPENFIRE_CLASS} ${OPENFIRE_JAR}"
-
-
-#JVM used by the openfire server. You can see a list of available vm's in /usr/lib/jvm/
-#But remenber that openfire needs a 1.5 jvm
-GENTOO_VM=sun-jdk-1.5
diff --git a/net-im/openfire/files/openfire-initd b/net-im/openfire/files/openfire-initd
deleted file mode 100644
index 281e5197af2c..000000000000
--- a/net-im/openfire/files/openfire-initd
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
- need net
- provide jabber-server
-}
-
-start() {
- [ -d /var/run/jabber ] || mkdir /var/run/jabber
- #source /etc/env.d/java/20sun-jdk-1.5.0.06
- #OPENFIRE_CMD="${JAVA_HOME}/bin/java"
- OPENFIRE_CMD=`GENTOO_VM=${GENTOO_VM} java-config -J`
-
- ebegin "Starting Openfire Server"
- start-stop-daemon \
- --user jabber \
- --background \
- --make-pidfile \
- --pidfile /var/run/jabber/openfire.pid \
- --start \
- --exec ${OPENFIRE_CMD} -- ${OPENFIRE_ARGS} > /var/log/openfire.log 2>&1
- eend
-}
-
-stop() {
- ebegin "Stopping Openfire Messenger"
- start-stop-daemon --pidfile /var/run/jabber/openfire.pid --stop
- eend
-}
diff --git a/net-im/openfire/files/openfire.service b/net-im/openfire/files/openfire.service
deleted file mode 100644
index 6f2ff26ed497..000000000000
--- a/net-im/openfire/files/openfire.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Openfire XMPP Server
-After=network.target
-
-[Service]
-User=jabber
-Group=jabber
-PrivateTmp=true
-ExecStart=/usr/bin/java -server -Xmx256m -DopenfireHome=/opt/openfire -Dopenfire.lib.dir=/opt/openfire/lib -classpath /opt/openfire/lib/startup.jar -jar /opt/openfire/lib/startup.jar
-SuccessExitStatus=143 SIGKILL
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-im/openfire/metadata.xml b/net-im/openfire/metadata.xml
deleted file mode 100644
index a2f087043e20..000000000000
--- a/net-im/openfire/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>
- Openfire is a Java implementation of a complete Jabber
- server. It includes a web based administration interface, conference
- support and a web/client support system.
- </longdescription>
-</pkgmetadata>
diff --git a/net-im/openfire/openfire-4.2.3-r1.ebuild b/net-im/openfire/openfire-4.2.3-r1.ebuild
deleted file mode 100644
index 19845942c736..000000000000
--- a/net-im/openfire/openfire-4.2.3-r1.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils java-pkg-2 java-ant-2 systemd
-
-MY_P=${PN}_src_${PV//./_}
-DESCRIPTION="Openfire (formerly wildfire) real time collaboration (RTC) server"
-HOMEPAGE="http://www.igniterealtime.org/projects/openfire/"
-SRC_URI="http://www.igniterealtime.org/builds/openfire/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc"
-
-RDEPEND=">=virtual/jre-1.7"
-DEPEND="net-im/jabber-base
- ~dev-java/ant-contrib-1.0_beta2
- >=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-pkg_setup() {
- java-pkg-2_pkg_setup
-}
-
-src_compile() {
- # Jikes doesn't support -source 1.5
- java-pkg_filter-compiler jikes
-
- ANT_TASKS="ant-contrib"
- eant -f build/build.xml openfire plugins $(use_doc)
-
- # delete nativeAuth prebuilt libs:
- # uses outdated unmaintained libshaj, does not support amd64
- rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-src_install() {
- dodir /opt/openfire
-
- newinitd "${FILESDIR}"/openfire-initd openfire
- newconfd "${FILESDIR}"/openfire-confd openfire
- systemd_dounit "${FILESDIR}"/${PN}.service
-
- dodir /opt/openfire/conf
- insinto /opt/openfire/conf
- newins target/openfire/conf/openfire.xml openfire.xml.sample
- newins target/openfire/conf/security.xml security.xml.sample
-
- dodir /opt/openfire/logs
- keepdir /opt/openfire/logs
-
- dodir /opt/openfire/lib
- insinto /opt/openfire/lib
- doins target/openfire/lib/*
-
- dodir /opt/openfire/plugins
- insinto /opt/openfire/plugins
- doins -r target/openfire/plugins/*
-
- dodir /opt/openfire/resources
- insinto /opt/openfire/resources
- doins -r target/openfire/resources/*
-
- if use doc; then
- dohtml -r documentation/docs/*
- fi
- dodoc documentation/dist/*
-
- #Protect ssl key on upgrade
- dodir /etc/env.d/
- echo 'CONFIG_PROTECT="/opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
-
- fowners -R jabber:jabber /opt/openfire
-}
-
-pkg_postinst() {
- local src
- local dst
-
- # http://community.igniterealtime.org/thread/52289
- for dst in "${ROOT%/}"/opt/openfire/conf/{openfire,security}.xml
- do
- src="${dst}".sample
- if [[ -f "${dst}" ]]; then
- einfo "Leaving old '${dst}'"
- else
- einfo "Created default '${dst}'. Please edit."
- cp -v "${src}" "${dst}" || ewarn "cp '${dst}' failed"
- chmod -v 0600 "${dst}" || ewarn "chmod '${dst}' failed"
- fi
- done
-}
diff --git a/net-im/openfire/openfire-4.2.3-r2.ebuild b/net-im/openfire/openfire-4.2.3-r2.ebuild
deleted file mode 100644
index dc79cda8b4ba..000000000000
--- a/net-im/openfire/openfire-4.2.3-r2.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils java-pkg-2 java-ant-2 systemd
-
-MY_P=${PN}_src_${PV//./_}
-DESCRIPTION="Openfire (formerly wildfire) real time collaboration (RTC) server"
-HOMEPAGE="http://www.igniterealtime.org/projects/openfire/"
-SRC_URI="http://www.igniterealtime.org/builds/openfire/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND=">=virtual/jre-1.7"
-DEPEND="net-im/jabber-base
- ~dev-java/ant-contrib-1.0_beta2
- >=virtual/jdk-1.7"
-
-S=${WORKDIR}/${PN}_src
-
-pkg_setup() {
- java-pkg-2_pkg_setup
-}
-
-src_compile() {
- # Jikes doesn't support -source 1.5
- java-pkg_filter-compiler jikes
-
- ANT_TASKS="ant-contrib"
- eant -f build/build.xml openfire plugins $(use_doc)
-
- # delete nativeAuth prebuilt libs:
- # uses outdated unmaintained libshaj, does not support amd64
- rm -rfv target/openfire/resources/nativeAuth || die
-}
-
-src_install() {
- #Protect ssl key on upgrade
- dodir /etc/env.d/
- echo 'CONFIG_PROTECT="/opt/openfire/conf/ /opt/openfire/resources/security/"' > "${D}"/etc/env.d/98openfire
-
- newinitd "${FILESDIR}"/openfire-initd openfire
- newconfd "${FILESDIR}"/openfire-confd openfire
- systemd_dounit "${FILESDIR}"/${PN}.service
-
- diropts --owner=jabber --group=jabber
- insopts --owner=jabber --group=jabber
- dodir /opt/openfire
-
- dodir /opt/openfire/logs
- keepdir /opt/openfire/logs
-
- dodir /opt/openfire/lib
- insinto /opt/openfire/lib
- doins target/openfire/lib/*
-
- dodir /opt/openfire/plugins
- insinto /opt/openfire/plugins
- doins -r target/openfire/plugins/*
-
- dodir /opt/openfire/resources
- insinto /opt/openfire/resources
- doins -r target/openfire/resources/*
-
- if use doc; then
- dohtml -r documentation/docs/*
- fi
- dodoc documentation/dist/*
-
- dodir /opt/openfire/conf
- insinto /opt/openfire/conf
- insopts --mode=0600 --owner=jabber --group=jabber
- newins target/openfire/conf/openfire.xml openfire.xml
- newins target/openfire/conf/security.xml security.xml
-}