+++ /dev/null
-DIST openfire_src_4_2_3.tar.gz 113557155 BLAKE2B f01bfb57ee76be4dfea11d450534f66f1b50450095cf2d752f910352057ab421f72603b8a79f809f1e9aef20004bb90e9514e68dccb95de709083de9410e4a57 SHA512 8b968c94fcd779544c90de34172b00d472dc2e42142f2aa5eda01f0e0c3dda903a3b9b6d82286916bb1ae8f97fb12f0a94aeb42fad1df0b2dd47e951e03b8523
+++ /dev/null
-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
+++ /dev/null
-#!/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
-}
+++ /dev/null
-[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
+++ /dev/null
-<?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>
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
# Removal in 30 days. Bug #696294.
mail-mta/qmail-ldap
-# Michał Górny <mgorny@gentoo.org> (2019-10-07)
-# Unmaintained. A few versions behind upstream. Forces an old version
-# of dev-java/ant-contrib.
-# Removal in 30 days. Bug #696916.
-net-im/openfire
-
# Brian Evans <grknight@gentoo.org> (2019-10-01)
# End of life. Please upgrade.
# Removal in 90 days. Bug 651784