On 2019/01/31 12:34, Sebastian Reitenbach wrote:
> Hi,
>
> Am Donnerstag, Januar 31, 2019 11:59 CET, Renaud Allard <renaud@allard.it> schrieb:
>
> >
> >
> > On 1/31/19 10:51 AM, Renaud Allard wrote:
> > > Hello,
> > >
> > > Here is a port of esniper 2.35.0.
> > > esniper is a simple, lightweight tool for sniping ebay auctions
> > >
> >
> > Solene suggested to add a WANTLIB variable, so here is the port with
> > that variable added
Diff against your latest version:
- use make to fix up the DISTNAME rather than enter the version twice
- use standard sourceforge MASTER_SITES
- don't list as both BUILD_DEPENDS and LIB_DEPENDS
diff --git Makefile Makefile
index a0404ce..25815fe 100644
--- Makefile
+++ Makefile
@@ -2,7 +2,7 @@
COMMENT = lightweight console application for sniping eBay auctions
VERSION = 2.35.0
-DISTNAME = esniper-2-35-0
+DISTNAME = esniper-${VERSION:S/./-/g}
PKGNAME = esniper-${VERSION}
EXTRACT_SUFX= .tgz
@@ -15,10 +15,10 @@ MAINTAINER = Renaud Allard <renaud@allard.it>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
-MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=esniper/}esniper/${VERSION}/
+MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=esniper/}
WANTLIB += c crypto curl nghttp2 ssl z
-BUILD_DEPENDS = net/curl
+
LIB_DEPENDS = net/curl
CONFIGURE_STYLE = gnu
> >
>
> Trying to list my watchlist, esniper -U ebayusername -m
> it most of the time segfaults like this:
You might get some more clues from building curl with debug symbols.
> Program received signal SIGSEGV, Segmentation fault.
> 0x0a49db90 in _libc_strlen (str=0x6eb36800 '\337' <repeats 200 times>...) at /usr/src/lib/libc/string/strlen.c:39
> 39 /usr/src/lib/libc/string/strlen.c: No such file or directory.
> (gdb) bt
> #0 0x0a49db90 in _libc_strlen (str=0x6eb36800 '\337' <repeats 200 times>...) at /usr/src/lib/libc/string/strlen.c:39
> #1 0x037898ae in Curl_pretransfer () from /usr/local/lib/libcurl.so.25.19
> #2 0x03797a30 in multi_runsingle () from /usr/local/lib/libcurl.so.25.19
> #3 0x0379713d in curl_multi_perform () from /usr/local/lib/libcurl.so.25.19
> #4 0x0378c6ea in easy_transfer () from /usr/local/lib/libcurl.so.25.19
> #5 0x0378b2ef in easy_perform () from /usr/local/lib/libcurl.so.25.19
> #6 0x0378b0d8 in curl_easy_perform () from /usr/local/lib/libcurl.so.25.19
> #7 0x1b83a381 in httpRequest (url=0x6de41680 "http://my.ebay.com/ws/eBayISAPI.dll?MyeBay&CurrentPage=MyeBayWatching", logUrl=0x0, data=0x3b82df06 "", logData=0x0,
> rt=GET) at http.c:177
> #8 0x1b83a058 in httpGet (url=0x6de41680 "http://my.ebay.com/ws/eBayISAPI.dll?MyeBay&CurrentPage=MyeBayWatching", logUrl=0x0) at http.c:79
http://? Are they nuts? Should be easy enough to fix that, but this is
not a good sign for software that expects you to trust it with your
ebay credentials.
> #9 0x1b82d356 in printMyItems () at auction.c:1217
> #10 0x1b832b33 in main (argc=0, argv=0xcf7c5e14) at esniper.c:850
>
> If it doesn't segfault, it just doesn't show my watchlist.
> With a different accout, it doesn't seem to crash on me, but also doesn't show me that watchlist.
>
> happens on i386 as well as on amd64.
>
> cheers,
> Sebastian
>
No comments:
Post a Comment