lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

fsverity-utils: init at 1.5

+80
+51
pkgs/os-specific/linux/fsverity-utils/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchgit 4 + , openssl 5 + , enableShared ? !stdenv.hostPlatform.isStatic 6 + , enableManpages ? false 7 + , pandoc 8 + }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "fsverity-utils"; 12 + version = "1.5"; 13 + 14 + outputs = [ "out" "lib" "dev" ] ++ lib.optional enableManpages "man"; 15 + 16 + src = fetchgit { 17 + url = "https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git"; 18 + rev = "v${version}"; 19 + sha256 = "sha256-ygBOkp2PBe8Z2ak6SXEJ6HHuT4NRKmIsbJDHcY+h8PQ="; 20 + }; 21 + 22 + patches = lib.optionals (!enableShared) [ 23 + ./remove-dynamic-libs.patch 24 + ]; 25 + 26 + enableParallelBuilding = true; 27 + strictDeps = true; 28 + 29 + nativeBuildInputs = lib.optional enableManpages pandoc; 30 + buildInputs = [ openssl ]; 31 + 32 + makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ] ++ lib.optional enableShared "USE_SHARED_LIB=1"; 33 + 34 + doCheck = true; 35 + 36 + installTargets = [ "install" ] ++ lib.optional enableManpages "install-man"; 37 + 38 + postInstall = '' 39 + mkdir -p $lib 40 + mv $out/lib $lib/lib 41 + ''; 42 + 43 + meta = with lib; { 44 + homepage = "https://www.kernel.org/doc/html/latest/filesystems/fsverity.html#userspace-utility"; 45 + changelog = "https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git/tree/NEWS.md"; 46 + description = "A set of userspace utilities for fs-verity"; 47 + license = licenses.mit; 48 + maintainers = with maintainers; [ jk ]; 49 + platforms = platforms.linux; 50 + }; 51 + }
+27
pkgs/os-specific/linux/fsverity-utils/remove-dynamic-libs.patch
··· 1 + diff --git a/Makefile b/Makefile 2 + index 2304a21..697ccd4 100644 3 + --- a/Makefile 4 + +++ b/Makefile 5 + @@ -149,13 +149,11 @@ libfsverity.so.$(SOVERSION):$(SHARED_LIB_OBJ) 6 + $(QUIET_CCLD) $(CC) -o $@ -Wl,-soname=$@ -shared $+ \ 7 + $(CFLAGS) $(LDFLAGS) $(LDLIBS) 8 + 9 + -DEFAULT_TARGETS += libfsverity.so.$(SOVERSION) 10 + 11 + # Create the symlink libfsverity.so => libfsverity.so.$(SOVERSION) 12 + libfsverity.so:libfsverity.so.$(SOVERSION) 13 + $(QUIET_LN) ln -sf $+ $@ 14 + 15 + -DEFAULT_TARGETS += libfsverity.so 16 + 17 + ############################################################################## 18 + 19 + @@ -263,8 +261,6 @@ install:all 20 + install -d $(DESTDIR)$(LIBDIR)/pkgconfig $(DESTDIR)$(INCDIR) $(DESTDIR)$(BINDIR) 21 + install -m755 $(FSVERITY) $(DESTDIR)$(BINDIR) 22 + install -m644 libfsverity.a $(DESTDIR)$(LIBDIR) 23 + - install -m755 libfsverity.so.$(SOVERSION) $(DESTDIR)$(LIBDIR) 24 + - ln -sf libfsverity.so.$(SOVERSION) $(DESTDIR)$(LIBDIR)/libfsverity.so 25 + install -m644 include/libfsverity.h $(DESTDIR)$(INCDIR) 26 + sed -e "s|@PREFIX@|$(PREFIX)|" \ 27 + -e "s|@LIBDIR@|$(LIBDIR)|" \
+2
pkgs/top-level/all-packages.nix
··· 22950 22950 # unstable until the first 1.x release 22951 22951 fscrypt-experimental = callPackage ../os-specific/linux/fscrypt { }; 22952 22952 22953 + fsverity-utils = callPackage ../os-specific/linux/fsverity-utils { }; 22954 + 22953 22955 fwanalyzer = callPackage ../tools/filesystems/fwanalyzer { }; 22954 22956 22955 22957 fwupd = callPackage ../os-specific/linux/firmware/fwupd { };