summaryrefslogtreecommitdiff
path: root/package/ejabberd
diff options
context:
space:
mode:
authorJohan Oudinet <johan.oudinet@gmail.com>2015-07-08 11:54:16 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-11 12:26:42 +0200
commit2eaf98df383aa6bb305f8907d1427dafd5f4d9be (patch)
treea50174bd1473b171a0723ab027631310c9f5db1e /package/ejabberd
parent23f4cf81bbe265a17302f810a62e5cfb1613830f (diff)
ejabberd: fix package version
The configure tries to guess the version from the last git tag, which is incorrect here as we are not inside ejabberd git repository. Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/ejabberd')
-rw-r--r--package/ejabberd/0010-fix-package-version.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/ejabberd/0010-fix-package-version.patch b/package/ejabberd/0010-fix-package-version.patch
new file mode 100644
index 000000000..c8b3c1042
--- /dev/null
+++ b/package/ejabberd/0010-fix-package-version.patch
@@ -0,0 +1,19 @@
+Description: fix package version
+ Without this patch, the configure tries to guess the version from the
+ last git tag, which is incorrect here as we are not inside ejabberd
+ git repository.
+Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
+
+diff --git a/configure.ac b/configure.ac
+index e7bb43b..e7faac4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2,7 +2,7 @@
+ # Process this file with autoconf to produce a configure script.
+
+ AC_PREREQ(2.53)
+-AC_INIT(ejabberd, m4_esyscmd([echo `git describe --tags 2>/dev/null || echo 0.0` | sed 's/-g.*//;s/-/./' | tr -d '\012']), [ejabberd@process-one.net], [ejabberd])
++AC_INIT(ejabberd, [15.06], [ejabberd@process-one.net], [ejabberd])
+ REQUIRE_ERLANG_MIN="5.9.1 (Erlang/OTP R15B01)"
+ REQUIRE_ERLANG_MAX="9.0.0 (No Max)"
+