summaryrefslogtreecommitdiff
path: root/net-im/prosody
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/prosody')
-rw-r--r--net-im/prosody/Manifest4
-rw-r--r--net-im/prosody/files/prosody-0.8.0-cfg.lua.patch36
-rw-r--r--net-im/prosody/files/prosody.initd46
-rw-r--r--net-im/prosody/prosody-0.8.0.ebuild70
4 files changed, 0 insertions, 156 deletions
diff --git a/net-im/prosody/Manifest b/net-im/prosody/Manifest
deleted file mode 100644
index 67bfb64..0000000
--- a/net-im/prosody/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX prosody-0.8.0-cfg.lua.patch 1478 RMD160 afc3b4dcf038dc305d8e194d14cb3ce3e3384081 SHA1 aff62afc9ffdcc24d1319a96df59ffde3b214b4c SHA256 a09043584dbbe69812716204c83d4f901a25b5c51835b04f014386c8e8febb87
-AUX prosody.initd 1062 RMD160 2e9ba3ba0e759355ec07fc16782f17b74074c6d5 SHA1 a62d975b12e0bd485c80ccfcca8d6a6e6c09fc8d SHA256 6b88ffcf2fd7a38030480073b19f99e8dc078e6008e8adf8f9e00827a37b7981
-DIST prosody-0.8.0.tar.gz 210945 RMD160 98817b1f40c6fd9ab402b70f73dae308e5990cdc SHA1 f20baab36bd2570825a24f49e0643cb9c2a65541 SHA256 0b9e39a6b555b4c848af288f27107e99b1480d9733556a2c9b3a9f249eba602d
-EBUILD prosody-0.8.0.ebuild 2138 RMD160 ad874ce5c0e2469fe29667aac1c03c2202aca69b SHA1 80eb8af4f8648107d63038bf3df55f977b53f2f4 SHA256 5c97565137d0357b4cb14c6f9717209ee6a19b58dcfab8445bed74b1aadb5183
diff --git a/net-im/prosody/files/prosody-0.8.0-cfg.lua.patch b/net-im/prosody/files/prosody-0.8.0-cfg.lua.patch
deleted file mode 100644
index 6444a6b..0000000
--- a/net-im/prosody/files/prosody-0.8.0-cfg.lua.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
-index e513b11..08ebca6 100644
---- a/prosody.cfg.lua.dist
-+++ b/prosody.cfg.lua.dist
-@@ -105,6 +105,8 @@ ssl = {
- -- default provider stores passwords in plaintext. If you do not trust your
- -- server please see http://prosody.im/doc/modules/mod_auth_internal_hashed
- -- for information about using the hashed backend.
-+-- See http://prosody.im/doc/authentication for other possibilities including
-+-- Cyrus SASL.
-
- authentication = "internal_plain"
-
-@@ -123,12 +125,19 @@ authentication = "internal_plain"
- -- Logging configuration
- -- For advanced logging see http://prosody.im/doc/logging
- log = {
-- info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging
-- error = "prosody.err";
-- -- "*syslog"; -- Uncomment this for logging to syslog
-+ info = "/var/log/jabber/prosody.log"; -- Change 'info' to 'debug' for verbose logging
-+ error = "/var/log/jabber/prosody.err";
-+ -- "*syslog"; -- Uncomment this for logging to syslog; needs mod_posix
- -- "*console"; -- Log to the console, useful for debugging with daemonize=false
- }
-
-+-- Pidfile, used by prosodyctl and the init.d script
-+pidfile = "/var/run/jabber/prosody.pid"
-+
-+-- User and group, used for daemon
-+prosody_user = "jabber"
-+prosody_group = "jabber"
-+
- ----------- Virtual hosts -----------
- -- You need to add a VirtualHost entry for each domain you wish Prosody to serve.
- -- Settings under each VirtualHost entry apply *only* to that host.
diff --git a/net-im/prosody/files/prosody.initd b/net-im/prosody/files/prosody.initd
deleted file mode 100644
index 9cb1340..0000000
--- a/net-im/prosody/files/prosody.initd
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-description="Prosody is a server for Jabber/XMPP written in Lua."
-description_reload="Reload configuration and reopen log files."
-extra_started_commands="reload"
-
-PIDFILE="/var/run/jabber/prosody.pid"
-USER="jabber:jabber"
-COMMAND="/usr/bin/prosody"
-
-depend() {
- use dns
- need net
- provide jabber-server
-}
-
-checkconfig() {
- if [ ! -e /etc/jabber/prosody.cfg.lua ] ; then
- eerror "You need a /etc/jabber/prosody.cfg.lua file to run prosody"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting Prosody XMPP Server"
- start-stop-daemon --start -b --pidfile ${PIDFILE} \
- --make-pidfile --user ${USER} --exec ${COMMAND}
- eend $?
-}
-
-stop() {
- ebegin "Stopping Prosody XMPP Server"
- start-stop-daemon --stop --pidfile ${PIDFILE} \
- --user ${USER} --exec ${COMMAND}
- eend $?
-}
-
-reload() {
- ebegin "Reloading configuration of Prosody XMPP Server"
- start-stop-daemon --pidfile ${PIDFILE} --signal HUP
- eend $?
-}
diff --git a/net-im/prosody/prosody-0.8.0.ebuild b/net-im/prosody/prosody-0.8.0.ebuild
deleted file mode 100644
index 89c8741..0000000
--- a/net-im/prosody/prosody-0.8.0.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/prosody/prosody-0.7.0.ebuild,v 1.2 2011/03/22 20:59:44 ulm Exp $
-
-EAPI="2"
-
-inherit eutils multilib toolchain-funcs versionator
-
-MY_PV=$(replace_version_separator 3 '')
-DESCRIPTION="Prosody is a flexible communications server for Jabber/XMPP written in Lua."
-HOMEPAGE="http://prosody.im/"
-SRC_URI="http://prosody.im/downloads/source/${PN}-${MY_PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="libevent ssl sql +zlib"
-
-DEPEND="net-im/jabber-base
- >=dev-lang/lua-5.1
- >=net-dns/libidn-1.1
- >=dev-libs/openssl-0.9.8"
-RDEPEND="${DEPEND}
- dev-lua/luasocket
- ssl? ( dev-lua/luasec )
- dev-lua/luaexpat
- dev-lua/luafilesystem
- sql? ( >=dev-lua/luadbi-0.5 )
- libevent? ( dev-lua/luaevent )
- zlib? ( dev-lua/lua-zlib )"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-JABBER_ETC="/etc/jabber"
-JABBER_SPOOL="/var/spool/jabber"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-${PV}-cfg.lua.patch"
- sed -i "s!MODULES = \$(DESTDIR)\$(PREFIX)/lib/!MODULES = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!" Makefile
- sed -i "s!SOURCE = \$(DESTDIR)\$(PREFIX)/lib/!SOURCE = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!" Makefile
- sed -i "s!INSTALLEDSOURCE = \$(PREFIX)/lib/!INSTALLEDSOURCE = \$(PREFIX)/$(get_libdir)/!" Makefile
- sed -i "s!INSTALLEDMODULES = \$(PREFIX)/lib/!INSTALLEDMODULES = \$(PREFIX)/$(get_libdir)/!" Makefile
-}
-
-src_configure() {
- # the configure script is handcrafted (and yells at unknown options)
- # hence do not use 'econf'
- ./configure --prefix="/usr" \
- --sysconfdir="${JABBER_ETC}" \
- --datadir="${JABBER_SPOOL}" \
- --with-lua-lib=/usr/$(get_libdir)/lua \
- --c-compiler="$(tc-getCC)" --linker="$(tc-getCC)" \
- --cflags="${CFLAGS} -Wall -fPIC" \
- --ldflags="${LDFLAGS} -shared" \
- --require-config || die "configure failed"
-}
-
-src_install() {
- DESTDIR="${D}" emake install || die "make failed"
- newinitd "${FILESDIR}/${PN}".initd ${PN}
-}
-
-src_test() {
- cd tests
- ./run_tests.sh
-}
-
-pkg_postinst() {
- elog "Please note that the module 'console' has been renamed to 'admin_telnet'."
-}