Ravenports generated: 25 Nov 2019 17:36
[ravenports.git] / bucket_2F / libvolume_id
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libvolume_id
4 VERSION=                0.81.1
5 KEYWORDS=               devel
6 VARIANTS=               standard
7 SDESC[standard]=        Library to provide file system type information
8 HOMEPAGE=               none
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            http://www.marcuscom.com/downloads/
13 DISTFILE[1]=            libvolume_id-0.81.1.tar.bz2:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 USES=                   gmake
21
22 LICENSE=                GPLv2:single
23 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
24 LICENSE_FILE=           GPLv2:stock
25 LICENSE_AWK=            TERMS:"^$$"
26 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/libvolume_id.h
27 LICENSE_SCHEME=         solo
28
29 FPC_EQUIVALENT=         devel/libvolume_id
30
31 INVALID_RPATH=          yes
32
33 MAKE_ENV=               E={{TRUE}}
34                         RANLIB=ranlib
35                         AR={{AR}}
36                         Q=
37                         prefix={{PREFIX}}
38
39 [FILE:173:descriptions/desc.single]
40 Libvolume_id is a library that provides file system information for a 
41 given volume device (like file system type, label, etc.). It supports all 
42 of the major file systems.
43
44
45 [FILE:106:distinfo]
46 45bb18e80b456499d26a5d2f2fc222be990d256590a7cafc4354f7de36013f09        23399 libvolume_id-0.81.1.tar.bz2
47
48
49 [FILE:94:manifests/plist.single]
50 include/libvolume_id.h
51 lib/
52  libvolume_id.so
53  libvolume_id.so.0
54 lib/pkgconfig/libvolume_id.pc
55
56
57 [FILE:341:patches/patch-ddf__raid.c]
58 --- ddf_raid.c.orig     2007-12-27 01:05:32 UTC
59 +++ ddf_raid.c
60 @@ -22,9 +22,9 @@
61  #include <string.h>
62  #include <errno.h>
63  #include <ctype.h>
64 -#ifdef __FreeBSD__
65 +#if defined(__FreeBSD__) || defined(__DragonFly__)
66  #include <sys/endian.h>
67 -#else
68 +#elif !defined(__APPLE__) && !defined(__sun__)
69  #include <byteswap.h>
70  #endif /* __FreeBSD__ */
71  
72
73
74 [FILE:345:patches/patch-linux__raid.c]
75 --- linux_raid.c.orig   2007-12-27 01:03:43 UTC
76 +++ linux_raid.c
77 @@ -22,9 +22,9 @@
78  #include <string.h>
79  #include <errno.h>
80  #include <ctype.h>
81 -#ifdef __FreeBSD__
82 +#if defined(__FreeBSD__) || defined(__DragonFly__)
83  #include <sys/endian.h>
84 -#else
85 +#elif !defined(__APPLE__) && !defined(__sun__)
86  #include <byteswap.h>
87  #endif /* __FreeBSD__ */
88  
89
90
91 [FILE:378:patches/patch-util.c]
92 --- util.c.orig 2009-03-02 18:17:35 UTC
93 +++ util.c
94 @@ -28,9 +28,9 @@
95  #include "libvolume_id.h"
96  #include "util.h"
97  
98 -#ifdef __FreeBSD__
99 +#if defined(__FreeBSD__) || defined(__DragonFly__)
100  #include <sys/param.h>
101 -#if __FreeBSD_version < 800067
102 +#if __FreeBSD_version < 800067 && __DragonFly_version < 200202
103  static size_t strnlen (const char *s, size_t maxlen)
104  {
105         size_t i;
106
107
108 [FILE:1170:patches/patch-util.h]
109 --- util.h.orig 2007-12-27 00:51:05 UTC
110 +++ util.h
111 @@ -19,7 +19,7 @@
112  #  include <config.h>
113  #endif
114  
115 -#ifdef __FreeBSD__
116 +#if defined(__FreeBSD__) || defined(__DragonFly__)
117  #include <sys/endian.h>
118  
119  #define __BYTE_ORDER            _BYTE_ORDER
120 @@ -29,6 +29,33 @@
121  #define bswap_16                bswap16
122  #define bswap_32                bswap32
123  #define bswap_64                bswap64
124 +#elif defined(__APPLE__)
125 +#include <machine/endian.h>
126 +#include <libkern/OSByteOrder.h>
127 +
128 +#define __BYTE_ORDER            BYTE_ORDER
129 +#define __LITTLE_ENDIAN         LITTLE_ENDIAN
130 +#define __BIG_ENDIAN            BIG_ENDIAN
131 +
132 +#define bswap_16                OSSwapInt16
133 +#define bswap_32                OSSwapInt32
134 +#define bswap_64                OSSwapInt64
135 +#elif defined(__sun__)
136 +#include <sys/isa_defs.h>
137 +#include <sys/byteorder.h>
138 +
139 +#define __LITTLE_ENDIAN                1234
140 +#define __BIG_ENDIAN           4321
141 +#if defined(_BIG_ENDIAN)
142 +#define        __BYTE_ORDER            __BIG_ENDIAN
143 +#elif defined(_LITTLE_ENDIAN)
144 +#define __BYTE_ORDER           __LITTLE_ENDIAN
145 +#endif
146 +
147 +#define bswap_16               BSWAP_16
148 +#define bswap_32               BSWAP_32
149 +#define bswap_64               BSWAP_64
150 +
151  #else
152  #include <endian.h>
153  #include <byteswap.h>
154