From nobody@FreeBSD.org  Sat Jul 23 19:21:37 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4B12C106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Jul 2011 19:21:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3B75F8FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Jul 2011 19:21:37 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p6NJLaCr030162
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Jul 2011 19:21:36 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p6NJLaV9030161;
	Sat, 23 Jul 2011 19:21:36 GMT
	(envelope-from nobody)
Message-Id: <201107231921.p6NJLaV9030161@red.freebsd.org>
Date: Sat, 23 Jul 2011 19:21:36 GMT
From: Barbara <barbara.xxx1975@libero.it>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net/GeoIP: install not completed
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         159145
>Category:       ports
>Synopsis:       net/GeoIP: install not completed
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    dhn
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 23 19:30:13 UTC 2011
>Closed-Date:    Sun Jul 24 00:31:05 CEST 2011
>Last-Modified:  Sat Jul 23 22:40:09 UTC 2011
>Originator:     Barbara
>Release:        RELENG_8
>Organization:
>Environment:
FreeBSD satanasso.local.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Jul 17 12:37:49 CEST 2011     root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO  i386

>Description:
After updating GeoIP to 1.4.8, I've found out that only some files are installed.
For example:
$ ll /usr/local/bin/geoip*
-r-xr-xr-x  1 root  wheel  155 Jul 23 21:12 /usr/local/bin/geoipupdate.sh

I'm not sure if that's correct, but I found that using libtool from libtool-2.4 instead of their own, the port installs correctly.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2011-07-23 18:39:41.000000000 +0200
+++ Makefile	2011-07-23 21:09:19.000000000 +0200
@@ -22,6 +22,10 @@
 
 MAN1=		geoiplookup.1 geoipupdate.1 geoiplookup6.1
 
+post-extract:
+	@${REINPLACE_CMD} -e 's|$$(top_builddir)/libtool|${LOCALBASE}/bin/libtool|g' \
+		${WRKSRC}/aclocal.m4
+
 post-install:
 	${INSTALL_SCRIPT} ${FILESDIR}/geoipupdate.sh ${PREFIX}/bin/
 


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dhn 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Jul 23 19:30:24 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159145 

From: Barbara <barbara.xxx1975@libero.it>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159145: net/GeoIP: install not completed
Date: Sat, 23 Jul 2011 22:13:13 +0200 (CEST)

 A (probably) better patch could be found here:
 http://pastebin.com/Rw1BBUKS
 
State-Changed-From-To: open->closed 
State-Changed-By: dhn 
State-Changed-When: Sun Jul 24 00:31:02 CEST 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159145 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159145: commit references a PR
Date: Sat, 23 Jul 2011 22:30:54 +0000 (UTC)

 dhn         2011-07-23 22:30:39 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/GeoIP            Makefile 
   Log:
   - Fix to install complete
   - Bump PORTREVISION
   
   PR:             ports/159145
   Submitted by:   Barbara <barbara.xxx1975@libero.it>
   
   Revision  Changes    Path
   1.49      +5 -0      ports/net/GeoIP/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
