forked from pool/cyrus-sasl
Accepting request 243769 from network
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/243769 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cyrus-sasl?expand=0&rev=46
This commit is contained in:
commit
d46f688d3e
15
cyrus-sasl-revert_gssapi_flags.patch
Normal file
15
cyrus-sasl-revert_gssapi_flags.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- a/plugins/gssapi.c
|
||||
+++ b/plugins/gssapi.c
|
||||
@@ -1583,10 +1583,10 @@ static int gssapi_client_mech_step(void *conn_context,
|
||||
}
|
||||
|
||||
/* Setup req_flags properly */
|
||||
- req_flags = GSS_C_INTEG_FLAG;
|
||||
+ req_flags = GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG;
|
||||
if (params->props.max_ssf > params->external_ssf) {
|
||||
/* We are requesting a security layer */
|
||||
- req_flags |= GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG;
|
||||
+ req_flags |= GSS_C_INTEG_FLAG;
|
||||
/* Any SSF bigger than 1 is confidentiality. */
|
||||
/* Let's check if the client of the API requires confidentiality,
|
||||
and it wasn't already provided by an external layer */
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 29 23:33:45 UTC 2014 - sfalken@opensuse.org
|
||||
|
||||
- Changed references to /var/run, to /run in order to clear rpmlint check failure, due to files being installed to /var/run
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 19 12:54:50 UTC 2014 - p.drouand@gmail.com
|
||||
|
||||
- Remove insserv dependency; it's unneeded with systemd' systems
|
||||
- Remove insserv and fillup dependency in cyrus-sasl package; there
|
||||
is neither sysconfig or init file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 1 10:32:37 UTC 2014 - varkoly@suse.com
|
||||
|
||||
|
@ -34,7 +34,7 @@ Patch1: shared_link_on_ppc.patch
|
||||
Patch5: cyrus-sasl-no_rpath.patch
|
||||
Patch6: cyrus-sasl-lfs.patch
|
||||
Patch7: fix-sasl-header.diff
|
||||
PreReq: %insserv_prereq %fillup_prereq
|
||||
PreReq: %fillup_prereq
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: krb5-devel
|
||||
@ -82,7 +82,7 @@ autoreconf -f -i
|
||||
export CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS -DLDAP_DEPRECATED"
|
||||
%configure --with-plugindir=%{_libdir}/sasl2 \
|
||||
--with-configdir=/etc/sasl2/:%{_libdir}/sasl2 \
|
||||
--with-saslauthd=/var/run/sasl2/ \
|
||||
--with-saslauthd=/run/sasl2/ \
|
||||
--enable-checkapop=no \
|
||||
--enable-cram=no \
|
||||
--enable-digest=no \
|
||||
@ -112,7 +112,7 @@ make DESTDIR=$RPM_BUILD_ROOT sasldir=%{_libdir}/sasl2 install
|
||||
cd ..
|
||||
cd saslauthd
|
||||
make DESTDIR=$RPM_BUILD_ROOT sasldir=%{_libdir}/sasl2 install
|
||||
install -m 755 -d $RPM_BUILD_ROOT/var/run/sasl2
|
||||
install -m 755 -d $RPM_BUILD_ROOT/run/sasl2
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
|
||||
install -m 644 saslauthd.mdoc $RPM_BUILD_ROOT/%{_mandir}/man8/saslauthd.8
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
||||
@ -144,7 +144,7 @@ install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_unitdir}
|
||||
%defattr(-,root,root)
|
||||
/var/adm/fillup-templates/sysconfig.saslauthd
|
||||
%{_unitdir}/saslauthd.service
|
||||
%dir %attr(0755, root, root) %ghost /var/run/sasl2
|
||||
%dir %attr(0755, root, root) %ghost /run/sasl2
|
||||
/usr/sbin/*
|
||||
/usr/bin/*
|
||||
%doc %{_mandir}/man8/*.gz
|
||||
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 29 23:31:35 UTC 2014 - sfalken@opensuse.org
|
||||
|
||||
- Changed --with-saslauthd=/var/run/sasl2 in %build to /run/sasl2 to clear rpmlint check failure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 19 12:54:50 UTC 2014 - p.drouand@gmail.com
|
||||
|
||||
- Remove insserv dependency; it's unneeded with systemd' systems
|
||||
- Remove insserv and fillup dependency in cyrus-sasl package; there
|
||||
is neither sysconfig or init file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 13 11:03:45 UTC 2014 - ckornacker@suse.com
|
||||
|
||||
- Revert upstream commit 080e51c7fa0421eb2f0210d34cf0ac48a228b1e9
|
||||
cyrus-sasl-revert_gssapi_flags.patch (bnc#775279)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 2 20:47:58 UTC 2013 - jengelh@inai.de
|
||||
|
||||
|
@ -34,7 +34,7 @@ Patch1: shared_link_on_ppc.patch
|
||||
Patch5: cyrus-sasl-no_rpath.patch
|
||||
Patch6: cyrus-sasl-lfs.patch
|
||||
Patch7: fix-sasl-header.diff
|
||||
PreReq: %insserv_prereq %fillup_prereq
|
||||
Patch8: cyrus-sasl-revert_gssapi_flags.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: krb5-mini-devel
|
||||
@ -170,6 +170,7 @@ fi
|
||||
%patch5 -p1
|
||||
%patch6
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
|
||||
%build
|
||||
find . -name "*.cvsignore" -exec rm -fv "{}" "+"
|
||||
@ -178,7 +179,7 @@ export CFLAGS="%optflags -fno-strict-aliasing"
|
||||
%configure --with-pic \
|
||||
--with-plugindir=%{_libdir}/sasl2 \
|
||||
--with-configdir=/etc/sasl2/:%{_libdir}/sasl2 \
|
||||
--with-saslauthd=/var/run/sasl2/ \
|
||||
--with-saslauthd=/run/sasl2/ \
|
||||
--enable-pam \
|
||||
--enable-sample \
|
||||
--enable-login \
|
||||
|
Loading…
Reference in New Issue
Block a user