FreeBSD Bugzilla – Attachment 189286 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]
[patch]
Updated patch
nncp.patch (text/plain), 11.00 KB, created by
Yuri Victorovich
on 2017-12-31 10:25:20 UTC
(
hide
)
Description:
Updated patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2017-12-31 10:25:20 UTC
Size:
11.00 KB
patch
obsolete
>Index: net/nncp/Makefile >=================================================================== >--- net/nncp/Makefile (nonexistent) >+++ net/nncp/Makefile (working copy) >@@ -0,0 +1,33 @@ >+# $FreeBSD$ >+ >+PORTNAME= nncp >+DISTVERSION= 2.0 >+CATEGORIES= net >+MASTER_SITES= http://www.nncpgo.org/download/ >+ >+MAINTAINER= stargrave@stargrave.org >+COMMENT= Utilities for secure store-and-forward files and mail exchanging >+ >+LICENSE= GPLv3+ >+LICENSE_FILE= ${WRKSRC}/COPYING >+ >+BUILD_DEPENDS= go:lang/go >+ >+USES= tar:xz >+MAKEFILE= BSDmakefile >+USE_RC_SUBR= nncp-caller nncp-daemon nncp-toss >+INSTALL_TARGET= install-strip >+ >+SUB_FILES= pkg-message pkg-install pkg-deinstall >+ >+OPTIONS_DEFINE= DOCS >+ >+PORTDOCS= AUTHORS NEWS NEWS.RU README README.RU THANKS >+INFO= nncp >+ >+post-install: >+ ${INSTALL_DATA} ${FILESDIR}/nncp.newsyslog.conf.sample ${STAGEDIR}${PREFIX}/etc/nncp.conf.sample >+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d >+ @cd ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d && ${LN} -s ../nncp.conf >+ >+.include <bsd.port.mk> > >Property changes on: net/nncp/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: net/nncp/distinfo >=================================================================== >--- net/nncp/distinfo (nonexistent) >+++ net/nncp/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1514626571 >+SHA256 (nncp-2.0.tar.xz) = bef31b13fb25381ea511fb77067798ab27409238bdf5600fe2eadb29e5e78996 >+SIZE (nncp-2.0.tar.xz) = 1009932 > >Property changes on: net/nncp/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: net/nncp/files/nncp-caller.in >=================================================================== >--- net/nncp/files/nncp-caller.in (nonexistent) >+++ net/nncp/files/nncp-caller.in (working copy) >@@ -0,0 +1,29 @@ >+#!/bin/sh >+# >+# $FreeBSD$ >+# >+# PROVIDE: nncp-caller >+# REQUIRE: DAEMON NETWORKING FILESYSTEMS >+# KEYWORD: shutdown >+# >+# Add these lines to /etc/rc.conf.local or /etc/rc.conf >+# to enable this service: >+# >+# nncp_caller_enable (bool): Set to NO by default. >+# Set it to YES to enable nncp-caller. >+# nncp_caller_config (path): Set to %%PREFIX%%/etc/nncp.yaml by default. >+ >+. /etc/rc.subr >+ >+name=nncp_caller >+rcvar=nncp_caller_enable >+ >+load_rc_config $name >+ >+: ${nncp_caller_enable:="NO"} >+: ${nncp_caller_config="%%PREFIX%%/etc/nncp.yaml"} >+ >+command=%%PREFIX%%/bin/nncp-caller >+command_args="-quiet -cfg $nncp_caller_config &" >+ >+run_rc_command "$1" > >Property changes on: net/nncp/files/nncp-caller.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: net/nncp/files/nncp-daemon.in >=================================================================== >--- net/nncp/files/nncp-daemon.in (nonexistent) >+++ net/nncp/files/nncp-daemon.in (working copy) >@@ -0,0 +1,32 @@ >+#!/bin/sh >+# >+# $FreeBSD$ >+# >+# PROVIDE: nncp-daemon >+# REQUIRE: DAEMON NETWORKING FILESYSTEMS >+# KEYWORD: shutdown >+# >+# Add these lines to /etc/rc.conf.local or /etc/rc.conf >+# to enable this service: >+# >+# nncp_daemon_enable (bool): Set to NO by default. >+# Set it to YES to enable nncp-daemon. >+# nncp_daemon_config (path): Set to %%PREFIX%%/etc/nncp.yaml by default. >+# nncp_daemon_bind (string): Address:port to bind to >+# Default is "[::]:5400". >+ >+. /etc/rc.subr >+ >+name=nncp_daemon >+rcvar=nncp_daemon_enable >+ >+load_rc_config $name >+ >+: ${nncp_daemon_enable:="NO"} >+: ${nncp_daemon_config="%%PREFIX%%/etc/nncp.yaml"} >+: ${nncp_daemon_bind="[::]:5400"} >+ >+command=%%PREFIX%%/bin/nncp-daemon >+command_args="-quiet -bind $nncp_daemon_bind -cfg $nncp_daemon_config &" >+ >+run_rc_command "$1" > >Property changes on: net/nncp/files/nncp-daemon.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: net/nncp/files/nncp-toss.in >=================================================================== >--- net/nncp/files/nncp-toss.in (nonexistent) >+++ net/nncp/files/nncp-toss.in (working copy) >@@ -0,0 +1,32 @@ >+#!/bin/sh >+# >+# $FreeBSD$ >+# >+# PROVIDE: nncp-toss >+# REQUIRE: DAEMON NETWORKING FILESYSTEMS >+# KEYWORD: shutdown >+# >+# Add these lines to /etc/rc.conf.local or /etc/rc.conf >+# to enable this service: >+# >+# nncp_toss_enable (bool): Set to NO by default. >+# Set it to YES to enable nncp-toss. >+# nncp_toss_config (path): Set to %%PREFIX%%/etc/nncp.yaml by default. >+# nncp_toss_cycle (int): Repeat tossing after that number of seconds. >+# Default is "60". >+ >+. /etc/rc.subr >+ >+name=nncp_toss >+rcvar=nncp_toss_enable >+ >+load_rc_config $name >+ >+: ${nncp_toss_enable:="NO"} >+: ${nncp_toss_config="%%PREFIX%%/etc/nncp.yaml"} >+: ${nncp_toss_cycle="60"} >+ >+command=%%PREFIX%%/bin/nncp-toss >+command_args="-quiet -cycle $nncp_toss_cycle -cfg $nncp_toss_config &" >+ >+run_rc_command "$1" > >Property changes on: net/nncp/files/nncp-toss.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: net/nncp/files/nncp.newsyslog.conf.sample >=================================================================== >--- net/nncp/files/nncp.newsyslog.conf.sample (nonexistent) >+++ net/nncp/files/nncp.newsyslog.conf.sample (working copy) >@@ -0,0 +1 @@ >+/var/spool/nncp/log 644 7 100 * CXN > >Property changes on: net/nncp/files/nncp.newsyslog.conf.sample >___________________________________________________________________ >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: net/nncp/files/pkg-deinstall.in >=================================================================== >--- net/nncp/files/pkg-deinstall.in (nonexistent) >+++ net/nncp/files/pkg-deinstall.in (working copy) >@@ -0,0 +1,9 @@ >+#!/bin/sh >+ >+[ "$2" = "POST-DEINSTALL" ] || exit 0 >+ >+if [ -e %%PREFIX%%/etc/nncp.yaml ]; then >+ echo "%%PREFIX%%/etc/nncp.yaml with your private keys is not removed!" >+fi >+ >+exec rmdir /var/spool/nncp > >Property changes on: net/nncp/files/pkg-deinstall.in >___________________________________________________________________ >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: net/nncp/files/pkg-install.in >=================================================================== >--- net/nncp/files/pkg-install.in (nonexistent) >+++ net/nncp/files/pkg-install.in (working copy) >@@ -0,0 +1,5 @@ >+#!/bin/sh >+ >+[ "$2" = "POST-INSTALL" ] || exit 0 >+ >+[ -e /var/spool/nncp ] || exec mkdir -p /var/spool/nncp > >Property changes on: net/nncp/files/pkg-install.in >___________________________________________________________________ >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: net/nncp/files/pkg-message.in >=================================================================== >--- net/nncp/files/pkg-message.in (nonexistent) >+++ net/nncp/files/pkg-message.in (working copy) >@@ -0,0 +1,17 @@ >+====================================================================== >+- Add the following lines to /etc/rc.conf to enable nncp-daemon, >+ nncp-caller and nncp-toss: >+ >+ nncp_daemon_enable="YES" >+ nncp_caller_enable="YES" >+ nncp_toss_enable="YES" >+ >+- %%PREFIX%%/etc/newsyslog.conf.d/nncp.conf >+ log rotation configuration has been installed. >+- /var/spool/nncp is the packet spool directory. >+- Look in nncp.info how to integrate mail exchanging with Postfix. >+- Generate NNCP configuration file using the command: >+ >+ # umask 077 >+ # nncp-newcfg > %%PREFIX%%/etc/nncp.yaml >+====================================================================== > >Property changes on: net/nncp/files/pkg-message.in >___________________________________________________________________ >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: net/nncp/pkg-descr >=================================================================== >--- net/nncp/pkg-descr (nonexistent) >+++ net/nncp/pkg-descr (working copy) >@@ -0,0 +1,16 @@ >+NNCP (Node to Node copy) is a collection of utilities simplifying >+secure store-and-forward files and mail exchanging. >+ >+This utilities are intended to help build up small size (dozens of >+nodes) ad-hoc friend-to-friend (F2F) statically routed darknet networks >+for fire-and-forget secure reliable files, file requests and Internet >+mail transmission. All packets are integrity checked, end-to-end >+encrypted (E2EE), explicitly authenticated by known participants public >+keys. Onion encryption is applied to relayed packets. Each node acts >+both as a client and server, can use push and poll behaviour model. >+ >+Out-of-box offline sneakernet/floppynet, dead drops, sequential and >+append-only CD-ROM/tape storages, air-gapped computers support. But >+online TCP daemon with full-duplex resumable data transmission exists. >+ >+WWW: http://www.nncpgo.org/ > >Property changes on: net/nncp/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: net/nncp/pkg-plist >=================================================================== >--- net/nncp/pkg-plist (nonexistent) >+++ net/nncp/pkg-plist (working copy) >@@ -0,0 +1,20 @@ >+bin/nncp-bundle >+bin/nncp-call >+bin/nncp-caller >+bin/nncp-cfgenc >+bin/nncp-cfgmin >+bin/nncp-cfgnew >+bin/nncp-check >+bin/nncp-daemon >+bin/nncp-file >+bin/nncp-freq >+bin/nncp-log >+bin/nncp-mail >+bin/nncp-pkt >+bin/nncp-reass >+bin/nncp-rm >+bin/nncp-stat >+bin/nncp-toss >+bin/nncp-xfer >+@sample etc/nncp.conf.sample >+etc/newsyslog.conf.d/nncp.conf > >Property changes on: net/nncp/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 215973
:
178756
|
178977
|
179125
|
179683
|
181401
|
182194
|
182670
|
183400
|
184058
|
185632
|
188471
|
189214
| 189286