FreeBSD Bugzilla – Attachment 188471 Details for
Bug 215973
[NEW PORT] net/nncp: Utilities for secure store-and-forward files and mail exchanging
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
1.0 version
nncp.shar (text/plain), 7.39 KB, created by
Sergey Matveev
on 2017-12-02 16:27:58 UTC
(
hide
)
Description:
1.0 version
Filename:
MIME Type:
Creator:
Sergey Matveev
Created:
2017-12-02 16:27:58 UTC
Size:
7.39 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: ># ># nncp ># nncp/distinfo ># nncp/files ># nncp/files/pkg-deinstall.in ># nncp/files/nncp-daemon.in ># nncp/files/nncp.newsyslog.conf.sample.in ># nncp/files/nncp-caller.in ># nncp/files/pkg-message.in ># nncp/files/pkg-install.in ># nncp/files/nncp-toss.in ># nncp/Makefile ># nncp/pkg-descr ># >echo c - nncp >mkdir -p nncp > /dev/null 2>&1 >echo x - nncp/distinfo >sed 's/^X//' >nncp/distinfo << '81be7a8a245a3e4cd36f4337dffe11c1' >XTIMESTAMP = 1512231235 >XSHA256 (nncp-1.0.tar.xz) = 68bf7803cd25f59a56d9fd6c695002b5bfbaf5918a6583f43139fc28ca1ab4af >XSIZE (nncp-1.0.tar.xz) = 1011696 >81be7a8a245a3e4cd36f4337dffe11c1 >echo c - nncp/files >mkdir -p nncp/files > /dev/null 2>&1 >echo x - nncp/files/pkg-deinstall.in >sed 's/^X//' >nncp/files/pkg-deinstall.in << 'cce44f6b0bd477dafdb9a7a767a1e26a' >X#!/bin/sh >X >X[ "$2" = "POST-DEINSTALL" ] || exit 0 >X >Xif [ -e %%PREFIX%%/etc/nncp.yaml ]; then >X echo "%%PREFIX%%/etc/nncp.yaml with your private keys is not removed!" >Xfi >X >Xexec rmdir /var/spool/nncp >cce44f6b0bd477dafdb9a7a767a1e26a >echo x - nncp/files/nncp-daemon.in >sed 's/^X//' >nncp/files/nncp-daemon.in << 'e1d7c145292036b81e2a7c61d7dc18a6' >X#!/bin/sh >X# >X# $FreeBSD$ >X# >X# PROVIDE: nncp-daemon >X# REQUIRE: DAEMON NETWORKING FILESYSTEMS >X# KEYWORD: shutdown >X# >X# Add these lines to /etc/rc.conf.local or /etc/rc.conf >X# to enable this service: >X# >X# nncp_daemon_enable (bool): Set to NO by default. >X# Set it to YES to enable nncp-daemon. >X# nncp_daemon_config (path): Set to %%PREFIX%%/etc/nncp.yaml by default. >X# nncp_daemon_bind (string): Address:port to bind to >X# Default is "[::]:5400". >X >X. /etc/rc.subr >X >Xname=nncp_daemon >Xrcvar=nncp_daemon_enable >X >Xload_rc_config $name >X >X: ${nncp_daemon_enable:="NO"} >X: ${nncp_daemon_config="%%PREFIX%%/etc/nncp.yaml"} >X: ${nncp_daemon_bind="[::]:5400"} >X >Xcommand=%%PREFIX%%/bin/nncp-daemon >Xcommand_args="-quiet -bind $nncp_daemon_bind -cfg $nncp_daemon_config &" >X >Xrun_rc_command "$1" >e1d7c145292036b81e2a7c61d7dc18a6 >echo x - nncp/files/nncp.newsyslog.conf.sample.in >sed 's/^X//' >nncp/files/nncp.newsyslog.conf.sample.in << '7db77d4738a2501022451b6720e862c0' >X/var/spool/nncp/log 644 7 100 * CXN >7db77d4738a2501022451b6720e862c0 >echo x - nncp/files/nncp-caller.in >sed 's/^X//' >nncp/files/nncp-caller.in << '1c8ce612078958c2a651bb4a01a95d68' >X#!/bin/sh >X# >X# $FreeBSD$ >X# >X# PROVIDE: nncp-caller >X# REQUIRE: DAEMON NETWORKING FILESYSTEMS >X# KEYWORD: shutdown >X# >X# Add these lines to /etc/rc.conf.local or /etc/rc.conf >X# to enable this service: >X# >X# nncp_caller_enable (bool): Set to NO by default. >X# Set it to YES to enable nncp-caller. >X# nncp_caller_config (path): Set to %%PREFIX%%/etc/nncp.yaml by default. >X >X. /etc/rc.subr >X >Xname=nncp_caller >Xrcvar=nncp_caller_enable >X >Xload_rc_config $name >X >X: ${nncp_caller_enable:="NO"} >X: ${nncp_caller_config="%%PREFIX%%/etc/nncp.yaml"} >X >Xcommand=%%PREFIX%%/bin/nncp-caller >Xcommand_args="-quiet -cfg $nncp_caller_config &" >X >Xrun_rc_command "$1" >1c8ce612078958c2a651bb4a01a95d68 >echo x - nncp/files/pkg-message.in >sed 's/^X//' >nncp/files/pkg-message.in << '2a8e861abc60f91dfa34bfcdbe83236e' >X====================================================================== >X- Add the following lines to /etc/rc.conf to enable nncp-daemon, >X nncp-caller and nncp-toss: >X >X nncp_daemon_enable="YES" >X nncp_caller_enable="YES" >X nncp_toss_enable="YES" >X >X- %%PREFIX%%/etc/newsyslog.conf.d/nncp.conf >X log rotation configuration has been installed. >X- /var/spool/nncp is the packet spool directory. >X- Look in nncp.info how to integrate mail exchanging with Postfix. >X- Generate NNCP configuration file using the command: >X >X # umask 077 >X # nncp-newcfg > %%PREFIX%%/etc/nncp.yaml >X====================================================================== >2a8e861abc60f91dfa34bfcdbe83236e >echo x - nncp/files/pkg-install.in >sed 's/^X//' >nncp/files/pkg-install.in << 'debc5e613ad03e1731822f13c7c7b3d3' >X#!/bin/sh >X >X[ "$2" = "POST-INSTALL" ] || exit 0 >X >X[ -e /var/spool/nncp ] || exec mkdir -p /var/spool/nncp >debc5e613ad03e1731822f13c7c7b3d3 >echo x - nncp/files/nncp-toss.in >sed 's/^X//' >nncp/files/nncp-toss.in << '2f275a5bd67a34686ce8e45b83f86b91' >X#!/bin/sh >X# >X# $FreeBSD$ >X# >X# PROVIDE: nncp-toss >X# REQUIRE: DAEMON NETWORKING FILESYSTEMS >X# KEYWORD: shutdown >X# >X# Add these lines to /etc/rc.conf.local or /etc/rc.conf >X# to enable this service: >X# >X# nncp_toss_enable (bool): Set to NO by default. >X# Set it to YES to enable nncp-toss. >X# nncp_toss_config (path): Set to %%PREFIX%%/etc/nncp.yaml by default. >X# nncp_toss_cycle (int): Repeat tossing after that number of seconds. >X# Default is "60". >X >X. /etc/rc.subr >X >Xname=nncp_toss >Xrcvar=nncp_toss_enable >X >Xload_rc_config $name >X >X: ${nncp_toss_enable:="NO"} >X: ${nncp_toss_config="%%PREFIX%%/etc/nncp.yaml"} >X: ${nncp_toss_cycle="60"} >X >Xcommand=%%PREFIX%%/bin/nncp-toss >Xcommand_args="-quiet -cycle $nncp_toss_cycle -cfg $nncp_toss_config &" >X >Xrun_rc_command "$1" >2f275a5bd67a34686ce8e45b83f86b91 >echo x - nncp/Makefile >sed 's/^X//' >nncp/Makefile << 'c153b228ef015e0ff749b32d07a39589' >X# $FreeBSD$ >X >XPORTNAME= nncp >XPORTVERSION= 1.0 >XCATEGORIES= net >XMASTER_SITES= http://www.nncpgo.org/download/ >X >XMAINTAINER= stargrave@stargrave.org >XCOMMENT= Utilities for secure store-and-forward files and mail exchanging >X >XLICENSE= GPLv3+ >XLICENSE_FILE= ${WRKSRC}/COPYING >X >XBUILD_DEPENDS= go:lang/go >X >XUSES= tar:xz >XMAKEFILE= BSDmakefile >X >XUSE_RC_SUBR= nncp-caller nncp-daemon nncp-toss >XREQUIRE= DAEMON >X >XSUB_FILES= pkg-message pkg-install pkg-deinstall nncp.newsyslog.conf.sample >X >XPORTDOCS= AUTHORS NEWS NEWS.RU README README.RU THANKS >XINFO= nncp >XINSTALL_TARGET= install-strip >X >XPLIST_FILES= bin/nncp-bundle \ >X bin/nncp-call \ >X bin/nncp-caller \ >X bin/nncp-cfgenc \ >X bin/nncp-cfgmin \ >X bin/nncp-cfgnew \ >X bin/nncp-check \ >X bin/nncp-daemon \ >X bin/nncp-file \ >X bin/nncp-freq \ >X bin/nncp-log \ >X bin/nncp-mail \ >X bin/nncp-pkt \ >X bin/nncp-reass \ >X bin/nncp-rm \ >X bin/nncp-stat \ >X bin/nncp-toss \ >X bin/nncp-xfer \ >X "@sample etc/newsyslog.conf.d/nncp.conf.sample" >X >Xpost-install: >X ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d >X ${INSTALL_DATA} ${WRKDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/nncp.conf.sample >X >X.include <bsd.port.mk> >c153b228ef015e0ff749b32d07a39589 >echo x - nncp/pkg-descr >sed 's/^X//' >nncp/pkg-descr << '16b9b8636174d77ec579f2f140dab70a' >XNNCP (Node to Node copy) is a collection of utilities simplifying >Xsecure store-and-forward files and mail exchanging. >X >XThis utilities are intended to help build up small size (dozens of >Xnodes) ad-hoc friend-to-friend (F2F) statically routed darknet networks >Xfor fire-and-forget secure reliable files, file requests and Internet >Xmail transmission. All packets are integrity checked, end-to-end >Xencrypted (E2EE), explicitly authenticated by known participants public >Xkeys. Onion encryption is applied to relayed packets. Each node acts >Xboth as a client and server, can use push and poll behaviour model. >X >XOut-of-box offline sneakernet/floppynet, dead drops, sequential and >Xappend-only CD-ROM/tape storages, air-gapped computers support. But >Xonline TCP daemon with full-duplex resumable data transmission exists. >X >XWWW: http://www.nncpgo.org/ >16b9b8636174d77ec579f2f140dab70a >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
Flags:
stargrave
:
maintainer-approval+
Actions:
View
Attachments on
bug 215973
:
178756
|
178977
|
179125
|
179683
|
181401
|
182194
|
182670
|
183400
|
184058
|
185632
|
188471
|
189214
|
189286