Ravenports generated: 18 Sep 2022 02:09
[ravenports.git] / bucket_39 / fuse3
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               fuse3
4 VERSION=                3.12.0
5 KEYWORDS=               sysutils
6 VARIANTS=               standard
7 SDESC[standard]=        File System in Userspace (FUSE) utilities
8 HOMEPAGE=               https://github.com/libfuse/libfuse
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/libfuse:libfuse:fuse-3.12.0
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 NOT_FOR_OPSYS=          dragonfly sunos
21
22 USES=                   cpe meson pkgconfig
23
24 LICENSE=                LGPL21:single
25 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
26 LICENSE_FILE=           LGPL21:{{WRKSRC}}/COPYING.LIB
27 LICENSE_AWK=            TERMS:"pthread.h"
28 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/lib/fuse_misc.h
29 LICENSE_SCHEME=         solo
30
31 CPE_PRODUCT=            fuse
32 CPE_VENDOR=             fuse_project
33 MESON_ARGS=             -Dtests=false
34
35 SOVERSION=              3.12.0
36
37 post-patch:
38         # temporary, remove when 3.4.0 released
39         ${REINPLACE_CMD} -e 's|3.4.0|3.12.0|' ${WRKSRC}/meson.build
40
41 post-install-linux:
42         ${RM} -r ${STAGEDIR}/dev
43         ${MV} ${STAGEDIR}${PREFIX}/etc/fuse.conf ${STAGEDIR}${PREFIX}/etc/fuse.conf.sample
44
45 [FILE:1114:descriptions/desc.single]
46 FUSE (Filesystem in Userspace) is an interface for userspace programs to 
47 export a filesystem to the kernel. The FUSE project consists of two
48 components: the fuse kernel module (maintained by supported operating
49 system) and the libfuse userspace library (the contents of this package).
50 libfuse provides the reference implementation for communicating with the
51 FUSE kernel module.
52
53 A FUSE file system is typically implemented as a standalone application 
54 that links with libfuse. libfuse provides functions to mount the file 
55 system, unmount it, read requests from the kernel, and send responses 
56 back. libfuse offers two APIs: a "high-level", synchronous API, and a 
57 "low-level" asynchronous API. In both cases, incoming requests from the 
58 kernel are passed to the main program using callbacks. When using the 
59 high-level API, the callbacks may work with file names and paths instead 
60 of inodes, and processing of a request finishes when the callback function 
61 returns. When using the low-level API, the callbacks must work with inodes 
62 and responses must be sent explicitly using a separate set of API 
63 functions.
64
65
66 [FILE:113:distinfo]
67 df6cc8807c4fd36b6b0ebef2b738dad6d19a9c7c085ccc3775063688d0bfcc0b       781994 libfuse-libfuse-fuse-3.12.0.tar.gz
68
69
70 [FILE:570:manifests/plist.single]
71 %%ONLY-LINUX%%/etc/init.d/fuse3
72 %%ONLY-LINUX%%/etc/udev/rules.d/99-fuse3.rules
73 %%ONLY-LINUX%%@postunexec rm -f /dev/fuse
74 %%ONLY-LINUX%%@preexec mknod -m 0666 /dev/fuse c 10 229 || true
75 %%ONLY-LINUX%%@sample etc/fuse.conf.sample
76 %%ONLY-LINUX%%bin/fusermount3
77 %%ONLY-LINUX%%sbin/mount.fuse3
78 %%ONLY-LINUX%%share/man/man1/fusermount3.1.gz
79 %%ONLY-LINUX%%share/man/man8/mount.fuse3.8.gz
80 include/fuse3/
81  cuse_lowlevel.h
82  fuse.h
83  fuse_common.h
84  fuse_log.h
85  fuse_lowlevel.h
86  fuse_opt.h
87 lib/
88  libfuse3.so
89  libfuse3.so.%%SOMAJOR%%
90  libfuse3.so.%%SOVERSION%%
91 lib/pkgconfig/fuse3.pc
92
93
94 [FILE:277:patches/patch-lib_mount__bsd.c]
95 --- lib/mount_bsd.c.orig        2022-09-08 10:02:45 UTC
96 +++ lib/mount_bsd.c
97 @@ -19,7 +19,9 @@
98  #include <sys/stat.h>
99  #include <sys/wait.h>
100  #include <sys/sysctl.h>
101 +#if !defined(__NetBSD__)
102  #include <sys/user.h>
103 +#endif
104  #include <stdio.h>
105  #include <stdlib.h>
106  #include <unistd.h>
107
108
109 [FILE:429:patches/patch-meson.build]
110 --- meson.build.orig    2022-09-08 10:02:45 UTC
111 +++ meson.build
112 @@ -48,7 +48,7 @@ endforeach
113  cfg.set('HAVE_SETXATTR', 
114          cc.has_function('setxattr', prefix: '#include <sys/xattr.h>'))
115  cfg.set('HAVE_ICONV', 
116 -        cc.has_function('iconv', prefix: '#include <iconv.h>'))
117 +        cc.has_function('dontuseiconv', prefix: '#include <iconv.h>'))
118  
119  # Test if structs have specific member
120  cfg.set('HAVE_STRUCT_STAT_ST_ATIM',
121
122
123 [FILE:401:patches/patch-util_meson.build]
124 --- util/meson.build.orig       2022-09-08 10:02:45 UTC
125 +++ util/meson.build
126 @@ -16,8 +16,7 @@ executable('mount.fuse3', ['mount.fuse.c
127  
128  udevrulesdir = get_option('udevrulesdir')
129  if udevrulesdir == ''
130 -  udev = dependency('udev')
131 -  udevrulesdir = join_paths(udev.get_pkgconfig_variable('udevdir'), 'rules.d')
132 +  udevrulesdir = '/etc/udev/rules.d'
133  endif
134  
135  meson.add_install_script('install_helper.sh',
136
137
138 [FILE:150:files/pkg-message-single-freebsd]
139 ================ FreeBSD Message ================ 
140 Install the fuse kernel module to use this port.
141 =================================================
142