This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] geoip -- IP lookup command line tools to show country information


"Yaakov S (Cygwin Ports)" <yselkowitz-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> writes:

> Jari Aalto wrote:
>
>>     http://cygwin.cante.net/geoip/setup.hint \
>>     http://cygwin.cante.net/geoip/geoip-1.3.8-1.tar.bz2.sig \
>>     http://cygwin.cante.net/geoip/geoip-1.3.8-1.tar.bz2 \
>>     http://cygwin.cante.net/geoip/geoip-1.3.8-1-src.tar.bz2.sig \
>>     http://cygwin.cante.net/geoip/geoip-1.3.8-1-src.tar.bz2
>
> Is there a reason why you're specifically packaging such an old
> version? I know that 1.3.8 is in Debian stable, but 1.3.14 is in
> Debian testing, 1.3.10 in Ubuntu breezy,

No reason. It was the version I originally packaged long time ago.
Updated to the latest now.

> Package issues:
>
> 1) Shared libraries are not built due to a lack of '-no-undefined' in
> LDFLAGS.  Patch libGeoIP/Makefile.am as follows (from 1.3.14):
>
> -libGeoIP_la_LDFLAGS = -version-info @GEOIP_VERSION_INFO@
> +libGeoIP_la_LDFLAGS = -version-info @GEOIP_VERSION_INFO@ -no-undefined
>
> -libGeoIPUpdate_la_LIBADD = -lz
> +libGeoIPUpdate_la_LDFLAGS = -no-undefined
> +libGeoIPUpdate_la_LIBADD = libGeoIP.la -lz
>
> Then run autoreconf before configure, and shared libraries will be
> built as well.

Thank you, now included.

> 2) The CYGWIN-PATCHES directory is extracted under geoip-1.3.8-orig,
> not geoip-1.3.8, causing the install step to bail out.

This was bug in cygbuild, Fixed. New version is out for review

Jari

Method 1)

  wget        \
    http://cygwin.cante.net/geoip/geoip-1.3.14-1.tar.bz2.sig \
    http://cygwin.cante.net/geoip/geoip-1.3.14-1.tar.bz2 \
    http://cygwin.cante.net/geoip/geoip-1.3.14-1-src.tar.bz2.sig \
    http://cygwin.cante.net/geoip/geoip-1.3.14-1-src.tar.bz2 \
    http://cygwin.cante.net/geoip/setup.hint

Method 2) get.sh will print further instuctions

  gpg --keyserver wwwkeys.pgp.net --recv-keys 955A92D8

  mkdir geoip ; cd geoip
  rm -f get.sh get.sh.sig
  wget -q http://cygwin.cante.net/geoip/get.sh \
          http://cygwin.cante.net/geoip/get.sh.sig
  gpg --verify get.sh.sig get.sh &&
  sh get.sh




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]