www/privatebin DATADBDIR not defined

Dan Langille dan at langille.org
Wed Aug 28 15:00:26 UTC 2019


Hello,

Post install, index.php contains: define('DATADBDIR', '%% DATADBDIR%%');

I think the intention was to define DATADBDIR and perform a SUB_LIST operation.

$ grep -r DATADBDIR *
Makefile:	@${REINPLACE_CMD} -e 's:%%DATADBDIR%%:/var/db/${PORTNAME}:' \
files/patch-index.php:+define('DATADBDIR', '%%DATADBDIR%%');
files/patch-cfg_conf.sample.php:+dir = DATADBDIR
files/patch-cfg_conf.sample.php:+dir = DATADBDIR
files/patch-cfg_conf.sample.php:+dir = DATADBDIR
files/patch-cfg_conf.sample.php:+;dsn = "sqlite:" DATADBDIR "/db.sq3"

Is the Makefile missing a 'DATADBDIR= privatebin' for example?

— 
Dan Langille
http://langille.org/







More information about the freebsd-ports mailing list