Compare commits
No commits in common. "c8" and "imports/c9-beta/openchange-2.3-37.el9" have entirely different histories.
c8
...
imports/c9
1
.openchange.metadata
Normal file
1
.openchange.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
901e6d8fa4f9f4a1d41c3ad97d967da316d0ad17 SOURCES/openchange-2.3-VULCAN.tar.gz
|
@ -1,34 +0,0 @@
|
|||||||
diff -up openchange-openchange-2.3-VULCAN/libmapiadmin/libmapiadmin.h.samba-4.12 openchange-openchange-2.3-VULCAN/libmapiadmin/libmapiadmin.h
|
|
||||||
--- openchange-openchange-2.3-VULCAN/libmapiadmin/libmapiadmin.h.samba-4.12 2020-01-27 11:33:02.941846935 +0100
|
|
||||||
+++ openchange-openchange-2.3-VULCAN/libmapiadmin/libmapiadmin.h 2020-01-27 11:33:19.170846710 +0100
|
|
||||||
@@ -103,7 +103,9 @@ __BEGIN_DECLS
|
|
||||||
struct ldb_dn *samdb_search_dn(struct ldb_context *, TALLOC_CTX *, struct ldb_dn *, const char *, ...) _PRINTF_ATTRIBUTE(4,5);
|
|
||||||
struct dom_sid *dom_sid_add_rid(TALLOC_CTX *, const struct dom_sid *, uint32_t);
|
|
||||||
bool encode_pw_buffer(uint8_t buffer[516], const char *, int);
|
|
||||||
+#if 0 /* removed in samba 4.12 */
|
|
||||||
void arcfour_crypt_blob(uint8_t *, int, const DATA_BLOB *);
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
/* The following public definitions come from libmapiadmin/mapiadmin.c */
|
|
||||||
struct mapiadmin_ctx *mapiadmin_init(struct mapi_session *);
|
|
||||||
diff -up openchange-openchange-2.3-VULCAN/libmapiadmin/mapiadmin_user.c.samba-4.12 openchange-openchange-2.3-VULCAN/libmapiadmin/mapiadmin_user.c
|
|
||||||
--- openchange-openchange-2.3-VULCAN/libmapiadmin/mapiadmin_user.c.samba-4.12 2020-01-27 11:25:31.398853179 +0100
|
|
||||||
+++ openchange-openchange-2.3-VULCAN/libmapiadmin/mapiadmin_user.c 2020-01-27 11:31:27.490848255 +0100
|
|
||||||
@@ -592,6 +592,9 @@ _PUBLIC_ enum MAPISTATUS mapiadmin_user_
|
|
||||||
*/
|
|
||||||
_PUBLIC_ enum MAPISTATUS mapiadmin_user_add(struct mapiadmin_ctx *mapiadmin_ctx)
|
|
||||||
{
|
|
||||||
+ OC_DEBUG(3, "mapiadmin_user_add(): is disabled");
|
|
||||||
+ return MAPI_E_UNABLE_TO_COMPLETE;
|
|
||||||
+#if 0 /* disable it, use samba function directly, if needed (no 'arcfour_crypt_blob' in samba 4.12) */
|
|
||||||
TALLOC_CTX *mem_ctx;
|
|
||||||
NTSTATUS status;
|
|
||||||
enum MAPISTATUS retval;
|
|
||||||
@@ -732,6 +735,7 @@ again:
|
|
||||||
|
|
||||||
talloc_free(mem_ctx);
|
|
||||||
return MAPI_E_SUCCESS;
|
|
||||||
+#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
@ -1,3 +1,37 @@
|
|||||||
|
diff -up openchange-openchange-2.3-VULCAN/libmapiadmin/libmapiadmin.h.samba-4.12 openchange-openchange-2.3-VULCAN/libmapiadmin/libmapiadmin.h
|
||||||
|
--- openchange-openchange-2.3-VULCAN/libmapiadmin/libmapiadmin.h.samba-4.12 2020-01-27 11:33:02.941846935 +0100
|
||||||
|
+++ openchange-openchange-2.3-VULCAN/libmapiadmin/libmapiadmin.h 2020-01-27 11:33:19.170846710 +0100
|
||||||
|
@@ -103,7 +103,9 @@ __BEGIN_DECLS
|
||||||
|
struct ldb_dn *samdb_search_dn(struct ldb_context *, TALLOC_CTX *, struct ldb_dn *, const char *, ...) _PRINTF_ATTRIBUTE(4,5);
|
||||||
|
struct dom_sid *dom_sid_add_rid(TALLOC_CTX *, const struct dom_sid *, uint32_t);
|
||||||
|
bool encode_pw_buffer(uint8_t buffer[516], const char *, int);
|
||||||
|
+#if 0 /* removed in samba 4.12 */
|
||||||
|
void arcfour_crypt_blob(uint8_t *, int, const DATA_BLOB *);
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
/* The following public definitions come from libmapiadmin/mapiadmin.c */
|
||||||
|
struct mapiadmin_ctx *mapiadmin_init(struct mapi_session *);
|
||||||
|
diff -up openchange-openchange-2.3-VULCAN/libmapiadmin/mapiadmin_user.c.samba-4.12 openchange-openchange-2.3-VULCAN/libmapiadmin/mapiadmin_user.c
|
||||||
|
--- openchange-openchange-2.3-VULCAN/libmapiadmin/mapiadmin_user.c.samba-4.12 2020-01-27 11:25:31.398853179 +0100
|
||||||
|
+++ openchange-openchange-2.3-VULCAN/libmapiadmin/mapiadmin_user.c 2020-01-27 11:31:27.490848255 +0100
|
||||||
|
@@ -592,6 +592,9 @@ _PUBLIC_ enum MAPISTATUS mapiadmin_user_
|
||||||
|
*/
|
||||||
|
_PUBLIC_ enum MAPISTATUS mapiadmin_user_add(struct mapiadmin_ctx *mapiadmin_ctx)
|
||||||
|
{
|
||||||
|
+ OC_DEBUG(3, "mapiadmin_user_add(): is disabled");
|
||||||
|
+ return MAPI_E_UNABLE_TO_COMPLETE;
|
||||||
|
+#if 0 /* disable it, use samba function directly, if needed (no 'arcfour_crypt_blob' in samba 4.12) */
|
||||||
|
TALLOC_CTX *mem_ctx;
|
||||||
|
NTSTATUS status;
|
||||||
|
enum MAPISTATUS retval;
|
||||||
|
@@ -732,6 +735,7 @@ again:
|
||||||
|
|
||||||
|
talloc_free(mem_ctx);
|
||||||
|
return MAPI_E_SUCCESS;
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
diff -up openchange-openchange-2.3-VULCAN/ndr_mapi.c.samba-4.12 openchange-openchange-2.3-VULCAN/ndr_mapi.c
|
diff -up openchange-openchange-2.3-VULCAN/ndr_mapi.c.samba-4.12 openchange-openchange-2.3-VULCAN/ndr_mapi.c
|
||||||
--- openchange-openchange-2.3-VULCAN/ndr_mapi.c.samba-4.12 2020-01-27 11:04:07.136870938 +0100
|
--- openchange-openchange-2.3-VULCAN/ndr_mapi.c.samba-4.12 2020-01-27 11:04:07.136870938 +0100
|
||||||
+++ openchange-openchange-2.3-VULCAN/ndr_mapi.c 2020-01-27 11:12:29.978863985 +0100
|
+++ openchange-openchange-2.3-VULCAN/ndr_mapi.c 2020-01-27 11:12:29.978863985 +0100
|
||||||
|
@ -1,103 +0,0 @@
|
|||||||
diff -up openchange-openchange-2.3-VULCAN/libmapi/IProfAdmin.c.samba-4.15 openchange-openchange-2.3-VULCAN/libmapi/IProfAdmin.c
|
|
||||||
--- openchange-openchange-2.3-VULCAN/libmapi/IProfAdmin.c.samba-4.15 2021-07-19 12:26:37.615770488 +0200
|
|
||||||
+++ openchange-openchange-2.3-VULCAN/libmapi/IProfAdmin.c 2021-07-19 12:26:39.640771957 +0200
|
|
||||||
@@ -794,7 +794,7 @@ _PUBLIC_ enum MAPISTATUS LoadProfile(str
|
|
||||||
cli_credentials_set_password(profile->credentials, profile->password, CRED_SPECIFIED);
|
|
||||||
}
|
|
||||||
if (use_krb != CRED_USE_KERBEROS_DESIRED) {
|
|
||||||
- cli_credentials_set_kerberos_state(profile->credentials, use_krb);
|
|
||||||
+ cli_credentials_set_kerberos_state(profile->credentials, use_krb, CRED_SPECIFIED);
|
|
||||||
}
|
|
||||||
|
|
||||||
return MAPI_E_SUCCESS;
|
|
||||||
diff -up openchange-openchange-2.3-VULCAN/ndr_mapi.c.samba-4.15 openchange-openchange-2.3-VULCAN/ndr_mapi.c
|
|
||||||
--- openchange-openchange-2.3-VULCAN/ndr_mapi.c.samba-4.15 2021-07-19 12:59:29.801210983 +0200
|
|
||||||
+++ openchange-openchange-2.3-VULCAN/ndr_mapi.c 2021-07-19 13:07:49.382594567 +0200
|
|
||||||
@@ -1235,15 +1235,18 @@ _PUBLIC_ enum ndr_err_code ndr_pull_EcDo
|
|
||||||
TALLOC_CTX *_mem_save_rgbAuxOut_1;
|
|
||||||
|
|
||||||
if (flags & NDR_IN) {
|
|
||||||
+ uint32_t array_length = 0, array_size = 0;
|
|
||||||
OC_ZERO_STRUCT(r->out);
|
|
||||||
|
|
||||||
NDR_CHECK(ndr_pull_array_size(ndr, &r->in.szUserDN));
|
|
||||||
NDR_CHECK(ndr_pull_array_length(ndr, &r->in.szUserDN));
|
|
||||||
- if (ndr_get_array_length(ndr, &r->in.szUserDN) > ndr_get_array_size(ndr, &r->in.szUserDN)) {
|
|
||||||
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->in.szUserDN), ndr_get_array_length(ndr, &r->in.szUserDN));
|
|
||||||
+ NDR_CHECK(ndr_get_array_length(ndr, &r->in.szUserDN, &array_length));
|
|
||||||
+ NDR_CHECK(ndr_get_array_size(ndr, &r->in.szUserDN, &array_size));
|
|
||||||
+ if (array_length > array_size) {
|
|
||||||
+ return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", array_size, array_length);
|
|
||||||
}
|
|
||||||
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, &r->in.szUserDN), sizeof(uint8_t)));
|
|
||||||
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.szUserDN, ndr_get_array_length(ndr, &r->in.szUserDN), sizeof(uint8_t), CH_DOS));
|
|
||||||
+ NDR_CHECK(ndr_check_string_terminator(ndr, array_length, sizeof(uint8_t)));
|
|
||||||
+ NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.szUserDN, array_length, sizeof(uint8_t), CH_DOS));
|
|
||||||
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.ulFlags));
|
|
||||||
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.ulConMod));
|
|
||||||
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.cbLimit));
|
|
||||||
@@ -1317,6 +1320,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_EcDo
|
|
||||||
}
|
|
||||||
|
|
||||||
if (flags & NDR_OUT) {
|
|
||||||
+ uint32_t array_length = 0, array_size = 0;
|
|
||||||
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
|
|
||||||
NDR_PULL_ALLOC(ndr, r->out.handle);
|
|
||||||
}
|
|
||||||
@@ -1366,11 +1370,13 @@ _PUBLIC_ enum ndr_err_code ndr_pull_EcDo
|
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, *r->out.szDNPrefix, 0);
|
|
||||||
NDR_CHECK(ndr_pull_array_size(ndr, r->out.szDNPrefix));
|
|
||||||
NDR_CHECK(ndr_pull_array_length(ndr, r->out.szDNPrefix));
|
|
||||||
- if (ndr_get_array_length(ndr, r->out.szDNPrefix) > ndr_get_array_size(ndr, r->out.szDNPrefix)) {
|
|
||||||
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, r->out.szDNPrefix), ndr_get_array_length(ndr, r->out.szDNPrefix));
|
|
||||||
+ NDR_CHECK(ndr_get_array_length(ndr, r->out.szDNPrefix, &array_length));
|
|
||||||
+ NDR_CHECK(ndr_get_array_size(ndr, r->out.szDNPrefix, &array_size));
|
|
||||||
+ if (array_length > array_size) {
|
|
||||||
+ return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", array_size, array_length);
|
|
||||||
}
|
|
||||||
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, r->out.szDNPrefix), sizeof(uint8_t)));
|
|
||||||
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, r->out.szDNPrefix, ndr_get_array_length(ndr, r->out.szDNPrefix), sizeof(uint8_t), CH_DOS));
|
|
||||||
+ NDR_CHECK(ndr_check_string_terminator(ndr, array_length, sizeof(uint8_t)));
|
|
||||||
+ NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, r->out.szDNPrefix, array_length, sizeof(uint8_t), CH_DOS));
|
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_szDNPrefix_1, 0);
|
|
||||||
}
|
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_szDNPrefix_0, LIBNDR_FLAG_REF_ALLOC);
|
|
||||||
@@ -1391,11 +1397,13 @@ _PUBLIC_ enum ndr_err_code ndr_pull_EcDo
|
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, *r->out.szDisplayName, 0);
|
|
||||||
NDR_CHECK(ndr_pull_array_size(ndr, r->out.szDisplayName));
|
|
||||||
NDR_CHECK(ndr_pull_array_length(ndr, r->out.szDisplayName));
|
|
||||||
- if (ndr_get_array_length(ndr, r->out.szDisplayName) > ndr_get_array_size(ndr, r->out.szDisplayName)) {
|
|
||||||
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, r->out.szDisplayName), ndr_get_array_length(ndr, r->out.szDisplayName));
|
|
||||||
+ NDR_CHECK(ndr_get_array_length(ndr, r->out.szDisplayName, &array_length));
|
|
||||||
+ NDR_CHECK(ndr_get_array_size(ndr, r->out.szDisplayName, &array_size));
|
|
||||||
+ if (array_length > array_size) {
|
|
||||||
+ return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", array_size, array_length);
|
|
||||||
}
|
|
||||||
- NDR_CHECK(ndr_check_string_terminator(ndr, ndr_get_array_length(ndr, r->out.szDisplayName), sizeof(uint8_t)));
|
|
||||||
- NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, r->out.szDisplayName, ndr_get_array_length(ndr, r->out.szDisplayName), sizeof(uint8_t), CH_DOS));
|
|
||||||
+ NDR_CHECK(ndr_check_string_terminator(ndr, array_length, sizeof(uint8_t)));
|
|
||||||
+ NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, r->out.szDisplayName, array_length, sizeof(uint8_t), CH_DOS));
|
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_szDisplayName_1, 0);
|
|
||||||
}
|
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_szDisplayName_0, LIBNDR_FLAG_REF_ALLOC);
|
|
||||||
@@ -1415,14 +1423,16 @@ _PUBLIC_ enum ndr_err_code ndr_pull_EcDo
|
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_pulTimeStamp_0, LIBNDR_FLAG_REF_ALLOC);
|
|
||||||
NDR_CHECK(ndr_pull_array_size(ndr, &r->out.rgbAuxOut));
|
|
||||||
NDR_CHECK(ndr_pull_array_length(ndr, &r->out.rgbAuxOut));
|
|
||||||
- if (ndr_get_array_length(ndr, &r->out.rgbAuxOut) > ndr_get_array_size(ndr, &r->out.rgbAuxOut)) {
|
|
||||||
- return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", ndr_get_array_size(ndr, &r->out.rgbAuxOut), ndr_get_array_length(ndr, &r->out.rgbAuxOut));
|
|
||||||
+ NDR_CHECK(ndr_get_array_length(ndr, &r->out.rgbAuxOut, &array_length));
|
|
||||||
+ NDR_CHECK(ndr_get_array_size(ndr, &r->out.rgbAuxOut, &array_size));
|
|
||||||
+ if (array_length > array_size) {
|
|
||||||
+ return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE, "Bad array size %u should exceed array length %u", array_size, array_length);
|
|
||||||
}
|
|
||||||
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
|
|
||||||
- NDR_PULL_ALLOC_N(ndr, r->out.rgbAuxOut, ndr_get_array_size(ndr, &r->out.rgbAuxOut));
|
|
||||||
+ NDR_PULL_ALLOC_N(ndr, r->out.rgbAuxOut, array_size);
|
|
||||||
}
|
|
||||||
/* Only try to pull rgbAuxOut if the fake array size is > 0 */
|
|
||||||
- if (ndr_get_array_size(ndr, &r->out.rgbAuxOut)) {
|
|
||||||
+ if (array_size) {
|
|
||||||
_mem_save_rgbAuxOut_1 = NDR_PULL_GET_MEM_CTX(ndr);
|
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, r->out.rgbAuxOut, 0);
|
|
||||||
NDR_CHECK(ndr_pull_mapi2k7_AuxInfo(ndr, NDR_SCALARS, r->out.rgbAuxOut));
|
|
@ -1,4 +1,4 @@
|
|||||||
%global samba_version 4.2.0-2
|
%global samba_version 4.13
|
||||||
%global talloc_version 2.0.5
|
%global talloc_version 2.0.5
|
||||||
%global nickname VULCAN
|
%global nickname VULCAN
|
||||||
|
|
||||||
@ -23,8 +23,7 @@
|
|||||||
|
|
||||||
Name: openchange
|
Name: openchange
|
||||||
Version: 2.3
|
Version: 2.3
|
||||||
Release: 32%{?dist}
|
Release: 37%{?dist}
|
||||||
Group: Applications/System
|
|
||||||
Summary: Provides access to Microsoft Exchange servers using native protocols
|
Summary: Provides access to Microsoft Exchange servers using native protocols
|
||||||
License: GPLv3+ and Public Domain
|
License: GPLv3+ and Public Domain
|
||||||
URL: http://www.openchange.org/
|
URL: http://www.openchange.org/
|
||||||
@ -33,6 +32,7 @@ Source1: doxygen_to_devhelp.xsl
|
|||||||
|
|
||||||
### Build Dependencies ###
|
### Build Dependencies ###
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@ -92,10 +92,8 @@ Patch13: openchange-2.3-disable-python3.patch
|
|||||||
Patch14: openchange-2.3-covscan.patch
|
Patch14: openchange-2.3-covscan.patch
|
||||||
Patch15: openchange-2.3-samba-4.10-macros.patch
|
Patch15: openchange-2.3-samba-4.10-macros.patch
|
||||||
Patch16: openchange-2.3-samba-4.11.patch
|
Patch16: openchange-2.3-samba-4.11.patch
|
||||||
Patch17: openchange-2.3-samba-4.11.2.patch
|
Patch17: openchange-2.3-samba-4.12.patch
|
||||||
Patch18: openchange-2.3-samba-4.12.patch
|
Patch18: openchange-2.3-samba-4.13.patch
|
||||||
Patch19: openchange-2.3-samba-4.13.patch
|
|
||||||
Patch20: openchange-2.3-samba-4.15.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenChange provides libraries to access Microsoft Exchange servers
|
OpenChange provides libraries to access Microsoft Exchange servers
|
||||||
@ -103,7 +101,6 @@ using native protocols.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Developer tools for OpenChange libraries
|
Summary: Developer tools for OpenChange libraries
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: openchange = %{version}-%{release}
|
Requires: openchange = %{version}-%{release}
|
||||||
%if %{build_server_package}
|
%if %{build_server_package}
|
||||||
Requires: openchange-server = %{version}-%{release}
|
Requires: openchange-server = %{version}-%{release}
|
||||||
@ -116,7 +113,6 @@ using native protocols.
|
|||||||
|
|
||||||
%package devel-docs
|
%package devel-docs
|
||||||
Summary: Developer documentation for OpenChange libraries
|
Summary: Developer documentation for OpenChange libraries
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: devhelp
|
Requires: devhelp
|
||||||
Requires: openchange = %{version}-%{release}
|
Requires: openchange = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -126,7 +122,6 @@ This package contains developer documentation for Openchange.
|
|||||||
|
|
||||||
%package client
|
%package client
|
||||||
Summary: User tools for OpenChange libraries
|
Summary: User tools for OpenChange libraries
|
||||||
Group: Applications/System
|
|
||||||
Requires: openchange = %{version}-%{release}
|
Requires: openchange = %{version}-%{release}
|
||||||
|
|
||||||
%description client
|
%description client
|
||||||
@ -136,7 +131,6 @@ Microsoft Exchange servers using native protocols.
|
|||||||
%if %{build_python_package}
|
%if %{build_python_package}
|
||||||
%package python
|
%package python
|
||||||
Summary: Python bindings for OpenChange libraries
|
Summary: Python bindings for OpenChange libraries
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: openchange = %{version}-%{release}
|
Requires: openchange = %{version}-%{release}
|
||||||
|
|
||||||
%description python
|
%description python
|
||||||
@ -146,7 +140,6 @@ This module contains a wrapper that allows the use of OpenChange via Python.
|
|||||||
%if %{build_server_package}
|
%if %{build_server_package}
|
||||||
%package server
|
%package server
|
||||||
Summary: Server-side modules for OpenChange
|
Summary: Server-side modules for OpenChange
|
||||||
Group: Applications/System
|
|
||||||
Requires: openchange = %{version}-%{release}
|
Requires: openchange = %{version}-%{release}
|
||||||
Requires: sqlite
|
Requires: sqlite
|
||||||
|
|
||||||
@ -174,10 +167,8 @@ This package provides the server elements for OpenChange.
|
|||||||
%patch14 -p1 -b .covscan
|
%patch14 -p1 -b .covscan
|
||||||
%patch15 -p1 -b .samba-4.10-macros
|
%patch15 -p1 -b .samba-4.10-macros
|
||||||
%patch16 -p1 -b .samba-4.11
|
%patch16 -p1 -b .samba-4.11
|
||||||
%patch17 -p1 -b .samba-4.11.2
|
%patch17 -p1 -b .samba-4.12
|
||||||
%patch18 -p1 -b .samba-4.12
|
%patch18 -p1 -b .samba-4.13
|
||||||
%patch19 -p1 -b .samba-4.13
|
|
||||||
%patch20 -p1 -b .samba-4.15
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -206,7 +197,7 @@ xsltproc -o openchange-libmapi++.devhelp --stringparam "booktitle" "C++ bindings
|
|||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
|
|
||||||
# This makes the right links, as rpmlint requires that the
|
# This makes the right links, as rpmlint requires that the
|
||||||
# ldconfig-created links be recorded in the RPM.
|
# ldconfig-created links be recorded in the RPM.
|
||||||
@ -262,14 +253,10 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/devhelp/books/openchange-libmapi++
|
|||||||
cp openchange-libmapi++.devhelp $RPM_BUILD_ROOT%{_datadir}/devhelp/books/openchange-libmapi++
|
cp openchange-libmapi++.devhelp $RPM_BUILD_ROOT%{_datadir}/devhelp/books/openchange-libmapi++
|
||||||
cp -r apidocs/html/libmapi++/* $RPM_BUILD_ROOT%{_datadir}/devhelp/books/openchange-libmapi++
|
cp -r apidocs/html/libmapi++/* $RPM_BUILD_ROOT%{_datadir}/devhelp/books/openchange-libmapi++
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%if %{build_server_package}
|
%if %{build_server_package}
|
||||||
%post server -p /sbin/ldconfig
|
%ldconfig_scriptlets server
|
||||||
|
|
||||||
%postun server -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -326,39 +313,58 @@ cp -r apidocs/html/libmapi++/* $RPM_BUILD_ROOT%{_datadir}/devhelp/books/openchan
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed May 31 2023 Milan Crha <mcrha@redhat.com> - 2.3-32
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.3-37
|
||||||
- Related: #2190417 (Rebuild for samba rebase to 4.18.x)
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
* Thu Oct 27 2022 Milan Crha <mcrha@redhat.com> - 2.3-31
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.3-36
|
||||||
- Related: #2132051 - Rebuild for samba rebase to 4.17.x
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
* Wed May 04 2022 Milan Crha <mcrha@redhat.com> - 2.3-30
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-35
|
||||||
- Related: #2081620 - Rebuild for samba rebase to 4.16.x
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Nov 25 2021 Milan Crha <mcrha@redhat.com> - 2.3-29
|
* Mon Nov 30 2020 Milan Crha <mcrha@redhat.com> - 2.3-34
|
||||||
- Related: #2013596 - Rebuild for samba rebase to 4.15.x
|
- Add patch to build against samba 4.13
|
||||||
|
|
||||||
* Wed May 12 2021 Milan Crha <mcrha@redhat.com> - 2.3-28
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-33
|
||||||
- Related: #1944657 - Rebuild for samba rebase to 4.14.4
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Nov 13 2020 Milan Crha <mcrha@redhat.com> - 2.3-27
|
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 2.3-32
|
||||||
- Rebuild for newer samba
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Mon Jun 08 2020 Milan Crha <mcrha@redhat.com> - 2.3-26
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-31
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 27 2020 Milan Crha <mcrha@redhat.com> - 2.3-30
|
||||||
- Add patch to build against samba 4.12
|
- Add patch to build against samba 4.12
|
||||||
|
|
||||||
* Mon Apr 20 2020 Milan Crha <mcrha@redhat.com> - 2.3-25
|
* Fri Aug 30 2019 Milan Crha <mcrha@redhat.com> - 2.3-29
|
||||||
- Add patch to build against samba 4.11.2
|
- Rebuild for newer libldb
|
||||||
|
- Add patch to build against samba 4.11
|
||||||
|
|
||||||
* Mon Dec 02 2019 Milan Crha <mcrha@redhat.com> - 2.3-24
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-28
|
||||||
- Rebuild for newer samba and libldb
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Jul 19 2018 Milan Crha <mcrha@redhat.com> - 2.3-23
|
* Thu Feb 14 2019 Milan Crha <mcrha@redhat.com> - 2.3-27
|
||||||
|
- Add patch to build against samba 4.10 semi-public macro changes
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-26
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 19 2018 Milan Crha <mcrha@redhat.com> - 2.3-25
|
||||||
- Address some of the Coverity Scan and clang issues
|
- Address some of the Coverity Scan and clang issues
|
||||||
|
|
||||||
* Tue Apr 17 2018 Milan Crha <mcrha@redhat.com> - 2.3-22
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-24
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Apr 17 2018 Milan Crha <mcrha@redhat.com> - 2.3-23
|
||||||
- Switch to python3 (partly) and disable python3 build dependency by default
|
- Switch to python3 (partly) and disable python3 build dependency by default
|
||||||
|
|
||||||
|
* Mon Mar 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.3-22
|
||||||
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||||
|
|
||||||
* Wed Mar 07 2018 Milan Crha <mcrha@redhat.com> - 2.3-21
|
* Wed Mar 07 2018 Milan Crha <mcrha@redhat.com> - 2.3-21
|
||||||
- Do not copy content of libmapi++/ into includedir (RH bug #1548719)
|
- Do not copy content of libmapi++/ into includedir (RH bug #1548719)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user