FreeBSD Bugzilla – Attachment 193497 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]
ports files v6
kadnode.shar (text/plain), 5.89 KB, created by
moritzwarning
on 2018-05-17 20:17:16 UTC
(
hide
)
Description:
ports files v6
Filename:
MIME Type:
Creator:
moritzwarning
Created:
2018-05-17 20:17:16 UTC
Size:
5.89 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># kadnode ># kadnode/pkg-plist ># kadnode/Makefile ># kadnode/pkg-descr ># kadnode/files ># kadnode/files/kadnode.in ># kadnode/files/kadnode.conf.in ># kadnode/distinfo ># kadnode/pkg-message ># >echo c - kadnode >mkdir -p kadnode > /dev/null 2>&1 >echo x - kadnode/pkg-plist >sed 's/^X//' >kadnode/pkg-plist << 'ee61f23e7c6fbbf7d4eed6f11c8b046c' >Xbin/kadnode >Xbin/kadnode-ctl >Xlib/nss_kadnode.so >Xlib/nss_kadnode.so.1 >Xman/man1/kadnode.1.gz >Xetc/rc.d/kadnode >X@sample %%ETCDIR%%/kadnode.conf.sample >X@sample %%ETCDIR%%/peers.txt.sample >X@dir etc/kadnode >ee61f23e7c6fbbf7d4eed6f11c8b046c >echo x - kadnode/Makefile >sed 's/^X//' >kadnode/Makefile << 'b1b98cbd45bcc6f33a199f9d9b5f087e' >X# Created by: Moritz Warning <moritzwarning@web.de> >X# $FreeBSD$ >X >XPORTNAME= kadnode >XPORTVERSION= 2.2.0 >XDISTVERSIONPREFIX=v >XPORTREVISION= 0 >XCATEGORIES= dns >X >XMAINTAINER= moritzwarning@web.de >XCOMMENT= P2P name resolution daemon >X >XLICENSE= MIT >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XUSES= gmake >X >XUSE_GITHUB= yes >XGH_ACCOUNT= mwarning >XGH_PROJECT= KadNode >X >XOPTIONS_DEFINE= AUTH CMD DEBUG DNS LPD NATPMP NSS UPNP >XOPTIONS_DEFAULT= AUTH CMD LPD NSS >XAUTH_DESC= Authorization support based on mbedtls. >XCMD_DESC= Command line control tool kadnode-ctl. >XDEBUG_DESC= Build with debug messages and symbols. >XDNS_DESC= Include local DNS interface. >XLPD_DESC= Local peer discovery. >XNATPMP_DESC= NAT-PMP support. Enables remote port forwarding on the router. >XNSS_DESC= Name Service Switch support to intercept host queries (/etc/nsswitch.conf). >XUPNP_DESC= UPnP support. Enable remote port forwarding on the router. >X >XSUB_FILES= kadnode kadnode.conf >X >XAUTH_LIB_DEPENDS= libmbedtls.so:security/mbedtls >XAUTH_VARS= FEATURES+="bob tls" >X >XCMD_VARS= FEATURES+="cmd" >X >XDEBUG_VARS= FEATURES+="debug" >X >XDNS_VARS= FEATURES+="dns" >X >XLPD_VARS= FEATURES+="lpd" >X >XNATPMP_LIB_DEPENDS= libnatpmp.so:net/libnatpmp >XNATPMP_VARS= FEATURES+="natpmp" >X >XNSS_VARS= FEATURES+="nss" >X >XUPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc >XUPNP_VARS= FEATURES+="upnp" >X >XMAKE_ENV+= FEATURES="${FEATURES}" >X >Xdo-install: >X ${MKDIR} ${STAGEDIR}${PREFIX}/bin >X ${INSTALL_PROGRAM} ${WRKSRC}/build/kadnode ${STAGEDIR}${PREFIX}/bin/ >X ${RLN} -s kadnode ${STAGEDIR}${PREFIX}/bin/kadnode-ctl >X >X ${INSTALL_LIB} ${WRKSRC}/build/libnss_kadnode.so.2 ${STAGEDIR}${PREFIX}/lib/nss_kadnode.so >X ${RLN} -s ${STAGEDIR}${PREFIX}/lib/nss_kadnode.so ${STAGEDIR}${PREFIX}/lib/nss_kadnode.so.1 >X >X ${MKDIR} ${STAGEDIR}${ETCDIR} >X ${INSTALL_DATA} ${WRKSRC}/misc/peers.txt ${STAGEDIR}${ETCDIR}/peers.txt.sample >X ${INSTALL_DATA} ${WRKDIR}/kadnode.conf ${STAGEDIR}${ETCDIR}/kadnode.conf.sample >X >X ${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d/ >X ${INSTALL_SCRIPT} ${WRKDIR}/kadnode ${STAGEDIR}${PREFIX}/etc/rc.d/kadnode >X >X ${INSTALL_MAN} ${WRKSRC}/misc/manpage ${STAGEDIR}${MANPREFIX}/man/man1/kadnode.1 >X >X.include <bsd.port.mk> >b1b98cbd45bcc6f33a199f9d9b5f087e >echo x - kadnode/pkg-descr >sed 's/^X//' >kadnode/pkg-descr << '3923b8a530675a9c5ca9607acba3d1c2' >XKadNode is a small decentralized DNS resolver that can use existing >Xpublic key infrastructures. It utilizes the BitTorrent P2P network >Xand mbedtls for TLS/crypto support. >X >XWWW: https://github.com/mwarning/KadNode >3923b8a530675a9c5ca9607acba3d1c2 >echo c - kadnode/files >mkdir -p kadnode/files > /dev/null 2>&1 >echo x - kadnode/files/kadnode.in >sed 's/^X//' >kadnode/files/kadnode.in << '2a9f2c3bf48291b81d233ecd1468a604' >X#!/bin/sh >X >X# PROVIDE: kadnode >X# REQUIRE: SERVERS >X# BEFORE: DAEMON >X# KEYWORD: shutdown >X >X. /etc/rc.subr >X >Xname=kadnode >Xrcvar=kadnode_enable >X >Xpidfile="/var/run/kadnode.pid" >X >Xcommand="%%PREFIX%%/bin/kadnode" >Xkadnode_flags="--config %%PREFIX%%/etc/kadnode/kadnode.conf --pidfile $pidfile --daemon" >X >Xrequired_files="%%PREFIX%%/etc/kadnode/kadnode.conf" >X >Xload_rc_config $name >X: ${kadnode_enable:=yes} >Xrun_rc_command "$1" >2a9f2c3bf48291b81d233ecd1468a604 >echo x - kadnode/files/kadnode.conf.in >sed 's/^X//' >kadnode/files/kadnode.conf.in << '66cc7f38215592dfcd1c1b080fe0af28' >X >X# Load peers at startup from this file and save peers to this file at shutdown >X--peerfile %%PREFIX%%/etc/kadnode/peers.txt >X >X# For authentication via TLS, x509 certificates need to be provided. >X# The server needs a tuple of the certificate file and private key file: >X# --tls-server-cert mydomain.crt,mydomain.key >X# The domain in the Common Name field of the certificate will be announced. >X# >X# For domain lookup, we need to provide appropiate CA certificates. >X# Try various locations: >X--tls-client-cert /usr/local/share/certs >X >X# As an alternative, create a secret/public key via 'kadnode --bob-create-key' >X# and load the secret keys as PEM file: >X# --bob-load-key <secret-key-pem-file> >X# >X# Other nodes can use <public-key-hex>.p2p in the browser to resolve the node. >X >X# Enable DNS proxy behavior. Reads /etc/resolv.conf by default. >X# --dns-proxy-enable >X# >X# Or specify a DNS server by IP address: >X# --dns-proxy-server <IP-address> >X >X# Disable UPnP/NAT-PMP support >X# --disable-forwarding >X >X# Disable multicast peer discovery >X# --lpd-disable >66cc7f38215592dfcd1c1b080fe0af28 >echo x - kadnode/distinfo >sed 's/^X//' >kadnode/distinfo << '4b01fabc34d3b964cea9e6967e68da40' >XTIMESTAMP = 1526574032 >XSHA256 (mwarning-KadNode-v2.2.0_GH0.tar.gz) = 1b3ccaa01cbb7548ef268d8b562059452826dc774529303c494418d1a450ca97 >XSIZE (mwarning-KadNode-v2.2.0_GH0.tar.gz) = 446098 >4b01fabc34d3b964cea9e6967e68da40 >echo x - kadnode/pkg-message >sed 's/^X//' >kadnode/pkg-message << '5673a9bd20146d71c9b608272a70aeae' >XIn order to resolve domains using kadnode all over the system, add this line >Xto your /etc/nsswitch.conf: >X >Xhosts: kadnode dns >X >XIf the hosts line already exists, just add kadnode before the dns entry. >5673a9bd20146d71c9b608272a70aeae >exit >
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 Raw
Actions:
View
Attachments on
bug 225924
:
190653
|
193468
|
193469
|
193490
|
193491
|
193497
|
193503
|
193504
|
193519