pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/libcmis



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Nov 30 20:31:31 UTC 2024

Modified Files:
        pkgsrc/net/libcmis: Makefile PLIST distinfo
Added Files:
        pkgsrc/net/libcmis/patches: patch-src_libcmis_xml-utils.cxx

Log Message:
libcmis: update to 0.6.2.

0.6.0

  * Merged outstanding LibreOffice, etc. modifications

0.6.1

  * add a callback that can be used to configure libcurl

0.6.2

  * fix up version-info


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/net/libcmis/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/libcmis/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/net/libcmis/distinfo
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/net/libcmis/patches/patch-src_libcmis_xml-utils.cxx

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/libcmis/Makefile
diff -u pkgsrc/net/libcmis/Makefile:1.50 pkgsrc/net/libcmis/Makefile:1.51
--- pkgsrc/net/libcmis/Makefile:1.50    Thu Nov 14 22:21:10 2024
+++ pkgsrc/net/libcmis/Makefile Sat Nov 30 20:31:31 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.50 2024/11/14 22:21:10 wiz Exp $
+# $NetBSD: Makefile,v 1.51 2024/11/30 20:31:31 wiz Exp $
 
-DISTNAME=      libcmis-0.5.2
-PKGREVISION=   31
+DISTNAME=      libcmis-0.6.2
 CATEGORIES=    net devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tdf/}
 GITHUB_PROJECT=        libcmis
@@ -18,7 +17,6 @@ USE_LANGUAGES+=               c c++
 USE_TOOLS+=            gmake pkg-config
 USE_LIBTOOL=           yes
 
-BUILDLINK_DEPMETHOD.boost-headers?=     build
 .include "../../devel/boost-headers/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../devel/cppunit/buildlink3.mk"

Index: pkgsrc/net/libcmis/PLIST
diff -u pkgsrc/net/libcmis/PLIST:1.5 pkgsrc/net/libcmis/PLIST:1.6
--- pkgsrc/net/libcmis/PLIST:1.5        Wed Feb 13 22:12:17 2019
+++ pkgsrc/net/libcmis/PLIST    Sat Nov 30 20:31:31 2024
@@ -1,40 +1,40 @@
-@comment $NetBSD: PLIST,v 1.5 2019/02/13 22:12:17 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2024/11/30 20:31:31 wiz Exp $
 bin/cmis-client
-include/libcmis-0.5/libcmis/allowable-actions.hxx
-include/libcmis-0.5/libcmis/document.hxx
-include/libcmis-0.5/libcmis/exception.hxx
-include/libcmis-0.5/libcmis/folder.hxx
-include/libcmis-0.5/libcmis/libcmis-api.h
-include/libcmis-0.5/libcmis/libcmis.hxx
-include/libcmis-0.5/libcmis/oauth2-data.hxx
-include/libcmis-0.5/libcmis/object-type.hxx
-include/libcmis-0.5/libcmis/object.hxx
-include/libcmis-0.5/libcmis/property-type.hxx
-include/libcmis-0.5/libcmis/property.hxx
-include/libcmis-0.5/libcmis/rendition.hxx
-include/libcmis-0.5/libcmis/repository.hxx
-include/libcmis-0.5/libcmis/session-factory.hxx
-include/libcmis-0.5/libcmis/session.hxx
-include/libcmis-0.5/libcmis/xml-utils.hxx
-include/libcmis-0.5/libcmis/xmlserializable.hxx
-include/libcmis-c-0.5/libcmis-c/allowable-actions.h
-include/libcmis-c-0.5/libcmis-c/document.h
-include/libcmis-c-0.5/libcmis-c/error.h
-include/libcmis-c-0.5/libcmis-c/folder.h
-include/libcmis-c-0.5/libcmis-c/libcmis-c-api.h
-include/libcmis-c-0.5/libcmis-c/libcmis-c.h
-include/libcmis-c-0.5/libcmis-c/oauth2-data.h
-include/libcmis-c-0.5/libcmis-c/object-type.h
-include/libcmis-c-0.5/libcmis-c/object.h
-include/libcmis-c-0.5/libcmis-c/property-type.h
-include/libcmis-c-0.5/libcmis-c/property.h
-include/libcmis-c-0.5/libcmis-c/rendition.h
-include/libcmis-c-0.5/libcmis-c/repository.h
-include/libcmis-c-0.5/libcmis-c/session-factory.h
-include/libcmis-c-0.5/libcmis-c/session.h
-include/libcmis-c-0.5/libcmis-c/types.h
-include/libcmis-c-0.5/libcmis-c/vectors.h
-lib/libcmis-0.5.la
-lib/libcmis-c-0.5.la
-lib/pkgconfig/libcmis-0.5.pc
-lib/pkgconfig/libcmis-c-0.5.pc
+include/libcmis-0.6/libcmis/allowable-actions.hxx
+include/libcmis-0.6/libcmis/document.hxx
+include/libcmis-0.6/libcmis/exception.hxx
+include/libcmis-0.6/libcmis/folder.hxx
+include/libcmis-0.6/libcmis/libcmis-api.h
+include/libcmis-0.6/libcmis/libcmis.hxx
+include/libcmis-0.6/libcmis/oauth2-data.hxx
+include/libcmis-0.6/libcmis/object-type.hxx
+include/libcmis-0.6/libcmis/object.hxx
+include/libcmis-0.6/libcmis/property-type.hxx
+include/libcmis-0.6/libcmis/property.hxx
+include/libcmis-0.6/libcmis/rendition.hxx
+include/libcmis-0.6/libcmis/repository.hxx
+include/libcmis-0.6/libcmis/session-factory.hxx
+include/libcmis-0.6/libcmis/session.hxx
+include/libcmis-0.6/libcmis/xml-utils.hxx
+include/libcmis-0.6/libcmis/xmlserializable.hxx
+include/libcmis-c-0.6/libcmis-c/allowable-actions.h
+include/libcmis-c-0.6/libcmis-c/document.h
+include/libcmis-c-0.6/libcmis-c/error.h
+include/libcmis-c-0.6/libcmis-c/folder.h
+include/libcmis-c-0.6/libcmis-c/libcmis-c-api.h
+include/libcmis-c-0.6/libcmis-c/libcmis-c.h
+include/libcmis-c-0.6/libcmis-c/oauth2-data.h
+include/libcmis-c-0.6/libcmis-c/object-type.h
+include/libcmis-c-0.6/libcmis-c/object.h
+include/libcmis-c-0.6/libcmis-c/property-type.h
+include/libcmis-c-0.6/libcmis-c/property.h
+include/libcmis-c-0.6/libcmis-c/rendition.h
+include/libcmis-c-0.6/libcmis-c/repository.h
+include/libcmis-c-0.6/libcmis-c/session-factory.h
+include/libcmis-c-0.6/libcmis-c/session.h
+include/libcmis-c-0.6/libcmis-c/types.h
+include/libcmis-c-0.6/libcmis-c/vectors.h
+lib/libcmis-0.6.la
+lib/libcmis-c-0.6.la
+lib/pkgconfig/libcmis-0.6.pc
+lib/pkgconfig/libcmis-c-0.6.pc

