summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2020-08-23 12:41:55 +0200
committerHanno Böck <hanno@gentoo.org>2020-08-23 12:41:55 +0200
commit6c9d3c1ddd8330358a28d93940c1f4d4afce1ce9 (patch)
tree77a6ef7c274a81163bade4d15f50520f61d9cf2a /net-im/ejabberd/files
parentmedia-sound/audacity: leaving -Daudacity_use_pch to default in 2.4.2-r1 (diff)
downloadgentoo-6c9d3c1ddd8330358a28d93940c1f4d4afce1ce9.tar.gz
gentoo-6c9d3c1ddd8330358a28d93940c1f4d4afce1ce9.tar.bz2
gentoo-6c9d3c1ddd8330358a28d93940c1f4d4afce1ce9.zip
net-im/ejabberd: remove old
Signed-off-by: Hanno Böck <hanno@gentoo.org> Package-Manager: Portage-3.0.4, Repoman-3.0.1
Diffstat (limited to 'net-im/ejabberd/files')
-rw-r--r--net-im/ejabberd/files/ejabberd-17.04-0001-Don-t-configure-or-compile-deps.patch53
-rw-r--r--net-im/ejabberd/files/ejabberd-17.04-ejabberdctl.patch62
2 files changed, 0 insertions, 115 deletions
diff --git a/net-im/ejabberd/files/ejabberd-17.04-0001-Don-t-configure-or-compile-deps.patch b/net-im/ejabberd/files/ejabberd-17.04-0001-Don-t-configure-or-compile-deps.patch
deleted file mode 100644
index 0a42f549b58c..000000000000
--- a/net-im/ejabberd/files/ejabberd-17.04-0001-Don-t-configure-or-compile-deps.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 4086249e78cde107df84e6ad022e9d9821cecc40 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name>
-Date: Sun, 28 May 2017 14:22:08 +0100
-Subject: [PATCH] Don't configure or compile deps
-
----
- rebar.config.script | 23 -----------------------
- 1 file changed, 23 deletions(-)
-
-diff --git a/rebar.config.script b/rebar.config.script
-index 19142b9e..04f8b310 100644
---- a/rebar.config.script
-+++ b/rebar.config.script
-@@ -242,27 +242,6 @@ CtParams = fun(CompileOpts) ->
- TestConfig]
- end,
-
--GenDepConfigureLine =
--fun(DepPath, Flags) ->
-- ["sh -c 'if test ! -f ",DepPath,"config.status -o ",
-- "config.status -nt ",DepPath,"config.status; ",
-- "then (cd ", DepPath, " && ",
-- "CFLAGS=\"", CFlags,"\" ",
-- "CPPFLAGS=\"", CPPFlags, "\" "
-- "LDFLAGS=\"", LDFlags, "\"",
-- " ./configure ", string:join(Flags, " "),
-- "); fi'"]
--end,
--
--GenDepsConfigure =
--fun(Hooks) ->
-- lists:map(fun({Pkg, Flags}) ->
-- DepPath = ResolveDepPath("deps/" ++ Pkg ++ "/"),
-- {'compile',
-- lists:flatten(GenDepConfigureLine(DepPath, Flags))}
-- end, Hooks)
--end,
--
- ProcessErlOpt = fun(Vals) ->
- lists:map(
- fun({i, Path}) ->
-@@ -315,8 +294,6 @@ Rules = [
- AppendList([{coveralls, ".*", {git, "https://github.com/markusn/coveralls-erl.git", "master"}}]), []},
- {[post_hooks], [cover_enabled], os:getenv("TRAVIS") == "true",
- AppendList2(TravisPostHooks), [], false},
-- {[pre_hooks], [post_hook_configure], true,
-- AppendList2(GenDepsConfigure), [], []},
- {[ct_extra_params], [eunit_compile_opts], true,
- AppendStr2(CtParams), "", []},
- {[erl_opts], true,
---
-2.12.2
-
diff --git a/net-im/ejabberd/files/ejabberd-17.04-ejabberdctl.patch b/net-im/ejabberd/files/ejabberd-17.04-ejabberdctl.patch
deleted file mode 100644
index 6001c651f5d6..000000000000
--- a/net-im/ejabberd/files/ejabberd-17.04-ejabberdctl.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 185923a3c5f11c2d29599416a52b6594bc94d8c9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name>
-Date: Mon, 29 Aug 2016 22:29:41 +0100
-Subject: [PATCH] Adjust ejabberdctl for Gentoo jabberbase setup
-
-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.
----
- ejabberdctl.template | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/ejabberdctl.template b/ejabberdctl.template
-index 5b34ebe..3c080fd 100755
---- a/ejabberdctl.template
-+++ b/ejabberdctl.template
-@@ -16,6 +16,7 @@ IEX={{bindir}}/iex
- EPMD={{epmd}}
- INSTALLUSER={{installuser}}
- ERL_LIBS={{libdir}}
-+SHELL=/bin/sh
-
- # check the proper system user is used if defined
- if [ "$INSTALLUSER" != "" ] ; then
-@@ -23,11 +24,11 @@ if [ "$INSTALLUSER" != "" ] ; then
- 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
-@@ -91,6 +92,7 @@ EJABBERD_LOG_PATH=$LOGS_DIR/ejabberd.log
- 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 mnesia options
- MNESIA_OPTS="-mnesia dir \"\\\"$SPOOL_DIR\\\"\" $MNESIA_OPTIONS"
-@@ -149,6 +151,8 @@ export ERL_MAX_ETS_TABLES
- export CONTRIB_MODULES_PATH
- export CONTRIB_MODULES_CONF_DIR
- export ERL_LIBS
-+export HOME
-+export SHELL
-
- shell_escape_str()
- {
---
-2.9.2
-