git ssb

0+

webi / nncp



Tree: f048130d8bb546e6246391c52662e2ae8b5972d5

Files: f048130d8bb546e6246391c52662e2ae8b5972d5 / INSTALL

5152 bytesRaw
1Installation
2************
3
4NNCP should run on any POSIX-compatible operating system with file
5systems supporting directory and filename’s length up to 57 characters.
6
7 NNCP is written on Go (https://golang.org/) programming language and
8you have to install Go compiler (1.7+ version is highly recommended).
9_Make_ (BSD and GNU ones are fine) is recommended for convenient
10building. Texinfo (https://www.gnu.org/software/texinfo/) is used for
11building documentation.
12
13 In general you must get *note the tarball: Tarballs, check its *note
14integrity and authenticity: Integrity. and run ‘make’. Look for general
15and *note platform-specific: Platform-specific. installation
16instructions.
17
18Prepared tarballs
19=================
20
21You can obtain releases source code prepared tarballs on
22<http://www.nncpgo.org/>.
23Tarballs integrity check
24========================
25
26You *have to* check downloaded archives integrity and verify their
27signature to be sure that you have got trusted, untampered software.
28For integrity and authentication of downloaded binaries The GNU Privacy
29Guard (https://www.gnupg.org/) is used. You must download signature
30(‘.sig’) provided with the tarball.
31
32 For the very first time you need to import signing public key. It is
33provided below, but it is better to check alternative resources with it.
34
35pub rsa2048/0x2B25868E75A1A953 2017-01-10
36 92C2 F0AE FE73 208E 46BF F3DE 2B25 868E 75A1 A953
37uid NNCP releases <releases at nncpgo dot org>
38
39 • % gpg --keyserver hkp://keys.gnupg.net/ --recv-keys 0x2B25868E75A1A953
40 % gpg --auto-key-locate dane --locate-keys releases at nncpgo dot org
41 % gpg --auto-key-locate wkd --locate-keys releases at nncpgo dot org
42 % gpg --auto-key-locate pka --locate-keys releases at nncpgo dot org
43
44 • -----BEGIN PGP PUBLIC KEY BLOCK-----
45
46 mQENBFh0lv0BCADmquHdyjr1Mr8VHRNxzipHxmgbdK3CGJL1yzb1ntj7zbJl5UnQ
47 71cxQ968pYPOBYqsA3oqtURAXzVL6qPGajHM+OXKB5OOjmt7vbd3xP5sBCWOjlrq
48 S7yWx5ffuXf++tCGiXGkG7q+4zmXJUBuaot0fQ5ebBVLzVVIMv2C4hArZFZtK+YZ
49 GkrIU+S49joe4qeUdCIQ1KpEB2m774QFxG05fMMys9L60wkL6ZgAy0GadkvCI5jD
50 Xj5nRxa0fn+T/pcOWCpy7ka4rCR0rKCCNB8ARvpDnknTu2S9cxnWy1uOMv8JQpTb
51 nY27vprdkH9aykdPl/7uHL/X1hutFxE8FOAjABEBAAG0I05OQ1AgcmVsZWFzZXMg
52 PHJlbGVhc2VzQG5uY3Bnby5vcmc+iQFXBBMBCABBFiEEksLwrv5zII5Gv/PeKyWG
53 jnWhqVMFAlh0lv0CGwMMCwoJDQgMBwsDBAECBxUKCQgLAwIFFgIBAwACHgECF4AA
54 CgkQKyWGjnWhqVOaBggAqWywYtUddljHpiR/SK8uiYjSl8/F4QemM+tsu66GW56Y
55 ZB7VFOxNFcpEfSnWwH61cJ5lCuRRgyjJcIOptzbKbO+nvYQEtXznjQYoJMLnPqAa
56 2UPI5Seaijx8sXQWzYRq2Vzl9KUDBlhB2y4jZD4CFC1V29NRbWuPUajZn8UiZzFT
57 IUR/gjvtYQozF0jN8Sevs+oGAN1tqK5kYo8YXEeL+3NCVUJkqFmBtFVxrxzty4cE
58 ozgKpXzt9bi10a1hthKluWcZD6Zc4InqQhAGXb2JB2a5wRTs8CkJtHadwBOD3JEt
59 HjfhBAoZMYmhOBeHt87AG5OjFNRIOJ2rRacnRDA3E4h1BBARCAAdFiEEz2Domlkj
60 HnbiY2QirhqBCeSYV+8FAlh0lxYACgkQrhqBCeSYV+9i1QD/bdLAY67nf5giI/wQ
61 i6K7v6PTPFwG6TtG6jj68Cy13RgA/iMuKw7niLwyPWRKzWcMIG1YhVyCNCgKQvFL
62 vdr6yKbN
63 =R8E0
64 -----END PGP PUBLIC KEY BLOCK-----
65
66 Then you could verify tarballs signature:
67% gpg --verify nncp-0.1.tar.xz.sig nncp-0.1.tar.xz
68Platform-specific instructions
69==============================
70
71General installation instructions
72---------------------------------
73
74% wget http://www.nncpgo.org/download/nncp-0.1.tar.xz
75% wget http://www.nncpgo.org/download/nncp-0.1.tar.xz.sig
76% gpg --verify nncp-0.1.tar.xz.sig nncp-0.1.tar.xz
77% tar xf nncp-0.1.tar.xz
78% make -C nncp-0.1 all
79
80 There is ‘install’ target respecting ‘DESTDIR’. It will install
81binaries and info-documentation.
82
83FreeBSD installation instructions
84---------------------------------
85
86Look *note here: Integrity. for finding public keys for tarball
87authentication.
88
89# pkg install go
90
91 follow *note general: General. installation instructions
92
93# make -C nncp-0.1 install
94
95Ubuntu installation instructions
96--------------------------------
97
98Look *note here: Integrity. for finding public keys for tarball
99authentication.
100
101Ubuntu 16.04
102
103 # apt install golang
104
105 follow *note general: General. installation instructions
106
107 # make -C nncp-0.1 install PREFIX=/usr
108
109Ubuntu 14.04
110
111 # apt-get install golang-1.6
112 % wget http://www.nncpgo.org/download/nncp-0.1.tar.xz
113 % wget http://www.nncpgo.org/download/nncp-0.1.tar.xz.sig
114 % gpg --verify nncp-0.1.tar.xz.sig nncp-0.1.tar.xz
115 % tar xf nncp-0.1.tar.xz
116 % PATH=/usr/lib/go-1.6/bin:$PATH make -C nncp-0.1 all
117 # make -C nncp-0.1 install PREFIX=/usr
118
119Development source code
120=======================
121
122Development source code contains the latest version of the code. It may
123be buggy. It does not contain compiled documentation and dependent
124libraries source code. Because of that, it is recommended for porters
125to use *note tarballs: Tarballs. instead.
126
127 You can obtain it by cloning Git (http://git-scm.com/) repository
128(http://git.cypherpunks.ru/cgit.cgi/nncp.git/log/) and fetching
129dependent libraries source code as git submodules:
130
131% git clone git://git.cypherpunks.ru/nncp.git nncp
132% cd nncp
133% git checkout develop
134% git submodule update --init
135
136 Github.com mirror exists: <https://github.com/stargrave/nncp>.
137
138

Built with git-ssb-web