3
0
Fork 0
forked from mirrors/nixpkgs

esniper: update to version 2.29.0

This commit is contained in:
Peter Simons 2014-04-02 17:44:02 +02:00
parent 80a03f665d
commit 4e875dd3ff
2 changed files with 4 additions and 17 deletions

View file

@ -1,18 +1,18 @@
{ stdenv, fetchurl, openssl, curl, coreutils, gawk, bash, which }:
stdenv.mkDerivation {
name = "esniper-2.28.0";
name = "esniper-2.29.0";
src = fetchurl {
url = "mirror://sourceforge/esniper/esniper-2-28-0.tgz";
sha256 = "c2b0ccb757616b32f2d6cf54a4a5e367405fa7bcd6e6ed11835fe4f8a06a016b";
url = "mirror://sourceforge/esniper/esniper-2-29-0.tgz";
sha256 = "052jfbzm0a88h3hss2vg1vfdrhibjwhbcdnwsbkk5i1z0jj16xxc";
};
buildInputs = [ openssl curl ];
# Add support for CURL_CA_BUNDLE variable.
# Fix <http://sourceforge.net/p/esniper/bugs/648/>.
patches = [ ./find-ca-bundle.patch ./fix-ebay-login.patch ];
patches = [ ./find-ca-bundle.patch ];
postInstall = ''
sed <"frontends/snipe" >"$out/bin/snipe" \

View file

@ -1,13 +0,0 @@
--- 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 &&