lol

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
7267016c 8dba4175

+156 -480
+6
maintainers/maintainer-list.nix
··· 11838 11838 githubId = 3992240; 11839 11839 name = "Elijah Rum"; 11840 11840 }; 11841 + x3ro = { 11842 + name = "^x3ro"; 11843 + email = "nix@x3ro.dev"; 11844 + github = "x3rAx"; 11845 + githubId = 2268851; 11846 + }; 11841 11847 xaverdh = { 11842 11848 email = "hoe.dom@gmx.de"; 11843 11849 github = "xaverdh";
-1
nixos/modules/module-list.nix
··· 874 874 ./services/networking/wasabibackend.nix 875 875 ./services/networking/websockify.nix 876 876 ./services/networking/wg-quick.nix 877 - ./services/networking/wicd.nix 878 877 ./services/networking/wireguard.nix 879 878 ./services/networking/wpa_supplicant.nix 880 879 ./services/networking/xandikos.nix
+1
nixos/modules/rename.nix
··· 27 27 (mkRemovedOptionModule [ "services" "mesos" ] "The corresponding package was removed from nixpkgs.") 28 28 (mkRemovedOptionModule [ "services" "winstone" ] "The corresponding package was removed from nixpkgs.") 29 29 (mkRemovedOptionModule [ "networking" "vpnc" ] "Use environment.etc.\"vpnc/service.conf\" instead.") 30 + (mkRemovedOptionModule [ "networking" "wicd" ] "The corresponding package was removed from nixpkgs.") 30 31 (mkRemovedOptionModule [ "environment" "blcr" "enable" ] "The BLCR module has been removed") 31 32 (mkRemovedOptionModule [ "services" "beegfsEnable" ] "The BeeGFS module has been removed") 32 33 (mkRemovedOptionModule [ "services" "beegfs" ] "The BeeGFS module has been removed")
-40
nixos/modules/services/networking/wicd.nix
··· 1 - { config, lib, pkgs, ... }: 2 - 3 - with lib; 4 - 5 - { 6 - 7 - ###### interface 8 - 9 - options = { 10 - 11 - networking.wicd.enable = mkOption { 12 - type = types.bool; 13 - default = false; 14 - description = '' 15 - Whether to start <command>wicd</command>. Wired and 16 - wireless network configurations can then be managed by 17 - wicd-client. 18 - ''; 19 - }; 20 - }; 21 - 22 - 23 - ###### implementation 24 - 25 - config = mkIf config.networking.wicd.enable { 26 - 27 - environment.systemPackages = [pkgs.wicd]; 28 - 29 - systemd.services.wicd = { 30 - after = [ "network-pre.target" ]; 31 - before = [ "network.target" ]; 32 - wants = [ "network.target" ]; 33 - wantedBy = [ "multi-user.target" ]; 34 - script = "${pkgs.wicd}/sbin/wicd -f"; 35 - }; 36 - 37 - services.dbus.enable = true; 38 - services.dbus.packages = [pkgs.wicd]; 39 - }; 40 - }
+3 -3
pkgs/applications/misc/taskopen/default.nix
··· 1 1 { fetchurl, lib, stdenv, makeWrapper, which, perl, perlPackages }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "taskopen-1.1.4"; 4 + name = "taskopen-1.1.5"; 5 5 src = fetchurl { 6 - url = "https://github.com/ValiValpas/taskopen/archive/v1.1.4.tar.gz"; 7 - sha256 = "774dd89f5c92462098dd6227e181268e5ec9930bbc569f25784000df185c71ba"; 6 + url = "https://github.com/ValiValpas/taskopen/archive/v1.1.5.tar.gz"; 7 + sha256 = "sha256-7fncdt1wCJ4zNLrCf93yRFD8Q4XQ3DCJ1+zJg9Gcl3w="; 8 8 }; 9 9 10 10 nativeBuildInputs = [ makeWrapper ];
+5
pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
··· 1 + # Update instructions: 2 + # 3 + # To update `thunderbird-bin`'s `release_sources.nix`, run from the nixpkgs root: 4 + # 5 + # nix-shell maintainers/scripts/update.nix --argstr package pkgs.firefox-bin-unwrapped 1 6 { stdenv, lib, fetchurl, config, makeWrapper 2 7 , alsa-lib 3 8 , at-spi2-atk
+2 -2
pkgs/applications/networking/mailreaders/thunderbird/packages.nix
··· 44 44 45 45 thunderbird-78 = common rec { 46 46 pname = "thunderbird"; 47 - version = "78.13.0"; 47 + version = "78.14.0"; 48 48 application = "comm/mail"; 49 49 binaryName = pname; 50 50 src = fetchurl { 51 51 url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz"; 52 - sha512 = "daee9ea9e57bdfce231a35029807f279a06f8790d71efc8998c78eb42d99a93cf98623170947df99202da038f949ba9111a7ff7adbd43c161794deb6791370a0"; 52 + sha512 = "0zan30jvv45pd6i59l2kfyfjwivqk5qq6vyf77xhss2dk8qhk3mfrfxpfbkrab676l14b9hs09nr6ni1h1iwn82zx5k7fx5x8sh5dx6"; 53 53 }; 54 54 patches = [ 55 55 ./no-buildconfig-78.patch
+2 -2
pkgs/applications/video/kodi-packages/inputstreamhelper/default.nix
··· 2 2 buildKodiAddon rec { 3 3 pname = "inputstreamhelper"; 4 4 namespace = "script.module.inputstreamhelper"; 5 - version = "0.5.5+matrix.1"; 5 + version = "0.5.8+matrix.1"; 6 6 7 7 src = fetchzip { 8 8 url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; 9 - sha256 = "0y4xn3ygwv1kb7gya7iwdga0g9sa89snpnram0wwqzqn8wn2lyb4"; 9 + sha256 = "xdsUzmz8ji9JcYLEUFWwvXq0Oig5i08VPQD93K8R9hk="; 10 10 }; 11 11 12 12 passthru = {
+2 -2
pkgs/applications/video/kodi-packages/youtube/default.nix
··· 3 3 buildKodiAddon rec { 4 4 pname = "youtube"; 5 5 namespace = "plugin.video.youtube"; 6 - version = "6.8.14+matrix.1"; 6 + version = "6.8.17+matrix.1"; 7 7 8 8 src = fetchzip { 9 9 url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; 10 - sha256 = "1a18whh3fisprwipwhxf26kc958sxhwpvs8pxwq2sq96vr7b4xq7"; 10 + sha256 = "AuYoUyv0DDtHnxFiNl3AF5jrMjuNRXdlJvw7d7b+yh8="; 11 11 }; 12 12 13 13 propagatedBuildInputs = [
+2 -2
pkgs/development/compilers/fstar/default.nix
··· 17 17 18 18 stdenv.mkDerivation rec { 19 19 pname = "fstar"; 20 - version = "2021.08.27"; 20 + version = "2021.09.11"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "FStarLang"; 24 24 repo = "FStar"; 25 25 rev = "v${version}"; 26 - sha256 = "1bf5hrv2nv0ljvdf6jhk59lw1ds3j5qkkcylgxwakylw30g8rxqb"; 26 + sha256 = "1aqk6fx77zcb7mcm78dk4l4zzd323qiv7yc7hvc38494yf6gk8a0"; 27 27 }; 28 28 29 29 nativeBuildInputs = [ makeWrapper installShellFiles ];
+2 -2
pkgs/development/libraries/libsigcxx/3.0.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "libsigc++"; 12 - version = "3.0.6"; 12 + version = "3.0.7"; 13 13 14 14 src = fetchurl { 15 15 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 16 - sha256 = "tw7c9GEWUcVKQm4QmxcZbh+hfaCQWSpQAOLRNMA6xc4="; 16 + sha256 = "v76RwNCU6mu8bL05CbfZjGVh7qi22cDCWt2Qam6D1zM="; 17 17 }; 18 18 19 19 nativeBuildInputs = [
+3
pkgs/development/python-modules/mitmproxy/default.nix
··· 112 112 disabledTests = [ 113 113 # Tests require a git repository 114 114 "test_get_version" 115 + # https://github.com/mitmproxy/mitmproxy/commit/36ebf11916704b3cdaf4be840eaafa66a115ac03 116 + # Tests require terminal 117 + "test_integration" 115 118 ]; 116 119 117 120 pythonImportsCheck = [ "mitmproxy" ];
+2 -2
pkgs/development/tools/sslmate/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "sslmate"; 5 - version = "1.7.1"; 5 + version = "1.8.0"; 6 6 7 7 src = fetchurl { 8 8 url = "https://packages.sslmate.com/other/${pname}-${version}.tar.gz"; 9 - sha256 = "1i56za41cfqlml9g787xqqs0r8jifd3y7ks9nf4k2dhhi4rijkj5"; 9 + sha256 = "sha256-A1TkGi6b1psWflN0ogM1r/pYSVXcOi6aQEb6xtOsAsk="; 10 10 }; 11 11 12 12 makeFlags = [ "PREFIX=$(out)" ];
+1 -1
pkgs/os-specific/linux/sysdig/default.nix
··· 31 31 NIX_CFLAGS_COMPILE = "-DluaL_reg=luaL_Reg -DluaL_getn(L,i)=((int)lua_objlen(L,i))"; 32 32 33 33 preConfigure = '' 34 - cmakeFlagsArray+=(-DCMAKE_EXE_LINKER_FLAGS="-ltbb -lcurl") 34 + cmakeFlagsArray+=(-DCMAKE_EXE_LINKER_FLAGS="-ltbb -lcurl -labsl_synchronization") 35 35 36 36 export INSTALL_MOD_PATH="$out" 37 37 '' + optionalString (kernel != null) ''
+2 -2
pkgs/servers/sql/mariadb/default.nix
··· 95 95 rm "$out"/bin/{mariadb_config,mysql_config} 96 96 rm -r $out/include 97 97 rm -r $out/lib/pkgconfig 98 - rm -r $out/share/aclocal 98 + rm -rf "$out"/share/aclocal 99 99 ''; 100 100 101 101 passthru.mysqlVersion = "5.7"; ··· 135 135 ]; 136 136 137 137 postInstall = common.postInstall + '' 138 - rm -r "$out"/share/doc 138 + rm -rf "$out"/share/doc 139 139 rm "$out"/bin/{mysqltest,mytop} 140 140 libmysqlclient_path=$(readlink -f $out/lib/libmysqlclient${libExt}) 141 141 rm "$out"/lib/{libmariadb${libExt},libmysqlclient${libExt},libmysqlclient_r${libExt}}
+33
pkgs/tools/backup/zfs-autobackup/default.nix
··· 1 + { lib, python3Packages }: 2 + 3 + let 4 + pythonPackages = python3Packages; 5 + 6 + in 7 + pythonPackages.buildPythonApplication rec { 8 + pname = "zfs_autobackup"; 9 + version = "3.1"; 10 + 11 + src = pythonPackages.fetchPypi { 12 + inherit pname version; 13 + sha256 = "42c22001717b3d7cfdae6297fedc11b2dd1eb2a4bd25b6bb1c9232dd3b70ad67"; 14 + }; 15 + 16 + # argparse is part of the standardlib 17 + prePatch = '' 18 + substituteInPlace setup.py --replace "argparse" "" 19 + ''; 20 + 21 + propagatedBuildInputs = with pythonPackages; [ colorama ]; 22 + 23 + # tests need zfs filesystem 24 + doCheck = false; 25 + pythonImportsCheck = [ "colorama" "argparse" ]; 26 + 27 + meta = with lib; { 28 + homepage = "https://github.com/psy0rz/zfs_autobackup"; 29 + description = "ZFS backup, replicationand snapshot tool"; 30 + license = licenses.gpl3Only; 31 + maintainers = with maintainers; [ mschneider ]; 32 + }; 33 + }
+81
pkgs/tools/networking/linux-router/default.nix
··· 1 + { stdenv, lib, fetchFromGitHub, makeWrapper 2 + 3 + # --- Runtime Dependencies --- 4 + , bash, procps, iproute2, dnsmasq, iptables 5 + , coreutils, flock, gawk, getopt, gnugrep, gnused, which 6 + # `nmcli` is not required for create_ap. 7 + # Use NetworkManager by default because it is very likely already present 8 + , useNetworkManager ? true 9 + , networkmanager 10 + 11 + # --- WiFi Hotspot Dependencies --- 12 + , useWifiDependencies ? true 13 + , hostapd, iw 14 + # You only need this if 'iw' can not recognize your adapter. 15 + , useWirelessTools ? true 16 + , wirelesstools # for iwconfig 17 + # To fall back to haveged if entropy is low. 18 + # Defaulting to false because not having it does not break things. 19 + # If it is really needed, warnings will be logged to journal. 20 + , useHaveged ? false 21 + , haveged 22 + # You only need this if you wish to show WiFi QR codes in terminal 23 + , useQrencode ? true 24 + , qrencode 25 + }: 26 + 27 + stdenv.mkDerivation rec { 28 + pname = "linux-router"; 29 + version = "0.6.2"; 30 + 31 + src = fetchFromGitHub { 32 + owner = "garywill"; 33 + repo = "linux-router"; 34 + rev = "${version}"; 35 + sha256 = "193bnlwmjxsk0cri6xdylf218qayldn02pdnppvbd39ls361776z"; 36 + }; 37 + 38 + nativeBuildInputs = [ makeWrapper ]; 39 + 40 + dontBuild = true; 41 + 42 + installPhase = with lib; let 43 + binPath = makeBinPath ([ procps iproute2 getopt bash dnsmasq 44 + iptables coreutils which flock gnugrep gnused gawk ] 45 + ++ optional useNetworkManager networkmanager 46 + ++ optional useWifiDependencies hostapd 47 + ++ optional useWifiDependencies iw 48 + ++ optional (useWifiDependencies && useWirelessTools) wirelesstools 49 + ++ optional (useWifiDependencies && useHaveged) haveged 50 + ++ optional (useWifiDependencies && useQrencode) qrencode); 51 + in 52 + '' 53 + mkdir -p $out/bin/ $out/.bin-wrapped 54 + mv lnxrouter $out/.bin-wrapped/lnxrouter 55 + makeWrapper $out/.bin-wrapped/lnxrouter $out/bin/lnxrouter --prefix PATH : ${binPath} 56 + ''; 57 + 58 + meta = with lib; { 59 + homepage = "https://github.com/garywill/linux-router"; 60 + description = "Set Linux as router / Wifi hotspot / proxy in one command"; 61 + longDescription = '' 62 + Features: 63 + 64 + - Create a NATed sub-network 65 + - Provide Internet 66 + - DHCP server and RA 67 + - DNS server 68 + - IPv6 (behind NATed LAN, like IPv4) 69 + - Creating Wifi hotspot: 70 + - Channel selecting 71 + - Choose encryptions: WPA2/WPA, WPA2, WPA, No encryption 72 + - Create AP on the same interface you are getting Internet (require same channel) 73 + - Transparent proxy (redsocks) 74 + - DNS proxy 75 + - Compatible with NetworkManager (automatically set interface as unmanaged) 76 + ''; 77 + license = licenses.lgpl21; 78 + maintainers = with maintainers; [ x3ro ]; 79 + platforms = platforms.linux; 80 + }; 81 + }
+2 -2
pkgs/tools/networking/networkmanager/libnma/default.nix
··· 24 24 25 25 stdenv.mkDerivation rec { 26 26 pname = "libnma"; 27 - version = "1.8.30"; 27 + version = "1.8.32"; 28 28 29 29 outputs = [ "out" "dev" "devdoc" ]; 30 30 31 31 src = fetchurl { 32 32 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 33 - sha256 = "1d5gzn7ss5vi0bhc8s4i5gsrck1ajslajam5jxfqazg094mffcys"; 33 + sha256 = "Cle5Oi+tQ6zHY/Mg3Tp6k8QpsOMRjfpUnWeCTN3E6QU="; 34 34 }; 35 35 36 36 patches = [
-121
pkgs/tools/networking/wicd/default.nix
··· 1 - { lib, stdenv, fetchurl, python2Packages 2 - , wpa_supplicant, dhcp, dhcpcd, wirelesstools 3 - , nettools, openresolv, iproute2, iputils }: 4 - 5 - let 6 - inherit (python2Packages) python pygobject2 dbus-python pyGtkGlade pycairo; 7 - in stdenv.mkDerivation rec { 8 - pname = "wicd"; 9 - version = "1.7.2.4"; 10 - 11 - src = fetchurl { 12 - url = "https://launchpad.net/wicd/1.7/${version}/+download/${pname}-${version}.tar.gz"; 13 - sha256 = "15ywgh60xzmp5z8l1kzics7yi95isrjg1paz42dvp7dlpdfzpzfw"; 14 - }; 15 - 16 - buildInputs = with python2Packages; [ 17 - python Babel urwid notify 18 - ]; 19 - 20 - patches = [ 21 - ./no-var-install.patch 22 - ./pygtk.patch 23 - ./no-optimization.patch 24 - ./dhclient.patch 25 - ./fix-app-icon.patch 26 - ./fix-gtk-issues.patch 27 - ./urwid-api-update.patch 28 - ./fix-curses.patch 29 - ]; 30 - 31 - # Should I be using pygtk's propagated build inputs? 32 - # !!! Should use makeWrapper. 33 - postPatch = '' 34 - # We don't have "python2". 35 - substituteInPlace wicd/wicd-daemon.py --replace 'misc.find_path("python2")' "'${python.interpreter}'" 36 - 37 - substituteInPlace in/scripts=wicd.in --subst-var-by TEMPLATE-DEFAULT $out/share/other/dhclient.conf.template.default 38 - 39 - sed -i "2iexport PATH=${lib.makeBinPath [ python wpa_supplicant dhcpcd dhcp wirelesstools nettools nettools iputils openresolv iproute2 ]}\$\{PATH:+:\}\$PATH" in/scripts=wicd.in 40 - sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pygobject2}):$(toPythonPath ${dbus-python})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd.in 41 - sed -i "2iexport PATH=${python}/bin\$\{PATH:+:\}\$PATH" in/scripts=wicd-client.in 42 - sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject2}):$(toPythonPath ${pygobject2})/gtk-2.0:$(toPythonPath ${pycairo}):$(toPythonPath ${dbus-python})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-client.in 43 - sed -i "2iexport PATH=${python}/bin\$\{PATH:+:\}\$PATH" in/scripts=wicd-gtk.in 44 - sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject2}):$(toPythonPath ${pygobject2})/gtk-2.0:$(toPythonPath ${pycairo}):$(toPythonPath ${dbus-python}):$(toPythonPath ${python2Packages.notify})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-gtk.in 45 - sed -i "2iexport PATH=${python}/bin\$\{PATH:+:\}\$PATH" in/scripts=wicd-cli.in 46 - sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject2}):$(toPythonPath ${pycairo}):$(toPythonPath ${dbus-python})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-cli.in 47 - sed -i "2iexport PATH=${python}/bin\$\{PATH:+:\}\$PATH" in/scripts=wicd-curses.in 48 - sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject2}):$(toPythonPath ${pycairo}):$(toPythonPath ${dbus-python}):$(toPythonPath ${python2Packages.urwid})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-curses.in 49 - rm po/ast.po 50 - ''; 51 - 52 - configurePhase = '' 53 - python setup.py configure \ 54 - --lib=$out/lib/ \ 55 - --share=$out/share/ \ 56 - --etc=/var/lib/wicd/ \ 57 - --scripts=$out/etc/scripts/ \ 58 - --pixmaps=$out/share/pixmaps/ \ 59 - --images=$out/share/pixmaps/wicd/ \ 60 - --encryption=$out/etc/encryption/templates/ \ 61 - --bin=$out/bin/ \ 62 - --sbin=$out/sbin/ \ 63 - --backends=$out/share/backends/ \ 64 - --daemon=$out/share/daemon/ \ 65 - --curses=$out/share/curses/ \ 66 - --gtk=$out/share/gtk/ \ 67 - --cli=$out/share/cli/ \ 68 - --networks=/var/lib/wicd/configurations/ \ 69 - --resume=$out/etc/acpi/resume.d/ \ 70 - --suspend=$out/etc/acpi/suspend.d/ \ 71 - --pmutils=$out/lib/pm-utils/sleep.d/ \ 72 - --dbus=$out/etc/dbus-1/system.d/ \ 73 - --dbus-service=$out/etc/dbus-1/system-services/ \ 74 - --systemd=$out/lib/systemd/ \ 75 - --logrotate=$out/etc/logrotate.d/ \ 76 - --desktop=$out/share/applications/ \ 77 - --icons=$out/share/icons/hicolor/ \ 78 - --translations=$out/share/locale/ \ 79 - --autostart=$out/etc/xdg/autostart/ \ 80 - --varlib=$out/var/lib/ \ 81 - --docdir=$out/share/doc/ \ 82 - --mandir=$out/share/man/ \ 83 - --kdedir=$out/share/autostart/ \ 84 - --python=${python}/bin/python \ 85 - --distro=nix \ 86 - --wicdgroup=users \ 87 - --no-install-init \ 88 - --no-install-kde \ 89 - --no-install-acpi \ 90 - --no-install-pmutils \ 91 - ''; 92 - 93 - installPhase = '' 94 - python setup.py install --prefix=$out --install-lib=$out/${python.sitePackages} 95 - mkdir -p $out/share/other 96 - cp other/dhclient.conf.template.default $out/share/other/dhclient.conf.template.default 97 - 98 - # Add a template for "WPA2 Enterprise" encryption as used, e.g., by the 99 - # Eduroam network. Taken and adapted from 100 - # <http://wicd.net/punbb/viewtopic.php?id=87>. 101 - cp -v "${./wpa2-ttls}" "$out/etc/encryption/templates/wpa2-ttls" 102 - echo "wpa2-ttls" >> "$out/etc/encryption/templates/active" 103 - ''; 104 - 105 - meta = with lib; { 106 - homepage = "http://wicd.net/"; 107 - description = "A wiredless and wired network manager"; 108 - longDescription='' 109 - A complete network connection manager 110 - Wicd supports wired and wireless networks, and capable of 111 - creating and tracking profiles for both. It has a 112 - template-based wireless encryption system, which allows the user 113 - to easily add encryption methods used. It ships with some common 114 - encryption types, such as WPA and WEP. Wicd will automatically 115 - connect at startup to any preferred network within range. 116 - ''; 117 - maintainers = [ maintainers.roconnor ]; 118 - license = licenses.gpl2; 119 - platforms = platforms.linux; 120 - }; 121 - }
-120
pkgs/tools/networking/wicd/dhclient.patch
··· 1 - diff -ruN wicd-1.7.2.4.orig/wicd/wicd-daemon.py wicd-1.7.2.4/wicd/wicd-daemon.py 2 - --- wicd-1.7.2.4.orig/wicd/wicd-daemon.py 2013-06-22 18:55:02.641242947 +0000 3 - +++ wicd-1.7.2.4/wicd/wicd-daemon.py 2013-06-22 18:58:33.990244153 +0000 4 - @@ -69,6 +69,7 @@ 5 - wireless_conf = os.path.join(wpath.etc, "wireless-settings.conf") 6 - wired_conf = os.path.join(wpath.etc, "wired-settings.conf") 7 - dhclient_conf = os.path.join(wpath.etc, "dhclient.conf.template") 8 - +dhclient_conf_default = os.path.join(wpath.share, "other", "dhclient.conf.template.default") 9 - 10 - class WicdDaemon(dbus.service.Object): 11 - """ The main wicd daemon class. 12 - @@ -910,7 +911,7 @@ 13 - 14 - if not os.path.isfile(dhclient_conf): 15 - print "dhclient.conf.template not found, copying..." 16 - - shutil.copy(dhclient_conf + ".default", dhclient_conf) 17 - + shutil.copy(dhclient_conf_default, dhclient_conf) 18 - # Hide the files, so the keys aren't exposed. 19 - print "chmoding configuration files 0600..." 20 - os.chmod(app_conf.get_config(), 0600)diff -ruN wicd-1.7.2.4.orig/wicd/wnettools.py wicd-1.7.2.4/wicd/wnettools.py 21 - --- wicd-1.7.2.4.orig/wicd/wnettools.py 2013-03-30 21:47:19.804907552 +0000 22 - +++ wicd-1.7.2.4/wicd/wnettools.py 2013-03-31 08:44:37.572792110 +0000 23 - @@ -37,6 +37,7 @@ 24 - import time 25 - from string import maketrans, translate 26 - 27 - +import tempfile 28 - import wpath 29 - import misc 30 - from misc import find_path 31 - @@ -216,6 +217,7 @@ 32 - self.flush_tool = None 33 - self.link_detect = None 34 - self.dhcp_object = None 35 - + self.dhclient_conf_path = None; 36 - 37 - def SetDebugMode(self, value): 38 - """ If True, verbose output is enabled. """ 39 - @@ -277,12 +279,6 @@ 40 - cmd = "" 41 - return (client, cmd) 42 - 43 - - # probably /var/lib/wicd/dhclient.conf with defaults 44 - - dhclient_conf_path = os.path.join( 45 - - wpath.varlib, 46 - - 'dhclient.conf' 47 - - ) 48 - - 49 - client_dict = { 50 - "dhclient" : 51 - {'connect' : r"%(cmd)s -cf %(dhclientconf)s %(iface)s", 52 - @@ -307,41 +303,44 @@ 53 - } 54 - (client_name, cmd) = get_client_name(self.DHCP_CLIENT) 55 - 56 - - # cause dhclient doesn't have a handy dandy argument 57 - - # for specifing the hostname to be sent 58 - - if client_name == "dhclient" and flavor: 59 - - if hostname == None: 60 - - # <hostname> will use the system hostname 61 - - # we'll use that if there is hostname passed 62 - - # that shouldn't happen, though 63 - - hostname = '<hostname>' 64 - - print 'attempting to set hostname with dhclient' 65 - - print 'using dhcpcd or another supported client may work better' 66 - - dhclient_template = \ 67 - - open(os.path.join(wpath.etc, 'dhclient.conf.template'), 'r') 68 - - 69 - - output_conf = open(dhclient_conf_path, 'w') 70 - - 71 - - for line in dhclient_template.readlines(): 72 - - line = line.replace('$_HOSTNAME', hostname) 73 - - output_conf.write(line) 74 - - 75 - - output_conf.close() 76 - - dhclient_template.close() 77 - - os.chmod(dhclient_conf_path, 0644) 78 - - 79 - if not client_name or not cmd: 80 - print "WARNING: Failed to find a valid dhcp client!" 81 - return "" 82 - 83 - if flavor == "connect": 84 - + # cause dhclient doesn't have a handy dandy argument 85 - + # for specifing the hostname to be sent 86 - + if client_name == "dhclient" and flavor: 87 - + if hostname == None: 88 - + # <hostname> will use the system hostname 89 - + # we'll use that if there is hostname passed 90 - + # that shouldn't happen, though 91 - + hostname = '<hostname>' 92 - + print 'attempting to set hostname with dhclient' 93 - + print 'using dhcpcd or another supported client may work better' 94 - + if not self.dhclient_conf_path: 95 - + _,self.dhclient_conf_path = tempfile.mkstemp() 96 - + print 'New dhclient conf path: %s ' % self.dhclient_conf_path 97 - + dhclient_template = \ 98 - + open(os.path.join(wpath.etc, 'dhclient.conf.template'), 'r') 99 - + 100 - + output_conf = open(self.dhclient_conf_path, 'w') 101 - + 102 - + for line in dhclient_template.readlines(): 103 - + line = line.replace('$_HOSTNAME', hostname) 104 - + output_conf.write(line) 105 - + 106 - + output_conf.close() 107 - + dhclient_template.close() 108 - + os.chmod(self.dhclient_conf_path, 0644) 109 - + 110 - if not hostname: 111 - hostname = os.uname()[1] 112 - return client_dict[client_name]['connect'] % \ 113 - { "cmd" : cmd, 114 - "iface" : self.iface, 115 - "hostname" : hostname, 116 - - 'dhclientconf' : dhclient_conf_path } 117 - + 'dhclientconf' : self.dhclient_conf_path } 118 - elif flavor == "release": 119 - return client_dict[client_name]['release'] % {"cmd":cmd, "iface":self.iface} 120 - else:
-19
pkgs/tools/networking/wicd/fix-app-icon.patch
··· 1 - Someone forgot to pack wicd.png icon. We will replace it with existing one. 2 - 3 - diff -ruN wicd-1.7.2.4.orig/gtk/gui.py wicd-1.7.2.4/gtk/gui.py 4 - --- wicd-1.7.2.4.orig/gtk/gui.py 2013-03-30 21:47:19.802907553 +0000 5 - +++ wicd-1.7.2.4/gtk/gui.py 2013-03-31 08:13:32.876871673 +0000 6 - @@ -205,8 +205,10 @@ 7 - 8 - self.status_area.hide_all() 9 - 10 - - if os.path.exists(os.path.join(wpath.images, "wicd.png")): 11 - - self.window.set_icon_from_file(os.path.join(wpath.images, "wicd.png")) 12 - + if os.path.exists(os.path.join(wpath.images, "../../icons/hicolour/128x128/apps/wicd-gtk.png")): 13 - + self.window.set_icon_from_file(os.path.join(wpath.images, "../../icons/hicolor/128x128/apps/wicd-gtk.png")) 14 - + else: 15 - + print 'icon doesn\'t exist %s' % os.path.join(wpath.images, "../../icons/hicolor/128x128/apps/wicd-gtk.png") 16 - self.statusID = None 17 - self.first_dialog_load = True 18 - self.is_visible = True 19 -
-15
pkgs/tools/networking/wicd/fix-curses.patch
··· 1 - --- a/curses/wicd-curses.py 2015-01-27 22:35:25.414781192 -0300 2 - +++ b/curses/wicd-curses.py 2015-01-28 01:13:48.078904587 -0300 3 - @@ -1153,9 +1153,10 @@ 4 - if not ui._started: 5 - return False 6 - 7 - - input_data = ui.get_input_nonblocking() 8 - + ui.set_input_timeouts(max_wait=0) 9 - + input_data = ui.get_input() 10 - # Resolve any "alarms" in the waiting 11 - - self.handle_keys(input_data[1]) 12 - + self.handle_keys(input_data) 13 - 14 - # Update the screen 15 - canvas = self.frame.render((self.size), True)
-47
pkgs/tools/networking/wicd/fix-gtk-issues.patch
··· 1 - diff -ruN wicd-1.7.2.4.orig/gtk/gui.py wicd-1.7.2.4/gtk/gui.py 2 - --- wicd-1.7.2.4.orig/gtk/gui.py 2013-03-31 17:01:29.367001288 +0000 3 - +++ wicd-1.7.2.4/gtk/gui.py 2013-03-31 17:55:20.826028396 +0000 4 - @@ -35,7 +35,7 @@ 5 - from wicd import misc 6 - from wicd import wpath 7 - from wicd import dbusmanager 8 - -from wicd.misc import noneToString 9 - +from wicd.misc import noneToString, _status_dict 10 - from wicd.translations import _, language 11 - import prefs 12 - from prefs import PreferencesDialog 13 - @@ -250,7 +250,7 @@ 14 - 15 - def handle_connection_results(self, results): 16 - if results not in ['success', 'aborted'] and self.is_visible: 17 - - error(self.window, language[results], block=False) 18 - + error(self.window, misc._status_dict[results], block=False) 19 - 20 - def create_adhoc_network(self, widget=None): 21 - """ Shows a dialog that creates a new adhoc network. """ 22 - diff -ruN wicd-1.7.2.4.orig/po/ru.po wicd-1.7.2.4/po/ru.po 23 - --- wicd-1.7.2.4.orig/po/ru.po 2013-03-31 17:01:29.362001288 +0000 24 - +++ wicd-1.7.2.4/po/ru.po 2013-03-31 17:43:37.909022515 +0000 25 - @@ -173,7 +173,7 @@ 26 - 27 - #: wicd/misc.py:79 28 - msgid "Connection Failed: Bad password" 29 - -msgstr "Ошибка соединения: Неверный пароль:" 30 - +msgstr "Ошибка соединения: Неверный пароль" 31 - 32 - #: wicd/misc.py:89 33 - msgid "Connection Failed: No DHCP offers received." 34 - diff -ruN wicd-1.7.2.4.orig/wicd/misc.py wicd-1.7.2.4/wicd/misc.py 35 - --- wicd-1.7.2.4.orig/wicd/misc.py 2013-03-31 17:01:29.369001288 +0000 36 - +++ wicd-1.7.2.4/wicd/misc.py 2013-03-31 17:23:56.822012593 +0000 37 - @@ -430,7 +430,9 @@ 38 - """ Sanitize property names to be used in config-files. """ 39 - allowed = string.ascii_letters + '_' + string.digits 40 - table = string.maketrans(allowed, ' ' * len(allowed)) 41 - - return s.translate(None, table) 42 - + #return s.translate(None, table) 43 - + #return s.translate(table) 44 - + return s 45 - 46 - def sanitize_escaped(s): 47 - """ Sanitize double-escaped unicode strings. """
-21
pkgs/tools/networking/wicd/no-optimization.patch
··· 1 - With optimizations on, python will overwrite the nix store. 2 - 3 - --- wicd-1.7.0/in/scripts=wicd.in 2011-04-05 14:31:09.733096865 -0400 4 - +++ wicd-1.7.0/in/scripts=wicd.in 2011-04-05 14:31:16.397096864 -0400 5 - @@ -1,3 +1,3 @@ 6 - #!/bin/bash 7 - 8 - -exec %PYTHON% -O %SHARE%daemon/wicd-daemon.py $@ 9 - +exec %PYTHON% -B %SHARE%daemon/wicd-daemon.py $@ 10 - 11 - --- wicd-1.7.2.4/wicd/wicd-daemon.py 2012-04-30 21:19:45.000000000 +0200 12 - +++ wicd-1.7.2.4/wicd/wicd-daemon.pynew 2013-03-14 21:35:23.250306592 +0100 13 - @@ -1812,7 +1812,7 @@ 14 - daemon = WicdDaemon(wicd_bus, auto_connect=auto_connect) 15 - child_pid = None 16 - if not no_poll: 17 - - child_pid = Popen([wpath.python, "-O", 18 - + child_pid = Popen([wpath.python, "-B", 19 - os.path.join(wpath.daemon, "monitor.py")], 20 - shell=False, close_fds=True).pid 21 - atexit.register(on_exit, child_pid)
-17
pkgs/tools/networking/wicd/no-var-install.patch
··· 1 - The install tries to create files in /var. This patch removes those steps. 2 - 3 - --- wicd-1.7.2.4/setup.py 2013-03-14 21:28:21.360580941 +0100 4 - +++ wicd-1.7.2.4/setup.py 2013-03-14 21:22:50.125721943 +0100 5 - @@ -505,11 +505,8 @@ 6 - (wpath.dbus_service, ['other/org.wicd.daemon.service']), 7 - (wpath.systemd, ['other/wicd.service']), 8 - (wpath.logrotate, ['other/wicd.logrotate']), 9 - - (wpath.log, [empty_file]), 10 - - (wpath.etc, ['other/dhclient.conf.template.default']), 11 - (wpath.encryption, [('encryption/templates/' + b) for b in 12 - os.listdir('encryption/templates') if not b.startswith('.')]), 13 - - (wpath.networks, [empty_file]), 14 - (wpath.sbin, ['scripts/wicd']), 15 - (wpath.daemon, ['wicd/monitor.py', 'wicd/wicd-daemon.py', 16 - 'wicd/suspend.py', 'wicd/autoconnect.py']), 17 -
-15
pkgs/tools/networking/wicd/pygtk.patch
··· 1 - For some reason nix's pygtk doesn't have a pygtk module so we remove the version check. 2 - If this ever changes we could remove this patch. 3 - 4 - --- wicd-1.7.0/gtk/wicd-client.py 2009-09-01 11:05:31.000000000 -0400 5 - +++ wicd-1.7.0/gtk/wicd-client.py 2009-12-28 00:22:57.000000000 -0500 6 - @@ -43,9 +43,6 @@ 7 - import atexit 8 - from dbus import DBusException 9 - 10 - -import pygtk 11 - -pygtk.require('2.0') 12 - - 13 - HAS_NOTIFY = True 14 - try: 15 - import pynotify
-21
pkgs/tools/networking/wicd/urwid-api-update.patch
··· 1 - --- a/curses/curses_misc.py 2 - +++ a/curses/curses_misc.py 3 - @@ -358,6 +358,19 @@ class ComboBox(urwid.WidgetWrap): 4 - self.parent = None 5 - self.ui = None 6 - self.row = None 7 - + 8 - + @property 9 - + def focus(self): 10 - + return self._focus 11 - + 12 - + @focus.setter 13 - + def focus(self, index): 14 - + self._focus = index 15 - + 16 - + @focus.deleter 17 - + def focus(self): 18 - + del self._focus 19 - + 20 - def set_list(self,list): 21 - self.list = list
-20
pkgs/tools/networking/wicd/wpa2-ttls
··· 1 - name = WPA2-TTLS 2 - author = various contributors 3 - version = 1 4 - require identity *Identity anonymous_identity *Anonymous_identity password *Password ca_cert *Path_to_CA_Cert 5 - protected password *Password 6 - ----- 7 - ctrl_interface=/run/wpa_supplicant 8 - network={ 9 - ssid="$_ESSID" 10 - scan_ssid=$_SCAN 11 - proto=WPA2 12 - key_mgmt=WPA-EAP 13 - group=CCMP TKIP 14 - eap=TTLS 15 - identity="$_IDENTITY" 16 - password="$_PASSWORD" 17 - anonymous_identity="$_ANONYMOUS_IDENTITY" 18 - ca_cert="$_CA_CERT" 19 - phase2="auth=PAP" 20 - }
+1
pkgs/top-level/aliases.nix
··· 983 983 webkitgtk24x-gtk3 = throw "webkitgtk24x-gtk3 has been removed because it's insecure. Please use webkitgtk."; # added 2019-12-05 984 984 webkitgtk24x-gtk2 = throw "webkitgtk24x-gtk2 has been removed because it's insecure. Please use webkitgtk."; # added 2019-12-05 985 985 weechat-matrix-bridge = weechatScripts.weechat-matrix-bridge; # added 2018-09-06 986 + wicd = throw "wicd has been removed as it is abandoned."; # added 2021-09-11 986 987 wineStaging = wine-staging; # added 2018-01-08 987 988 winusb = woeusb; # added 2017-12-22 988 989 winstone = throw "winstone is not supported anymore. Alternatives are Jetty or Tomcat."; # added 2019-05-14
+6 -2
pkgs/top-level/all-packages.nix
··· 899 899 900 900 gofu = callPackage ../applications/misc/gofu { }; 901 901 902 + linux-router = callPackage ../tools/networking/linux-router { }; 903 + 904 + linux-router-without-wifi = linux-router.override { useWifiDependencies = false; }; 905 + 902 906 metapixel = callPackage ../tools/graphics/metapixel { }; 903 907 904 908 pferd = callPackage ../tools/misc/pferd {}; ··· 10358 10362 10359 10363 chase = callPackage ../tools/system/chase { }; 10360 10364 10361 - wicd = callPackage ../tools/networking/wicd { }; 10362 - 10363 10365 wimlib = callPackage ../tools/archivers/wimlib { }; 10364 10366 10365 10367 wipe = callPackage ../tools/security/wipe { }; ··· 10564 10566 zerotierone = callPackage ../tools/networking/zerotierone { }; 10565 10567 10566 10568 zerofree = callPackage ../tools/filesystems/zerofree { }; 10569 + 10570 + zfs-autobackup = callPackage ../tools/backup/zfs-autobackup { }; 10567 10571 10568 10572 zfsbackup = callPackage ../tools/backup/zfsbackup { }; 10569 10573
-1
pkgs/top-level/release-small.nix
··· 166 166 webkitgtk = linux; 167 167 wget = all; 168 168 which = all; 169 - wicd = linux; 170 169 wireshark = linux; 171 170 wirelesstools = linux; 172 171 wpa_supplicant = linux;