From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 4395261414211e079dbb451d469ca615fc8097ac
Date: Wed, 27 Apr 2016 13:53:51 +0100 [thread overview]
Message-ID: <20160427125353.1AD781081BDF@git01.ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 5122 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 3.x development tree".
The branch, master has been updated
via 4395261414211e079dbb451d469ca615fc8097ac (commit)
from 8243eeaced82bc53ef87eb9951830ba0842bbcdd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4395261414211e079dbb451d469ca615fc8097ac
Author: Stefan Schantl <stefan.schantl(a)ipfire.org>
Date: Wed Apr 27 11:18:53 2016 +0200
compat-cyrus-sasl: New package.
As a result of a *.so bump in the latest cyrus-sasl package
and binaries wich are still linked against the old version
we have to create a compatibility package to cover this
bump.
Fixes #10892.
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
.../compat-cyrus-sasl.nm | 43 +++++++++++-----------
.../patches/cyrus-sasl-2.1.23-db5.patch | 22 +++++++++++
2 files changed, 43 insertions(+), 22 deletions(-)
copy cyrus-sasl/cyrus-sasl.nm => compat-cyrus-sasl/compat-cyrus-sasl.nm (73%)
create mode 100644 compat-cyrus-sasl/patches/cyrus-sasl-2.1.23-db5.patch
Difference in files:
diff --git a/compat-cyrus-sasl/compat-cyrus-sasl.nm b/compat-cyrus-sasl/compat-cyrus-sasl.nm
new file mode 100644
index 0000000..38dd9d4
--- /dev/null
+++ b/compat-cyrus-sasl/compat-cyrus-sasl.nm
@@ -0,0 +1,74 @@
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info(a)ipfire.org> #
+###############################################################################
+
+name = compat-cyrus-sasl
+version = 2.1.25
+release = 2.1
+
+thisapp = cyrus-sasl-%{version}
+
+groups = System/Libraries
+url = http://asg.web.cmu.edu/sasl/sasl-library.html
+license = BSD
+summary = The Cyrus SASL library.
+
+description
+ The cyrus-sasl package contains the Cyrus implementation of SASL.
+ SASL is the Simple Authentication and Security Layer, a method for
+ adding authentication support to connection-based protocols.
+end
+
+source_dl = ftp://ftp.cyrusimap.org/cyrus-sasl/
+
+build
+ requires
+ automake
+ libdb-devel
+ openssl-devel
+ pam-devel
+ end
+
+ prepare_cmds
+ # for aarch64
+ for i in $(find . -name config.guess -or -name config.sub); do
+ cp -vf %{datadir}/automake-*/config.{guess,sub} $(dirname ${i})
+ done
+ end
+
+ configure_options += \
+ --sysconfdir=/etc \
+ --with-configdir=%{libdir}/sasl2:/etc/sasl2 \
+ --with-plugindir=%{libdir}/sasl2 \
+ --with-dbpath=/var/lib/sasl/sasldb2 \
+ --with-saslauthd=/var/run/saslauthd \
+ --mandir=/usr/share/man
+
+ PARALLELISMFLAGS = # Disabled
+
+ install
+ # Only install libraries.
+ mkdir -pv %{BUILDROOT}%{libdir}
+ install -m 755 lib/.libs/libsasl2.so.2.0.25 %{BUILDROOT}%{libdir}
+ ln -svf libsasl2.so.2.0.25 %{BUILDROOT}%{libdir}/libpcre.so.2
+ end
+end
+
+packages
+ package %{name}
+ provides
+ cyrus-sasl = %{thisver}
+ cyrus-sasl-libs = %{thisver}
+ end
+
+ conflicts
+ cyrus-sasl <= %{thisver}
+ cyrus-sasl-libs <= %{thisver}
+ end
+ end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
+end
diff --git a/compat-cyrus-sasl/patches/cyrus-sasl-2.1.23-db5.patch b/compat-cyrus-sasl/patches/cyrus-sasl-2.1.23-db5.patch
new file mode 100644
index 0000000..ff831cd
--- /dev/null
+++ b/compat-cyrus-sasl/patches/cyrus-sasl-2.1.23-db5.patch
@@ -0,0 +1,22 @@
+--- a/sasldb/db_berkeley.c
++++ b/sasldb/db_berkeley.c
+@@ -100,7 +100,7 @@ static int berkeleydb_open(const sasl_ut
+ ret = db_create(mbdb, NULL, 0);
+ if (ret == 0 && *mbdb != NULL)
+ {
+-#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1
++#if (DB_VERSION_MAJOR > 4) || ((DB_VERSION_MAJOR == 4) && (DB_VERSION_MINOR >= 1))
+ ret = (*mbdb)->open(*mbdb, NULL, path, NULL, DB_HASH, flags, 0660);
+ #else
+ ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660);
+--- a/utils/dbconverter-2.c
++++ b/utils/dbconverter-2.c
+@@ -214,7 +214,7 @@ static int berkeleydb_open(const char *p
+ ret = db_create(mbdb, NULL, 0);
+ if (ret == 0 && *mbdb != NULL)
+ {
+-#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1
++#if (DB_VERSION_MAJOR > 4) || ((DB_VERSION_MAJOR == 4) && (DB_VERSION_MINOR >= 1))
+ ret = (*mbdb)->open(*mbdb, NULL, path, NULL, DB_HASH, DB_CREATE, 0664);
+ #else
+ ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, DB_CREATE, 0664);
hooks/post-receive
--
IPFire 3.x development tree
reply other threads:[~2016-04-27 12:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20160427125353.1AD781081BDF@git01.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/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