FreeBSD Bugzilla – Attachment 193504 Details for
Bug 225924
[NEW PORT] dns/kadnode: P2P DNS resolver
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
kadnode.diff
kadnode.diff (text/plain), 7.47 KB, created by
Tobias Kortkamp
on 2018-05-18 00:21:02 UTC
(
hide
)
Description:
kadnode.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2018-05-18 00:21:02 UTC
Size:
7.47 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (nonexistent) >+++ Makefile (working copy) >@@ -0,0 +1,66 @@ >+# Created by: Moritz Warning <moritzwarning@web.de> >+# $FreeBSD$ >+ >+PORTNAME= kadnode >+DISTVERSIONPREFIX= v >+DISTVERSION= 2.2.0 >+PORTREVISION= 0 >+CATEGORIES= dns >+ >+MAINTAINER= moritzwarning@web.de >+COMMENT= P2P name resolution daemon >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+USES= gmake >+USE_GITHUB= yes >+GH_ACCOUNT= mwarning >+GH_PROJECT= KadNode >+USE_RC_SUBR= kadnode >+ >+MAKE_ENV= FEATURES="${FEATURES}" LFLAGS="${LDFLAGS}" >+SUB_FILES= kadnode.conf >+ >+OPTIONS_DEFINE= AUTH CMD DEBUG DNS LPD NATPMP NSS UPNP >+OPTIONS_DEFAULT= AUTH CMD LPD NSS >+ >+AUTH_DESC= Authorization support based on mbedtls >+CMD_DESC= Command line control tool kadnode-ctl >+DEBUG_DESC= Build with debug messages and symbols >+DNS_DESC= Include local DNS interface >+LPD_DESC= Local peer discovery >+NATPMP_DESC= NAT-PMP support (remote port forwarding on the router) >+NSS_DESC= Name Service Switch support to intercept host queries >+UPNP_DESC= UPnP support (remote port forwarding on the router) >+ >+AUTH_LIB_DEPENDS= libmbedtls.so:security/mbedtls >+AUTH_VARS= FEATURES+="bob tls" >+ >+CMD_VARS= FEATURES+="cmd" >+ >+DEBUG_VARS= FEATURES+="debug" >+ >+DNS_VARS= FEATURES+="dns" >+ >+LPD_VARS= FEATURES+="lpd" >+ >+NATPMP_LIB_DEPENDS= libnatpmp.so:net/libnatpmp >+NATPMP_VARS= FEATURES+="natpmp" >+ >+NSS_VARS= FEATURES+="nss" >+ >+UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc >+UPNP_VARS= FEATURES+="upnp" >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/build/kadnode ${STAGEDIR}${PREFIX}/bin/ >+ ${RLN} ${STAGEDIR}${PREFIX}/bin/kadnode ${STAGEDIR}${PREFIX}/bin/kadnode-ctl >+ ${INSTALL_LIB} ${WRKSRC}/build/libnss_kadnode.so.2 ${STAGEDIR}${PREFIX}/lib/nss_kadnode.so.1 >+ ${RLN} ${STAGEDIR}${PREFIX}/lib/nss_kadnode.so.1 ${STAGEDIR}${PREFIX}/lib/nss_kadnode.so >+ ${MKDIR} ${STAGEDIR}${ETCDIR} >+ ${INSTALL_DATA} ${WRKSRC}/misc/peers.txt ${STAGEDIR}${ETCDIR}/peers.txt.sample >+ ${INSTALL_DATA} ${WRKDIR}/kadnode.conf ${STAGEDIR}${ETCDIR}/kadnode.conf.sample >+ ${INSTALL_MAN} ${WRKSRC}/misc/manpage ${STAGEDIR}${MANPREFIX}/man/man1/kadnode.1 >+ >+.include <bsd.port.mk> > >Property changes on: Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: distinfo >=================================================================== >--- distinfo (nonexistent) >+++ distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1526574032 >+SHA256 (mwarning-KadNode-v2.2.0_GH0.tar.gz) = 1b3ccaa01cbb7548ef268d8b562059452826dc774529303c494418d1a450ca97 >+SIZE (mwarning-KadNode-v2.2.0_GH0.tar.gz) = 446098 > >Property changes on: distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/kadnode.conf.in >=================================================================== >--- files/kadnode.conf.in (nonexistent) >+++ files/kadnode.conf.in (working copy) >@@ -0,0 +1,29 @@ >+# Load peers at startup from this file and save peers to this file at shutdown >+--peerfile %%PREFIX%%/etc/kadnode/peers.txt >+ >+# For authentication via TLS, x509 certificates need to be provided. >+# The server needs a tuple of the certificate file and private key file: >+# --tls-server-cert mydomain.crt,mydomain.key >+# The domain in the Common Name field of the certificate will be announced. >+# >+# For domain lookup, we need to provide appropiate CA certificates. >+# Try various locations: >+--tls-client-cert %%LOCALBASE%%/share/certs >+ >+# As an alternative, create a secret/public key via 'kadnode --bob-create-key' >+# and load the secret keys as PEM file: >+# --bob-load-key <secret-key-pem-file> >+# >+# Other nodes can use <public-key-hex>.p2p in the browser to resolve the node. >+ >+# Enable DNS proxy behavior. Reads /etc/resolv.conf by default. >+# --dns-proxy-enable >+# >+# Or specify a DNS server by IP address: >+# --dns-proxy-server <IP-address> >+ >+# Disable UPnP/NAT-PMP support >+# --disable-forwarding >+ >+# Disable multicast peer discovery >+# --lpd-disable > >Property changes on: files/kadnode.conf.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/kadnode.in >=================================================================== >--- files/kadnode.in (nonexistent) >+++ files/kadnode.in (working copy) >@@ -0,0 +1,20 @@ >+#!/bin/sh >+ >+# PROVIDE: kadnode >+# REQUIRE: SERVERS >+# BEFORE: DAEMON >+# KEYWORD: shutdown >+ >+. /etc/rc.subr >+ >+name=kadnode >+rcvar=kadnode_enable >+ >+command="%%PREFIX%%/bin/kadnode" >+command_args="--config %%PREFIX%%/etc/kadnode/kadnode.conf --pidfile $pidfile --daemon" >+pidfile="/var/run/kadnode.pid" >+required_files="%%PREFIX%%/etc/kadnode/kadnode.conf" >+ >+load_rc_config $name >+: ${kadnode_enable:=yes} >+run_rc_command "$1" > >Property changes on: files/kadnode.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: pkg-descr >=================================================================== >--- pkg-descr (nonexistent) >+++ pkg-descr (working copy) >@@ -0,0 +1,5 @@ >+KadNode is a small decentralized DNS resolver that can use existing >+public key infrastructures. It utilizes the BitTorrent P2P network >+and mbedtls for TLS/crypto support. >+ >+WWW: https://github.com/mwarning/KadNode > >Property changes on: pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: pkg-message >=================================================================== >--- pkg-message (nonexistent) >+++ pkg-message (working copy) >@@ -0,0 +1,6 @@ >+In order to resolve domains using kadnode all over the system, add this >+line to your /etc/nsswitch.conf: >+ >+hosts: kadnode dns >+ >+If the hosts line already exists, just add kadnode before the dns entry. > >Property changes on: pkg-message >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: pkg-plist >=================================================================== >--- pkg-plist (nonexistent) >+++ pkg-plist (working copy) >@@ -0,0 +1,7 @@ >+bin/kadnode >+bin/kadnode-ctl >+@sample %%ETCDIR%%/kadnode.conf.sample >+@sample %%ETCDIR%%/peers.txt.sample >+lib/nss_kadnode.so >+lib/nss_kadnode.so.1 >+man/man1/kadnode.1.gz > >Property changes on: pkg-plist >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 225924
:
190653
|
193468
|
193469
|
193490
|
193491
|
193497
|
193503
| 193504 |
193519