diff options
author | Peter Simons <simons@cryp.to> | 2014-03-23 22:30:48 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2014-03-23 22:30:54 +0100 |
commit | 4c5d093ae07324b9daea7a9fb9fbf0b3c77a936a (patch) | |
tree | f9757c96c57c488f3078c9704e877a231b95ddc4 /pkgs/applications/networking/esniper | |
parent | 13bc37ed3e730ed2e98d60694ccdfc15cbc57447 (diff) | |
download | nixlib-4c5d093ae07324b9daea7a9fb9fbf0b3c77a936a.tar nixlib-4c5d093ae07324b9daea7a9fb9fbf0b3c77a936a.tar.gz nixlib-4c5d093ae07324b9daea7a9fb9fbf0b3c77a936a.tar.bz2 nixlib-4c5d093ae07324b9daea7a9fb9fbf0b3c77a936a.tar.lz nixlib-4c5d093ae07324b9daea7a9fb9fbf0b3c77a936a.tar.xz nixlib-4c5d093ae07324b9daea7a9fb9fbf0b3c77a936a.tar.zst nixlib-4c5d093ae07324b9daea7a9fb9fbf0b3c77a936a.zip |
esniper: add patch to fix unrecognized e-bay log-in page
Diffstat (limited to 'pkgs/applications/networking/esniper')
-rw-r--r-- | pkgs/applications/networking/esniper/default.nix | 3 | ||||
-rw-r--r-- | pkgs/applications/networking/esniper/fix-ebay-login.patch | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/pkgs/applications/networking/esniper/default.nix b/pkgs/applications/networking/esniper/default.nix index 50a2764d375c..ee263245218f 100644 --- a/pkgs/applications/networking/esniper/default.nix +++ b/pkgs/applications/networking/esniper/default.nix @@ -11,7 +11,8 @@ stdenv.mkDerivation { buildInputs = [ openssl curl ]; # Add support for CURL_CA_BUNDLE variable. - patches = [ ./find-ca-bundle.patch ]; + # Fix <http://sourceforge.net/p/esniper/bugs/648/>. + patches = [ ./find-ca-bundle.patch ./fix-ebay-login.patch ]; postInstall = '' sed <"frontends/snipe" >"$out/bin/snipe" \ diff --git a/pkgs/applications/networking/esniper/fix-ebay-login.patch b/pkgs/applications/networking/esniper/fix-ebay-login.patch new file mode 100644 index 000000000000..07d0a577a08c --- /dev/null +++ b/pkgs/applications/networking/esniper/fix-ebay-login.patch @@ -0,0 +1,13 @@ +--- esniper-orig/auction.c 2014-03-23 22:28:46.684289574 +0100 ++++ esniper/auction.c 2014-03-23 22:24:00.540568653 +0100 +@@ -424,7 +424,9 @@ + if ((pp->srcId && !strcmp(pp->srcId, "SignInAlertSupressor"))|| + (pp->pageName && + (!strncasecmp(pp->pageName, "MyeBay", 6) || +- !strncasecmp(pp->pageName, "My eBay", 7)) ++ !strncasecmp(pp->pageName, "My eBay", 7) || ++ !strncasecmp(pp->pageName, "Watch list", 10) || ++ !strncasecmp(pp->pageName, "User Agreement", 10)) + )) + loginTime = time(NULL); + else if (pp->pageName && |