From 9ad2f25371461f4d4f6b80742d8069ae32184224 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 16 Jan 2015 21:30:39 +0000 Subject: [PATCH] Debian packaging --- debian/changelog | 5 +++ debian/compat | 1 + debian/control | 17 ++++++++++ debian/copyright | 28 +++++++++++++++++ debian/docs | 1 + debian/manpages | 1 + debian/rules | 43 ++++++++++++++++++++++++++ debian/source/format | 1 + debian/source/include-binaries | 20 ++++++++++++ {images => img}/beagleboard.png | Bin {images => img}/bettercrypto.png | Bin {images => img}/debian.png | Bin {images => img}/dokuwiki.png | Bin {images => img}/freedombone.jpg | Bin {images => img}/freedombone2.jpg | Bin {images => img}/freedombone_small.jpg | Bin {images => img}/freedombox.png | Bin {images => img}/gnupg.png | Bin {images => img}/gnusocial.png | Bin {images => img}/hashlet_installed.jpg | Bin {images => img}/logo.png | Bin {images => img}/logo120.png | Bin {images => img}/logo2.png | Bin {images => img}/logo60.png | Bin {images => img}/nginx.png | Bin {images => img}/openssl.png | Bin {images => img}/owncloud.png | Bin {images => img}/prosody.png | Bin {images => img}/redmatrix.png | Bin {images => img}/surveillance.png | Bin 30 files changed, 117 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/manpages create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/include-binaries rename {images => img}/beagleboard.png (100%) rename {images => img}/bettercrypto.png (100%) rename {images => img}/debian.png (100%) rename {images => img}/dokuwiki.png (100%) rename {images => img}/freedombone.jpg (100%) rename {images => img}/freedombone2.jpg (100%) rename {images => img}/freedombone_small.jpg (100%) rename {images => img}/freedombox.png (100%) rename {images => img}/gnupg.png (100%) rename {images => img}/gnusocial.png (100%) rename {images => img}/hashlet_installed.jpg (100%) rename {images => img}/logo.png (100%) rename {images => img}/logo120.png (100%) rename {images => img}/logo2.png (100%) rename {images => img}/logo60.png (100%) rename {images => img}/nginx.png (100%) rename {images => img}/openssl.png (100%) rename {images => img}/owncloud.png (100%) rename {images => img}/prosody.png (100%) rename {images => img}/redmatrix.png (100%) rename {images => img}/surveillance.png (100%) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..40388ae0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +freedombone (1.00-1) jessie; urgency=low + + * Initial package + + -- Bob Mottram (4096 bits) Fri, 16 Jan 2015 21:19:00 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..c6d8b500 --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: freedombone +Section: utils +Priority: extra +Maintainer: Bob Mottram (4096 bits) +Build-Depends: debhelper (>= 9.0.0), libsqlite3-dev +Standards-Version: 3.9.4 +Homepage: http://freedombone.uk.to +Vcs-Git: https://github.com/bashrc/freedombone.git + +Package: freedombone +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, git +Description: Home server configuration + The Freedombone system can be installed onto a Beaglebone Black, or + any system capable of running Debian Jessie, and allows you to host + your own email and web services. With Freedombone you can enjoy + true freedom and independence in the cloud. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..1ad1c392 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: +Source: + +Files: * +Copyright: Copyright 2015 Bob Mottram (4096 bits) +License: GPL-3.0+ + +Files: debian/* +Copyright: Copyright 2015 Bob Mottram (4096 bits) +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/docs b/debian/docs new file mode 100644 index 00000000..b43bf86b --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 00000000..023e0f25 --- /dev/null +++ b/debian/manpages @@ -0,0 +1 @@ +man/freedombone.1.gz diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..ccdf0f88 --- /dev/null +++ b/debian/rules @@ -0,0 +1,43 @@ +#!/usr/bin/make -f + +APP=freedombone +PREFIX=/usr +build: build-stamp + make +build-arch: build-stamp +build-indep: build-stamp +build-stamp: + dh_testdir + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + dh_clean + +install: build clean + dh_testdir + dh_testroot + dh_prep + dh_installdirs + ${MAKE} install -B DESTDIR=${CURDIR}/debian/${APP} PREFIX=/usr +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/include-binaries b/debian/source/include-binaries new file mode 100644 index 00000000..d6c0824b --- /dev/null +++ b/debian/source/include-binaries @@ -0,0 +1,20 @@ +man/freedombone.1.gz +img/beagleboard.png +img/bettercrypto.png +img/debian.png +img/dokuwiki.png +img/freedombone2.jpg +img/freedombone.jpg +img/freedombone_small.jpg +img/freedombox.png +img/gnupg.png +img/hashlet_installed.jpg +img/logo120.png +img/logo60.png +img/logo.png +img/nginx.png +img/openssl.png +img/owncloud.png +img/prosody.png +img/redmatrix.png +img/surveillance.png diff --git a/images/beagleboard.png b/img/beagleboard.png similarity index 100% rename from images/beagleboard.png rename to img/beagleboard.png diff --git a/images/bettercrypto.png b/img/bettercrypto.png similarity index 100% rename from images/bettercrypto.png rename to img/bettercrypto.png diff --git a/images/debian.png b/img/debian.png similarity index 100% rename from images/debian.png rename to img/debian.png diff --git a/images/dokuwiki.png b/img/dokuwiki.png similarity index 100% rename from images/dokuwiki.png rename to img/dokuwiki.png diff --git a/images/freedombone.jpg b/img/freedombone.jpg similarity index 100% rename from images/freedombone.jpg rename to img/freedombone.jpg diff --git a/images/freedombone2.jpg b/img/freedombone2.jpg similarity index 100% rename from images/freedombone2.jpg rename to img/freedombone2.jpg diff --git a/images/freedombone_small.jpg b/img/freedombone_small.jpg similarity index 100% rename from images/freedombone_small.jpg rename to img/freedombone_small.jpg diff --git a/images/freedombox.png b/img/freedombox.png similarity index 100% rename from images/freedombox.png rename to img/freedombox.png diff --git a/images/gnupg.png b/img/gnupg.png similarity index 100% rename from images/gnupg.png rename to img/gnupg.png diff --git a/images/gnusocial.png b/img/gnusocial.png similarity index 100% rename from images/gnusocial.png rename to img/gnusocial.png diff --git a/images/hashlet_installed.jpg b/img/hashlet_installed.jpg similarity index 100% rename from images/hashlet_installed.jpg rename to img/hashlet_installed.jpg diff --git a/images/logo.png b/img/logo.png similarity index 100% rename from images/logo.png rename to img/logo.png diff --git a/images/logo120.png b/img/logo120.png similarity index 100% rename from images/logo120.png rename to img/logo120.png diff --git a/images/logo2.png b/img/logo2.png similarity index 100% rename from images/logo2.png rename to img/logo2.png diff --git a/images/logo60.png b/img/logo60.png similarity index 100% rename from images/logo60.png rename to img/logo60.png diff --git a/images/nginx.png b/img/nginx.png similarity index 100% rename from images/nginx.png rename to img/nginx.png diff --git a/images/openssl.png b/img/openssl.png similarity index 100% rename from images/openssl.png rename to img/openssl.png diff --git a/images/owncloud.png b/img/owncloud.png similarity index 100% rename from images/owncloud.png rename to img/owncloud.png diff --git a/images/prosody.png b/img/prosody.png similarity index 100% rename from images/prosody.png rename to img/prosody.png diff --git a/images/redmatrix.png b/img/redmatrix.png similarity index 100% rename from images/redmatrix.png rename to img/redmatrix.png diff --git a/images/surveillance.png b/img/surveillance.png similarity index 100% rename from images/surveillance.png rename to img/surveillance.png