Index: pkgsrc/net/libcmis/distinfo
diff -u pkgsrc/net/libcmis/distinfo:1.8 pkgsrc/net/libcmis/distinfo:1.9
--- pkgsrc/net/libcmis/distinfo:1.8     Tue Oct 26 11:05:53 2021
+++ pkgsrc/net/libcmis/distinfo Sat Nov 30 20:31:31 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:05:53 nia Exp $
+$NetBSD: distinfo,v 1.9 2024/11/30 20:31:31 wiz Exp $
 
-BLAKE2s (libcmis-0.5.2.tar.gz) = b120bda251091e7ff78bc1a25ad0cc3f5a4fc8b8a1757c887966d74fdf6540ce
-SHA512 (libcmis-0.5.2.tar.gz) = 3dac0eed31d1dd3ac4670e501e0677196811f7875e6d1c253c8d874d6903691cbe4f1c27c8468af07bfd7f79b0d6ec4f933b28cb3bb37dcbea18bc2dd8f6e374
-Size (libcmis-0.5.2.tar.gz) = 808619 bytes
+BLAKE2s (libcmis-0.6.2.tar.gz) = 882b911ce871cfb56093fc8faa8158649982790cbf3bc95f0fc3c4055b743db3
+SHA512 (libcmis-0.6.2.tar.gz) = ed7a1a57ef39216767c2e7940a80d75f7582b8213a204df15aea0b3d80ff86bf53ccddc111c9ec77606ef9a0035bb04609e1042d474b6d03dbd12678af9cf3e4
+Size (libcmis-0.6.2.tar.gz) = 787697 bytes
+SHA1 (patch-src_libcmis_xml-utils.cxx) = f8a81b2467d2edd1162cd6b59fe5a424a1c8ad87

Added files:

Index: pkgsrc/net/libcmis/patches/patch-src_libcmis_xml-utils.cxx
diff -u /dev/null pkgsrc/net/libcmis/patches/patch-src_libcmis_xml-utils.cxx:1.3
--- /dev/null   Sat Nov 30 20:31:32 2024
+++ pkgsrc/net/libcmis/patches/patch-src_libcmis_xml-utils.cxx  Sat Nov 30 20:31:31 2024
@@ -0,0 +1,34 @@
+$NetBSD: patch-src_libcmis_xml-utils.cxx,v 1.3 2024/11/30 20:31:31 wiz Exp $
+
+Boost 1.86 compat
+https://github.com/tdf/libcmis/commit/dfcb642a491f7ec2ae52e3e83d31bb6cdf3670c2
+
+--- src/libcmis/xml-utils.cxx.orig     2023-10-09 12:06:53.000000000 +0000
++++ src/libcmis/xml-utils.cxx
+@@ -535,16 +535,22 @@ namespace libcmis
+         boost::uuids::detail::sha1 sha1;
+         sha1.process_bytes( str.c_str(), str.size() );
+ 
+-        unsigned int digest[5];
++        // on boost <  1.86.0, digest_type is typedef'd as unsigned int[5]
++        // on boost >= 1.86.0, digest_type is typedef'd as unsigned char[20]
++        boost::uuids::detail::sha1::digest_type digest;
+         sha1.get_digest( digest );
+ 
++        // by using a pointer to unsigned char, we can read the
++        // object representation of either typedef.
++        const unsigned char* ptr = reinterpret_cast<const unsigned char*>( digest );
++
+         stringstream out;
+-        // Setup writing mode. Every number must produce eight
++        // Setup writing mode. Every number must produce two
+         // hexadecimal digits, including possible leading 0s, or we get
+         // less than 40 digits as result.
+         out << hex << setfill('0') << right;
+-        for ( int i = 0; i < 5; ++i )
+-            out << setw(8) << digest[i];
++        for ( int i = 0; i < sizeof( digest ); ++ptr, ++i )
++            out << setw(2) << static_cast<int>( *ptr );
+         return out.str();
+     }
+ 



Home | Main Index | Thread Index | Old Index