mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: add fssum tool
fssum is a tool to build a recursive checksum for a file system. The home
repository of fssum is
git://git.kernel.org/pub/scm/linux/kernel/git/arne/far-progs.git
Signed-off-by: Jan Schmidt <list.xfs@jan-o-sch.net>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
aab6d4e47d
commit
df0fd18101
@@ -45,6 +45,7 @@
|
||||
/src/fill
|
||||
/src/fill2
|
||||
/src/fs_perms
|
||||
/src/fssum
|
||||
/src/fstest
|
||||
/src/fsync-tester
|
||||
/src/ftrunc
|
||||
|
||||
Vendored
+1
@@ -44,6 +44,7 @@ m4_include([m4/package_attrdev.m4])
|
||||
m4_include([m4/package_dmapidev.m4])
|
||||
m4_include([m4/package_gdbmdev.m4])
|
||||
m4_include([m4/package_globals.m4])
|
||||
m4_include([m4/package_ssldev.m4])
|
||||
m4_include([m4/package_utilies.m4])
|
||||
m4_include([m4/package_uuiddev.m4])
|
||||
m4_include([m4/package_xfslibs.m4])
|
||||
|
||||
@@ -70,6 +70,7 @@ in
|
||||
AC_PACKAGE_WANT_FALLOCATE
|
||||
AC_PACKAGE_WANT_LINUX_PRCTL_H
|
||||
AC_PACKAGE_WANT_LINUX_FS_H
|
||||
AC_PACKAGE_WANT_SSL
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -61,6 +61,7 @@ ENABLE_SHARED = @enable_shared@
|
||||
HAVE_DB = @have_db@
|
||||
HAVE_AIO = @have_aio@
|
||||
HAVE_FALLOCATE = @have_fallocate@
|
||||
HAVE_SSL = @have_ssl@
|
||||
HAVE_DMAPI = @have_dmapi@
|
||||
HAVE_ATTR_LIST = @have_attr_list@
|
||||
HAVE_FIEMAP = @have_fiemap@
|
||||
|
||||
@@ -16,6 +16,7 @@ LSRCFILES = \
|
||||
package_libcdev.m4 \
|
||||
package_ncurses.m4 \
|
||||
package_pthread.m4 \
|
||||
package_ssldev.m4 \
|
||||
package_types.m4 \
|
||||
package_utilies.m4 \
|
||||
package_uuiddev.m4 \
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
AC_DEFUN([AC_PACKAGE_WANT_SSL],
|
||||
[ AC_CHECK_HEADERS(openssl/md5.h, [ have_ssl=true ], [ have_ssl=false ])
|
||||
AC_SUBST(have_ssl)
|
||||
])
|
||||
@@ -56,6 +56,14 @@ ifeq ($(HAVE_AIO), true)
|
||||
SUBDIRS += aio-dio-regress
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_SSL), true)
|
||||
TARGETS += fssum
|
||||
LLDLIBS += -lssl -lcrypto
|
||||
ifeq ($(PKG_PLATFORM),linux)
|
||||
CFLAGS += -D__LINUX__
|
||||
endif
|
||||
endif
|
||||
|
||||
CFILES = $(TARGETS:=.c)
|
||||
LDIRT = $(TARGETS)
|
||||
|
||||
|
||||
+828
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user