[#11] Add Debian packaging

- uses "make all" to download and build database
 - packages it to debian package to be placed in /var/lib/neofs/ir

Using:
```make debpackage```

Signed-off-by: Dmitriy Zabolotskiy <d.zabolotskiy@yadro.com>
This commit is contained in:
Dmitriy Zabolotskiy 2022-10-27 16:50:54 +03:00 committed by Stanislav Bogatyrev
parent 83270949e0
commit bbb5840e03
8 changed files with 76 additions and 2 deletions

17
debian/control vendored Normal file
View file

@ -0,0 +1,17 @@
Source: neofs-locode-db
Section: misc
Priority: optional
Maintainer: NeoSPCC <tech@nspcc.ru>
Build-Depends: debhelper-compat (= 13), git, devscripts, wget, neofs-cli
Standards-Version: 4.5.1
Homepage: https://fs.neo.org/
Vcs-Git: https://github.com/nspcc-dev/neofs-locode-db.git
Vcs-Browser: https://github.com/nspcc-dev/neofs-locode-db
Package: neofs-locode-db
Architecture: any
Depends: ${misc:Depends}
Description: Compiled UN/LOCODE database for NeoFS
NeoFS uses UN/LOCODE in storage node attributes and storage policies.
Inner ring nodes converts UN/LOCODE into human-readable set of attributes
such as continent, country name, etc.