NfSen Port PATCH

Mark Felder feld at FreeBSD.org
Wed Nov 13 22:20:19 UTC 2013


On Nov 13, 2013, at 12:27, Chad Gross <avatar4d at gmail.com> wrote:

> I found an issue with the nfsen port Makefile. It is not properly
> configured to expand the %%PORTNAME%% variable used when generating the
> nfsen config file.
> 
> 
> For example, the config that is installed shows this:
> 
> $VARDIR="${BASEDIR}/var/%%PORTNAME%%";
> 
> 
> When it should be this:
> 
> $VARDIR="${BASEDIR}/var/nfsen";
> 
> I have attached the patch, but also included it in-line below. I emailed
> the maintainer, but hadn't heard a response so figured I would send it here
> just in case.
> 
> 
> --- Makefile    2013-11-03 12:31:00.000000000 -0500
> 
> +++ Makefile.new        2013-11-03 12:30:51.000000000 -0500
> 
> @@ -37,6 +37,7 @@
> 
> SUB_LIST+=     "PORTVERSION=${PORTVERSION}"
> 
> SUB_LIST+=     "PREFIX=${PREFIX}"
> 
> SUB_LIST+=     "WWWDIR=${WWWDIR}"
> 
> +SUB_LIST+=     "PORTNAME=${PORTNAME}"
> 
> 
> 
> NO_STAGE=      yes
> 
> post-patch:
> 
> 
> Thanks,
> 

Thanks for catching this. I’m not sure how I missed this when I rewrote the port… I definitely tested clean installs, but I must have provided my own configs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131113/bc4afab7/attachment.sig>


More information about the freebsd-ports mailing list