From owner-svn-ports-head@freebsd.org Mon May 30 17:48:01 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 138D4B5548E; Mon, 30 May 2016 17:48:01 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CA2661ADD; Mon, 30 May 2016 17:48:00 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4UHm0YU088900; Mon, 30 May 2016 17:48:00 GMT (envelope-from rene@FreeBSD.org) Received: (from rene@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4UHm0nS088896; Mon, 30 May 2016 17:48:00 GMT (envelope-from rene@FreeBSD.org) Message-Id: <201605301748.u4UHm0nS088896@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rene set sender to rene@FreeBSD.org using -f From: Rene Ladan Date: Mon, 30 May 2016 17:48:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416166 - head/net/prosearch X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2016 17:48:01 -0000 Author: rene Date: Mon May 30 17:47:59 2016 New Revision: 416166 URL: https://svnweb.freebsd.org/changeset/ports/416166 Log: net/prosearch: modernize and fix dependencies - Change SAMBA dependency to use net/samba44 instead of net/samba-smbclient, which is the expired 3.6 version - Change optional MARIA dependency to use the client/server from databases/mariadb100-* instead of those from databases/mariadb-* which were removed - Disable the MariaDB dependency because it conflicts with databases/mysql* via databases/p5-DBD-mysql - Modernize USE_MYSQL lines - Bump PORTREVISION Modified: head/net/prosearch/Makefile Modified: head/net/prosearch/Makefile ============================================================================== --- head/net/prosearch/Makefile Mon May 30 17:28:53 2016 (r416165) +++ head/net/prosearch/Makefile Mon May 30 17:47:59 2016 (r416166) @@ -2,7 +2,7 @@ PORTNAME= prosearch PORTVERSION= 0.19.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net www MASTER_SITES= http://pro.setun.net/search/download/ SF/pro-search/pro-search/${PORTVERSION} @@ -22,26 +22,25 @@ NO_ARCH= yes SEARCHDIR?= www/search PLIST_SUB+= SEARCHDIR=${SEARCHDIR} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" -SAMBA_PORT?= net/samba36 - -#todo -# user and group for crawler, nginx +#TODO user and group for crawler OPTIONS_DEFINE= CRAWLER SAMBA RSYNC APACHE MOD_PERL2 MOD_FASTCGI \ - DB MYSQL MARIA PGSQL PGPP SQLITE SPHINX + DB MYSQL PGSQL PGPP SQLITE SPHINX OPTIONS_DEFAULT= CRAWLER SAMBA APACHE DB MYSQL -CRAWLER_DESC= With crawler deps (nmap, p5-libwww) +CRAWLER_DESC= With crawler (nmap, p5-libwww) SAMBA_DESC= crawler with SAMBA (file://) RSYNC_DESC= crawler with RSYNC APACHE_DESC= With web server apache2.2+ MOD_PERL2_DESC= With MOD_PERL2 MOD_FASTCGI_DESC= With MOD_FASTCGI -DB_DESC= With database server deps -MARIA_DESC= maria (mysql replace) +DB_DESC= With both database server and client +#MARIA_DESC= mariaDB PGPP_DESC= postgres pure Perl connection driver SPHINX_DESC= sphinx fulltext search engine +#NGINX_DESC= With web server (NGINX) -# NGINX "With web server deps (NGINX)" off - +#RG1_DESC= Database backend +#OPTIONS_RADIO= RG1 +#OPTIONS_RADIO_RG1= MYSQL MARIA .include RUN_DEPENDS+=\ @@ -57,9 +56,7 @@ nmap:security/nmap \ p5-Net-DirectConnect>=0:net-p2p/p5-Net-DirectConnect .endif -.if ${PORT_OPTIONS:MSAMBA} -RUN_DEPENDS+= smbclient:net/samba-smbclient -.endif +SAMBA_RUN_DEPENDS=smbclient:net/samba44 .if ${PORT_OPTIONS:MRSYNC} RUN_DEPENDS+= rsync:net/rsync @@ -92,24 +89,24 @@ searchd:textproc/sphinxsearch-devel .endif .if ${PORT_OPTIONS:MMYSQL} -USE_MYSQL= client +USES+= mysql RUN_DEPENDS+=\ p5-DBD-mysql>=0:databases/p5-DBD-mysql .endif .if ${PORT_OPTIONS:MDB} && ${PORT_OPTIONS:MMYSQL} -USE_MYSQL= server +USES+= mysql:server .endif .if ${PORT_OPTIONS:MMARIA} RUN_DEPENDS+=\ p5-DBD-mysql>=0:databases/p5-DBD-mysql \ -${LOCALBASE}bin/mysql:databases/mariadb-client +${LOCALBASE}bin/mysql:databases/mariadb100-client .endif .if ${PORT_OPTIONS:MDB} && ${PORT_OPTIONS:MMARIA} RUN_DEPENDS+=\ -${LOCALBASE}/libexec/mysqld:databases/mariadb-server +${LOCALBASE}/libexec/mysqld:databases/mariadb100-server .endif .if ${PORT_OPTIONS:MPGSQL}