I have modified the games/xonotic port to add optional support for encryption using security/d0_blind_id. This encryption library is used by Xonotic by both the server and client to submit weapon and player statistics, as well as to optionally encrypt the traffic between the client and the server. Being that this provides statistics to the Xonotic community I have enabled this new optional dependency by default. However, as it is a cryptographic library, I am unsure whether this is suitable for certain countries (I know there are some restrictions on cryptography in the US etc). If somebody feels that this option should be disabled by default, then by all means do so. I contacted the port maintainer about this potential modification to the port over a week ago, and have not heard back from them sadly. However, you may want to CC them on this PR nonetheless. The diff has a .txt extension appended to allow it to be uploaded via firefox. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->amdmi3 Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed. Thanks!
Author: amdmi3 Date: Wed Mar 26 23:23:27 2014 New Revision: 349306 URL: http://svnweb.freebsd.org/changeset/ports/349306 QAT: https://qat.redports.org/buildarchive/r349306/ Log: - Add encryption support PR: 187855 Submitted by: Jonathan Price <freebsd@jonathanprice.org> Modified: head/games/xonotic/Makefile Modified: head/games/xonotic/Makefile ============================================================================== --- head/games/xonotic/Makefile Wed Mar 26 23:16:09 2014 (r349305) +++ head/games/xonotic/Makefile Wed Mar 26 23:23:27 2014 (r349306) @@ -3,7 +3,7 @@ PORTNAME= xonotic PORTVERSION= 0.7.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= http://nl.dl.xonotic.org/ \ http://mirror.bitmissile.com/xonotic/releases/ @@ -32,17 +32,20 @@ USE_GCC= yes PORTDATA= * OPTIONS_MULTI= COMPONENTS -OPTIONS_MULTI_COMPONENTS=CLIENT DEDICATED -OPTIONS_DEFAULT=CLIENT DEDICATED +OPTIONS_MULTI_COMPONENTS=CLIENT DEDICATED ENCRYPTION +OPTIONS_DEFAULT=CLIENT DEDICATED ENCRYPTION CLIENT_DESC= Build client DEDICATED_DESC= Build dedicated server +ENCRYPTION_DESC=Build encryption (required for stats submission) CLIENT_LIB_DEPENDS+= libmodplug.so:${PORTSDIR}/audio/libmodplug \ libtheora.so:${PORTSDIR}/multimedia/libtheora \ libvorbis.so:${PORTSDIR}/audio/libvorbis \ libogg.so:${PORTSDIR}/audio/libogg +ENCRYPTION_LIB_DEPENDS= libd0_rijndael.so:${PORTSDIR}/security/d0_blind_id + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MCLIENT} @@ -84,6 +87,9 @@ do-install: ${FIND} ${STAGEDIR}${DATADIR}/server -type f -name *.sh -o -name rcon*.pl | \ ${XARGS} ${CHMOD} +x .endif +.if ${PORT_OPTIONS:MENCRYPTION} + ${INSTALL_DATA} ${WRKDIR}/Xonotic/key_0.d0pk ${STAGEDIR}${PREFIX}/share/${PORTNAME} +.endif ${MKDIR} ${STAGEDIR}${DATADIR}/data ${INSTALL_DATA} ${WRKDIR}/Xonotic/data/*.pk3 ${STAGEDIR}${DATADIR}/data/ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"