Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 12:22:50 GMT
From:      Dikshie <dikshie@sfc.wide.ad.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186560: net/iffinder update
Message-ID:  <201402081222.s18CMo1T041339@cgiserv.freebsd.org>
Resent-Message-ID: <201402081230.s18CU0Ba055601@freefall.freebsd.org>

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

>Number:         186560
>Category:       ports
>Synopsis:       net/iffinder update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 08 12:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dikshie
>Release:        10.0-STABLE
>Organization:
Keio University
>Environment:
FreeBSD sfc-monitor.ai3.net 10.0-STABLE FreeBSD 10.0-STABLE #177 r261546: Thu Feb  6 22:56:26 JST 2014     dikshie@sfc-monitor.ai3.net:/usr/obj/usr/src/sys/MONITOR  amd64
>Description:
update iffinder to 1.38 and make it work on freebsd 10.0
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.in.orig	2014-02-08 21:18:56.000000000 +0900
+++ Makefile.in	2014-02-08 21:19:06.000000000 +0900
@@ -33,7 +33,7 @@
 ## for Internet Data Analysis (CAIDA) Program.
 ## 
 
-CC=gcc
+CC=clang
 CPPFLAGS=@CPPFLAGS@
 CFLAGS=-g -I. -Ihashtab
 LIBS=-L. -lhashtab @LIBS@
--- Makefile.orig	2014-02-08 21:17:01.000000000 +0900
+++ Makefile	2014-02-08 21:18:33.000000000 +0900
@@ -2,7 +2,7 @@
 # $FreeBSD: head/net/iffinder/Makefile 340722 2014-01-22 17:00:46Z mat $
 
 PORTNAME=	iffinder
-PORTVERSION=	1.37
+PORTVERSION=	1.38
 CATEGORIES=	net
 MASTER_SITES=	http://www.caida.org/tools/measurement/iffinder/download/
 
@@ -15,6 +15,12 @@
 PORTDOCS=	README
 
 NO_STAGE=	yes
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 1000100
+@${REINPLACE_CMD} -e 's|CC=gcc|CC=clang|g' ${WRKSRC}/Makefile.in
+.endif
+
 do-install:
 		${INSTALL_PROGRAM} ${WRKSRC}/iffinder ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
--- distinfo.orig	2014-02-08 21:16:43.000000000 +0900
+++ distinfo	2014-02-08 21:18:39.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (iffinder-1.37.tar.gz) = 5ad4c0dcacaa8d9cdf2d9e7d54e2f5dca95111183a9ace12ffc0ed3d8a54a513
-SIZE (iffinder-1.37.tar.gz) = 56840
+SHA256 (iffinder-1.38.tar.gz) = d7ca87dd8eb068b6dd97b4a04d814e66afa25c37c8b0c2b99829c18405b36238
+SIZE (iffinder-1.38.tar.gz) = 70380


>Release-Note:
>Audit-Trail:
>Unformatted:



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