Unverified Commit e68d6a61 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

lockfile-progs: rename from lockfileProgs (#488479)

parents f8ecc5f6 2548deea
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  lib,
  stdenv,
  fetchurl,
  lockfileProgs,
  lockfile-progs,
  perlPackages,
}:

@@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
    substituteInPlace src/logtail --replace "/usr/bin/perl" "${perlPackages.perl}/bin/perl"
    substituteInPlace src/logtail2 --replace "/usr/bin/perl" "${perlPackages.perl}/bin/perl"

    sed -i -e 's|! -f /usr/bin/lockfile|! -f ${lockfileProgs}/bin/lockfile|' \
           -e 's|^\([ \t]*\)lockfile-|\1${lockfileProgs}/bin/lockfile-|' \
    sed -i -e 's|! -f /usr/bin/lockfile|! -f ${lockfile-progs}/bin/lockfile|' \
           -e 's|^\([ \t]*\)lockfile-|\1${lockfile-progs}/bin/lockfile-|' \
           -e "s|/usr/sbin/logtail2|$out/sbin/logtail2|" \
           -e 's|mime-construct|${perlPackages.mimeConstruct}/bin/mime-construct|' \
           -e 's|\$(run-parts --list "\$dir")|"$dir"/*|' src/logcheck
+3 −3
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
  libassuan,
  libgcrypt,
  perlPackages,
  lockfileProgs,
  lockfile-progs,
  gnupg,
  coreutils,
  # For the tests:
@@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
      cpio
      hexdump
      procps
      lockfileProgs
      lockfile-progs
    ]
    ++ (with perlPackages; [
      CryptOpenSSLRSA
@@ -111,7 +111,7 @@ stdenv.mkDerivation rec {
      wrapPrograms = runtimeDeps: programs: lib.concatMapStrings (wrapMonkeysphere runtimeDeps) programs;
    in
    wrapPrograms [ gnupg ] [ "monkeysphere-authentication" "monkeysphere-host" ]
    + wrapPrograms [ gnupg lockfileProgs ] [ "monkeysphere" ]
    + wrapPrograms [ gnupg lockfile-progs ] [ "monkeysphere" ]
    + ''
      # These 4 programs depend on the program name ($0):
      for program in openpgp2pem openpgp2spki openpgp2ssh pem2openpgp; do
+1 −0
Original line number Diff line number Diff line
@@ -1207,6 +1207,7 @@ mapAliases {
  llvmPackages_15 = throw "llvmPackages_15 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-12
  llvmPackages_16 = throw "llvmPackages_16 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09
  llvmPackages_17 = throw "llvmPackages_17 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09
  lockfileProgs = warnAlias "'lockfileProgs' has been renamed to 'lockfile-progs'" lockfile-progs; # Added 2026-02-08
  loco-cli = throw "'loco-cli' has been renamed to/replaced by 'loco'"; # Converted to throw 2025-10-27
  log4j-detect = throw "'log4j-detect' has been removed, as it was unmaintained upstream and no longer relevant given that the Log4Shell vulnerability has been fixed."; # Added 2025-11-15
  log4j-scan = throw "'log4j-scan' has been removed, as it was unmaintained upstream and no longer relevant given that the Log4Shell vulnerability has been fixed."; # Added 2025-11-15