diff options
| author | Michael Forney <mforney@mforney.org> | 2016-12-11 16:04:20 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-12-13 23:10:30 -0800 |
| commit | 293f5a93b77d92fd65db7f3d0df654f102e46cfb (patch) | |
| tree | 6ecd1170e3dd793862dd852814dc1b4cd5e44260 /extra/libfuse | |
| parent | 9a506a6834df01a26795cea222b410f206efa9fa (diff) | |
Move to flat package hierarchy
Note to self: never try to move submodules again
To migrate your existing submodules (more or less):
set -x
set -e
mkdir .git/modules/pkg
for old in */*/src ; do
new="pkg/${old#*/}"
if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
continue
fi
git -C ".git/modules/$old" config core.worktree "../../../../../$new"
rmdir "$new"
mv "$old" "$new"
sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp"
mv "$new/.git.tmp" "$new/.git"
mkdir ".git/modules/${new%/src}"
mv ".git/modules/$old" ".git/modules/$new"
rm "${old%/src}"/*.ninja
mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
rmdir "${old%/src}" || true
done
sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp
mv .git/config.tmp .git/config
Diffstat (limited to 'extra/libfuse')
| -rw-r--r-- | extra/libfuse/config.h | 22 | ||||
| -rw-r--r-- | extra/libfuse/gen.rc | 33 | ||||
| -rw-r--r-- | extra/libfuse/patch/0001-Fix-poll.h-include.patch | 25 | ||||
| -rw-r--r-- | extra/libfuse/rev | 1 | ||||
| m--------- | extra/libfuse/src | 0 |
5 files changed, 0 insertions, 81 deletions
diff --git a/extra/libfuse/config.h b/extra/libfuse/config.h deleted file mode 100644 index a4dfbf5a..00000000 --- a/extra/libfuse/config.h +++ /dev/null @@ -1,22 +0,0 @@ -#include <config-posix.h> - -#define FUSERMOUNT_DIR "/bin" -#define IGNORE_MTAB - -#define HAVE_MEMORY_H 1 -#define HAVE_SETXATTR 1 -#define HAVE_SPLICE 1 -#define HAVE_STRUCT_STAT_ST_ATIM 1 -/* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC */ -#define HAVE_VMSPLICE 1 -#define ICONV_CONST -/* #undef IGNORE_MTAB */ -#define LT_OBJDIR ".libs/" -#define PACKAGE "fuse" -#define PACKAGE_BUGREPORT "" -#define PACKAGE_NAME "fuse" -#define PACKAGE_STRING "fuse 2.9.7" -#define PACKAGE_TARNAME "fuse" -#define PACKAGE_URL "" -#define PACKAGE_VERSION "2.9.7" -#define VERSION "2.9.7" diff --git a/extra/libfuse/gen.rc b/extra/libfuse/gen.rc deleted file mode 100644 index 096ac3e0..00000000 --- a/extra/libfuse/gen.rc +++ /dev/null @@ -1,33 +0,0 @@ -cflags\ - -D '_FILE_OFFSET_BITS=64' \ - -D 'FUSE_USE_VERSION=26' \ - -I include\ - -I '$dir' \ - -I '$srcdir'/include\ - -I '$srcdir'/lib - -cc lib/mount_util.c - -exe fusermount util/fusermount.c lib/mount_util.c.o -file bin/fusermount '$outdir'/fusermount 4755 -file share/man/man1/fusermount.1 '$srcdir'/doc/fusermount.1 644 - -lib libfuse.a lib/^(\ - fuse.c\ - fuse_kern_chan.c\ - fuse_loop.c\ - fuse_loop_mt.c\ - fuse_lowlevel.c\ - fuse_mt.c\ - fuse_opt.c\ - fuse_session.c\ - fuse_signals.c\ - buffer.c\ - cuse_lowlevel.c\ - helper.c\ - modules/subdir.c\ - \ - mount.c mount_util.c.o\ -) - -fetch git diff --git a/extra/libfuse/patch/0001-Fix-poll.h-include.patch b/extra/libfuse/patch/0001-Fix-poll.h-include.patch deleted file mode 100644 index 193a7b12..00000000 --- a/extra/libfuse/patch/0001-Fix-poll.h-include.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 8926abd905339e40bf096c904d900caa42e3262f Mon Sep 17 00:00:00 2001 -From: Michael Forney <mforney@mforney.org> -Date: Fri, 15 Jul 2016 19:21:28 -0700 -Subject: [PATCH] Fix poll.h include - ---- - lib/mount.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/mount.c b/lib/mount.c -index 227a408..0fc7d15 100644 ---- a/lib/mount.c -+++ b/lib/mount.c -@@ -20,7 +20,7 @@ - #include <string.h> - #include <fcntl.h> - #include <errno.h> --#include <sys/poll.h> -+#include <poll.h> - #include <sys/socket.h> - #include <sys/un.h> - #include <sys/wait.h> --- -2.9.1 - diff --git a/extra/libfuse/rev b/extra/libfuse/rev deleted file mode 100644 index 0cfbf088..00000000 --- a/extra/libfuse/rev +++ /dev/null @@ -1 +0,0 @@ -2 diff --git a/extra/libfuse/src b/extra/libfuse/src deleted file mode 160000 -Subproject df499bf1ce634f6e67d4d366c4475d32143f00f |
