From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 6 10:30:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CF7A1065670 for ; Mon, 6 Jun 2011 10:30:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 036AC8FC08 for ; Mon, 6 Jun 2011 10:30:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p56AU9BZ096738 for ; Mon, 6 Jun 2011 10:30:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p56AU9jR096735; Mon, 6 Jun 2011 10:30:09 GMT (envelope-from gnats) Resent-Date: Mon, 6 Jun 2011 10:30:09 GMT Resent-Message-Id: <201106061030.p56AU9jR096735@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, Max Baryshnikov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C70C9106564A for ; Mon, 6 Jun 2011 10:21:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id AC7718FC12 for ; Mon, 6 Jun 2011 10:21:51 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p56ALpgK042431 for ; Mon, 6 Jun 2011 10:21:51 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p56ALpF8042430; Mon, 6 Jun 2011 10:21:51 GMT (envelope-from nobody) Message-Id: <201106061021.p56ALpF8042430@red.freebsd.org> Date: Mon, 6 Jun 2011 10:21:51 GMT From: Max Baryshnikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157654: New port: textproc/libsphinxclient C++ client library for sphinx search engine X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2011 10:30:10 -0000 >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 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 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 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 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: