From 3bcd44957dcdcf4b80d7891662ffcdea004974c6 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Mon, 1 Jul 2019 11:53:09 +0300 Subject: unfs3: Switch to new upstream location This uses the same code revision in the new repository. (From OE-Core rev: c7d9991b7536233f33226a729edaf3ba816abc73) Signed-off-by: Adrian Bunk Signed-off-by: Richard Purdie --- meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb | 47 ------------------------ meta/recipes-devtools/unfs3/unfs3_git.bb | 38 +++++++++++++++++++ 2 files changed, 38 insertions(+), 47 deletions(-) delete mode 100644 meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb create mode 100644 meta/recipes-devtools/unfs3/unfs3_git.bb diff --git a/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb b/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb deleted file mode 100644 index 5a81a8fdb1..0000000000 --- a/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb +++ /dev/null @@ -1,47 +0,0 @@ -SUMMARY = "Userspace NFS server v3 protocol" -SECTION = "console/network" -LICENSE = "unfs3" -LIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e" - -# SVN support for upstream version check isn't implemented yet -RECIPE_UPSTREAM_VERSION = "0.9.22.r497" -RECIPE_UPSTREAM_DATE = "Oct 08, 2015" -CHECK_DATE = "Dec 10, 2015" - -DEPENDS = "flex-native bison-native flex" -DEPENDS += "libtirpc" -DEPENDS_append_class-nativesdk = " flex-nativesdk" - -ASNEEDED = "" - -MOD_PV = "497" -S = "${WORKDIR}/trunk" -# Only subversion url left in OE-Core, use a mirror tarball instead since -# this rarely changes. -# svn://svn.code.sf.net/p/unfs3/code;module=trunk;rev=${MOD_PV};protocol=http -# rename the tarball in mirror to avoid clash with user local svn tarball -SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/unfs3-0.9.22.r497.tar.gz \ - file://unfs3_parallel_build.patch \ - file://alternate_rpc_ports.patch \ - file://fix_pid_race_parent_writes_child_pid.patch \ - file://fix_compile_warning.patch \ - file://rename_fh_cache.patch \ - file://relative_max_socket_path_len.patch \ - file://tcp_no_delay.patch \ - file://0001-daemon.c-Libtirpc-porting-fixes.patch \ - file://0001-attr-fix-utime-for-symlink.patch \ - " -SRC_URI[md5sum] = "2e43e471c77ade0331901c40b8f8e9a3" -SRC_URI[sha256sum] = "21009468a9ba07b72ea93780d025a63ab4e55bf8fc3127803c296f0900fe1bac" - -BBCLASSEXTEND = "native nativesdk" - -inherit autotools -EXTRA_OECONF_append_class-native = " --sbindir=${bindir}" -CFLAGS_append = " -I${STAGING_INCDIR}/tirpc" -LDFLAGS_append = " -ltirpc" - -# Turn off these header detects else the inode search -# will walk entire file systems and this is a real problem -# if you have 2 TB of files to walk in your file system -CACHED_CONFIGUREVARS = "ac_cv_header_mntent_h=no ac_cv_header_sys_mnttab_h=no" diff --git a/meta/recipes-devtools/unfs3/unfs3_git.bb b/meta/recipes-devtools/unfs3/unfs3_git.bb new file mode 100644 index 0000000000..4b2cd5f2ce --- /dev/null +++ b/meta/recipes-devtools/unfs3/unfs3_git.bb @@ -0,0 +1,38 @@ +SUMMARY = "Userspace NFS server v3 protocol" +SECTION = "console/network" +LICENSE = "unfs3" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e" + +DEPENDS = "flex-native bison-native flex" +DEPENDS += "libtirpc" +DEPENDS_append_class-nativesdk = " flex-nativesdk" + +ASNEEDED = "" + +S = "${WORKDIR}/git" +SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https \ + file://unfs3_parallel_build.patch \ + file://alternate_rpc_ports.patch \ + file://fix_pid_race_parent_writes_child_pid.patch \ + file://fix_compile_warning.patch \ + file://rename_fh_cache.patch \ + file://relative_max_socket_path_len.patch \ + file://tcp_no_delay.patch \ + file://0001-daemon.c-Libtirpc-porting-fixes.patch \ + file://0001-attr-fix-utime-for-symlink.patch \ + " +SRCREV = "c12a5c69a8d59be6916cbd0e0f41c159f1962425" + +PV = "0.9.22+${SRCPV}" + +BBCLASSEXTEND = "native nativesdk" + +inherit autotools +EXTRA_OECONF_append_class-native = " --sbindir=${bindir}" +CFLAGS_append = " -I${STAGING_INCDIR}/tirpc" +LDFLAGS_append = " -ltirpc" + +# Turn off these header detects else the inode search +# will walk entire file systems and this is a real problem +# if you have 2 TB of files to walk in your file system +CACHED_CONFIGUREVARS = "ac_cv_header_mntent_h=no ac_cv_header_sys_mnttab_h=no" -- cgit v1.2.3-54-g00ecf