[#409] Debian packaging

Debian package building, including:

 - users creation if not exist;
 - dirs creation and ownership/ACLs set;
 - man/doc/examples installation;
 - shell completion generation;
 - locode DB binary download

Using:
	make debpackage

Signed-off-by: Dmitriy Zabolotskiy <d.zabolotskiy@yadro.com>
This commit is contained in:
Dmitriy Zabolotskiy 2022-09-19 21:10:14 +03:00 committed by Stanislav Bogatyrev
parent 846ff515e6
commit 92e9782c44
31 changed files with 568 additions and 1 deletions

37
debian/control vendored Normal file
View file

@ -0,0 +1,37 @@
Source: neofs-node
Section: misc
Priority: optional
Maintainer: NeoSPCC <tech@nspcc.ru>
Build-Depends: debhelper-compat (= 13), dh-sequence-bash-completion, devscripts
Standards-Version: 4.5.1
Homepage: https://fs.neo.org/
Vcs-Git: https://github.com/nspcc-dev/neofs-node.git
Vcs-Browser: https://github.com/nspcc-dev/neofs-node
Package: neofs-node-storage
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Storage service for neofs-node
NeoFS is a decentralized distributed object storage integrated with the NEO Blockchain.
NeoFS Nodes are organized in a peer-to-peer network that takes care of storing and distributing user's data.
Any Neo user may participate in the network and get paid for providing storage resources to other users or
store their data in NeoFS and pay a competitive price for it.
Package: neofs-node-ir
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: InnerRing service for neofs-node
NeoFS is a decentralized distributed object storage integrated with the NEO Blockchain.
NeoFS Nodes are organized in a peer-to-peer network that takes care of storing and distributing user's data.
Any Neo user may participate in the network and get paid for providing storage resources to other users or
store their data in NeoFS and pay a competitive price for it.
Package: neofs-node-cli
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: cli tools for neofs-node
NeoFS is a decentralized distributed object storage integrated with the NEO Blockchain.
NeoFS Nodes are organized in a peer-to-peer network that takes care of storing and distributing user's data.
Any Neo user may participate in the network and get paid for providing storage resources to other users or
store their data in NeoFS and pay a competitive price for it.