Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2019 11:00:20 -0400
From:      Dan Langille <dan@langille.org>
To:        "se@freebsd.org" <se@FreeBSD.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   www/privatebin DATADBDIR not defined
Message-ID:  <7B5A107B-33D9-47F8-9596-4FFD27BEA8D6@langille.org>

next in thread | raw e-mail | index | archive | help
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 =3D DATADBDIR
files/patch-cfg_conf.sample.php:+dir =3D DATADBDIR
files/patch-cfg_conf.sample.php:+dir =3D DATADBDIR
files/patch-cfg_conf.sample.php:+;dsn =3D "sqlite:" DATADBDIR "/db.sq3"

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

=E2=80=94=20
Dan Langille
http://langille.org/








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B5A107B-33D9-47F8-9596-4FFD27BEA8D6>