FreeBSD Bugzilla – Attachment 229443 Details for
Bug 240375
[NEW PORT] www/py-isso: Commenting server similar to Disqus
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
updated portdirectory
py-isso.shar (text/plain), 4.77 KB, created by
René Thümmler
on 2021-11-12 10:24:00 UTC
(
hide
)
Description:
updated portdirectory
Filename:
MIME Type:
Creator:
René Thümmler
Created:
2021-11-12 10:24:00 UTC
Size:
4.77 KB
patch
obsolete
>#!/bin/sh ># This is a shell archive >echo x py-isso >mkdir -p py-isso > /dev/null 2>&1 >echo x py-isso/Makefile >sed 's/^X//' > py-isso/Makefile << 'SHAR_END' >X# created by Rene Thuemmler <rt@scientifics.de> >X >XPORTNAME= isso >XDISTVERSION= 0.12.6 >XCATEGORIES= www python >XMASTER_SITES= CHEESESHOP >XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >X >XMAINTAINER= rt@scientifics.de >XCOMMENT= Commenting server similar to Disqus >X >XLICENSE= MIT >XLICENSE_FILE= $(WRKSRC)/LICENSE >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>=1.0.0:www/py-werkzeug@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}Flask-Caching>=1.9.0:www/py-flask-caching@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}misaka>=2.0<3.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}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} >X >XBUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>1.3.0:devel/py-cffi@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ >X git>2:devel/git \ >X npm>0:www/npm \ >X sassc>0:textproc/sassc >X >XUSES= gmake python:3.4+ >XUSE_PYTHON= autoplist distutils >XUSE_GITHUB= yes >XGH_ACCOUNT= posativ >XGH_TAGNAME= 9e021cb6 >X >XALL_TARGET= init man js >X >XMAKE_JOBS_UNSAFE= no >X >XUSERS= www >XGROUPS= www >X >XUSE_RC_SUBR= isso >X >XPLIST_FILES= "@sample etc/isso.conf.sample" >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|/etc/isso.conf|${PREFIX}/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 >Xdo-build: >X @cd ${WRKSRC} && ${MAKE_CMD} -f ${MAKEFILE} ${ALL_TARGET} >X >Xdo-test: >X @cd ${WRKSRC} && ${PYTHON_CMD} setup.py nosetests >X >X.include <bsd.port.mk> >SHAR_END >echo x py-isso/pkg-descr >sed 's/^X//' > py-isso/pkg-descr << 'SHAR_END' >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 >XWWW: https://posativ.org/isso/docs/ >SHAR_END >echo x py-isso/files >mkdir -p py-isso/files > /dev/null 2>&1 >echo x py-isso/pkg-message >sed 's/^X//' > py-isso/pkg-message << 'SHAR_END' >X[ >X{ >X message: <<EOM >Xplease inspect and customize isso.conf. To run as a service you should add >Xisso_enable="YES" to your rc.conf. You can also change if needed: >X >Xisso_bin="/usr/local/bin/isso" >Xisso_config="/usr/local/etc/isso.conf" >Xisso_user="www" >XEOM >X} >X{ >X type: remove >X message: <<EOM >Xyou might want to remove isso.conf if present. >XEOM >X} >X] >SHAR_END >echo x py-isso/distinfo >sed 's/^X//' > py-isso/distinfo << 'SHAR_END' >XSHA256 (posativ-isso-0.12.6-9e021cb6_GH0.tar.gz) = 400602b898eb0d89372fe7b6180a4bd8994de360b83968e9731607fe16188a3a >XSIZE (posativ-isso-0.12.6-9e021cb6_GH0.tar.gz) = 186555 >SHAR_END >echo x py-isso/files/isso.in >sed 's/^X//' > py-isso/files/isso.in << 'SHAR_END' >X#!/bin/sh >X# >X# $FreeBSD$ >X# >X# PROVIDE: isso >X# REQUIRE: DAEMON >X# KEYWORD: shutdown >X# >X# isso_enable="YES" >X# isso_bin="/usr/local/bin/isso" >X# isso_config="/usr/local/etc/isso.conf" >X# isso_user="www" >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_bin=/usr/local/bin/isso} >X: ${isso_config=/usr/local/etc/isso.conf} >X: ${isso_user=www} >X >Xlogfile=/var/log/isso.log >Xpidfile=/var/run/isso.pid >Xcommand="${isso_bin} -c ${isso_config} run" >Xstart_cmd=isso_start >Xstatus_cmd=isso_status >Xstop_cmd=isso_stop >Xprocname=/usr/sbin/daemon >X >Xisso_start() >X{ >X if [ -f ${pidfile} ]; then >X echo "isso is already running (pid=$(cat ${pidfile}))" >X return 1 >X fi >X export USER=${isso_user} >X export HOME=$(echo ~${isso_user}) >X touch ${logfile} >X chmod 640 ${logfile} >X ${procname} -P ${pidfile} -u ${isso_user} ${command} >>${logfile} 2>&1 >X if [ -f ${pidfile} ]; then >X echo "started isso (pid=$(cat ${pidfile}))" >X else >X echo "failed to start isso" >X fi >X} >X >Xisso_status() >X{ >X if [ -f ${pidfile} ]; then >X echo "isso is running (pid=$(cat ${pidfile}))" >X else >X echo "isso is not running" >X return 1 >X fi >X} >X >Xisso_stop() >X{ >X if [ -f ${pidfile} ]; then >X local pid=$(cat $pidfile) >X echo "stopping isso (pid=$pid)" >X kill -- -$pid >X rm -f ${pidfile} >X else >X echo "isso is not running" >X fi >X} >X >Xrun_rc_command "$1" >SHAR_END >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 240375
:
207247
|
207256
|
207315
| 229443