debian package

This commit is contained in:
Ben Charlton 2019-04-14 17:09:15 +01:00
parent 9c25aa142d
commit cf6664d4d3
13 changed files with 102 additions and 0 deletions

5
debian/changelog vendored Normal file
View file

@ -0,0 +1,5 @@
symbiosis-dns-mythic (0.1) stable; urgency=medium
* Initial release.
-- Ben Charlton <ben@spod.cx> Sun, 14 Apr 2019 10:36:43 +0100

1
debian/compat vendored Normal file
View file

@ -0,0 +1 @@
9

22
debian/control vendored Normal file
View file

@ -0,0 +1,22 @@
Source: symbiosis-dns-mythic
Section: net
Priority: extra
Maintainer: Ben Charlton <ben@spod.cx>
Uploaders: Ben Charlton <ben@spod.cx>
Build-Depends: debhelper (>= 7.0.0), txt2man
Standards-Version: 3.9.6
Package: symbiosis-dns-mythic
Architecture: all
Depends: perl, symbiosis-common (>= 2014:0113), ${misc:Depends}
Replaces: symbiosis-tinydns
Conflicts: symbiosis-tinydns, symbiosis-dns
Provides: symbiosis-tinydns
Description: Automatic DNS record creation and uploading for Mythic Beasts customers
.
The generated DNS files will be automatically uploaded to the Mythic Beasts
DNS service, where they will be visible and may be queried directly
via:
.
* ns1.mythic-beasts.com
* ns2.mythic-beasts.com

29
debian/copyright vendored Normal file
View file

@ -0,0 +1,29 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Symbiosis
Source: https://github.com/bcc/symbiosis-dns-mythic
Files: *
Copyright: 2008-2017, Bytemark Ltd, 2019, Ben Charlton
License: GPL-2+
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 2 of the License, or (at your option) any later
version.
.
This program 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 package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.

1
debian/debhelper-build-stamp vendored Normal file
View file

@ -0,0 +1 @@
symbiosis-dns-mythic

1
debian/docs vendored Normal file
View file

@ -0,0 +1 @@
README.md

2
debian/files vendored Normal file
View file

@ -0,0 +1,2 @@
symbiosis-dns-mythic_0.1_all.deb net extra
symbiosis-dns-mythic_0.1_amd64.buildinfo net extra

3
debian/install vendored Normal file
View file

@ -0,0 +1,3 @@
sbin usr/
dns.d etc/symbiosis/
lib/symbiosis usr/lib/ruby/vendor_ruby/

1
debian/manpages vendored Normal file
View file

@ -0,0 +1 @@
#man/symbiosis-dns-generate.man

17
debian/rules vendored Executable file
View file

@ -0,0 +1,17 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@

1
debian/source/format vendored Normal file
View file

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

6
debian/symbiosis-dns-mythic.cron.d vendored Normal file
View file

@ -0,0 +1,6 @@
SHELL=/bin/bash
#
# Run four times per-hour and upload if changed
#
07,24,37,54 * * * * root [ -x /usr/sbin/symbiosis-dns-generate ] && /usr/sbin/symbiosis-dns-generate