wvdial: remove

This commit is contained in:
Robin Gloster 2017-08-01 23:38:48 +02:00
parent a4647bc33f
commit dc13376ee2
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882
5 changed files with 6 additions and 103 deletions

View File

@ -136,6 +136,12 @@ rmdir /var/lib/ipfs/.ipfs
being dead and not building with openssl 1.1.
</para>
</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>
<para>Other notable improvements:</para>

View File

@ -105,7 +105,6 @@
./programs/venus.nix
./programs/vim.nix
./programs/wireshark.nix
./programs/wvdial.nix
./programs/xfs_quota.nix
./programs/xonsh.nix
./programs/zsh/oh-my-zsh.nix

View File

@ -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";
}
];
};
};
}

View File

@ -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;
};
}

View File

@ -14254,8 +14254,6 @@ with pkgs;
wireshark-qt = wireshark-cli.override { withQt = true; };
wireshark = wireshark-qt;
wvdial = callPackage ../os-specific/linux/wvdial { };
fbida = callPackage ../applications/graphics/fbida { };
fdupes = callPackage ../tools/misc/fdupes { };