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