Index: ossp-pkg/uuid/.cvsignore RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/.cvsignore,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/.cvsignore,v' 2>/dev/null --- .cvsignore 2004/01/06 20:26:59 1.1 +++ .cvsignore 2004/01/15 12:55:51 1.2 @@ -8,6 +8,7 @@ ltmain.sh shtool uuid-config -uuid.3 +uuid-config.1 uuid.1 +uuid.3 uuid Index: ossp-pkg/uuid/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/ChangeLog,v rcsdiff -q -kk '-r1.13' '-r1.14' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/ChangeLog,v' 2>/dev/null --- ChangeLog 2004/01/15 12:43:52 1.13 +++ ChangeLog 2004/01/15 12:55:51 1.14 @@ -13,6 +13,15 @@ Changes between 0.9.1 and 0.9.2 (13-Jan-2004 to xx-Jan-2004) + 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] Index: ossp-pkg/uuid/Makefile.in RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/Makefile.in,v rcsdiff -q -kk '-r1.12' '-r1.13' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/Makefile.in,v' 2>/dev/null --- Makefile.in 2004/01/13 19:43:14 1.12 +++ Makefile.in 2004/01/15 12:55:52 1.13 @@ -76,7 +76,7 @@ $(PRG_NAME): $(PRG_OBJS) $(LIB_NAME) @$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(PRG_NAME) $(PRG_OBJS) $(LIB_NAME) $(LIBS) -man: uuid.3 uuid.1 +man: uuid.3 uuid-config.1 uuid.1 uuid.3: uuid.pod V1=`$(SHTOOL) version -l txt -d short VERSION`; \ V2=`$(SHTOOL) version -l txt -d long VERSION`; \ @@ -85,6 +85,14 @@ --section=3 --center="Universally Unique Identifier" \ --release="$$D" --date="OSSP uuid $$V1" uuid.pod | \ sed -e "s;UUID_VERSION_STR;$$V2;" >uuid.3 +uuid-config.1: uuid-config.pod + V1=`$(SHTOOL) version -l txt -d short VERSION`; \ + V2=`$(SHTOOL) version -l txt -d long VERSION`; \ + D=`$(SHTOOL) version -l txt -d long VERSION | sed -e 's;.*(;;' -e 's;).*;;'`; \ + $(POD2MAN) --quotes=none \ + --section=3 --center="Universally Unique Identifier" \ + --release="$$D" --date="OSSP uuid $$V1" uuid-config.pod | \ + sed -e "s;UUID_VERSION_STR;$$V2;" >uuid-config.1 uuid.1: uuid_cli.pod V1=`$(SHTOOL) version -l txt -d short VERSION`; \ V2=`$(SHTOOL) version -l txt -d long VERSION`; \ @@ -116,6 +124,7 @@ $(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 uuid-config.1 $(DESTDIR)$(mandir)/man1/ $(SHTOOL) install -c -m 644 uuid.h $(DESTDIR)$(includedir)/ $(SHTOOL) install -c -m 644 uuid.3 $(DESTDIR)$(mandir)/man3/ @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libuuid.la $(DESTDIR)$(libdir)/ @@ -128,6 +137,7 @@ -@$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libuuid.la -$(RM) $(DESTDIR)$(mandir)/man3/uuid.3 -$(RM) $(DESTDIR)$(includedir)/uuid.h + -$(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) Index: ossp-pkg/uuid/uuid-config.in RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/uuid-config.in,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/uuid-config.in,v' 2>/dev/null --- uuid-config.in 2004/01/06 20:14:28 1.1 +++ uuid-config.in 2004/01/15 12:55:53 1.2 @@ -45,7 +45,7 @@ uuid_cflags="@CFLAGS@" uuid_ldflags="@LDFLAGS@" uuid_libs="@LIBS@" -uuid_version="@SA_VERSION_STR@" +uuid_version="@UUID_VERSION_STR@" help=no version=no Index: ossp-pkg/uuid/uuid-config.pod RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/uuid-config.pod,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/uuid/Attic/uuid-config.pod,v' | diff -u /dev/null - -L'ossp-pkg/uuid/uuid-config.pod' 2>/dev/null --- ossp-pkg/uuid/uuid-config.pod +++ - 2024-05-15 10:39:44.051341890 +0200 @@ -0,0 +1,155 @@ +#!/bin/sh +## +## OSSP uuid - Universally Unique Identifier +## Copyright (c) 2004 Ralf S. Engelschall +## Copyright (c) 2004 The OSSP Project +## +## 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-config.pod: library build utility manpage +## + +=pod + +=head1 NAME + +B - B + +=head1 VERSION + +OSSP uuid UUID_VERSION_STR + +=head1 SYNOPSIS + +B +[B<--help>] +[B<--version>] +[B<--all>] +[B<--prefix>] +[B<--exec-prefix>] +[B<--bindir>] +[B<--libdir>] +[B<--includedir>] +[B<--mandir>] +[B<--datadir>] +[B<--acdir>] +[B<--cflags>] +[B<--ldflags>] +[B<--libs>] + +=head1 DESCRIPTION + +The B program is a little helper utility for easy configuring and +building applications based on the uuid(3) library. It can be used to query the +C compiler and linker flags which are required to correctly compile and link +the application against the uuid(3) library. + +=head1 OPTIONS + +B accepts the following options: + +=over 2 + +=item B<--help> + +Prints the short usage information. + +=item B<--version> + +Prints the version number and date of the installed uuid(3) library. + +=item B<--all> + +Forces the output of all flags, that is, including extra flags which are not +B specific. + +=item B<--prefix> + +Prints the installation prefix of architecture independent files + +=item B<--exec-prefix> + +Prints the installation prefix of architecture dependent files. + +=item B<--bindir> + +Prints the installation directory of binaries. + +=item B<--libdir> + +Prints the installation directory of libraries. + +=item B<--includedir> + +Prints the installation directory of include headers. + +=item B<--mandir> + +Prints the installation directory of manual pages. + +=item B<--datadir> + +Prints the installation directory of shared data. + +=item B<--acdir> + +Prints the installation directory of B data. + +=item B<--cflags> + +Prints the C compiler flags which are needed to compile the uuid(3)-based +application. The output is usually added to the C uuidiable of the +applications C. + +=item B<--ldflags> + +Prints the linker flags (C<-L>) which are needed to link the application with +the uuid(3) library. The output is usually added to the C uuidiable of +the applications C. + +=item B<--libs> + +Prints the library flags (C<-l>) which are needed to link the application with +the C uuid(3) library. The output is usually added to the C uuidiable of the +applications C. + +=back + +=head1 EXAMPLE + + CC = cc + CFLAGS = -O `uuid-config --cflags` + LDFLAGS = `uuid-config --ldflags` + LIBS = -lm `uuid-config --libs` + + all: foo + foo: foo.o + $(CC) $(LDFLAGS) -o foo foo.o $(LIBS) + foo.o: foo.c + $(CC) $(CFLAGS) -c foo.c + +=head1 SEE ALSO + +uuid(3), uuid(1). + +=cut + Index: ossp-pkg/uuid/uuid.pod RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/uuid.pod,v rcsdiff -q -kk '-r1.6' '-r1.7' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/uuid.pod,v' 2>/dev/null --- uuid.pod 2004/01/11 18:26:56 1.6 +++ uuid.pod 2004/01/15 12:55:53 1.7 @@ -33,6 +33,10 @@ B - B +=head1 VERSION + +OSSP uuid UUID_VERSION_STR + =head1 DESCRIPTION B is a ISO-C application programming interface (API) and @@ -260,7 +264,7 @@ =item char *B(uuid_rc_t I); -Returns a constangt string representation corresponding to the +Returns a constant string representation corresponding to the return-code I for use in displaying B errors. =back @@ -285,7 +289,7 @@ appendix B, Open Group Technical Standard Document Number C706, August 1997, 737 pages, -(supercedes C309 DCE: Remote Procedure Call 8/1994, +(supersedes C309 DCE: Remote Procedure Call 8/1994, which was basis for ISO/IEC 11578:1996 specification), http://www.opengroup.org/publications/catalog/c706.htm Index: ossp-pkg/uuid/uuid_cli.pod RCS File: /v/ossp/cvs/ossp-pkg/uuid/Attic/uuid_cli.pod,v rcsdiff -q -kk '-r1.7' '-r1.8' -u '/v/ossp/cvs/ossp-pkg/uuid/Attic/uuid_cli.pod,v' 2>/dev/null --- uuid_cli.pod 2004/01/14 16:00:35 1.7 +++ uuid_cli.pod 2004/01/15 12:55:54 1.8 @@ -33,6 +33,10 @@ B - B +=head1 VERSION + +OSSP uuid UUID_VERSION_STR + =head1 SYNOPSIS B