diff options
author | heinz <heinz@pkgsrc.org> | 2007-05-20 02:42:27 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2007-05-20 02:42:27 +0000 |
commit | 2822a6bbbc9348ed1e19ecd977d3321c78ff93e7 (patch) | |
tree | 33772cf5075bee535fe33120c9ed416416e2b854 /devel/ossp-uuid | |
parent | 4e3069b817a5635438449f5e1d6e809a6bb56683 (diff) | |
download | pkgsrc-2822a6bbbc9348ed1e19ecd977d3321c78ff93e7.tar.gz |
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 (limited to 'devel/ossp-uuid')
-rw-r--r-- | devel/ossp-uuid/DESCR | 17 | ||||
-rw-r--r-- | devel/ossp-uuid/Makefile | 31 | ||||
-rw-r--r-- | devel/ossp-uuid/PLIST | 14 | ||||
-rw-r--r-- | devel/ossp-uuid/buildlink3.mk | 20 | ||||
-rw-r--r-- | devel/ossp-uuid/distinfo | 6 | ||||
-rw-r--r-- | devel/ossp-uuid/patches/patch-aa | 67 |
6 files changed, 155 insertions, 0 deletions
diff --git a/devel/ossp-uuid/DESCR b/devel/ossp-uuid/DESCR new file mode 100644 index 00000000000..13d3e3d7f6e --- /dev/null +++ b/devel/ossp-uuid/DESCR @@ -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 --git a/devel/ossp-uuid/Makefile b/devel/ossp-uuid/Makefile new file mode 100644 index 00000000000..c36bf521bc1 --- /dev/null +++ b/devel/ossp-uuid/Makefile @@ -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 +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 --git a/devel/ossp-uuid/PLIST b/devel/ossp-uuid/PLIST new file mode 100644 index 00000000000..ac50f8078c7 --- /dev/null +++ b/devel/ossp-uuid/PLIST @@ -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 --git a/devel/ossp-uuid/buildlink3.mk b/devel/ossp-uuid/buildlink3.mk new file mode 100644 index 00000000000..17e4cb3c72b --- /dev/null +++ b/devel/ossp-uuid/buildlink3.mk @@ -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 --git a/devel/ossp-uuid/distinfo b/devel/ossp-uuid/distinfo new file mode 100644 index 00000000000..b945ec34de5 --- /dev/null +++ b/devel/ossp-uuid/distinfo @@ -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 --git a/devel/ossp-uuid/patches/patch-aa b/devel/ossp-uuid/patches/patch-aa new file mode 100644 index 00000000000..0c53e15ffa7 --- /dev/null +++ b/devel/ossp-uuid/patches/patch-aa @@ -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 |