From: Johan Oudinet <johan.oudinet@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 03/11] ejabberd: fix package version
Date: Wed, 8 Jul 2015 11:54:16 +0200 [thread overview]
Message-ID: <1436349264-11797-4-git-send-email-johan.oudinet@gmail.com> (raw)
In-Reply-To: <1436349264-11797-1-git-send-email-johan.oudinet@gmail.com>
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>
---
package/ejabberd/0010-fix-package-version.patch | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 package/ejabberd/0010-fix-package-version.patch
diff --git a/package/ejabberd/0010-fix-package-version.patch b/package/ejabberd/0010-fix-package-version.patch
new file mode 100644
index 0000000..c8b3c10
--- /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 at process-one.net], [ejabberd])
++AC_INIT(ejabberd, [15.06], [ejabberd at process-one.net], [ejabberd])
+ REQUIRE_ERLANG_MIN="5.9.1 (Erlang/OTP R15B01)"
+ REQUIRE_ERLANG_MAX="9.0.0 (No Max)"
+
--
2.1.4
next prev parent reply other threads:[~2015-07-08 9:54 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-08 9:54 [Buildroot] [PATCH 00/11] Bump ejabberd version to 15.06 Johan Oudinet
2015-07-08 9:54 ` [Buildroot] [PATCH 01/11] ejabberd: bump to version 15.06 Johan Oudinet
2015-07-08 9:54 ` [Buildroot] [PATCH 02/11] ejabberd: simplify init script by patching ejabberdctl Johan Oudinet
2015-07-11 10:30 ` Thomas Petazzoni
2015-07-14 9:52 ` Johan Oudinet
2015-07-19 21:09 ` Thomas Petazzoni
2015-07-08 9:54 ` Johan Oudinet [this message]
2015-07-11 10:31 ` [Buildroot] [PATCH 03/11] ejabberd: fix package version Thomas Petazzoni
2015-07-14 10:02 ` Johan Oudinet
2015-07-08 9:54 ` [Buildroot] [PATCH 04/11] erlang-p1-utils: bump to version 1bf99f9 Johan Oudinet
2015-07-08 9:54 ` [Buildroot] [PATCH 05/11] erlang-p1-cache-tab: bump to version f7ea12b Johan Oudinet
2015-07-08 9:54 ` [Buildroot] [PATCH 06/11] erlang-p1-tls: bump to version b070004 Johan Oudinet
2015-07-08 9:54 ` [Buildroot] [PATCH 07/11] erlang-p1-stringprep: bump to version 3c64023 Johan Oudinet
2015-07-08 9:54 ` [Buildroot] [PATCH 08/11] erlang-p1-xml: bump to version 2c61083 Johan Oudinet
2015-07-08 9:54 ` [Buildroot] [PATCH 09/11] erlang-p1-stun: bump to version a3dce07 Johan Oudinet
2015-07-08 9:54 ` [Buildroot] [PATCH 10/11] erlang-p1-sip: bump to version fd3e461 Johan Oudinet
2015-07-08 9:54 ` [Buildroot] [PATCH 11/11] erlang-p1-yaml: bump to version e1f081e Johan Oudinet
2015-07-11 10:28 ` [Buildroot] [PATCH 00/11] Bump ejabberd version to 15.06 Thomas Petazzoni
2015-07-14 9:10 ` Johan Oudinet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436349264-11797-4-git-send-email-johan.oudinet@gmail.com \
--to=johan.oudinet@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox