Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2011 19:21:36 GMT
From:      Barbara <barbara.xxx1975@libero.it>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/159145: net/GeoIP: install not completed
Message-ID:  <201107231921.p6NJLaV9030161@red.freebsd.org>
Resent-Message-ID: <201107231930.p6NJUDFV031190@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         159145
>Category:       ports
>Synopsis:       net/GeoIP: install not completed
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 23 19:30:13 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107231921.p6NJLaV9030161>