Date: Mon, 6 Jun 2011 10:21:51 GMT From: Max Baryshnikov <mephius@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/157654: New port: textproc/libsphinxclient C++ client library for sphinx search engine Message-ID: <201106061021.p56ALpF8042430@red.freebsd.org> Resent-Message-ID: <201106061030.p56AU9jR096735@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 157654 >Category: ports >Synopsis: New port: textproc/libsphinxclient C++ client library for sphinx search engine >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 Jun 06 10:30:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Max Baryshnikov >Release: >Organization: Prontosoft >Environment: >Description: >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libsphinxclient # libsphinxclient/files # libsphinxclient/files/patch-sphinxclient.c # libsphinxclient/Makefile # libsphinxclient/distinfo # libsphinxclient/pkg-descr # libsphinxclient/pkg-plist # echo c - libsphinxclient mkdir -p libsphinxclient > /dev/null 2>&1 echo c - libsphinxclient/files mkdir -p libsphinxclient/files > /dev/null 2>&1 echo x - libsphinxclient/files/patch-sphinxclient.c sed 's/^X//' >libsphinxclient/files/patch-sphinxclient.c << 'a5dc363a0e196db7317de11e8e49880d' X--- sphinxclient.c.orig 2010-07-15 15:05:40.000000000 +0400 X+++ sphinxclient.c 2011-06-03 17:56:23.000000000 +0400 X@@ -17,9 +17,6 @@ X // VS 2005 and above X #define _CRT_SECURE_NO_DEPRECATE 1 X #define _CRT_NONSTDC_NO_DEPRECATE 1 X-#else X-// VS 2003 and below X-#define vsnprintf _vsnprintf X #endif X X #include <stdlib.h> a5dc363a0e196db7317de11e8e49880d echo x - libsphinxclient/Makefile sed 's/^X//' >libsphinxclient/Makefile << 'fda6573d2cffdd6b33a129f279ea6d1b' X# New ports collection makefile for: libsphinxclient X# Date created: 2011-06-6 X# Whom: Max Baryshnikov <mephius@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= libsphinxclient XDISTVERSION= 1.10b XCATEGORIES= textproc databases XMASTER_SITES= http://sphinxsearch.com/files/ XDISTNAME= sphinx-1.10-beta X XMAINTAINER= mephius@gmail.com XCOMMENT= Sphinx Full-Text Search Engine C++ client library X XWRKSRC= ${WRKDIR}/${DISTNAME}/api/libsphinxclient X XUSE_LDCONFIG= yes X XLICENSE= GPLv2 X XUSE_AUTOTOOLS= libtool X X.include <bsd.port.options.mk> X XGNU_CONFIGURE= yes XCONFIGURE_ENV+= CC=${CC} XSUB_LIST+= PORTNAME=${PORTNAME} X Xdo-install: X ${INSTALL_LIB} ${WRKSRC}/.libs/libsphinxclient-0.0.1.so ${PREFIX}/lib/libsphinxclient-0.0.1.so X ${INSTALL_DATA} ${WRKSRC}/libsphinxclient.la ${PREFIX}/lib/libsphinxclient.la X ${INSTALL_DATA} ${WRKSRC}/.libs/libsphinxclient.a ${PREFIX}/lib/libsphinxclient.a X ${INSTALL_DATA} ${WRKSRC}/sphinxclient.h ${PREFIX}/include/sphinxclient.h X ${LN} -s ${PREFIX}/lib/libsphinxclient-0.0.1.so ${PREFIX}/lib/libsphinxclient.so.0 X ${LN} -s ${PREFIX}/lib/libsphinxclient-0.0.1.so ${PREFIX}/lib/libsphinxclient.so X X.include <bsd.port.mk> fda6573d2cffdd6b33a129f279ea6d1b echo x - libsphinxclient/distinfo sed 's/^X//' >libsphinxclient/distinfo << 'd145334ae0c7cc46d095265fa8591d1b' XSHA256 (sphinx-1.10-beta.tar.gz) = 51b3e5f3254b4d93d6dce91a44451486e5b0f82a1e44799481158e1f95fc1c60 XSIZE (sphinx-1.10-beta.tar.gz) = 1518778 d145334ae0c7cc46d095265fa8591d1b echo x - libsphinxclient/pkg-descr sed 's/^X//' >libsphinxclient/pkg-descr << '46394bc016984971e79e5dceaeedc41e' XSphinx is a full-text search engine, distributed under GPL version X2. Commercial license is also available for embedded use. X XGenerally, it's a standalone search engine, meant to provide fast, Xsize-efficient and relevant fulltext search functions to other Xapplications. Sphinx was specially designed to integrate well with SQL Xdatabases and scripting languages. Currently built-in data sources Xsupport fetching data either via direct connection to MySQL, or from Xan XML pipe. X XAs for the name, Sphinx is an acronym which is officially decoded as XSQL Phrase Index. X XWWW: http://www.sphinxsearch.com/ 46394bc016984971e79e5dceaeedc41e echo x - libsphinxclient/pkg-plist sed 's/^X//' >libsphinxclient/pkg-plist << '57792752287ae12202d82081778a5f86' Xlib/libsphinxclient-0.0.1.so Xlib/libsphinxclient.so.0 Xlib/libsphinxclient.a Xlib/libsphinxclient.la Xlib/libsphinxclient.so Xinclude/sphinxclient.h 57792752287ae12202d82081778a5f86 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106061021.p56ALpF8042430>