xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/unfs3/unfs3_git.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Userspace NFS server v3 protocol"
2*4882a593SmuzhiyunDESCRIPTION = "UNFS3 is a user-space implementation of the NFSv3 server \
3*4882a593Smuzhiyunspecification. It provides a daemon for the MOUNT and NFS protocols, which \
4*4882a593Smuzhiyunare used by NFS clients for accessing files on the server."
5*4882a593SmuzhiyunHOMEPAGE = "https://github.com/unfs3/unfs3"
6*4882a593SmuzhiyunSECTION = "console/network"
7*4882a593SmuzhiyunLICENSE = "unfs3"
8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunDEPENDS = "flex-native bison-native flex"
11*4882a593SmuzhiyunDEPENDS += "libtirpc"
12*4882a593SmuzhiyunDEPENDS:append:class-nativesdk = " flex-nativesdk"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunASNEEDED = ""
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunS = "${WORKDIR}/git"
17*4882a593SmuzhiyunSRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \
18*4882a593Smuzhiyun           file://unfs3_parallel_build.patch \
19*4882a593Smuzhiyun           file://alternate_rpc_ports.patch \
20*4882a593Smuzhiyun           file://fix_pid_race_parent_writes_child_pid.patch \
21*4882a593Smuzhiyun           file://fix_compile_warning.patch \
22*4882a593Smuzhiyun           file://rename_fh_cache.patch \
23*4882a593Smuzhiyun           file://relative_max_socket_path_len.patch \
24*4882a593Smuzhiyun           file://tcp_no_delay.patch \
25*4882a593Smuzhiyun           file://0001-daemon.c-Libtirpc-porting-fixes.patch \
26*4882a593Smuzhiyun           file://0001-attr-fix-utime-for-symlink.patch \
27*4882a593Smuzhiyun           file://0001-Add-listen-action-for-a-tcp-socket.patch \
28*4882a593Smuzhiyun           file://no-yywrap.patch \
29*4882a593Smuzhiyun          "
30*4882a593SmuzhiyunSRCREV = "c12a5c69a8d59be6916cbd0e0f41c159f1962425"
31*4882a593SmuzhiyunUPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>.+)"
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunPV = "0.9.22+${SRCPV}"
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
36*4882a593Smuzhiyun
37*4882a593Smuzhiyuninherit autotools
38*4882a593SmuzhiyunEXTRA_OECONF:append:class-native = " --sbindir=${bindir}"
39*4882a593SmuzhiyunCFLAGS:append = " -I${STAGING_INCDIR}/tirpc"
40*4882a593SmuzhiyunEXTRA_OECONF:append = " LIBS=-ltirpc"
41*4882a593Smuzhiyun
42*4882a593Smuzhiyun# Turn off these header detects else the inode search
43*4882a593Smuzhiyun# will walk entire file systems and this is a real problem
44*4882a593Smuzhiyun# if you have 2 TB of files to walk in your file system
45*4882a593SmuzhiyunCACHED_CONFIGUREVARS = "ac_cv_header_mntent_h=no ac_cv_header_sys_mnttab_h=no"
46