<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:07:59 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[MONGOCRYPT-110] libmongocrypt: add cmake package configuration</title>
                <link>https://jira.mongodb.org/browse/MONGOCRYPT-110</link>
                <project id="17481" key="MONGOCRYPT">Libmongocrypt</project>
                    <description>&lt;p&gt;The C driver will be a direct consumer of this libmongocrypt. The C driver will need to search and link against libmongocrypt if available.&lt;/p&gt;

&lt;p&gt;To accomplish this, libmongocrypt needs to create CMake package configuration files on install, similar to what the C driver provides. That way, the C driver can &lt;tt&gt;find_package&lt;/tt&gt; to check if libmongocrypt is installed and possibly link to it.&lt;/p&gt;

&lt;p&gt;I don&apos;t think it&apos;s necessary to create package config files (though I may be wrong).&lt;/p&gt;

&lt;p&gt;kms-message already has this: &lt;a href=&quot;https://github.com/10gen/kms-message&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/kms-message&lt;/a&gt;&lt;br/&gt;
Though I&apos;m hesitant to copy over configuration without&#160;fully understanding it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="701906">MONGOCRYPT-110</key>
            <summary>libmongocrypt: add cmake package configuration</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="roberto.sanchez@mongodb.com">Roberto Sanchez</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Feb 2019 14:56:39 +0000</created>
                <updated>Sat, 28 Oct 2023 10:25:14 +0000</updated>
                            <resolved>Sat, 18 May 2019 16:48:59 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2251503" author="xgen-internal-githook" created="Sat, 18 May 2019 16:48:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Roberto C. S&#225;nchez&apos;, &apos;email&apos;: &apos;roberto@connexer.com&apos;, &apos;username&apos;: &apos;rcsanchez97&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-110&quot; title=&quot;libmongocrypt: add cmake package configuration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-110&quot;&gt;&lt;del&gt;CDRIVER-2973&lt;/del&gt;&lt;/a&gt; improve mongocrypt CMake targets, add mongo:: namespace&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/libmongocrypt/commit/79c3b0a246c35fa1f12a21eabe5994c9444bc4e6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/libmongocrypt/commit/79c3b0a246c35fa1f12a21eabe5994c9444bc4e6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2251502" author="xgen-internal-githook" created="Sat, 18 May 2019 16:48:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Roberto C. S&#225;nchez&apos;, &apos;email&apos;: &apos;roberto@connexer.com&apos;, &apos;username&apos;: &apos;rcsanchez97&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-110&quot; title=&quot;libmongocrypt: add cmake package configuration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-110&quot;&gt;&lt;del&gt;CDRIVER-2973&lt;/del&gt;&lt;/a&gt; build and execute static state machine example&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/libmongocrypt/commit/04c4fbeb3346d394a6040e6675bd74e58373a384&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/libmongocrypt/commit/04c4fbeb3346d394a6040e6675bd74e58373a384&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2233601" author="kevin.albertson" created="Fri, 3 May 2019 14:24:21 +0000"  >&lt;p&gt;Noted in &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2875&quot; title=&quot;Support Client-side Field Level Encryption&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2875&quot;&gt;&lt;del&gt;CDRIVER-2875&lt;/del&gt;&lt;/a&gt; to consider using exported target (#4 in that list) for C driver integration.&lt;/p&gt;</comment>
                            <comment id="2233581" author="jeff.yemin" created="Fri, 3 May 2019 14:16:18 +0000"  >&lt;p&gt;Everything in the list in the previous comment except #4 will be done in the context of this ticket.&lt;/p&gt;</comment>
                            <comment id="2198862" author="roberto.sanchez" created="Tue, 2 Apr 2019 11:42:37 +0000"  >&lt;p&gt;Here is a summary of what remains for this task:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Replace the standard .cmake.in configuration template with a one-liner file containing a simple include directive (this is what is done in &lt;tt&gt;kms_message-config.cmake&lt;/tt&gt;)&lt;/li&gt;
	&lt;li&gt;Mark the exportable targets in &lt;tt&gt;CMakeLists.txt&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;Tell CMake to actually install the exported targets (which creates and installs the file referenced by, e.g., &lt;tt&gt;kms_message-config.cmake&lt;/tt&gt;), using the namespace &apos;&lt;tt&gt;mongo::&lt;/tt&gt;&apos;&lt;/li&gt;
	&lt;li&gt;Consider updating consumers to use the simpler mechanism made available by the exported targets&lt;/li&gt;
	&lt;li&gt;Rename the &lt;tt&gt;monocrypt-static&lt;/tt&gt; target to &lt;tt&gt;mongocrypt_static&lt;/tt&gt; for consistency with other libraries&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="2198857" author="xgen-internal-githook" created="Tue, 2 Apr 2019 11:38:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Roberto C. S&#225;nchez&apos;, &apos;username&apos;: &apos;rcsanchez97&apos;, &apos;email&apos;: &apos;roberto@connexer.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-110&quot; title=&quot;libmongocrypt: add cmake package configuration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-110&quot;&gt;&lt;del&gt;CDRIVER-2973&lt;/del&gt;&lt;/a&gt; avoid include/lib leakage, use OpenSSL targets&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/libmongocrypt/commit/792e61377f87d2bd23ceca79b87ac81db7cecb59&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/libmongocrypt/commit/792e61377f87d2bd23ceca79b87ac81db7cecb59&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2196837" author="roberto.sanchez" created="Sat, 30 Mar 2019 13:04:33 +0000"  >&lt;p&gt;There are some limitations to the CMake package support that I implemented.  After reviewing &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1707&quot; title=&quot;Export targets for CMake project&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1707&quot;&gt;&lt;del&gt;CXX-1707&lt;/del&gt;&lt;/a&gt;, it seems prudent to improve the CMake package support in libmongocrypt to also export targets as suggested in &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1707&quot; title=&quot;Export targets for CMake project&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1707&quot;&gt;&lt;del&gt;CXX-1707&lt;/del&gt;&lt;/a&gt;.  It will make consuming libmongocrypt in other projects simpler and more straightforward.&lt;/p&gt;</comment>
                            <comment id="2194771" author="xgen-internal-githook" created="Thu, 28 Mar 2019 16:09:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;roberto@connexer.com&apos;, &apos;name&apos;: &apos;Roberto C. S&#225;nchez&apos;, &apos;username&apos;: &apos;rcsanchez97&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-110&quot; title=&quot;libmongocrypt: add cmake package configuration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-110&quot;&gt;&lt;del&gt;CDRIVER-2973&lt;/del&gt;&lt;/a&gt; cmake and pkg-config package configurations&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/libmongocrypt/commit/0d8c96ca59fe42248b2e18be118866d88b2c218f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/libmongocrypt/commit/0d8c96ca59fe42248b2e18be118866d88b2c218f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2193408" author="xgen-internal-githook" created="Wed, 27 Mar 2019 17:03:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Roberto C. S&#225;nchez&apos;, &apos;username&apos;: &apos;rcsanchez97&apos;, &apos;email&apos;: &apos;roberto@connexer.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-110&quot; title=&quot;libmongocrypt: add cmake package configuration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-110&quot;&gt;&lt;del&gt;CDRIVER-2973&lt;/del&gt;&lt;/a&gt; install static library&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/libmongocrypt/commit/5df2a6c60f273c2e2e4335225cec56496021775a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/libmongocrypt/commit/5df2a6c60f273c2e2e4335225cec56496021775a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2193407" author="xgen-internal-githook" created="Wed, 27 Mar 2019 17:03:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Roberto C. S&#225;nchez&apos;, &apos;username&apos;: &apos;rcsanchez97&apos;, &apos;email&apos;: &apos;roberto@connexer.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-110&quot; title=&quot;libmongocrypt: add cmake package configuration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-110&quot;&gt;&lt;del&gt;CDRIVER-2973&lt;/del&gt;&lt;/a&gt; use GnuInstallDirs for better build flexibility&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/libmongocrypt/commit/10ff15110b721ff27967c36ad0c6c780e18c2af8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/libmongocrypt/commit/10ff15110b721ff27967c36ad0c6c780e18c2af8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2185145" author="xgen-internal-githook" created="Tue, 19 Mar 2019 17:43:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;roberto@connexer.com&apos;, &apos;name&apos;: &apos;Roberto C. S&#225;nchez&apos;, &apos;username&apos;: &apos;rcsanchez97&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/MONGOCRYPT-110&quot; title=&quot;libmongocrypt: add cmake package configuration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MONGOCRYPT-110&quot;&gt;&lt;del&gt;CDRIVER-2973&lt;/del&gt;&lt;/a&gt; dynamically link to libbson&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/libmongocrypt/commit/bbd2c62eaa0e855512c0e3d28b08ad8523764d4f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/libmongocrypt/commit/bbd2c62eaa0e855512c0e3d28b08ad8523764d4f&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="727874">MONGOCRYPT-140</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-2915</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hue16f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>