Ravenports generated: 10 Sep 2024 22:00
[ravenports.git] / bucket_2A / dosfstools
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               dosfstools
4 VERSION=                4.2
5 REVISION=               1
6 KEYWORDS=               sysutils
7 VARIANTS=               std
8 SDESC[std]=             DOS filesystem utilities
9 HOMEPAGE=               https://github.com/dosfstools/dosfstools
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            https://github.com/dosfstools/dosfstools/releases/download/v4.2/
14 DISTFILE[1]=            dosfstools-4.2.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[std]=             set
17                         primary
18                         docs
19                         man
20
21 OPTIONS_AVAILABLE=      none
22 OPTIONS_STANDARD=       none
23
24 USES=                   cpe iconv
25
26 LICENSE=                GPLv3+:primary
27 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
28 LICENSE_FILE=           GPLv3+:{{WRKSRC}}/COPYING
29 LICENSE_AWK=            TERMS:"_FAT_H"
30 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/fat.h
31 LICENSE_SCHEME=         solo
32
33 CPE_VENDOR=             dosfstools_project
34
35 MUST_CONFIGURE=         gnu
36
37 [FILE:128:descriptions/desc.primary]
38 dosfstools consists of the programs mkfs.fat, fsck.fat and fatlabel to
39 create, check and label file systems of the FAT family. 
40
41
42 [FILE:100:distinfo]
43 64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527       320917 dosfstools-4.2.tar.gz
44
45
46 [FILE:36:manifests/plist.primary]
47 sbin/
48  fatlabel
49  fsck.fat
50  mkfs.fat
51
52
53 [FILE:214:manifests/plist.docs]
54 share/doc/dosfstools/
55  ANNOUNCE.mkdosfs
56  COPYING
57  ChangeLog
58  ChangeLog.dosfsck
59  ChangeLog.dosfstools-2.x
60  ChangeLog.mkdosfs
61  NEWS
62  README
63  README.dosfsck
64  README.dosfstools-2.x
65  README.mkdosfs
66  TODO.dosfstools-2.x
67
68
69 [FILE:52:manifests/plist.man]
70 share/man/man8/
71  fatlabel.8
72  fsck.fat.8
73  mkfs.fat.8
74
75
76 [FILE:742:patches/patch-src_blkdev_blkdev.c]
77 --- src/blkdev/blkdev.c.orig    2021-01-31 12:49:12 UTC
78 +++ src/blkdev/blkdev.c
79 @@ -7,7 +7,9 @@
80  #include <sys/types.h>
81  #include <sys/stat.h>
82  #include <sys/ioctl.h>
83 +#if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
84  #include <sys/sysmacros.h>
85 +#endif
86  #include <unistd.h>
87  #include <stdint.h>
88  #include <stdio.h>
89 @@ -137,6 +139,7 @@ blkdev_get_size(int fd, unsigned long lo
90  #endif /* FDGETPRM */
91  
92  #ifdef HAVE_SYS_DISKLABEL_H
93 +# if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
94         {
95                 /*
96                  * This code works for FreeBSD 4.11 i386, except for the full device
97 @@ -164,6 +167,7 @@ blkdev_get_size(int fd, unsigned long lo
98                         }
99                 }
100         }
101 +# endif
102  #endif /* HAVE_SYS_DISKLABEL_H */
103  
104         {
105
106
107 [FILE:572:patches/patch-src_device__info.c]
108 --- src/device_info.c.orig      2021-01-31 12:49:12 UTC
109 +++ src/device_info.c
110 @@ -24,7 +24,9 @@
111  #include <sys/types.h>
112  #include <sys/stat.h>
113  #include <sys/ioctl.h>
114 +#if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
115  #include <sys/sysmacros.h>
116 +#endif
117  
118  #ifdef HAVE_LINUX_LOOP_H
119  #include <linux/loop.h>
120 @@ -334,7 +336,11 @@ int is_device_mounted(const char *path)
121  #endif
122  
123  #if HAVE_DECL_GETMNTINFO
124 +# ifdef __NetBSD__
125 +    struct statvfs *stat;
126 +# else
127      struct statfs *stat;
128 +# endif
129      int count, i;
130  
131      count = getmntinfo(&stat, 0);
132