wvdial: remove
This commit is contained in:
parent
a4647bc33f
commit
dc13376ee2
@ -136,6 +136,12 @@ rmdir /var/lib/ipfs/.ipfs
|
|||||||
being dead and not building with openssl 1.1.
|
being dead and not building with openssl 1.1.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<literal>wvdial</literal> package and module were removed. This is due to the project
|
||||||
|
being dead and not building with openssl 1.1.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<para>Other notable improvements:</para>
|
<para>Other notable improvements:</para>
|
||||||
|
@ -105,7 +105,6 @@
|
|||||||
./programs/venus.nix
|
./programs/venus.nix
|
||||||
./programs/vim.nix
|
./programs/vim.nix
|
||||||
./programs/wireshark.nix
|
./programs/wireshark.nix
|
||||||
./programs/wvdial.nix
|
|
||||||
./programs/xfs_quota.nix
|
./programs/xfs_quota.nix
|
||||||
./programs/xonsh.nix
|
./programs/xonsh.nix
|
||||||
./programs/zsh/oh-my-zsh.nix
|
./programs/zsh/oh-my-zsh.nix
|
||||||
|
@ -1,71 +0,0 @@
|
|||||||
# Global configuration for wvdial.
|
|
||||||
|
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
let
|
|
||||||
|
|
||||||
configFile = ''
|
|
||||||
[Dialer Defaults]
|
|
||||||
PPPD PATH = ${pkgs.ppp}/sbin/pppd
|
|
||||||
${config.environment.wvdial.dialerDefaults}
|
|
||||||
'';
|
|
||||||
|
|
||||||
cfg = config.environment.wvdial;
|
|
||||||
|
|
||||||
in
|
|
||||||
{
|
|
||||||
###### interface
|
|
||||||
|
|
||||||
options = {
|
|
||||||
|
|
||||||
environment.wvdial = {
|
|
||||||
|
|
||||||
dialerDefaults = mkOption {
|
|
||||||
default = "";
|
|
||||||
type = types.str;
|
|
||||||
example = ''Init1 = AT+CGDCONT=1,"IP","internet.t-mobile"'';
|
|
||||||
description = ''
|
|
||||||
Contents of the "Dialer Defaults" section of
|
|
||||||
<filename>/etc/wvdial.conf</filename>.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
pppDefaults = mkOption {
|
|
||||||
default = ''
|
|
||||||
noipdefault
|
|
||||||
usepeerdns
|
|
||||||
defaultroute
|
|
||||||
persist
|
|
||||||
noauth
|
|
||||||
'';
|
|
||||||
type = types.str;
|
|
||||||
description = "Default ppp settings for wvdial.";
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
###### implementation
|
|
||||||
|
|
||||||
config = mkIf (cfg.dialerDefaults != "") {
|
|
||||||
|
|
||||||
environment = {
|
|
||||||
|
|
||||||
etc =
|
|
||||||
[
|
|
||||||
{ source = pkgs.writeText "wvdial.conf" configFile;
|
|
||||||
target = "wvdial.conf";
|
|
||||||
}
|
|
||||||
{ source = pkgs.writeText "wvdial" cfg.pppDefaults;
|
|
||||||
target = "ppp/peers/wvdial";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
@ -1,29 +0,0 @@
|
|||||||
{ stdenv, fetchurl, wvstreams, pkgconfig }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "wvdial-1.61";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "http://wvstreams.googlecode.com/files/${name}.tar.gz";
|
|
||||||
sha256 = "0mzcrv8mc60gbdrixc9k8ammbslvjb9x2cs50yf1jq67aabapzsg";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ wvstreams pkgconfig ];
|
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
find -type f | xargs sed -i 's@/bin/bash@bash@g'
|
|
||||||
export makeFlags="prefix=$out"
|
|
||||||
# not sure about this line
|
|
||||||
sed -i 's@/etc/ppp/peers@$out/etc/ppp/peers@' Makefile.in
|
|
||||||
|
|
||||||
sed -e '1i#include <unistd.h>' -i $(find . -name '*.cc')
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A dialer that automatically recognises the modem";
|
|
||||||
homepage = http://alumnit.ca/wiki/index.php?page=WvDial;
|
|
||||||
license = "LGPL";
|
|
||||||
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
||||||
platforms = stdenv.lib.platforms.linux;
|
|
||||||
};
|
|
||||||
}
|
|
@ -14254,8 +14254,6 @@ with pkgs;
|
|||||||
wireshark-qt = wireshark-cli.override { withQt = true; };
|
wireshark-qt = wireshark-cli.override { withQt = true; };
|
||||||
wireshark = wireshark-qt;
|
wireshark = wireshark-qt;
|
||||||
|
|
||||||
wvdial = callPackage ../os-specific/linux/wvdial { };
|
|
||||||
|
|
||||||
fbida = callPackage ../applications/graphics/fbida { };
|
fbida = callPackage ../applications/graphics/fbida { };
|
||||||
|
|
||||||
fdupes = callPackage ../tools/misc/fdupes { };
|
fdupes = callPackage ../tools/misc/fdupes { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user