Hi, Here's an ebuild for the new 1.54 version of Net Integration's WvDial. This new version compiles much more easily with gcc 3.x, has support for some winmodems, and a number of bugfixes (for more information on the changes see this bug's URL). I'm also attaching a patch to fix some small compile issues.
Created attachment 25371 [details] Proposed ebuild
Created attachment 25372 [details, diff] Patch for compile issues
Created attachment 25376 [details] Proposed ebuild. Forgot the ppp dependency. There's a crucial one!
a few notes: - please set $S to ${WORKDIR}/${P}.0 instead of cd ${S}.0 each time - why only -j1? - fpic should only be appended to the libs, not to everything - why do you unset topdir? - why do you append -Wno-deprecated thanks though for the ebuild. if you have a bit knowledge about wvdial, maybe you can also take a look at bug #39854
Created attachment 25579 [details] Proposed ebuild New ebuild taking your comments into account.
Created attachment 25580 [details, diff] Patch for Makefile New makefile patch to eliminate a few things from the ebuild.
Created attachment 25701 [details, diff] New makefile patch Oops. That patch was totally messed up. Here's a decent one.
Due to a current bug in wvdial 1.53 (see bug 39854), the /etc/ppp/{pap,chap}-secrets is not properly written. This bug is corrected in 1.54...so if possible we should try to get this ebuild tested/in portage for those that need to use the package. I'll test this ebuild tommorow. If I don't make a second reply you can assume all went well. =)
you don't need to "cd ${S}" at the beginning of src_compile and src_install, this is done automatically. still the question, do we really need: [ "${ARCH}" = "alpha" -o "${ARCH}" = "hppa" ] && append-libs -fPIC emake -j1 || die "compile failed" have you tested it on alpha/hppa without append-libs -fPIC and does it fail for you with -j2?
Aliz put wvstreams-3.74 in portage and those work just with the latest wvdial. Changing the Severity to normal.
The packager (Jim Morrison: jim@nit.ca) has tested it on hppa/alpha and claims the -fPIC thing is necessary (at least it used to be for a while). And yes, parallel builds are unreliable. Sorry I should have mentioned that
Created attachment 26553 [details] New ebuild A few more changes based on your suggestions. It turns out the parallel build problems were fixed for this version. (It works for -j2 and -j3 on my machine, which is SMP.) Also added dodoc for the docs, and updated dependency info.
i changed the version number to 1.54.0, so we don't need S=${S}.0, added TODO to docs and commited it :)