FreeBSD Bugzilla – Attachment 172289 Details for
Bug 210730
[NEW PORT] net/cjdns: Routing engine designed for security, scalability, speed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar archive
cjdns.shar (text/plain), 4.36 KB, created by
Yuri Victorovich
on 2016-07-09 16:41:05 UTC
(
hide
)
Description:
shar archive
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2016-07-09 16:41:05 UTC
Size:
4.36 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: ># ># net/cjdns ># net/cjdns/Makefile ># net/cjdns/distinfo ># net/cjdns/pkg-descr ># net/cjdns/files ># net/cjdns/files/cjdns.in ># net/cjdns/files/pkg-message.in ># >echo c - net/cjdns >mkdir -p net/cjdns > /dev/null 2>&1 >echo x - net/cjdns/Makefile >sed 's/^X//' >net/cjdns/Makefile << '67e6bb1bc69f836d98ca1c5db99924be' >X# Created by: Yuri Victorovich <yuri@rawbw.com> >X# $FreeBSD$ >X >XPORTNAME= cjdns >XPORTVERSION= 17.4 >XDISTVERSIONPREFIX= cjdns-v >XCATEGORIES= net security >X >XMAINTAINER= yuri@rawbw.com >XCOMMENT= Routing engine designed for security, scalability, speed >X >XLICENSE= GPLv3 >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XBUILD_DEPENDS= node:www/node \ >X bash:shells/bash >X >XUSE_GITHUB= yes >XGH_ACCOUNT= cjdelisle >X >XUSES= gmake python >XUSE_RC_SUBR= cjdns >XSUB_FILES= cjdns pkg-message >XSUB_LIST= LOCALBASE=${LOCALBASE} >XPLIST_FILES= bin/cjdroute bin/run-cjdroute man/man5/cjdroute.conf.5.gz >X >Xpost-patch: >X @${REINPLACE_CMD} -i '' -e 's|/etc/|${LOCALBASE}/etc/|g' \ >X ${WRKSRC}/contrib/sh/run-cjdroute.sh >X >Xdo-build: >X cd ${WRKSRC} && ./do >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/cjdroute ${STAGEDIR}${PREFIX}/bin >X ${INSTALL_SCRIPT} ${WRKSRC}/contrib/sh/run-cjdroute.sh ${STAGEDIR}${PREFIX}/bin/run-cjdroute >X ${INSTALL_MAN} ${WRKSRC}/doc/man/cjdroute.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5 >X >Xdo-test: >X ${WRKSRC}/cjdroute --bench >X >X.include <bsd.port.mk> >67e6bb1bc69f836d98ca1c5db99924be >echo x - net/cjdns/distinfo >sed 's/^X//' >net/cjdns/distinfo << '93ee36d163c32be7d599d34436ffda77' >XTIMESTAMP = 1467325399 >XSHA256 (cjdelisle-cjdns-cjdns-v17.4_GH0.tar.gz) = 2f30aa4d2cc96a6c1f00e873df19b7b213cca1af716d74a091f59aa98b5758c4 >XSIZE (cjdelisle-cjdns-cjdns-v17.4_GH0.tar.gz) = 3955198 >93ee36d163c32be7d599d34436ffda77 >echo x - net/cjdns/pkg-descr >sed 's/^X//' >net/cjdns/pkg-descr << '3dcfd9303119b55054e7a4cc099e12aa' >XCjdns implements an encrypted IPv6 network using public-key cryptography for >Xaddress allocation and a distributed hash table for routing. This provides >Xnear-zero-configuration networking, and prevents many of the security and >Xscalability issues that plague existing networks. >X >XWWW: https://github.com/cjdelisle/cjdns >3dcfd9303119b55054e7a4cc099e12aa >echo c - net/cjdns/files >mkdir -p net/cjdns/files > /dev/null 2>&1 >echo x - net/cjdns/files/cjdns.in >sed 's/^X//' >net/cjdns/files/cjdns.in << '1bd0f1020c931d00f037df6bc0614e69' >X#!/bin/sh >X# >X# $FreeBSD$ >X# >X# PROVIDE: cjdns >X# REQUIRE: LOGIN >X >X. /etc/rc.subr >X >Xname="cjdns" >Xrcvar=cjdns_enable >Xcommand="%%PREFIX%%/bin/cjdroute" >Xcommand_args="< %%PREFIX%%/etc/cjdroute.conf" >X >Xif expr "$1" : ".*start" > /dev/null && ! [ -r %%PREFIX%%/etc/cjdroute.conf ]; then >X %%PREFIX%%/bin/cjdroute --genconf > %%PREFIX%%/etc/cjdroute.conf && >X echo "$name: (!!!) generated the initial config file %%PREFIX%%/etc/cjdroute.conf" && >X echo "$name: (!!!) keep this file secret because it contains your secret key" >X chmod 0600 %%PREFIX%%/etc/cjdroute.conf >Xfi >X >Xload_rc_config $name >Xrun_rc_command "$1" >1bd0f1020c931d00f037df6bc0614e69 >echo x - net/cjdns/files/pkg-message.in >sed 's/^X//' >net/cjdns/files/pkg-message.in << '344272f69f6434dbd8ecc87c2e923d19' >X====================================================================== >XYou installed CJDNS: IPv6 routing engine >X >XIt is recommended to run CJDNS as a service: >X# sysrc cjdns_enable="YES" >X# service cjdns start >X >XWhen started the first time cjdns creates the config file >X%%PREFIX%%/etc/cjdroute.conf that you should edit: >X* You may want to add some nodes to connect to the section "connectTo" >X from some of these sites: >X * https://pad.meshwith.me/p/public >X * http://cjdns.me/ >X * https://github.com/hyperboria/peers >X* You may want to uncomment "tunDevice" to make cjdns always use the same >X tun device. >X >XIn order to be able to open IPv6 websites in your browser you need >Xto add the IPv6 default route: >X# route -6 add default fc00::1 >X >XHere are some websites on CJDNS network: >X* http://socialno.de/ - social network >X* https://rows.io/ - Jabber server >X* http://forum.meshbits.io/ - forums >X* http://h.fc00.org/ - network map >X====================================================================== >344272f69f6434dbd8ecc87c2e923d19 >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 210730
:
171986
|
171987
|
171997
|
172029
|
172289
|
172299