Merge pull request #234520 from Janik-Haag/rinetd

rinetd: init at 0.73
This commit is contained in:
0x4A6F 2023-07-08 19:16:08 +02:00 committed by GitHub
commit 1abde93ec3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ lib
, autoreconfHook
, fetchFromGitHub
, rinetd
, stdenv
, testers
}:
stdenv.mkDerivation rec {
pname = "rinetd";
version = "0.73";
src = fetchFromGitHub {
owner = "samhocevar";
repo = "rinetd";
rev = "v${version}";
hash = "sha256-W8PLGd3RwmBTh1kw3k8+ZfP6AzRhZORCkxZzQ9ZbPN4=";
};
nativeBuildInputs = [
autoreconfHook
];
preConfigure = ''
./bootstrap
'';
passthru.tests.version = testers.testVersion {
package = rinetd;
command = "rinetd --version";
};
meta = with lib; {
description = "TCP/UDP port redirector";
homepage = "https://github.com/samhocevar/rinetd";
changelog = "https://github.com/samhocevar/rinetd/blob/${src.rev}/CHANGES.md";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ janik ];
};
}

View file

@ -39242,6 +39242,8 @@ with pkgs;
stdenv = if stdenv.cc.isClang then llvmPackages_5.stdenv else stdenv;
});
rinetd = callPackage ../servers/rinetd { };
rink = callPackage ../applications/science/misc/rink {
inherit (darwin.apple_sdk.frameworks) Security;
};