Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 13:27:45 -0500
From:      Chad Gross <avatar4d@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   NfSen Port PATCH
Message-ID:  <CAHP1p-UJ-ZE-RcLxmrg5fsMSfKuxPk6p4Sug3A4=z2aeibKYKw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--001a11c3990052d2f704eb1320b2
Content-Type: text/plain; charset=ISO-8859-1

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,

Chad

--001a11c3990052d2f704eb1320b2
Content-Type: application/octet-stream; name="nfsen.patch"
Content-Disposition: attachment; filename="nfsen.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hnywaici0

LS0tIE1ha2VmaWxlICAgIDIwMTMtMTEtMDMgMTI6MzE6MDAuMDAwMDAwMDAwIC0wNTAwCisrKyBN
YWtlZmlsZS5uZXcgICAgICAgIDIwMTMtMTEtMDMgMTI6MzA6NTEuMDAwMDAwMDAwIC0wNTAwCkBA
IC0zNyw2ICszNyw3IEBACiBTVUJfTElTVCs9ICAgICAiUE9SVFZFUlNJT049JHtQT1JUVkVSU0lP
Tn0iCiBTVUJfTElTVCs9ICAgICAiUFJFRklYPSR7UFJFRklYfSIKIFNVQl9MSVNUKz0gICAgICJX
V1dESVI9JHtXV1dESVJ9IgorU1VCX0xJU1QrPSAgICAgIlBPUlROQU1FPSR7UE9SVE5BTUV9Igog
CiBOT19TVEFHRT0gICAgICB5ZXMKIHBvc3QtcGF0Y2g6Cgo=
--001a11c3990052d2f704eb1320b2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHP1p-UJ-ZE-RcLxmrg5fsMSfKuxPk6p4Sug3A4=z2aeibKYKw>