[Bug 194312] games/minecraft-server issues after update to 1.8
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 14 18:10:47 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194312
--- Comment #7 from Helge Oldach <freebsd at oldach.net> ---
(In reply to John Marino from comment #6)
> I don't understand this:
>
> .for file in ${CONFIG_FILES}
> ${TOUCH} ${STAGEDIR}${ETCDIR}/${file}.sample
> ${LN} -s ${ETCDIR}/${file} ${STAGEDIR}${DATADIR}/${file}
> .endfor
>
> What is this doing?
>
> 1) it looks like blank sample files are being created
Exactly. For some reasons the maintainer decided to install blank configuration
files instead of meaningful content with the 1.8 port revision. At least, for
server.properties it would really be sensible to install some pre-configured
content. This was the case for the previous port revision. No idea why it was
changed.
Yes, these blank config files are ugly, however I felt it would be more
sensible to make use of existing pkg logic rather than bloating Makefile with
in-line scripts.
> 2) It looks like the next line was intended to be
> ${LN} -s ${ETCDIR}/${file} ${STAGEDIR}${DATADIR}/${file}.sample
Definitely not: The location of the configuration files is %%ETCDIR%%, i.e.
/usr/local/etc/minecraft-server. In *this* location both the .sample file and
the user-modified "real" configuration file are located. However, the minecraft
executable expects its config files in %%DATADIR%%, i.e.
/usr/local/share/minecraft-server, which is why symlinks are created there
pointing to real file location (without .sample suffix). This is intentional.
> and even if it was, that's wrong. @sample keyword would take care of it.
No, it doesn't. Tried and tested here (very recent 9-STABLE with pkg 1.3.8).
> Can you fix the other issues? All we want is a patch (and not have to
> create one ourselves)
If I would want to be the port maintainer, I would volunteer. It did not. I am
just a bug reporter.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list