mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
Merge pull request #14182 from NeQuissimus/pppscripts
ppp: Include convenience scripts
This commit is contained in:
commit
a66a64cedc
@ -22,6 +22,16 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ libpcap ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
make install
|
||||
install -D -m 755 scripts/{pon,poff,plog} $out/bin
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
substituteInPlace $out/bin/{pon,poff,plog} --replace "/usr/sbin" "$out/bin"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://ppp.samba.org/;
|
||||
description = "Point-to-point implementation for Linux and Solaris";
|
||||
|
Loading…
Reference in New Issue
Block a user