summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@gentoo.org>2016-06-13 22:42:43 +0100
committerAmadeusz Żołnowski <aidecoe@gentoo.org>2016-06-13 22:55:38 +0100
commitb40598486bae8096d554d64aaf1e260625bf6833 (patch)
treea0e190a028320240c0c6333c80a7504c29387129 /net-im/ejabberd/files
parentdev-vcs/qgit: drop prefix keywords due to unkeyworded deps (diff)
downloadgentoo-b40598486bae8096d554d64aaf1e260625bf6833.tar.gz
gentoo-b40598486bae8096d554d64aaf1e260625bf6833.tar.bz2
gentoo-b40598486bae8096d554d64aaf1e260625bf6833.zip
net-im/ejabberd: Remove the oldest testing version
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'net-im/ejabberd/files')
-rw-r--r--net-im/ejabberd/files/ejabberd-15.03-ejabberdctl.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/net-im/ejabberd/files/ejabberd-15.03-ejabberdctl.patch b/net-im/ejabberd/files/ejabberd-15.03-ejabberdctl.patch
deleted file mode 100644
index 0d2ccf32485f..000000000000
--- a/net-im/ejabberd/files/ejabberd-15.03-ejabberdctl.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Set SHELL since the generic jabber user used on Gentoo for jabber servers
-doesn't have a valid shell set by default and fix EXEC_CMD otherwise it fails
-with "This account is currently not available" again due to jabber not having
-a valid shell.
-
-Also, workaround the assumption that jabber's $HOME is a directory when instead
-it defaults to /dev/null on Gentoo.
-
---- ejabberd-15.03/ejabberdctl.template
-+++ ejabberd-15.03/ejabberdctl.template
-@@ -15,6 +15,7 @@
- IEX={{bindir}}/iex
- EPMD={{bindir}}/epmd
- INSTALLUSER={{installuser}}
-+SHELL=/bin/sh
-
- # Compatibility in ZSH
- #setopt shwordsplit 2>/dev/null
-@@ -25,11 +26,11 @@
- for GID in `id -G`; do
- if [ $GID -eq 0 ] ; then
- INSTALLUSER_HOME=$(getent passwd "$INSTALLUSER" | cut -d: -f6)
-- if [ -n "$INSTALLUSER_HOME" ] && [ ! -d "$INSTALLUSER_HOME" ] ; then
-+ if [ -n "$INSTALLUSER_HOME" ] && [ ! -e "$INSTALLUSER_HOME" ] ; then
- mkdir -p "$INSTALLUSER_HOME"
- chown "$INSTALLUSER" "$INSTALLUSER_HOME"
- fi
-- EXEC_CMD="su $INSTALLUSER -c"
-+ EXEC_CMD="su $INSTALLUSER -p -c"
- fi
- done
- if [ `id -g` -eq `id -g $INSTALLUSER` ] ; then
-@@ -111,6 +112,7 @@
- DATETIME=`date "+%Y%m%d-%H%M%S"`
- ERL_CRASH_DUMP=$LOGS_DIR/erl_crash_$DATETIME.dump
- ERL_INETRC=$ETC_DIR/inetrc
-+HOME=$SPOOL_DIR
-
- # define erl parameters
- ERL_OPTIONS=$(echo $ERL_OPTIONS | sed 's/ /\\ /g')
-@@ -167,6 +169,8 @@
- export ERL_INETRC
- export ERL_MAX_PORTS
- export ERL_MAX_ETS_TABLES
-+export HOME
-+export SHELL
-
- # start server
- start()