pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ossp-uuid Initial import of ossp-uuid 1.6.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a0752c506261
branches:  trunk
changeset: 528916:a0752c506261
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sun May 20 02:42:27 2007 +0000

description:
Initial import of ossp-uuid 1.6.0.

UUIDs are 128 bit numbers which are intended to have a high likelihood
of uniqueness over space and time and are computationally difficult
to guess. They are globally unique identifiers which can be locally
generated without contacting a global registration authority. UUIDs
are intended as unique identifiers for both mass tagging objects
with an extremely short lifetime and to reliably identifying very
persistent objects across a network.

OSSP uuid is a ISO-C:1999 application programming interface (API)
and corresponding command line interface (CLI) for the generation
of DCE 1.1, ISO/IEC 11578:1996 and RFC 4122 compliant Universally
Unique Identifier (UUID). It supports DCE 1.1 variant UUIDs of version
1 (time and node based), version 3 (name based, MD5), version 4
(random number based) and version 5 (name based, SHA-1). Additional
API bindings are provided for the languages ISO-C++:1998, Perl:5 and
PHP:4/5. Optional backward compatibility exists for the ISO-C DCE-1.1
and Perl Data::UUID APIs.

diffstat:

 devel/ossp-uuid/DESCR            |  17 ++++++++++
 devel/ossp-uuid/Makefile         |  31 ++++++++++++++++++
 devel/ossp-uuid/PLIST            |  14 ++++++++
 devel/ossp-uuid/buildlink3.mk    |  20 +++++++++++
 devel/ossp-uuid/distinfo         |   6 +++
 devel/ossp-uuid/patches/patch-aa |  67 ++++++++++++++++++++++++++++++++++++++++
 6 files changed, 155 insertions(+), 0 deletions(-)

diffs (179 lines):

