summaryrefslogtreecommitdiff
path: root/net/scribe
diff options
context:
space:
mode:
Diffstat (limited to 'net/scribe')
-rw-r--r--net/scribe/Makefile73
-rw-r--r--net/scribe/distinfo2
-rw-r--r--net/scribe/files/patch-if__bucketupdater.thrift10
-rw-r--r--net/scribe/files/patch-src__Makefile.am11
-rw-r--r--net/scribe/files/scribe.in34
-rw-r--r--net/scribe/pkg-descr10
-rw-r--r--net/scribe/pkg-plist23
7 files changed, 0 insertions, 163 deletions
diff --git a/net/scribe/Makefile b/net/scribe/Makefile
deleted file mode 100644
index 8d9c36a808a4..000000000000
--- a/net/scribe/Makefile
+++ /dev/null
@@ -1,73 +0,0 @@
-# Created by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
-# $FreeBSD$
-
-PORTNAME= scribe
-DISTVERSION= 2.2.2013.04.15
-PORTREVISION= 14
-CATEGORIES= net
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Aggregating log data streamed in real time
-
-LICENSE= APACHE20
-
-BROKEN= fails to build
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2018-12-19
-
-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@${PY_FLAVOR}
-
-BROKEN_powerpc64= Does not build
-
-USE_GITHUB= yes
-GH_ACCOUNT= facebookarchive
-GH_TAGNAME= 7359a09
-
-USES= autoreconf compiler gmake perl5 python
-USE_PYTHON= py3kplist
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-boost-filesystem=boost_filesystem \
- --with-boost-system=boost_system \
- PY_PREFIX="${PREFIX}"
-USE_RC_SUBR= ${PORTNAME}
-
-OPTIONS_DEFINE= EXAMPLES
-
-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 <bsd.port.pre.mk>
-
-.if ${COMPILER_TYPE} == clang
-USE_CXXSTD= c++11
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/net/scribe/distinfo b/net/scribe/distinfo
deleted file mode 100644
index 65313afa90ec..000000000000
--- a/net/scribe/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (facebookarchive-scribe-2.2.2013.04.15-7359a09_GH0.tar.gz) = 1701c31dd04a3f2ffc2e05d868e9a8ffe90de396998f008c3b29f9d0f169bebf
-SIZE (facebookarchive-scribe-2.2.2013.04.15-7359a09_GH0.tar.gz) = 97255
diff --git a/net/scribe/files/patch-if__bucketupdater.thrift b/net/scribe/files/patch-if__bucketupdater.thrift
deleted file mode 100644
index 9a5eb11f0e98..000000000000
--- a/net/scribe/files/patch-if__bucketupdater.thrift
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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 {
diff --git a/net/scribe/files/patch-src__Makefile.am b/net/scribe/files/patch-src__Makefile.am
deleted file mode 100644
index 048eea8ddf7b..000000000000
--- a/net/scribe/files/patch-src__Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
diff --git a/net/scribe/files/scribe.in b/net/scribe/files/scribe.in
deleted file mode 100644
index 06704887b293..000000000000
--- a/net/scribe/files/scribe.in
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: scribe
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-. /etc/rc.subr
-
-name="scribe"
-rcvar=scribe_enable
-pidfile="/var/run/${name}.pid"
-command="%%PREFIX%%/bin/scribed"
-
-start_cmd=scribe_start
-stop_postcmd=scribe_cleanup
-
-scribe_start()
-{
- echo "Starting ${name}."
- /usr/sbin/daemon -cf -p ${pidfile} ${command} ${scribe_flags} 2>>/var/log/scribe.log
-}
-
-scribe_cleanup() {
- [ -f ${pidfile} ] && /bin/unlink ${pidfile}
-}
-
-load_rc_config "$name"
-
-: ${scribe_enable="NO"}
-
-run_rc_command "$1"
diff --git a/net/scribe/pkg-descr b/net/scribe/pkg-descr
deleted file mode 100644
index 9a7c85e880a6..000000000000
--- a/net/scribe/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-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
diff --git a/net/scribe/pkg-plist b/net/scribe/pkg-plist
deleted file mode 100644
index 286c00da71ce..000000000000
--- a/net/scribe/pkg-plist
+++ /dev/null
@@ -1,23 +0,0 @@
-bin/scribed
-lib/libdynamicbucketupdater.a
-lib/libscribe.a
-%%SITE_PERL%%/Scribe/Thrift/Constants.pm
-%%SITE_PERL%%/Scribe/Thrift/Types.pm
-%%SITE_PERL%%/Scribe/Thrift/scribe.pm
-%%PYTHON_SITELIBDIR%%/scribe-2.0-py%%PYTHON_VER%%.egg-info
-%%PYTHON_SITELIBDIR%%/scribe/__init__.py
-%%PYTHON_SITELIBDIR%%/scribe/__init__.pyc
-%%PYTHON_SITELIBDIR%%/scribe/constants.py
-%%PYTHON_SITELIBDIR%%/scribe/constants.pyc
-%%PYTHON_SITELIBDIR%%/scribe/scribe.py
-%%PYTHON_SITELIBDIR%%/scribe/scribe.pyc
-%%PYTHON_SITELIBDIR%%/scribe/ttypes.py
-%%PYTHON_SITELIBDIR%%/scribe/ttypes.pyc
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.conf
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2central.conf
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2client.conf
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hdfs_example.conf
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hdfs_example2.conf
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scribe_cat
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scribe_ctrl