diff options
author | markd <markd@pkgsrc.org> | 2011-01-08 20:40:33 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2011-01-08 20:40:33 +0000 |
commit | 05c6827476400a86581f4f31070ab90db94d1447 (patch) | |
tree | 35bb954074cbf8f1de37277c9be0fe50da795394 /devel/libuuid | |
parent | 770f3129d6498114cda1de0e84f6e24e5d18268d (diff) | |
download | pkgsrc-05c6827476400a86581f4f31070ab90db94d1447.tar.gz |
Initial import libuuid 2.18
The UUID library is used to generate unique identifiers for objects
that may be accessible beyond the local system. This library
generates UUIDs compatible with those created by the Open Software
Foundation (OSF) Distributed Computing Environment (DCE) utility
uuidgen.
The UUIDs generated by this library can be reasonably expected to be
unique within a system, and unique across all systems. They could
be used, for instance, to generate unique HTTP cookies across multiple
web servers without communication between the servers, and without fear
of a name clash.
From util-linux-ng.
Diffstat (limited to 'devel/libuuid')
-rw-r--r-- | devel/libuuid/DESCR | 13 | ||||
-rw-r--r-- | devel/libuuid/Makefile | 39 | ||||
-rw-r--r-- | devel/libuuid/PLIST | 15 | ||||
-rw-r--r-- | devel/libuuid/buildlink3.mk | 12 | ||||
-rw-r--r-- | devel/libuuid/distinfo | 7 | ||||
-rw-r--r-- | devel/libuuid/patches/patch-aa | 54 | ||||
-rw-r--r-- | devel/libuuid/patches/patch-ab | 17 |
7 files changed, 157 insertions, 0 deletions
diff --git a/devel/libuuid/DESCR b/devel/libuuid/DESCR new file mode 100644 index 00000000000..e28b03606b1 --- /dev/null +++ b/devel/libuuid/DESCR @@ -0,0 +1,13 @@ +The UUID library is used to generate unique identifiers for objects +that may be accessible beyond the local system. This library +generates UUIDs compatible with those created by the Open Software +Foundation (OSF) Distributed Computing Environment (DCE) utility +uuidgen. + +The UUIDs generated by this library can be reasonably expected to be +unique within a system, and unique across all systems. They could +be used, for instance, to generate unique HTTP cookies across multiple +web servers without communication between the servers, and without fear +of a name clash. + +From util-linux-ng. diff --git a/devel/libuuid/Makefile b/devel/libuuid/Makefile new file mode 100644 index 00000000000..54a143b8e5c --- /dev/null +++ b/devel/libuuid/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/01/08 20:40:33 markd Exp $ +# + +DISTNAME= util-linux-ng-2.18 +PKGNAME= libuuid-2.18 +CATEGORIES= devel +MASTER_SITES= http://www.kernel.org/pub/linux/utils/util-linux-ng/v2.18/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://kernel.org/~kzak/util-linux-ng/ +COMMENT= Generate unique identifiers for objects +LICENSE= modified-bsd + +CONFLICTS= ossp-uuid-[0-9]* # libuuid.* uuid.pc uuid.3 + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +PKGCONFIG_OVERRIDE+= shlibs/uuid/uuid.pc.in + +CONFIGURE_ARGS+= --without-ncurses +CONFIGURE_ARGS+= --disable-mount +CONFIGURE_ARGS+= --disable-fsck +CONFIGURE_ARGS+= --disable-uuidd +CONFIGURE_ARGS+= --disable-libblkid +CONFIGURE_ARGS+= --disable-libmount +CONFIGURE_ARGS+= --disable-agetty +CONFIGURE_ARGS+= --disable-cramfs +CONFIGURE_ARGS+= --disable-switch_root +CONFIGURE_ARGS+= --disable-pivot_root +CONFIGURE_ARGS+= --disable-fallocate +CONFIGURE_ARGS+= --disable-unshare +CONFIGURE_ARGS+= --disable-rename +CONFIGURE_ARGS+= --disable-schedutils +CONFIGURE_ARGS+= --disable-wall + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/libuuid/PLIST b/devel/libuuid/PLIST new file mode 100644 index 00000000000..59fc304274a --- /dev/null +++ b/devel/libuuid/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/01/08 20:40:33 markd Exp $ +include/uuid/uuid.h +lib/libuuid.la +lib/pkgconfig/uuid.pc +man/man3/uuid.3 +man/man3/uuid_clear.3 +man/man3/uuid_compare.3 +man/man3/uuid_copy.3 +man/man3/uuid_generate.3 +man/man3/uuid_generate_random.3 +man/man3/uuid_generate_time.3 +man/man3/uuid_is_null.3 +man/man3/uuid_parse.3 +man/man3/uuid_time.3 +man/man3/uuid_unparse.3 diff --git a/devel/libuuid/buildlink3.mk b/devel/libuuid/buildlink3.mk new file mode 100644 index 00000000000..eb0be3e8943 --- /dev/null +++ b/devel/libuuid/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/01/08 20:40:33 markd Exp $ + +BUILDLINK_TREE+= libuuid + +.if !defined(LIBUUID_BUILDLINK3_MK) +LIBUUID_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libuuid+= libuuid>=2.18 +BUILDLINK_PKGSRCDIR.libuuid?= ../../devel/libuuid +.endif # LIBUUID_BUILDLINK3_MK + +BUILDLINK_TREE+= -libuuid diff --git a/devel/libuuid/distinfo b/devel/libuuid/distinfo new file mode 100644 index 00000000000..72679eab254 --- /dev/null +++ b/devel/libuuid/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/01/08 20:40:33 markd Exp $ + +SHA1 (util-linux-ng-2.18.tar.bz2) = 154db0512caae0b6e90eee4b7312d4caf3d6b978 +RMD160 (util-linux-ng-2.18.tar.bz2) = 4781871a8f86195b886e81d364d41a57d67869e3 +Size (util-linux-ng-2.18.tar.bz2) = 7669676 bytes +SHA1 (patch-aa) = 83f8038278928899def6db0f28e3f13b78effbc4 +SHA1 (patch-ab) = bb5caeb2308fd0009d5fce20f7cea96dcdf609c7 diff --git a/devel/libuuid/patches/patch-aa b/devel/libuuid/patches/patch-aa new file mode 100644 index 00000000000..a9c19b6f33e --- /dev/null +++ b/devel/libuuid/patches/patch-aa @@ -0,0 +1,54 @@ +$NetBSD: patch-aa,v 1.1.1.1 2011/01/08 20:40:33 markd Exp $ + +sh doesn't like the empty case + +--- configure.orig 2010-06-30 12:53:01.000000000 +0000 ++++ configure +@@ -18952,11 +18952,6 @@ sed 's/^/| /' conftest.$ac_ext >&5 + + + syscall=no +- if test "x$linux_os" = xyes; then +- case $host_cpu in +- +- esac +- fi + + fi + +@@ -19082,11 +19077,6 @@ sed 's/^/| /' conftest.$ac_ext >&5 + + + syscall=no +- if test "x$linux_os" = xyes; then +- case $host_cpu in +- +- esac +- fi + + fi + +@@ -19489,11 +19479,6 @@ sed 's/^/| /' conftest.$ac_ext >&5 + + + syscall=no +- if test "x$linux_os" = xyes; then +- case $host_cpu in +- +- esac +- fi + + fi + +@@ -19701,11 +19686,6 @@ sed 's/^/| /' conftest.$ac_ext >&5 + + + syscall=no +- if test "x$linux_os" = xyes; then +- case $host_cpu in +- +- esac +- fi + + fi + diff --git a/devel/libuuid/patches/patch-ab b/devel/libuuid/patches/patch-ab new file mode 100644 index 00000000000..ecee7f4d720 --- /dev/null +++ b/devel/libuuid/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1.1.1 2011/01/08 20:40:33 markd Exp $ + +Dont try to build things we don't care about + +--- Makefile.in.orig 2010-06-30 12:53:07.000000000 +0000 ++++ Makefile.in +@@ -311,8 +311,8 @@ ul_libmount_la = $(top_builddir)/shlibs/ + + # mount.h is generated by ./configure script and stored in build directory + ul_libmount_incdir = $(ul_libmount_builddir) +-SUBDIRS = include disk-utils fdisk getopt lib shlibs login-utils \ +- misc-utils po schedutils sys-utils text-utils tests \ ++SUBDIRS = include shlibs \ ++ po \ + $(am__append_1) $(am__append_2) $(am__append_3) + RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o \ + -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o |