diff -r f6f0c62d564b -r a0752c506261 devel/ossp-uuid/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ossp-uuid/DESCR     Sun May 20 02:42:27 2007 +0000
@@ -0,0 +1,17 @@
+UUIDs are 128 bit numbers which are intended to have a high likelihood
+of uniqueness over space and time and are computationally difficult
+to guess. They are globally unique identifiers which can be locally
+generated without contacting a global registration authority. UUIDs
+are intended as unique identifiers for both mass tagging objects
+with an extremely short lifetime and to reliably identifying very
+persistent objects across a network.
+
+OSSP uuid is a ISO-C:1999 application programming interface (API)
+and corresponding command line interface (CLI) for the generation
+of DCE 1.1, ISO/IEC 11578:1996 and RFC 4122 compliant Universally
+Unique Identifier (UUID). It supports DCE 1.1 variant UUIDs of version
+1 (time and node based), version 3 (name based, MD5), version 4
+(random number based) and version 5 (name based, SHA-1). Additional
+API bindings are provided for the languages ISO-C++:1998, Perl:5 and
+PHP:4/5. Optional backward compatibility exists for the ISO-C DCE-1.1
+and Perl Data::UUID APIs.
diff -r f6f0c62d564b -r a0752c506261 devel/ossp-uuid/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ossp-uuid/Makefile  Sun May 20 02:42:27 2007 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/20 02:42:27 heinz Exp $
+#
+
+DISTNAME=              uuid-1.6.0
+PKGNAME=               ossp-${DISTNAME}
+CATEGORIES=            devel
+MASTER_SITES=          ftp://ftp.ossp.org/pkg/lib/uuid/
+
+MAINTAINER=            heinz%NetBSD.org@localhost
+HOMEPAGE=              http://www.ossp.org/pkg/lib/uuid/
+COMMENT=               C-API and command line tool for generating UUIDs
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+CONFLICTS=             e2fsprogs>1.32 libuuid-[0-9]*
+
+USE_LIBTOOL=           yes
+PKGCONFIG_OVERRIDE+=   ${WRKSRC}/uuid.pc.in
+GNU_CONFIGURE=         yes
+
+USE_TOOLS+=            gmake
+USE_LANGUAGES=         c c++
+
+CONFIGURE_ARGS+=       --with-dce
+CONFIGURE_ARGS+=       --with-cxx
+CONFIGURE_ARGS+=       --without-perl
+CONFIGURE_ARGS+=       --without-perl-compat
+CONFIGURE_ARGS+=       --without-php
+CONFIGURE_ARGS+=       --without-pgsql
+
+.include "../../mk/bsd.pkg.mk"
diff -r f6f0c62d564b -r a0752c506261 devel/ossp-uuid/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ossp-uuid/PLIST     Sun May 20 02:42:27 2007 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/20 02:42:27 heinz Exp $
+bin/uuid
+bin/uuid-config
+include/uuid++.hh
+include/uuid.h
+include/uuid_dce.h
+lib/libuuid++.la
+lib/libuuid.la
+lib/libuuid_dce.la
+lib/pkgconfig/uuid.pc
+man/man1/uuid-config.1
+man/man1/uuid.1
+man/man3/uuid++.3
+man/man3/uuid.3
diff -r f6f0c62d564b -r a0752c506261 devel/ossp-uuid/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ossp-uuid/buildlink3.mk     Sun May 20 02:42:27 2007 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/05/20 02:42:27 heinz Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+OSSP_UUID_BUILDLINK3_MK:=      ${OSSP_UUID_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    ossp-uuid
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nossp-uuid}
+BUILDLINK_PACKAGES+=   ossp-uuid
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ossp-uuid
+
+.if !empty(OSSP_UUID_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.ossp-uuid+=      ossp-uuid>=1.6.0
+BUILDLINK_ABI_DEPENDS.ossp-uuid+=      ossp-uuid>=1.6.0
+BUILDLINK_PKGSRCDIR.ossp-uuid?=                ../../devel/ossp-uuid
+.endif # OSSP_UUID_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
diff -r f6f0c62d564b -r a0752c506261 devel/ossp-uuid/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ossp-uuid/distinfo  Sun May 20 02:42:27 2007 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/05/20 02:42:27 heinz Exp $
+
+SHA1 (uuid-1.6.0.tar.gz) = 081b91cf6b57ec8f3df1601d1b6fec092eb597d3
+RMD160 (uuid-1.6.0.tar.gz) = 6755ee46fbcf254df7ae7742fea16142b3ad70d4
+Size (uuid-1.6.0.tar.gz) = 406796 bytes
+SHA1 (patch-aa) = 3ba1b261ed40ec882e45b92c60383515e81939db
diff -r f6f0c62d564b -r a0752c506261 devel/ossp-uuid/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ossp-uuid/patches/patch-aa  Sun May 20 02:42:27 2007 +0000
@@ -0,0 +1,67 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/05/20 02:42:27 heinz Exp $
+
+  Use pkgsrc install commands.
+
+--- Makefile.in.orig   2007-05-19 21:58:11.000000000 +0200
++++ Makefile.in
+@@ -223,38 +223,38 @@ check: all
+ 
+ .PHONY: install
+ install:
+-      $(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)/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 $(S)/uuid-config.1 $(DESTDIR)$(mandir)/man1/
+-      $(SHTOOL) install -c -m 644 $(S)/uuid.pc $(DESTDIR)$(libdir)/pkgconfig/
+-      $(SHTOOL) install -c -m 644 uuid.h $(DESTDIR)$(includedir)/
++      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prefix)
++      $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(bindir)
++      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(includedir)
++      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(libdir)/pkgconfig
++      $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/man3
++      $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/man1
++      $(BSD_INSTALL_SCRIPT) uuid-config $(DESTDIR)$(bindir)/
++      $(BSD_INSTALL_MAN) $(S)/uuid-config.1 $(DESTDIR)$(mandir)/man1/
++      $(BSD_INSTALL_DATA) $(S)/uuid.pc $(DESTDIR)$(libdir)/pkgconfig/
++      $(BSD_INSTALL_DATA) uuid.h $(DESTDIR)$(includedir)/
+       -@if [ ".$(WITH_DCE)" = .yes ]; then \
+-          echo "$(SHTOOL) install -c -m 644 $(S)/uuid_dce.h $(DESTDIR)$(includedir)/"; \
+-          $(SHTOOL) install -c -m 644 $(S)/uuid_dce.h $(DESTDIR)$(includedir)/; \
++          echo "$(BSD_INSTALL_DATA) $(S)/uuid_dce.h $(DESTDIR)$(includedir)/"; \
++          $(BSD_INSTALL_DATA) $(S)/uuid_dce.h $(DESTDIR)$(includedir)/; \
+       fi
+       -@if [ ".$(WITH_CXX)" = .yes ]; then \
+-          echo "$(SHTOOL) install -c -m 644 $(S)/uuid++.hh $(DESTDIR)$(includedir)/"; \
+-          $(SHTOOL) install -c -m 644 $(S)/uuid++.hh $(DESTDIR)$(includedir)/; \
++          echo "$(BSD_INSTALL_DATA) $(S)/uuid++.hh $(DESTDIR)$(includedir)/"; \
++          $(BSD_INSTALL_DATA) $(S)/uuid++.hh $(DESTDIR)$(includedir)/; \
+       fi
+-      $(SHTOOL) install -c -m 644 $(S)/uuid.3 $(DESTDIR)$(mandir)/man3/
++      $(BSD_INSTALL_MAN) $(S)/uuid.3 $(DESTDIR)$(mandir)/man3/
+       -@if [ ".$(WITH_CXX)" = .yes ]; then \
+-          echo "$(SHTOOL) install -c -m 644 $(S)/uuid++.3 $(DESTDIR)$(mandir)/man3/"; \
+-          $(SHTOOL) install -c -m 644 $(S)/uuid++.3 $(DESTDIR)$(mandir)/man3/; \
++          echo "$(BSD_INSTALL_MAN) $(S)/uuid++.3 $(DESTDIR)$(mandir)/man3/"; \
++          $(BSD_INSTALL_MAN) $(S)/uuid++.3 $(DESTDIR)$(mandir)/man3/; \
+       fi
+-      @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 $(LIB_NAME) $(DESTDIR)$(libdir)/
++      @$(LIBTOOL) --mode=install $(BSD_INSTALL_LIB) $(LIB_NAME) $(DESTDIR)$(libdir)/
+       -@if [ ".$(WITH_DCE)" = .yes ]; then \
+-          $(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 $(DCE_NAME) $(DESTDIR)$(libdir)/; \
++          $(LIBTOOL) --mode=install $(BSD_INSTALL_LIB) $(DCE_NAME) $(DESTDIR)$(libdir)/; \
+       fi
+       -@if [ ".$(WITH_CXX)" = .yes ]; then \
+-          $(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 $(CXX_NAME) $(DESTDIR)$(libdir)/; \
++          $(LIBTOOL) --mode=install $(BSD_INSTALL_LIB) $(CXX_NAME) $(DESTDIR)$(libdir)/; \
+       fi
+-      @$(LIBTOOL) --mode=install $(SHTOOL) install -c -s -m 755 uuid $(DESTDIR)$(bindir)/
+-      $(SHTOOL) install -c -m 644 $(S)/uuid.1 $(DESTDIR)$(mandir)/man1/
++      @$(LIBTOOL) --mode=install $(BSD_INSTALL_PROGRAM) uuid $(DESTDIR)$(bindir)/
++      $(BSD_INSTALL_MAN) $(S)/uuid.1 $(DESTDIR)$(mandir)/man1/
+       -@if [ ".$(WITH_PERL)" = .yes ]; then \
+           (cd $(S)/perl && $(MAKE) $(MFLAGS) install DESTDIR=$(DESTDIR)); \
+       fi



Home | Main Index | Thread Index | Old Index