socklog: 2.1.0 -> 2.1.1 (#414979)

This commit is contained in:
Wolfgang Walther
2025-06-27 22:06:37 +00:00
committed by GitHub
+10 -15
View File
@@ -4,16 +4,16 @@
fetchurl,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "socklog";
version = "2.1.0";
version = "2.1.1";
src = fetchurl {
url = "https://smarden.org/socklog/socklog-${version}.tar.gz";
sha256 = "0mdlmhiq2j2fip7c4l669ams85yc3c1s1d89am7dl170grw9m1ma";
url = "https://smarden.org/socklog/socklog-${finalAttrs.version}.tar.gz";
hash = "sha256-6xk3JB1seyoEArSf/evwIrsvzaPgDBsaF66Lzx5KObo=";
};
sourceRoot = "admin/socklog-${version}";
sourceRoot = "admin/socklog-${finalAttrs.version}";
outputs = [
"out"
@@ -24,11 +24,6 @@ stdenv.mkDerivation rec {
postPatch = ''
# Fails to run as user without supplementary groups
echo "int main() { return 0; }" >src/chkshsgr.c
# Fixup implicit function declarations
sed -i src/pathexec_run.c -e '1i#include <unistd.h>'
sed -i src/prot.c -e '1i#include <unistd.h>' -e '2i#include <grp.h>'
sed -i src/seek_set.c -e '1i#include <unistd.h>'
'';
configurePhase = ''
@@ -55,11 +50,11 @@ stdenv.mkDerivation rec {
doCheck = true;
meta = with lib; {
meta = {
description = "System and kernel logging services";
homepage = "https://smarden.org/socklog/";
license = licenses.publicDomain;
platforms = platforms.unix;
maintainers = [ maintainers.joachifm ];
license = lib.licenses.publicDomain;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ joachifm ];
};
}
})