OSSP CVS Repository

ossp - Check-in [5137]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5137
Date: 2005-Aug-31 13:16:18 (local)
2005-Aug-31 11:16:18 (UTC)
User:rse
Branch:
Comment: Added a pkg-config(1) specification uuid.pc which is also installed by default in addition to the old-style uuid-config tool.
Tickets:
Inspections:
Files:
ossp-pkg/uuid/.cvsignore      1.3 -> 1.4     1 inserted, 0 deleted
ossp-pkg/uuid/ChangeLog      added-> 1.81
ossp-pkg/uuid/Makefile.in      1.28 -> 1.29     4 inserted, 1 deleted
ossp-pkg/uuid/configure.ac      1.9 -> 1.10     5 inserted, 3 deleted
ossp-pkg/uuid/uuid.pc.in      added-> 1.1

ossp-pkg/uuid/.cvsignore 1.3 -> 1.4

--- .cvsignore   2004/01/18 20:19:23     1.3
+++ .cvsignore   2005/08/31 11:16:18     1.4
@@ -9,6 +9,7 @@
 shtool
 uuid-config
 uuid-config.1
+uuid.pc
 uuid.1
 uuid.3
 uuid.h


ossp-pkg/uuid/ChangeLog -> 1.81

*** /dev/null    Tue Apr 30 18:22:13 2024
--- -    Tue Apr 30 18:26:54 2024
***************
*** 0 ****
--- 1,333 ----
+    _        ___  ____ ____  ____                _     _
+   |_|_ _   / _ \/ ___/ ___||  _ \   _   _ _   _(_) __| |
+   _|_||_| | | | \___ \___ \| |_) | | | | | | | | |/ _` |
+  |_||_|_| | |_| |___) |__) |  __/  | |_| | |_| | | (_| |
+   |_|_|_|  \___/|____/____/|_|      \__,_|\__,_|_|\__,_|
+ 
+   OSSP uuid - Universally Unique Identifier
+ 
+   CHANGELOG
+ 
+   This is a list of all changes to OSSP uuid.
+   For a more brief summary please have a look at the NEWS file.
+ 
+   Changes between 1.2.1 and 1.3.0 (30-Aug-2005 to xx-XXX-2005)
+ 
+    o Added a pkg-config(1) specification uuid.pc which is also
+      installed by default in addition to the old-style uuid-config tool.
+      [Ralf S. Engelschall]
+ 
+    o Added optional Data::UUID backward compatibility Perl API which can
+      be enabled with the build-time option --with-perl-compat.
+      [Piotr Roszatycki <dexter@debian.org>, Ralf S. Engelschall]
+ 
+    o Add a functionality-reduced TIE-style Perl API OSSP::uuid::tie,
+      intended for very high-level convenience programming.
+      [Ralf S. Engelschall]
+ 
+    o Reference the new officially published RFC 4122.
+      [Ralf S. Engelschall]
+ 
+   Changes between 1.2.0 and 1.2.1 (23-Jan-2005 to 30-Aug-2005)
+ 
+    o Add SEEALSO document which references all known
+      UUID implementations.
+      [Ralf S. Engelschall]
+ 
+    o Improve the PRNG in case no stronger system PRNG device is
+      available by passing time and rand(3) based entropy into the MD5
+      one-way hash function to achieve at least some sort of weaker PRN data.
+      [Ralf S. Engelschall]
+ 
+    o Fix MAC address determination under Solaris by using the result of
+      ioctl(...,SIOCGARP,...) only if arp_flags had ATF_COM set.
+      [Ralf S. Engelschall]
+ 
+    o Upgrade to GNU libtool 1.5.18 and GNU shtool 2.0.2.
+      [Ralf S. Engelschall]
+ 
+    o Cleanup the source code even more by following a large
+      set of FlexeLint's suggestions.
+      [Ralf S. Engelschall]
+ 
+    o Fixed generated "section" number in uuid-config(1).
+      [Piotr Roszatycki <dexter@debian.org>]
+ 
+   Changes between 1.1.2 and 1.2.0 (13-Jan-2005 to 23-Jan-2005)
+ 
+    o Added support for new version 5 UUIDs (name-based, SHA-1)
+      according to latest draft-mealling-uuid-urn-05.txt.
+      [Ralf S. Engelschall]
+ 
+    o Reference new ISO/IEC 9834-8:2004 / ITU-T Rec. X.667 2004 standard
+      and latest IETF draft-mealling-uuid-urn-05.txt.
+      [Ralf S. Engelschall]
+ 
+   Changes between 1.1.1 and 1.1.2 (18-Nov-2004 to 13-Jan-2005)
+ 
+    o Fix generation of v3 UUIDs by adding support for 64-bit platforms
+      to the underlying uuid_md5.c code (which internally is based on
+      the RFC reference code which in turn assumes a 32-bit environment).
+      [Ralf S. Engelschall, Piotr Roszatycki <Piotr_Roszatycki@netia.net.pl>]
+ 
+    o Optimize internal md5_store() function by directly finalizing MD5
+      calculation on buffer copy instead of finalizing original buffer
+      and having to restore it from the buffer copy.
+      [Ralf S. Engelschall]
+ 
+    o Adjust copyright messages for new year 2005.
+      [Ralf S. Engelschall]
+ 
+    o Do not rebuild the Perl API if there were no actual changes.
+      [Ralf S. Engelschall]
+ 
+   Changes between 1.1.0 and 1.1.1 (03-Nov-2004 to 18-Nov-2004)
+ 
+    o Apply the FreeBSD libc uuid_create() related workaround
+      in the Perl bindings also under FreeBSD 6.0-CURRENT. 
+      [Ralf S. Engelschall]
+ 
+    o Fix --with-perl configure option processing: Perl is
+      only required if --with-perl is used although we search for Perl
+      always in order to provide the PERL variable substitution.
+      [Ralf S. Engelschall]
+ 
+   Changes between 1.0.4 and 1.1.0 (16-Oct-2004 to 03-Nov-2004)
+ 
+    o Add --with-perl configure option for optionally enabling
+      the Perl language bindings.
+      [Ralf S. Engelschall]
+ 
+    o Add Perl language bindings providing both a C-style and OO-style API.
+      [Ralf S. Engelschall]
+ 
+   Changes between 1.0.3 and 1.0.4 (15-Oct-2004 to 16-Oct-2004)
+ 
+    o Fix version detection from uuid_vers.h
+      [Ralf S. Engelschall]
+ 
+   Changes between 1.0.2 and 1.0.3 (12-Sep-2004 to 15-Oct-2004)
+ 
+    o Support configuring/building/installing from an arbitrary
+      directory via srcdir/top_srcdir/VPATH.
+      [David Lee <t.d.lee@durham.ac.uk>, Ralf S. Engelschall]
+ 
+    o Upgrade build environment to GNU libtool 1.5.10.
+      [Ralf S. Engelschall]
+ 
+   Changes between 1.0.1 and 1.0.2 (16-Jul-2004 to 12-Sep-2004)
+ 
+    o Upgrade build environment to GNU libtool 1.5.8 and GNU shtool 2.0.1
+      [Ralf S. Engelschall]
+ 
+   Changes between 1.0.0 and 1.0.1 (16-Feb-2004 to 16-Jul-2004)
+ 
+    o Made documentation of uuid_export() more clear.
+      [Ralf S. Engelschall]
+ 
+    o Upgrade build environment to GNU libtool 1.5.6 and GNU shtool 2.0.0
+      [Ralf S. Engelschall]
+ 
+    o Remove some warnings occurring under GCC 3.5
+      [Ralf S. Engelschall]
+ 
+   Changes between 0.9.7 and 1.0.0 (13-Feb-2004 to 16-Feb-2004)
+ 
+    o Replace remaining (old) UUID_VERSIONX names with UUID_MAKE_VX
+      in the documentation (uuid.pod).
+      [Ralf S. Engelschall]
+ 
+    o Resolve namespace conflicts with GCC 3.4 internal pow10() and round()
+      functions within uuid_str.c.
+      [Ralf S. Engelschall]
+ 
+    o Fix buffer handling in "uuid_export(..., UUID_FMT_TXT, vp, ...)" in
+      case "vp" is not NULL.
+      [Fuyuki <fuyuki@nigredo.org>]
+ 
+   Changes between 0.9.6 and 0.9.7 (11-Feb-2004 to 13-Feb-2004)
+ 
+    o remove --with-rfc2518 option and functionality because
+      even the IETF/IESG has finally approved our report about the broken
+      random multicast MAC address generation in the standard (and
+      will fix it in new versions of the draft-mealling-uuid-urn). So,
+      finally get rid of this broken-by-design backward compatibility
+      functionality.
+      [Ralf S. Engelschall]
+ 
+    o Add support to uuid(1) CLI for decoding from stdin for
+      both binary and string representations.
+      [Ralf S. Engelschall]
+ 
+    o Add missing documentation entries for UUID_XXXX API constants and
+      uuid_version() function.
+      [Fuyuki <fuyuki@nigredo.org>]
+ 
+    o Adjust references for new draft-mealling-uuid-urn-02.txt.
+      [Fuyuki <fuyuki@nigredo.org>]
+ 
+    o Replaced overlooked references to old
+      uuid_{unpack,pack,parse,format,dump}() functions with their
+      current uuid_{import,export}() replacements.
+      [Fuyuki <fuyuki@nigredo.org>]
+ 
+    o Fixed "uuid -h" command.
+      [Fuyuki <fuyuki@nigredo.org>]
+ 
+   Changes between 0.9.5 and 0.9.6 (06-Feb-2004 to 11-Feb-2004)
+ 
+    o Added an experimental additional DCE 1.1 API for backward
+      compatibility with existing applications.
+      [Ralf S. Engelschall]
+ 
+   Changes between 0.9.4 and 0.9.5 (19-Jan-2004 to 06-Feb-2004)
+ 
+    o Fixed filedescriptor leak in the PRNG sub-API.
+      [Guerry Semones <guerry@tsunamiresearch.com>]
+ 
+    o Upgraded build environment to GNU libtool 1.5.2.
+      [Ralf S. Engelschall]
+ 
+   Changes between 0.9.3 and 0.9.4 (16-Jan-2004 to 19-Jan-2004)
+ 
+    o Include <string.h> in uuid.h because of size_t usage.
+      [Ralf S. Engelschall]
+ 
+    o INCOMPATIBILITY: Refactor the API and rename uuid_generate()
+      to uuid_make() and use a "uuid_t" pointer for the namespace
+      on UUID_VERSION3 generation. To allow access to the internal
+      pre-defined namespace UUIDs, provide a new uuid_load() function.
+      Because uuid_load() now also allows the loading of the "nil" UUID,
+      remove uuid_nil() from the API. After this second refactoring the
+      API is now the one we originally wished for the forthcoming version
+      1.0 of OSSP uuid.
+      [Ralf S. Engelschall]
+ 
+    o INCOMPATIBILITY: rename UUID_VERSIONx to UUID_MAKE_Vx and
+      UUID_MCASTRND to UUID_MAKE_MC to be more consistent throughout API.
+      [Ralf S. Engelschall]
+ 
+    o Add version support to API via UUID_VERSION (compile-time)
+      and uuid_version() (link-time).
+      [Ralf S. Engelschall]
+ 
+    o INCOMPATIBILITY: Refactor the API by merging
+      uuid_{unpack,pack,parse,format,dump}() functions into unified
+      uuid_{import,export}() functions. This allows us to easily add
+      support for other formats (e.g. XML) in the future without having
+      the change the API in principle.
+      [Ralf S. Engelschall]
+ 
+    o Document what DCE 1.1 UUID versions exist and what they are
+      intended for.
+      [Ralf S. Engelschall]
+ 
+    o Cleanup the C code to also pass warning-free a C++ compiler.
+      [Ralf S. Engelschall]
+ 
+    o Support C++ by enclosing the C API declarations in
+      'extern "C" {...}' within uuid.h.
+      [Guerry Semones <guerry@tsunamiresearch.com>]
+ 
+    o Improvide decoding in uuid_dump() by at least hex-dumping the
+      binary representation in case of v3, v4 and Nil UUIDs. Also,
+      annotate with better hints.
+      [Ralf S. Engelschall]
+ 
+    o Recognize special "Nil UUID" on decoding in uuid_dump().
+      [Ralf S. Engelschall]
+ 
+   Changes between 0.9.2 and 0.9.3 (15-Jan-2004 to 16-Jan-2004)
+ 
+    o Tested OSSP uuid on 16 particular Unix platforms and list
+      those in the new PORTING file.
+      [Ralf S. Engelschall]
+ 
+    o Fixed minor formatting bug in call to str_rsprintf().
+      [Ralf S. Engelschall]
+ 
+    o Fix syntax error in uuid.ac.
+      [Ralf S. Engelschall]
+ 
+   Changes between 0.9.1 and 0.9.2 (13-Jan-2004 to 15-Jan-2004)
+ 
+    o Provide both incorrect RFC2518-based and correct IEEE 802
+      multicast address generation. The default now is the correct
+      IEEE 802 multicast address generation but compile-time option
+      --with-rfc2518 selects the broken variant.
+      [Ralf S. Engelschall]
+ 
+    o Decode also the IEEE 802 MAC address local/global bit.
+      [Ralf S. Engelschall]
+ 
+    o Added missing documentation for uuid_dump().
+      [Ralf S. Engelschall]
+ 
+    o Fixed BM_POW2() macro implementation.
+      [Ralf S. Engelschall]
+ 
+    o Use BM_XXX() and str_xxx() APIs throughout internal implementation.
+      [Ralf S. Engelschall]
+ 
+    o Added missing manual page uuid-config(1).
+      [Ralf S. Engelschall]
+ 
+    o Fixed output of "uuid-config --version"
+      [Ralf S. Engelschall]
+ 
+    o Fixed typos in uuid.pod
+      [Ralf S. Engelschall]
+ 
+    o Cleanup uuid.ac for unused elements.
+      [Ralf S. Engelschall]
+ 
+    o Moved uuid_[u]int{8,16,32}_t auto-configuration into
+      own internal header uuid_ac.h.
+      [Ralf S. Engelschall]
+ 
+    o Fixed portability by replacing accidentally introduced
+      uint{8,16,32}_t with the portable uuid_uint{8,16,32}_t.
+      [Guerry Semones <guerry@tsunamiresearch.com>]
+ 
+    o Prefix all variable symbols in uuid.h with underscores
+      to avoid namespace conflicts.
+      [Ralf S. Engelschall]
+ 
+    o Add decoding examples to uuid(1) manual page.
+      [Ralf S. Engelschall]
+ 
+   Changes between 0.9.0 and 0.9.1 (11-Jan-2004 to 13-Jan-2004)
+ 
+    o Make "md5_init" and "mac_address" symbols namespace clean
+      by adding correct embedding support via "uuid_" prefix.
+      [Ralf S. Engelschall]
+ 
+    o Implement uuid_dump() and corresponding uuid CLI "-d"
+      option for dumping a given UUID into clear text. For convenience
+      reasons add uuid_bm.h (bit mask API) and uuid_str (string
+      formatting API) sub-modules.
+      [Ralf S. Engelschall]
+ 
+    o Add "-m" option to CLI for allowing to generate v1 UUIDs
+      with random multi-cast addresses (API UUID_MCASTRND option).
+      [Ralf S. Engelschall]
+ 
+    o Disable the C++ and F77 checks in GNU libtool.
+      [Ralf S. Engelschall]
+ 
+    o Print involved option character (instead of '?') on invalid
+      option for uuid(1) CLI.
+      [Matthias Andree <matthias.andree@gmx.de>]
+ 
+    o Fixed "make install" and "make uninstall": the uuid(1) CLI
+      has to be [un]installed through GNU libtool, too.
+      [Matthias Andree <matthias.andree@gmx.de>]
+ 
+    o Document in uuid(1) [uuid_cli.pod] that for version 3
+      UUIDs additional arguments are required and what pre-defined
+      namespace ids are known.
+      [Ralf S. Engelschall, M.Daniel <mdaniel@scdi.com>]
+ 
+    o cleaned up source tree documentation files.
+      [Ralf S. Engelschall]
+ 


ossp-pkg/uuid/Makefile.in 1.28 -> 1.29

--- Makefile.in  2005/08/31 09:59:45     1.28
+++ Makefile.in  2005/08/31 11:16:18     1.29
@@ -170,11 +170,12 @@
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(prefix)
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir)
-        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir)
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir)/pkgconfig
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man3
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1
         $(SHTOOL) install -c -m 755 ./uuid-config $(DESTDIR)$(bindir)/
         $(SHTOOL) install -c -m 644 $(srcdir)/uuid-config.1 $(DESTDIR)$(mandir)/man1/
+        $(SHTOOL) install -c -m 644 $(srcdir)/uuid.pc $(DESTDIR)$(libdir)/pkgconfig/
         $(SHTOOL) install -c -m 644 ./uuid.h $(DESTDIR)$(includedir)/
         -@if [ ".$(WITH_DCE)" = .yes ]; then \
             echo "$(SHTOOL) install -c -m 644 $(srcdir)/uuid_dce.h $(DESTDIR)$(includedir)/"; \
@@ -204,11 +205,13 @@
             echo "$(RM) $(DESTDIR)$(includedir)/uuid_dce.h"; \
             $(RM) $(DESTDIR)$(includedir)/uuid_dce.h; \
         fi
+        -$(RM) $(DESTDIR)$(libdir)/pkgconfig/uuid.pc
         -$(RM) $(DESTDIR)$(mandir)/man1/uuid-config.1
         -$(RM) $(DESTDIR)$(bindir)/uuid-config
         -$(RMDIR) $(DESTDIR)$(mandir)/man1 >/dev/null 2>&1 || $(TRUE)
         -$(RMDIR) $(DESTDIR)$(mandir)/man3 >/dev/null 2>&1 || $(TRUE)
         -$(RMDIR) $(DESTDIR)$(mandir) >/dev/null 2>&1 || $(TRUE)
+        -$(RMDIR) $(DESTDIR)$(libdir)/pkgconfig >/dev/null 2>&1 || $(TRUE)
         -$(RMDIR) $(DESTDIR)$(libdir) >/dev/null 2>&1 || $(TRUE)
         -$(RMDIR) $(DESTDIR)$(includedir) >/dev/null 2>&1 || $(TRUE)
         -$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE)


ossp-pkg/uuid/configure.ac 1.9 -> 1.10

--- configure.ac 2004/12/31 19:20:34     1.9
+++ configure.ac 2005/08/31 11:16:18     1.10
@@ -29,10 +29,12 @@
 
 AC_PREREQ(2.53)
 AC_INIT
-UUID_VERSION_STR=`$ac_confdir/shtool version -l c -d long uuid_vers.h`
-UUID_VERSION_HEX=`$ac_confdir/shtool version -l c -d hex  uuid_vers.h`
+UUID_VERSION_RAW=`$ac_confdir/shtool version -l c -d short uuid_vers.h`
+UUID_VERSION_STR=`$ac_confdir/shtool version -l c -d long  uuid_vers.h`
+UUID_VERSION_HEX=`$ac_confdir/shtool version -l c -d hex   uuid_vers.h`
 $ac_confdir/shtool echo -e \
     "Configuring %BOSSP uuid%b (Universally Unique Identifier), version %B${UUID_VERSION_STR}%b"
+AC_SUBST(UUID_VERSION_RAW)
 AC_SUBST(UUID_VERSION_STR)
 AC_SUBST(UUID_VERSION_HEX)
 
@@ -48,7 +50,7 @@
 UUID_CHECK_ALL
 
 AC_CONFIG_HEADERS(config.h)
-AC_CONFIG_FILES([Makefile uuid-config uuid.h])
+AC_CONFIG_FILES([Makefile uuid-config uuid.pc uuid.h])
 AC_CONFIG_COMMANDS([adjustment], [chmod a-w uuid.h; chmod a+x uuid-config])
 AC_OUTPUT
 


ossp-pkg/uuid/uuid.pc.in -> 1.1

*** /dev/null    Tue Apr 30 18:22:13 2024
--- -    Tue Apr 30 18:26:54 2024
***************
*** 0 ****
--- 1,42 ----
+ ##
+ ##  OSSP uuid - Universally Unique Identifier
+ ##  Copyright (c) 2004-2005 Ralf S. Engelschall <rse@engelschall.com>
+ ##  Copyright (c) 2004-2005 The OSSP Project <http://www.ossp.org/>
+ ##
+ ##  This file is part of OSSP uuid, a library for the generation
+ ##  of UUIDs which can found at http://www.ossp.org/pkg/lib/uuid/
+ ##
+ ##  Permission to use, copy, modify, and distribute this software for
+ ##  any purpose with or without fee is hereby granted, provided that
+ ##  the above copyright notice and this permission notice appear in all
+ ##  copies.
+ ##
+ ##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ ##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ ##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ ##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+ ##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ ##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ ##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ ##  SUCH DAMAGE.
+ ##
+ ##  uuid.pc.in: pkg-config(1) specification
+ ##
+ 
+ prefix=@prefix@
+ exec_prefix=${prefix}
+ includedir=${prefix}/include
+ libdir=${exec_prefix}/lib
+ 
+ Name: OSSP uuid
+ Description: Universally Unique Identifier (UUID) Library
+ Version: @UUID_VERSION_RAW@
+ URL: http://www.ossp.org/pkg/lib/uuid/
+ Cflags: -I${includedir}
+ Libs: -L${libdir} -luuid
+ Libs.private: @LIBS@
+ 

CVSTrac 2.0.1