debian: add package building (#20)

This only builds on a debian system, because it uses the dpkg-helper
and other utils. But it builds! Multiarch is supported, you can easily
build a package for amd64, arm and arm64. The Makefile does this by
default.

Massively update the systemd file.
This commit is contained in:
Miek Gieben 2017-11-11 14:57:29 +00:00 committed by GitHub
parent 3313ba9e12
commit aaf5dae5dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 110 additions and 8 deletions

8
debian/control vendored Normal file
View file

@ -0,0 +1,8 @@
Source: coredns
Maintainer: Miek Gieben <miek@coredns.io>
Build-Depends: debhelper (>= 9), ca-certificates, wget, dh-systemd
Package: coredns
Architecture: any
Description: DNS server that chains plugins
Depends: adduser