openafs: Fix configure option; Add tools

--with-gssapi is usually not used anymore and is replaced by --with-krb5

Add tools that handle volume dumps; search, list and extract files from
them.
This commit is contained in:
Michael Raitza 2023-03-08 18:25:34 +01:00
parent f9e3269e49
commit a411a116a5

View File

@ -77,7 +77,7 @@ stdenv.mkDerivation {
configureFlagsArray=( configureFlagsArray=(
"--with-gssapi" "--with-krb5"
"--sysconfdir=/etc" "--sysconfdir=/etc"
"--localstatedir=/var" "--localstatedir=/var"
"--disable-kernel-module" "--disable-kernel-module"
@ -108,6 +108,8 @@ stdenv.mkDerivation {
cp "doc/xml/''${d}"/*.html "$doc/share/doc/openafs/''${d}" cp "doc/xml/''${d}"/*.html "$doc/share/doc/openafs/''${d}"
done done
cp src/tools/dumpscan/{afsdump_dirlist,afsdump_extract,afsdump_scan,dumptool} $out/bin
rm -r $out/lib/openafs rm -r $out/lib/openafs
'' + optionalString withDevdoc '' '' + optionalString withDevdoc ''
mkdir -p $devdoc/share/devhelp/openafs/doxygen mkdir -p $devdoc/share/devhelp/openafs/doxygen