# 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: # # py-isso # py-isso/Makefile # py-isso/pkg-descr # py-isso/files # py-isso/files/isso.in # py-isso/pkg-message # py-isso/distinfo # echo c - py-isso mkdir -p py-isso > /dev/null 2>&1 echo x - py-isso/Makefile sed 's/^X//' >py-isso/Makefile << '235e15b54f088b2ef02cf5dae1965047' X# $FreeBSD$ X XPORTNAME= isso XDISTVERSION= 0.12.2 XCATEGORIES= www XMASTER_SITES= https://posativ.org/isso/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= rt@scientifics.de XCOMMENT= A commenting server silimar to Disqus X XLICENSE= MIT XLICENSE_FILE= $(WRKSRC)/LICENSE X XUSE_GITHUB= yes XGH_ACCOUNT= posativ X XCOMMIT_ID= 7be6a756a34e3dafa1ffddf1eb385b0c44f6b6c6 X XNO_ARCH= yes XUSES= python XUSE_PYTHON= autoplist concurrent distutils X XUSERS= www XGROUPS= www X XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ X ${PYTHON_PKGNAMEPREFIX}bleach>0:www/py-bleach@${PY_FLAVOR} \ X ${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug@${PY_FLAVOR} \ X ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ X ${PYTHON_PKGNAMEPREFIX}misaka>0:textproc/py-misaka@${PY_FLAVOR} \ X ${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR} \ X ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ X ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} \ X ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ X sqlite3>0:databases/sqlite3 X XUSE_RC_SUBR= isso X XPLIST_FILES= "etc/isso.conf.sample" X Xpost-patch: X @${REINPLACE_CMD} -e 's|/etc/isso.conf|/usr/local/etc/isso.conf|g' ${WRKSRC}/isso/__init__.py X Xpost-install: X @${MKDIR} ${STAGEDIR}${PREFIX}/etc X ${CP} ${WRKSRC}/share/isso.conf ${STAGEDIR}${PREFIX}/etc/isso.conf.sample X X.include 235e15b54f088b2ef02cf5dae1965047 echo x - py-isso/pkg-descr sed 's/^X//' >py-isso/pkg-descr << '365921718856a459036da32c44e2a0ef' XIsso is a lightweight commenting server similar to Disqus. It allows anonymous Xcomments, maintains identity and is simple to administrate. It uses JavaScript Xand cross-origin ressource sharing for easy integration into (static) websites X Xhttps://posativ.org/isso/docs/ 365921718856a459036da32c44e2a0ef echo c - py-isso/files mkdir -p py-isso/files > /dev/null 2>&1 echo x - py-isso/files/isso.in sed 's/^X//' >py-isso/files/isso.in << 'e052c2acc189bcbac07554719810ff4d' X#!/bin/sh X# X# $FreeBSD$ X# X# PROVIDE: isso X# REQUIRE: DAEMON X# KEYWORD: shutdown X# X# isso_enable="YES" X# X X. /etc/rc.subr X Xname=isso Xrcvar=isso_enable Xdesc="isso commenting service" X Xload_rc_config ${name} X X: ${isso_enable:=NO} X: ${isso_config=/usr/local/etc/isso.conf} X Xlogfile=/var/log/isso.log Xpidfile=/var/run/isso.pid Xcommand=/usr/local/bin/isso Xstart_cmd=isso_start Xstop_cmd=isso_stop Xprocname=/usr/sbin/daemon X Xis_process_running="[ -f $pidfile ] && procstat $(cat $pidfile) >/dev/null 2>&1" X Xisso_start() X{ X if is_process_running; then X echo "isso is already running (pid=$(cat $pidfile))" X return 1 X fi X export USER=www X export HOME=$(echo ~www) X touch $logfile X chmod 640 $logfile X /usr/sbin/daemon -P $pidfile -u www /usr/local/bin/isso -c ${isso_config} run >>$logfile 2>&1 X if is_process_running; then X echo "started isso (pid=$(cat $pidfile))" X else X echo "failed to start isso" X fi X} X Xisso_stop() X{ X if is_process_running; then X local pid=$(cat $pidfile) X echo "stopping isso (pid=$pid)" X kill -- -$pid X else X echo "isso isn't running" X fi X} X Xrun_rc_command "$1" e052c2acc189bcbac07554719810ff4d echo x - py-isso/pkg-message sed 's/^X//' >py-isso/pkg-message << '2303699d6ccd88ac96a21a4808f584b5' X[ X{ X message: <py-isso/distinfo << '43964baf5a425fb8723c4b1fdf11f645' XTIMESTAMP = 1567785184 XSHA256 (posativ-isso-0.12.2_GH0.tar.gz) = b1aafbfda42e9862f6492952865ba85499a23e51bb0afc44b6ea3622ea45ed69 XSIZE (posativ-isso-0.12.2_GH0.tar.gz) = 174049 43964baf5a425fb8723c4b1fdf11f645 exit