diff --git a/.gitignore b/.gitignore index aadc042..004811a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,5 +11,5 @@ */debian/debhelper-build-stamp */debian/*.debhelper.log */debian/*.substvars -*/debian/dspawn/ +*/debian/dspawn */debian/files diff --git a/README b/README new file mode 100644 index 0000000..ba60203 --- /dev/null +++ b/README @@ -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` diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3bceff1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +dspawn (0.1) UNRELEASED; urgency=medium + + * Initial release. + + -- Christophe Siraut Mon, 12 Feb 2018 12:42:48 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f9a07c1 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: dspawn +Section: python +Priority: optional +Maintainer: Christophe Siraut, +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..eed1ea9 --- /dev/null +++ b/debian/copyright @@ -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 + 2017 Entrouvert Admins +License: GPL-3.0+ + +Files: debian/* +Copyright: 2017 Christophe Siraut +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 . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..12dcf99 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,7 @@ +[DEFAULT] +cleaner = fakeroot debian/rules clean +builder = debuild -us -uc + +[buildpackage] +export-dir = ../build-area + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9cb08f8 --- /dev/null +++ b/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ --with python3 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)