add debian files

This commit is contained in:
Christophe Siraut 2018-02-12 17:38:17 +01:00
parent 79a9b1d8eb
commit 560dbbcd88
9 changed files with 77 additions and 1 deletions

2
.gitignore vendored
View File

@ -11,5 +11,5 @@
*/debian/debhelper-build-stamp
*/debian/*.debhelper.log
*/debian/*.substvars
*/debian/dspawn/
*/debian/dspawn
*/debian/files

14
README Normal file
View File

@ -0,0 +1,14 @@
dspawn
======
This repository holds a debian native package.
How to make changes and upload?
--------------------------------
Here is our recommended workflow:
1. Adapt files and use `git commit -m` accordingly
2. Test build using `gbp buildpackage` or `dpkg-buildpackge -uc -us`
3. Test packages produced in ../build-area/ on a virtual machine
4. Update debian changelog with: `gbp dch --release --commit`
5. gbp buildpackage --git-tag
6. `git push`

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
dspawn (0.1) UNRELEASED; urgency=medium
* Initial release.
-- Christophe Siraut <csiraut@entrouvert.com> Mon, 12 Feb 2018 12:42:48 +0100

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

16
debian/control vendored Normal file
View File

@ -0,0 +1,16 @@
Source: dspawn
Section: python
Priority: optional
Maintainer: Christophe Siraut, <csiraut@entrouvert.com>
Build-Depends: debhelper (>= 7), python3:any
Standards-Version: 3.9.2
Package: dspawn
Architecture: all
Section: python
Depends: python3, python3-psutil, debootstrap, systemd-container, libnss-mymachines, ${misc:Depends}, ${python3:Depends}
Suggests: apt-cacher-ng
Description: systemd-nspawn container manager.
an alternative to machinectl aimed at debootstrap compatible distributions, with many features:
authorizes ssh keys in container, caches deboostrap models for fast container creations,
various network configurations, uses apt-cacher-ng if available, and more.

29
debian/copyright vendored Normal file
View File

@ -0,0 +1,29 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: entrouvert-configuration
Source: https://www.entrouvert.com
Files: *
Copyright: 2017 Christophe Siraut <csiraut@entrouvert.com>
2017 Entrouvert Admins <admin@entrouvert.com>
License: GPL-3.0+
Files: debian/*
Copyright: 2017 Christophe Siraut <csiraut@entrouvert.com>
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".

7
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,7 @@
[DEFAULT]
cleaner = fakeroot debian/rules clean
builder = debuild -us -uc
[buildpackage]
export-dir = ../build-area

3
debian/rules vendored Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/make -f
%:
dh $@ --with python3

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)