pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libvolume_id Import libvolume_id version 0.81.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c87077023ff
branches:  trunk
changeset: 550462:1c87077023ff
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sat Nov 22 13:48:23 2008 +0000

description:
Import libvolume_id version 0.81.0.

Libvolume_id is an API for obtaining many file system related attributes
(such as type, label, uuid, etc.) given an open file handle to a block
special device.

diffstat:

 devel/libvolume_id/DESCR            |   3 +++
 devel/libvolume_id/Makefile         |  28 ++++++++++++++++++++++++++++
 devel/libvolume_id/PLIST            |   6 ++++++
 devel/libvolume_id/buildlink3.mk    |  19 +++++++++++++++++++
 devel/libvolume_id/distinfo         |   9 +++++++++
 devel/libvolume_id/patches/patch-aa |  13 +++++++++++++
 devel/libvolume_id/patches/patch-ab |  13 +++++++++++++
 devel/libvolume_id/patches/patch-ac |  13 +++++++++++++
 devel/libvolume_id/patches/patch-ad |  13 +++++++++++++
 9 files changed, 117 insertions(+), 0 deletions(-)

diffs (153 lines):

diff -r aadd7c86d37a -r 1c87077023ff devel/libvolume_id/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvolume_id/DESCR  Sat Nov 22 13:48:23 2008 +0000
@@ -0,0 +1,3 @@
+Libvolume_id is an API for obtaining many file system related attributes
+(such as type, label, uuid, etc.) given an open file handle to a block
+special device.
diff -r aadd7c86d37a -r 1c87077023ff devel/libvolume_id/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvolume_id/Makefile       Sat Nov 22 13:48:23 2008 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/11/22 13:48:23 jmcneill Exp $
+#
+
+DISTNAME=              libvolume_id-0.81.0
+CATEGORIES=            sysutils
+MASTER_SITES=          http://www.marcuscom.com/downloads/
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            jmcneill%NetBSD.org@localhost
+HOMEPAGE=              ${MASTER_SITES}
+COMMENT=               Library to provide file system type information
+
+USE_TOOLS+=            gmake pkg-config ranlib
+
+MAKE_ENV+=             E=@${ECHO}
+MAKE_ENV+=             RANLIB=ranlib
+MAKE_ENV+=             AR=ar
+MAKE_ENV+=             Q=@
+MAKE_ENV+=             prefix=${PREFIX}
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/libvolume_id.pc ${PREFIX}/lib/pkgconfig/libvolume_id.pc
+       ${INSTALL_DATA} ${WRKSRC}/libvolume_id.h ${PREFIX}/include/libvolume_id.h
+       ${INSTALL_DATA} ${WRKSRC}/libvolume_id.a ${PREFIX}/lib/libvolume_id.a
+       ${INSTALL_LIB} ${WRKSRC}/libvolume_id.so.0 ${PREFIX}/lib/libvolume_id.so.0
+       ${LN} -sf ${PREFIX}/lib/libvolume_id.so.0 ${PREFIX}/lib/libvolume_id.so
+
+.include "../../mk/bsd.pkg.mk"
diff -r aadd7c86d37a -r 1c87077023ff devel/libvolume_id/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvolume_id/PLIST  Sat Nov 22 13:48:23 2008 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/22 13:48:23 jmcneill Exp $
+include/libvolume_id.h
+lib/libvolume_id.a
+lib/libvolume_id.so
+lib/libvolume_id.so.0
+lib/pkgconfig/libvolume_id.pc
diff -r aadd7c86d37a -r 1c87077023ff devel/libvolume_id/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvolume_id/buildlink3.mk  Sat Nov 22 13:48:23 2008 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/11/22 13:48:23 jmcneill Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+LIBVOLUME_ID_BUILDLINK3_MK:=   ${LIBVOLUME_ID_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    libvolume_id
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibvolume_id}
+BUILDLINK_PACKAGES+=   libvolume_id
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libvolume_id
+
+.if ${LIBVOLUME_ID_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libvolume_id+=   libvolume_id>=0.81.0
+BUILDLINK_PKGSRCDIR.libvolume_id?=     ../../devel/libvolume_id
+.endif # LIBVOLUME_ID_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH:S/+$//}
diff -r aadd7c86d37a -r 1c87077023ff devel/libvolume_id/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvolume_id/distinfo       Sat Nov 22 13:48:23 2008 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/11/22 13:48:23 jmcneill Exp $
+
+SHA1 (libvolume_id-0.81.0.tar.bz2) = e6d61d734dab9a305637ba8379ca04df3fd4e398
+RMD160 (libvolume_id-0.81.0.tar.bz2) = f0dfe8aab157f155b242eff6e20b29c65bb279b5
+Size (libvolume_id-0.81.0.tar.bz2) = 23274 bytes
+SHA1 (patch-aa) = a73ca47d5dd062c2619de353da9f60a9e7f334e8
+SHA1 (patch-ab) = 4a51941fb877063c93305ab2d6d76a372ccacef3
+SHA1 (patch-ac) = 73019864a4ccea304b94f6b311b06791ceacd8d9
+SHA1 (patch-ad) = 1ca679e53d59aab3e7a2edca5bb15f62e5237879
diff -r aadd7c86d37a -r 1c87077023ff devel/libvolume_id/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvolume_id/patches/patch-aa       Sat Nov 22 13:48:23 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/11/22 13:48:23 jmcneill Exp $
+
+--- ddf_raid.c.orig    2008-11-22 08:33:28.000000000 -0500
++++ ddf_raid.c
+@@ -22,7 +22,7 @@
+ #include <string.h>
+ #include <errno.h>
+ #include <ctype.h>
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <sys/endian.h>
+ #else
+ #include <byteswap.h>
diff -r aadd7c86d37a -r 1c87077023ff devel/libvolume_id/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvolume_id/patches/patch-ab       Sat Nov 22 13:48:23 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/11/22 13:48:23 jmcneill Exp $
+
+--- linux_raid.c.orig  2008-11-22 08:33:51.000000000 -0500
++++ linux_raid.c
+@@ -22,7 +22,7 @@
+ #include <string.h>
+ #include <errno.h>
+ #include <ctype.h>
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <sys/endian.h>
+ #else
+ #include <byteswap.h>
diff -r aadd7c86d37a -r 1c87077023ff devel/libvolume_id/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvolume_id/patches/patch-ac       Sat Nov 22 13:48:23 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2008/11/22 13:48:23 jmcneill Exp $
+
+--- util.c.orig        2008-11-22 08:34:15.000000000 -0500
++++ util.c
+@@ -28,7 +28,7 @@
+ #include "libvolume_id.h"
+ #include "util.h"
+ 
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ static size_t strnlen (const char *s, size_t maxlen)
+ {
+       size_t i;
diff -r aadd7c86d37a -r 1c87077023ff devel/libvolume_id/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libvolume_id/patches/patch-ad       Sat Nov 22 13:48:23 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2008/11/22 13:48:23 jmcneill Exp $
+
+--- util.h.orig        2008-11-22 08:32:52.000000000 -0500
++++ util.h
+@@ -19,7 +19,7 @@
+ #  include <config.h>
+ #endif
+ 
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <sys/endian.h>
+ 
+ #define __BYTE_ORDER            _BYTE_ORDER



Home | Main Index | Thread Index | Old Index