Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pkgs/by-name/au/audit/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,10 @@ stdenv.mkDerivation (finalAttrs: {
"auparse"
];
platforms = lib.platforms.linux;
identifiers.cpeParts =
lib.meta.cpeFullVersionWithVendor "linux_audit_project" finalAttrs.version
// {
product = "linux_audit";
};
};
})
5 changes: 5 additions & 0 deletions pkgs/by-name/bo/boehmgc/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,10 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.boehmGC;
maintainers = [ ];
platforms = lib.platforms.all;
identifiers.cpeParts =
lib.meta.cpeFullVersionWithVendor "boehm-demers-weiser" finalAttrs.version
// {
product = "garbage_collector";
};
};
})
3 changes: 3 additions & 0 deletions pkgs/by-name/ca/cacert/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ let
lukegb
];
license = lib.licenses.mpl20;
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "mozilla" version // {
product = "nss";
};
};
certdata = stdenv.mkDerivation {
pname = "nss-cacert-certdata";
Expand Down
1 change: 1 addition & 0 deletions pkgs/by-name/li/libcap_ng/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@ stdenv.mkDerivation (finalAttrs: {
platforms = lib.platforms.linux;
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ grimmauld ];
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "libcap-ng_project" finalAttrs.version;
};
})
1 change: 1 addition & 0 deletions pkgs/by-name/lo/logrotate/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = [ lib.maintainers.tobim ];
platforms = lib.platforms.all;
mainProgram = "logrotate";
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "logrotate_project" finalAttrs.version;
};
})
1 change: 1 addition & 0 deletions pkgs/by-name/op/openresolv/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.bsd2;
maintainers = [ ];
platforms = lib.platforms.unix;
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "openresolv_project" finalAttrs.version;
};
})
1 change: 1 addition & 0 deletions pkgs/by-name/sh/shadow/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ mdaniels5757 ];
platforms = lib.platforms.linux;
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "shadow_project" finalAttrs.version;
};

passthru = {
Expand Down
2 changes: 2 additions & 0 deletions pkgs/by-name/ut/util-linux/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -254,5 +254,7 @@ stdenv.mkDerivation (finalAttrs: {
"uuid"
];
priority = 6; # lower priority than coreutils ("kill") and shadow ("login" etc.) packages

identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "kernel" finalAttrs.version;
};
})
2 changes: 1 addition & 1 deletion pkgs/development/compilers/gcc/common/meta.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ in
teams = [ teams.gcc ];
mainProgram = "${targetPrefix}gcc";

identifiers.cpeParts.vendor = "gnu";
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "gnu" version;
}
4 changes: 4 additions & 0 deletions pkgs/development/compilers/llvm/common/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,10 @@ stdenv.mkDerivation (
widely used in academic research. Code in the LLVM project is licensed
under the "Apache 2.0 License with LLVM exceptions".
'';
identifiers.cpeParts = llvm_meta.identifiers.cpeParts // {
inherit version;
update = "*";
};
};
}
// lib.optionalAttrs enableManpages {
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/libraries/acl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ stdenv.mkDerivation rec {
homepage = "https://savannah.nongnu.org/projects/acl";
description = "Library and tools for manipulating access control lists";
license = lib.licenses.gpl2Plus;
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "acl_project" version;
};
}
1 change: 1 addition & 0 deletions pkgs/development/libraries/attr/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@ stdenv.mkDerivation rec {
platforms = lib.platforms.linux;
badPlatforms = lib.platforms.microblaze;
license = lib.licenses.gpl2Plus;
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "attr_project" version;
};
}
1 change: 1 addition & 0 deletions pkgs/development/libraries/glibc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,6 @@ in

meta = (previousAttrs.meta or { }) // {
description = "GNU C Library";
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "gnu" previousAttrs.passthru.minorRelease;
};
})
1 change: 1 addition & 0 deletions pkgs/os-specific/linux/busybox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,6 @@ stdenv.mkDerivation rec {
];
platforms = lib.platforms.linux;
priority = 15; # below systemd (halt, init, poweroff, reboot) and coreutils
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "busybox" version;
};
}
1 change: 1 addition & 0 deletions pkgs/tools/misc/findutils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,6 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.gpl3Plus;
mainProgram = "find";
maintainers = [ lib.maintainers.mdaniels5757 ];
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "gnu" finalAttrs.version;
};
})
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ stdenv.mkDerivation (finalAttrs: {
"nix-util"
"nix-util-c"
];
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "nixos" version;
};

})
3 changes: 3 additions & 0 deletions pkgs/tools/text/gnugrep/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ stdenv.mkDerivation {
];
platforms = lib.platforms.all;
mainProgram = "grep";
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "gnu" version // {
product = "grep";
};
};

passthru = {
Expand Down
Loading