Index: head/net/scribe/Makefile =================================================================== --- head/net/scribe/Makefile (revision 442172) +++ head/net/scribe/Makefile (revision 442173) @@ -1,66 +1,66 @@ # Created by: Jui-Nan Lin # $FreeBSD$ PORTNAME= scribe DISTVERSION= 2.2.2013.04.15 PORTREVISION= 8 CATEGORIES= net MAINTAINER= ports@FreeBSD.org COMMENT= Aggregating log data streamed in real time LICENSE= APACHE20 -BROKEN_powerpc64= Does not build - BUILD_DEPENDS= fb303>0:devel/fb303 \ thrift:devel/thrift LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libevent.so:devel/libevent \ libthrift.so:devel/thrift-cpp RUN_DEPENDS= p5-Class-Accessor>0:devel/p5-Class-Accessor \ p5-Thrift>0:devel/p5-Thrift \ ${PYTHON_PKGNAMEPREFIX}thrift>0:devel/py-thrift + +BROKEN_powerpc64= Does not build USE_GITHUB= yes GH_ACCOUNT= facebookarchive GH_TAGNAME= 7359a09 USES= autoreconf compiler gmake perl5 python GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-boost-filesystem=boost_filesystem \ --with-boost-system=boost_system \ PY_PREFIX="${PREFIX}" USE_RC_SUBR= ${PORTNAME} post-patch: @${REINPLACE_CMD} -e 's/^AM_INIT_AUTOMAKE/#/' ${WRKSRC}/configure.ac @${REINPLACE_CMD} -e '/boost/! s/shared_ptr/boost::&/g' \ ${WRKSRC}/src/conf.cpp \ ${WRKSRC}/src/conn_pool.cpp \ ${WRKSRC}/src/dynamic_bucket_updater.cpp \ ${WRKSRC}/src/env_default.cpp \ ${WRKSRC}/src/file.cpp \ ${WRKSRC}/src/scribe_server.cpp \ ${WRKSRC}/src/store.cpp \ ${WRKSRC}/src/store_queue.cpp post-configure: @${REINPLACE_CMD} 's/-O3/${CXXFLAGS}/' ${WRKSRC}/src/Makefile post-build: ${LOCALBASE}/bin/thrift -o ${WRKSRC} -I ${LOCALBASE}/share --gen "perl" ${WRKSRC}/if/scribe.thrift post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Scribe/Thrift (cd ${WRKSRC}/gen-perl && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include .if ${COMPILER_TYPE} == clang USE_CXXSTD= c++11 .endif .include Index: head/net/scribe/files/patch-if__bucketupdater.thrift =================================================================== --- head/net/scribe/files/patch-if__bucketupdater.thrift (revision 442172) +++ head/net/scribe/files/patch-if__bucketupdater.thrift (revision 442173) @@ -1,10 +1,10 @@ ---- ./if/bucketupdater.thrift.orig 2011-06-27 09:59:22.000000000 +0400 -+++ ./if/bucketupdater.thrift 2011-10-19 18:33:32.000000000 +0400 +--- if/bucketupdater.thrift.orig 2013-04-16 02:56:56 UTC ++++ if/bucketupdater.thrift @@ -19,6 +19,7 @@ namespace cpp scribe.thrift namespace java com.facebook.infrastructure.service +namespace perl Scribe.Thrift // BucketStoreMapping service exception exception BucketStoreMappingException { Index: head/net/scribe/files/patch-src__Makefile.am =================================================================== --- head/net/scribe/files/patch-src__Makefile.am (revision 442172) +++ head/net/scribe/files/patch-src__Makefile.am (revision 442173) @@ -1,11 +1,11 @@ ---- ./src/Makefile.am.orig 2011-06-27 09:59:22.000000000 +0400 -+++ ./src/Makefile.am 2011-10-19 18:00:32.000000000 +0400 -@@ -34,7 +34,7 @@ +--- src/Makefile.am.orig 2013-04-16 02:56:56 UTC ++++ src/Makefile.am +@@ -34,7 +34,7 @@ all: # THRIFT = $(thrift_home)/bin/thrift THRIFT_INCLUDES = -I $(fb303_home)/share/ -THRIFT_OPTS = $(THRIFT_INCLUDES) --gen cpp:pure_enums --gen py --gen php --gen java +THRIFT_OPTS = $(THRIFT_INCLUDES) --gen cpp:pure_enums --gen py --gen php --gen java --gen perl # User defined conditionals and conditonal statements set up in configure.ac. # FACEBOOK set in configure.ac Index: head/net/scribe/pkg-descr =================================================================== --- head/net/scribe/pkg-descr (revision 442172) +++ head/net/scribe/pkg-descr (revision 442173) @@ -1,10 +1,10 @@ Scribe is a server for aggregating log data streamed in real time from a large number of servers. It is designed to be scalable, extensible without client-side modification, and robust to failure of the network or any specific machine. This is an archived project and is no longer supported or updated by Facebook. Please do not file issues or pull-requests. If you wish to continue to develop this code yourself, we recommend you fork it. -WWW: https://github.com/facebookarchive/scribe/ +WWW: https://github.com/facebookarchive/scribe