* Fixed uid:gid of solr directories
PR: 220001 Submitted by: Matthias Fechner <idefix@fechner.net> (maintainer), Reshad Patuck <reshadpatuck1@gmail.com> Reviewed by: lifanov (mentor) Approved by: lifanov (mentor) Differential Revision: https://reviews.freebsd.org/D11501
This commit is contained in:
parent
b997bc5876
commit
a4c4f75fb2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445166
3 changed files with 6 additions and 27 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= apache-solr
|
||||
PORTVERSION= 6.5.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc java
|
||||
MASTER_SITES= APACHE/lucene/solr/${PORTVERSION}
|
||||
DISTNAME= solr-${PORTVERSION}
|
||||
|
@ -23,7 +24,7 @@ JAVA_RUN= yes
|
|||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
||||
SUB_FILES= pkg-message pkg-install
|
||||
SUB_FILES= pkg-message
|
||||
USE_RC_SUBR= solr
|
||||
USERS= solr
|
||||
GROUPS= ${USERS}
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
#! /bin/sh
|
||||
#
|
||||
PATH=/bin:/usr/bin:/usr/sbin
|
||||
|
||||
set -e
|
||||
case "$2" in
|
||||
|
||||
POST-INSTALL)
|
||||
echo "---> Starting post-install script"
|
||||
LC_ALL=C
|
||||
export LC_ALL
|
||||
|
||||
echo "Fix permissions"
|
||||
/usr/sbin/chown -R solr /var/db/solr
|
||||
/usr/bin/chgrp -R solr /var/db/solr
|
||||
/usr/sbin/chown -R solr /var/log/solr
|
||||
/usr/bin/chgrp -R solr /var/log/solr
|
||||
echo "done."
|
||||
echo ""
|
||||
|
||||
;;
|
||||
esac
|
|
@ -1,6 +1,6 @@
|
|||
@sample etc/solr.in.sh-dist etc/solr.in.sh
|
||||
@sample /var/db/solr/solr.xml-dist /var/db/solr/solr.xml
|
||||
@sample /var/db/solr/log4j.properties-dist /var/db/solr/log4j.properties
|
||||
@sample(solr,solr) /var/db/solr/solr.xml-dist /var/db/solr/solr.xml
|
||||
@sample(solr,solr) /var/db/solr/log4j.properties-dist /var/db/solr/log4j.properties
|
||||
solr/CHANGES.txt
|
||||
solr/LICENSE.txt
|
||||
solr/LUCENE_CHANGES.txt
|
||||
|
@ -1829,5 +1829,5 @@ solr/server/solr/configsets/sample_techproducts_configs/conf/xslt/updateXml.xsl
|
|||
solr/server/solr/solr.xml
|
||||
solr/server/solr/zoo.cfg
|
||||
solr/server/start.jar
|
||||
@dir /var/db/solr
|
||||
@dir /var/log/solr
|
||||
@dir(solr,solr) /var/db/solr
|
||||
@dir(solr,solr) /var/log/solr
|
||||
|
|
Loading…
Reference in a new issue