Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2014 02:37:48 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366366 - head/net/prosearch
Message-ID:  <201408280237.s7S2bm5h039964@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Thu Aug 28 02:37:47 2014
New Revision: 366366
URL: http://svnweb.freebsd.org/changeset/ports/366366
QAT: https://qat.redports.org/buildarchive/r366366/

Log:
  1: Upgrade to 0.19.4.
  2: Stagify.
  
  PR:		ports/193071
  Submitted by:	<proler gmail.com>

Modified:
  head/net/prosearch/Makefile
  head/net/prosearch/distinfo
  head/net/prosearch/pkg-plist

Modified: head/net/prosearch/Makefile
==============================================================================
--- head/net/prosearch/Makefile	Thu Aug 28 02:24:26 2014	(r366365)
+++ head/net/prosearch/Makefile	Thu Aug 28 02:37:47 2014	(r366366)
@@ -1,9 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	prosearch
-PORTVERSION=	0.19.2
-PORTREVISION=	1
-#PORTREVISION=	1
+PORTVERSION=	0.19.4
 CATEGORIES=	net www
 MASTER_SITES=	http://pro.setun.net/search/download/ SF/pro-search/pro-search/${PORTVERSION}
 
@@ -16,7 +14,7 @@ SUB_FILES=	pkg-message
 SUB_LIST=	SEARCHDIR=${SEARCHDIR}
 NO_BUILD=	yes
 SEARCHDIR?=	www/search
-PLIST_SUB+=	SEARCHDIR=${SEARCHDIR}
+PLIST_SUB+=	SEARCHDIR=${SEARCHDIR} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 
 SAMBA_PORT?=	net/samba36
 
@@ -38,7 +36,6 @@ SPHINX_DESC=		sphinx fulltext search eng
 
 #		NGINX "With web server deps (NGINX)" off
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 RUN_DEPENDS+=\
@@ -135,13 +132,7 @@ p5-DBD-SQLite>=0:${PORTSDIR}/databases/p
 WRKSRC=	${WRKDIR}/search
 
 do-install:
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${SEARCHDIR}/
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${SEARCHDIR}
-	@${CHMOD} +x ${PREFIX}/${SEARCHDIR}/crawler.pl ${PREFIX}/${SEARCHDIR}/010.search.purge ${PREFIX}/${SEARCHDIR}/*.sh.* ${PREFIX}/${SEARCHDIR}/web/*.*cgi
-	@${ECHO_CMD} @exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
-		${SEARCHDIR:S|^${PREFIX}/|%D/|} >> ${TMPPLIST}
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SEARCHDIR}
+	@${CHMOD} +x ${STAGEDIR}${PREFIX}/${SEARCHDIR}/crawler.pl ${STAGEDIR}${PREFIX}/${SEARCHDIR}/010.search.purge ${STAGEDIR}${PREFIX}/${SEARCHDIR}/*.sh.* ${STAGEDIR}${PREFIX}/${SEARCHDIR}/web/*.*cgi
 
 .include <bsd.port.mk>

Modified: head/net/prosearch/distinfo
==============================================================================
--- head/net/prosearch/distinfo	Thu Aug 28 02:24:26 2014	(r366365)
+++ head/net/prosearch/distinfo	Thu Aug 28 02:37:47 2014	(r366366)
@@ -1,2 +1,2 @@
-SHA256 (prosearch-0.19.2.tar.bz2) = 3bf5b90a1f8d66a20cc699ed487708a719e31f6217aa1856f009565d33ffe9fb
-SIZE (prosearch-0.19.2.tar.bz2) = 400435
+SHA256 (prosearch-0.19.4.tar.bz2) = a7a81a11fd9cf4e779748eab76c6266d2945e3cd2649c42d08a69037791dc698
+SIZE (prosearch-0.19.4.tar.bz2) = 422617

Modified: head/net/prosearch/pkg-plist
==============================================================================
--- head/net/prosearch/pkg-plist	Thu Aug 28 02:24:26 2014	(r366365)
+++ head/net/prosearch/pkg-plist	Thu Aug 28 02:37:47 2014	(r366366)
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
 %%SEARCHDIR%%/tools/prosearch/files/pkg-message.in
 %%SEARCHDIR%%/tools/prosearch/pkg-descr
 %%SEARCHDIR%%/tools/prosearch/pkg-plist
@@ -23,12 +25,13 @@
 %%SEARCHDIR%%/lib/lib.js
 %%SEARCHDIR%%/lib/search1.js
 %%SEARCHDIR%%/lib/player.js
-%%SEARCHDIR%%/lib/jquery-1.7.1.min.js
+%%SEARCHDIR%%/lib/jquery-1.10.1.min.js
 %%SEARCHDIR%%/lib/psmisc.pm
 %%SEARCHDIR%%/lib/psweb.pm
 %%SEARCHDIR%%/lib/lib.css
 %%SEARCHDIR%%/lib/pssql.pm
 %%SEARCHDIR%%/t/json.t
+%%SEARCHDIR%%/t/psmisc.t
 %%SEARCHDIR%%/WHATSNEW
 %%SEARCHDIR%%/search.sh.dist
 %%SEARCHDIR%%/config.pl.dist
@@ -80,7 +83,7 @@
 %%SEARCHDIR%%/web/lib/lib.js
 %%SEARCHDIR%%/web/lib/search1.js
 %%SEARCHDIR%%/web/lib/player.js
-%%SEARCHDIR%%/web/lib/jquery-1.7.1.min.js
+%%SEARCHDIR%%/web/lib/jquery-1.10.1.min.js
 %%SEARCHDIR%%/web/lib/psmisc.pm
 %%SEARCHDIR%%/web/lib/psweb.pm
 %%SEARCHDIR%%/web/lib/lib.css
@@ -107,6 +110,8 @@
 %%SEARCHDIR%%/COPYING
 %%SEARCHDIR%%/crawler.pl
 %%SEARCHDIR%%/confdef.pl
+@group
+@owner
 @dirrm %%SEARCHDIR%%/tools/prosearch/files
 @dirrm %%SEARCHDIR%%/tools/prosearch
 @dirrm %%SEARCHDIR%%/tools



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408280237.s7S2bm5h039964>