From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 10 04:10:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 05F62352 for ; Mon, 10 Feb 2014 04:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D83651BBC for ; Mon, 10 Feb 2014 04:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1A4A0bl030763 for ; Mon, 10 Feb 2014 04:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1A4A0rC030752; Mon, 10 Feb 2014 04:10:00 GMT (envelope-from gnats) Resent-Date: Mon, 10 Feb 2014 04:10:00 GMT Resent-Message-Id: <201402100410.s1A4A0rC030752@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gea-Suan Lin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8972B344 for ; Mon, 10 Feb 2014 04:08:02 +0000 (UTC) Received: from kkbox.com (ip-203-69-67-167.kkcube.com [203.69.67.167]) by mx1.freebsd.org (Postfix) with ESMTP id 5B3421BB4 for ; Mon, 10 Feb 2014 04:08:01 +0000 (UTC) Received: by goingmarry.kkbox.com (Postfix, from userid 1016) id 4B32F750233; Mon, 10 Feb 2014 12:07:51 +0800 (CST) Message-Id: <20140210040751.4B32F750233@goingmarry.kkbox.com> Date: Mon, 10 Feb 2014 12:07:51 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/186615: [PATCH] devel/hadoop: Install hdfs.h Cc: gslin@gslin.org, pfg@apache.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 04:10:01 -0000 >Number: 186615 >Category: ports >Synopsis: [PATCH] devel/hadoop: Install hdfs.h >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 10 04:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 9.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD goingmarry 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC >Description: - Install hdfs.h (libhdfs). Port maintainer (pfg@apache.org) is cc'd. Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- apache-hadoop-1.2.1_1.patch begins here --- diff -ruN /usr/ports/devel/hadoop/Makefile ./Makefile --- /usr/ports/devel/hadoop/Makefile 2013-12-31 04:55:18.000000000 +0800 +++ ./Makefile 2014-02-10 12:06:27.000000000 +0800 @@ -3,6 +3,7 @@ PORTNAME= hadoop PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= devel java MASTER_SITES= ${MASTER_SITE_APACHE} MASTER_SITE_SUBDIR= ${PORTNAME}/core/${PORTNAME}-${PORTVERSION} @@ -21,7 +22,8 @@ USE_JAVA= yes JAVA_VERSION= 1.6 USE_ANT= yes -ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS= amd64 i386 +USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS @@ -105,6 +107,7 @@ ${ECHO} "export HADOOP_PID_DIR=${HADOOP_RUNDIR}" > ${STAGEDIR}${ETCDIR}/envvars.d/004.hadoop_run.env ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${TAR} -cf - -C ${WRKSRC}/c++/${_HADOOP_ARCH} include lib | ${TAR} xf - -C ${STAGEDIR}${PREFIX} + ${INSTALL_DATA} ${WRKSRC}/src/c++/libhdfs/hdfs.h ${STAGEDIR}${PREFIX}/include/hadoop/ .for f in ${DEFAULTS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR} diff -ruN /usr/ports/devel/hadoop/pkg-plist ./pkg-plist --- /usr/ports/devel/hadoop/pkg-plist 2013-11-02 19:04:31.000000000 +0800 +++ ./pkg-plist 2014-02-10 10:52:17.000000000 +0800 @@ -288,6 +288,7 @@ @unexec if cmp -s %D/%%ETCDIR%%/fair-scheduler.xml %D/%%EXAMPLESDIR%%/conf/fair-scheduler.xml; then rm -f %D/%%ETCDIR%%/fair-scheduler.xml; fi %%EXAMPLESDIR%%/conf/fair-scheduler.xml @exec [ -f %D/%%ETCDIR%%/fair-scheduler.xml ] || cp %D/%%EXAMPLESDIR%%/conf/fair-scheduler.xml %D/%%ETCDIR%% +include/hadoop/hdfs.h include/hadoop/StringUtils.hh include/hadoop/SerialUtils.hh include/hadoop/Pipes.hh --- apache-hadoop-1.2.1_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: