On 05/12/11 14:22, wen heping wrote:
> Since there are some removing old functions and some new functions.
> I bump the so version to 8.0 from 7.1
> And I attached the revised diff file.
>
> wen
>
> 2011/5/11 Stuart Henderson <[email protected]>:
>> On 2011-05-11, wen heping <[email protected]> wrote:
>>> --0023543336ba047a3004a2fbeb72
>>> Content-Type: text/plain; charset=UTF-8
>>>
>>> Hi,
>>>
>>> Here is an update of net/GeoIP to 1.4.7 and net/py-GeoIP to 1.2.5.
>>>
>>> Tested OK on i386 and regress test OK too(net/GeoIP).
>>>
>>> Comments ? OK ?
>>>
>>
>> This version of py-GeoIP needs to depend on net/GeoIP>=1.4.7,
>> depending on net/GeoIP isn't enough.
>>
>> You haven't checked the shared libraries in GeoIP to see if
>> they need to be bumped, this needs at least a minor bump,
>> I don't have time to read the diff between old and new to
>> work out if it's a major bump.
>
It should be like this, see WRKBUILD/shared_libs.log:
SHARED_LIBS += GeoIP 8.0 # .5.7
net/p5-Geo-IP should be updated too, otherwise it will break.
Otherwise ok for me.
Cheers
Giovanni
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/p5-Geo-IP/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile 3 Dec 2010 11:45:41 -0000 1.20
+++ Makefile 12 May 2011 14:42:32 -0000
@@ -5,10 +5,9 @@ SHARED_ONLY= Yes
COMMENT= look up country by IP address/hostname
MODULES= cpan
-DISTNAME= Geo-IP-1.38
-REVISION= 1
+DISTNAME= Geo-IP-1.39
+CPAN_AUTHOR= BORISZ
CATEGORIES= net geo
-USE_GROFF = Yes
# Perl
PERMIT_PACKAGE_CDROM= Yes
@@ -17,7 +16,7 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= net/GeoIP
-WANTLIB = GeoIP>=4
+WANTLIB = GeoIP>=8
CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib' INC='-I${LOCALBASE}/include'
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/p5-Geo-IP/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo 30 Aug 2009 12:31:33 -0000 1.10
+++ distinfo 12 May 2011 14:42:32 -0000
@@ -1,5 +1,5 @@
-MD5 (Geo-IP-1.38.tar.gz) = IqsH+Yx5sxYGKIHtcs3Dxg==
-RMD160 (Geo-IP-1.38.tar.gz) = n0Z9uqZ35wjcm6CmwS+Q6q6BDeA=
-SHA1 (Geo-IP-1.38.tar.gz) = bG/4/K8v3QjqM3MKnK+wxt8qF0U=
-SHA256 (Geo-IP-1.38.tar.gz) = fEdEkmgzpqnkVO3qPJh0UuT64TchIBhsaVJRXKQcax8=
-SIZE (Geo-IP-1.38.tar.gz) = 63418
+MD5 (Geo-IP-1.39.tar.gz) = Qc4j5OQpxC8v6wsDGKYTQA==
+RMD160 (Geo-IP-1.39.tar.gz) = wCMoSGV+iJFWrjtvdKWx0PbVRcE=
+SHA1 (Geo-IP-1.39.tar.gz) = poGn3k9VUBLoL/bHgV1nxcDT8HM=
+SHA256 (Geo-IP-1.39.tar.gz) = pU9vlodZK+qPcAvrOXNIFMRXHexKoIawQp9Me4zNgPk=
+SIZE (Geo-IP-1.39.tar.gz) = 111089