Index: branches/2016Q4/www/py-kallithea/Makefile =================================================================== --- branches/2016Q4/www/py-kallithea/Makefile (revision 428525) +++ branches/2016Q4/www/py-kallithea/Makefile (revision 428526) @@ -1,53 +1,56 @@ # Created by: Ilia Skalozubov # $FreeBSD$ PORTNAME= kallithea PORTVERSION= 0.3.2 +PORTREVISION= 1 CATEGORIES= www devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Kallithea-${PORTVERSION} MAINTAINER= freebsd@skinc.ru COMMENT= Fast and powerful management tool for Mercurial and Git LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}PasteScript>=1.6.3:www/py-pastescript RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}waitress>=0.8.8:www/py-waitress \ ${PYTHON_PKGNAMEPREFIX}webob>=1.0.8:www/py-webob \ ${PYTHON_PKGNAMEPREFIX}WebTest>=1.4.3:www/py-WebTest \ ${PYTHON_PKGNAMEPREFIX}pylons>=1.0:www/py-pylons \ ${PYTHON_PKGNAMEPREFIX}beaker>=1.6.4:www/py-beaker \ ${PYTHON_PKGNAMEPREFIX}webhelpers>=1.3:www/py-webhelpers \ ${PYTHON_PKGNAMEPREFIX}formencode>=1.2.4:www/py-formencode \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy07>=0.7.10:databases/py-sqlalchemy07 \ ${PYTHON_PKGNAMEPREFIX}mako>=0.9.0:textproc/py-mako \ ${PYTHON_PKGNAMEPREFIX}pygments>=1.5:textproc/py-pygments \ ${PYTHON_PKGNAMEPREFIX}whoosh>=2.4.0:textproc/py-whoosh \ ${PYTHON_PKGNAMEPREFIX}celery>=2.2.5:devel/py-celery \ ${PYTHON_PKGNAMEPREFIX}Babel>=0.9.6:devel/py-babel \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:devel/py-dateutil \ ${PYTHON_PKGNAMEPREFIX}markdown>=2.2.1:textproc/py-markdown \ ${PYTHON_PKGNAMEPREFIX}docutils>=0.8.1:textproc/py-docutils \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock \ ${PYTHON_PKGNAMEPREFIX}urlobject>=2.3.4:www/py-urlobject \ ${PYTHON_PKGNAMEPREFIX}routes>=1.13:www/py-routes \ ${PYTHON_PKGNAMEPREFIX}dulwich>=0.9.9:devel/dulwich \ ${PYTHON_PKGNAMEPREFIX}bcrypt>=0.3.0:security/py-bcrypt \ mercurial>=2.9:devel/mercurial USES= python:2.7 USE_PYTHON= distutils autoplist + +NO_ARCH= yes USE_RC_SUBR= kallithea SUB_FILES= pkg-message OPTIONS_DEFINE= GIT LDAP GIT_DESC= Git repositories support GIT_RUN_DEPENDS= git:devel/git LDAP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ldap:net/py-ldap .include Index: branches/2016Q4/www/py-kallithea/files/kallithea.in =================================================================== --- branches/2016Q4/www/py-kallithea/files/kallithea.in (revision 428525) +++ branches/2016Q4/www/py-kallithea/files/kallithea.in (revision 428526) @@ -1,75 +1,75 @@ #!/bin/sh # # $FreeBSD$ # # PROVIDE: kallithea # REQUIRE: NETWORKING FILESYSTEMS mountlate # KEYWORD: shutdown . /etc/rc.subr name=kallithea rcvar=kallithea_enable desc="Fast and powerful management tool for Mercurial and Git" load_rc_config ${name} : ${kallithea_enable:=NO} : ${kallithea_config=%%PREFIX%%/etc/kallithea.ini} : ${kallithea_user:=www} : ${kallithea_group:=www} : ${kallithea_logfile=/var/log/kallithea/kallithea.log} : ${kallithea_pidfile=/var/run/kallithea/kallithea.pid} rcvars="kallithea_config kallithea_user kallithea_group kallithea_logfile kallithea_pidfile" kallithea_enable_desc="Set to YES to enable kallithea" kallithea_enable_defval=NO kallithea_config_desc="Kallithea config file for paster" kallithea_config_defval=%%PREFIX%%/etc/kallithea.ini kallithea_user_desc="Set the user for paster" kallithea_user_defval=www kallithea_group_desc="Set the group for paster" kallithea_group_defval=www kallithea_logfile_desc="Save output to the given log file (redirects stdout)" kallithea_logfile_defval=/var/log/kallithea/kallithea.log kallithea_pidfile_desc="Save PID to file" kallithea_pidfile_defval=/var/run/kallithea/kallithea.pid command=%%PREFIX%%/bin/paster pidfile="${kallithea_pidfile}" required_files="${kallithea_config}" -command_args=" serve --user=${kallithea_user} --group=${kallithea_group} --pid-file=${pidfile} --log-file=${kallithea_logfile} --daemon ${kallithea_config}" +command_args=" serve --pid-file=${pidfile} --log-file=${kallithea_logfile} --daemon ${kallithea_config}" start_precmd=kallithea_prestart status_cmd=kallithea_status stop_cmd=kallithea_stop kallithea_prestart() { for _file in "${kallithea_logfile}" "${pidfile}"; do _dir="${_file%/*}" if [ ! -e "$_dir" ]; then install -d -o ${kallithea_user} "${_dir}" elif [ -f "$_dir" ]; then echo "Not a directory: $_dir" return 20 fi done } kallithea_status() { ${command} serve --pid-file=${pidfile} --status ${kallithea_config} return $? } kallithea_stop() { echo "Stopping ${name}." ${command} serve --pid-file=${pidfile} --stop-daemon return $? } run_rc_command "$1" Index: branches/2016Q4 =================================================================== --- branches/2016Q4 (revision 428525) +++ branches/2016Q4 (revision 428526) Property changes on: branches/2016Q4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r428440