NfSen Port PATCH

Chad Gross avatar4d at gmail.com
Thu Nov 14 17:49:12 UTC 2013


No problem; it happens.

Chad


On Wed, Nov 13, 2013 at 5:20 PM, Mark Felder <feld at freebsd.org> wrote:

>
> 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
>
>


More information about the freebsd-ports mailing list