From 0b94924469893d6ab655e9f05dec93bbe0e28f75 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 28 Oct 2015 15:56:09 +0000 Subject: [PATCH] Remove debian packaging This is now in a separate repo --- debian.sh | 52 ---------------------------------- debian/changelog | 7 ----- 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 | 24 ---------------- 10 files changed, 175 deletions(-) delete mode 100755 debian.sh delete mode 100644 debian/changelog delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/copyright delete mode 100644 debian/docs delete mode 100644 debian/manpages delete mode 100755 debian/rules delete mode 100644 debian/source/format delete mode 100644 debian/source/include-binaries diff --git a/debian.sh b/debian.sh deleted file mode 100755 index fc173c0d..00000000 --- a/debian.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash - -APP=freedombone -PREV_VERSION=1.00 -VERSION=1.01 -ARCH_TYPE="all" -DIR=${APP}-${VERSION} - -#update version numbers automatically - so you don't have to -sed -i 's/VERSION='${PREV_VERSION}'/VERSION='${VERSION}'/g' Makefile -sed -i 's/VERSION="'${PREV_VERSION}'"/VERSION="'${VERSION}'"/g' src/freedombone -sed -i 's/VERSION="'${PREV_VERSION}'"/VERSION="'${VERSION}'"/g' src/freedombone-prep -sed -i 's/VERSION="'${PREV_VERSION}'"/VERSION="'${VERSION}'"/g' src/freedombone-client - -# change the parent directory name to debian format -cp releases/* .. -mv releases /tmp/freedombone -mv ../${APP} ../${DIR} -mkdir /tmp/freedombone - -# Create a source archive -make clean -make source - -# Build the package -dpkg-buildpackage -F -if [ ! "$?" = "0" ]; then - mv ../${DIR} ../${APP} - mv /tmp/freedombone/releases . - exit 478 -fi - -# sign files -gpg -ba ../${APP}_${VERSION}-1_${ARCH_TYPE}.deb -if [ ! "$?" = "0" ]; then - mv ../${DIR} ../${APP} - mv /tmp/freedombone/releases . - exit 639 -fi - -gpg -ba ../${APP}_${VERSION}.orig.tar.gz -if [ ! "$?" = "0" ]; then - mv ../${DIR} ../${APP} - mv /tmp/freedombone/releases . - exit 592 -fi - -# restore the parent directory name -mv ../${DIR} ../${APP} -mv /tmp/freedombone/releases . - -exit 0 diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 00bd7d48..00000000 --- a/debian/changelog +++ /dev/null @@ -1,7 +0,0 @@ -freedombone (1.01-1) stable; urgency=low - - * Fixed restore script - * Social key management - * Create reciprocal backup accounts - - -- Bob Mottram (4096 bits) Thu, 09 Jul 2015 15:49:00 +0100 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index ec635144..00000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/debian/control b/debian/control deleted file mode 100644 index 0c07f22e..00000000 --- a/debian/control +++ /dev/null @@ -1,17 +0,0 @@ -Source: freedombone -Section: utils -Priority: extra -Maintainer: Bob Mottram (4096 bits) -Build-Depends: debhelper (>= 9.0.0) -Standards-Version: 3.9.4 -Homepage: http://freedombone.uk.to -Vcs-Git: https://github.com/bashrc/freedombone.git - -Package: freedombone -Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, git, dialog -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 deleted file mode 100644 index 1ad1c392..00000000 --- a/debian/copyright +++ /dev/null @@ -1,28 +0,0 @@ -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 deleted file mode 100644 index b43bf86b..00000000 --- a/debian/docs +++ /dev/null @@ -1 +0,0 @@ -README.md diff --git a/debian/manpages b/debian/manpages deleted file mode 100644 index 023e0f25..00000000 --- a/debian/manpages +++ /dev/null @@ -1 +0,0 @@ -man/freedombone.1.gz diff --git a/debian/rules b/debian/rules deleted file mode 100755 index ccdf0f88..00000000 --- a/debian/rules +++ /dev/null @@ -1,43 +0,0 @@ -#!/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 deleted file mode 100644 index 163aaf8d..00000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/debian/source/include-binaries b/debian/source/include-binaries deleted file mode 100644 index 1b8a147e..00000000 --- a/debian/source/include-binaries +++ /dev/null @@ -1,24 +0,0 @@ -man/freedombone.1.gz -man/freedombone-keydrive.1.gz -man/freedombone-splitkey.1.gz -man/freedombone-recoverkey.1.gz -man/freedombone-prep.1.gz -man/freedombone-client.1.gz -man/freedombone-remote.1.gz -man/freedombone-config.1.gz -man/freedombone-sec.1.gz -man/freedombone-clientcert.1.gz -man/freedombone-addcert.1.gz -man/freedombone-adduser.1.gz -man/freedombone-addlist.1.gz -man/freedombone-addemail.1.gz -man/freedombone-renew-cert.1.gz -man/freedombone-rmlist.1.gz -man/freedombone-rmemail.1.gz -man/freedombone-rmuser.1.gz -man/freedombone-ignore.1.gz -man/freedombone-unignore.1.gz -man/freedombone-addxmpp.1.gz -man/freedombone-rmxmpp.1.gz -man/freedombone-xmpp-pass.1.gz -man/freedombone-mesh.1.gz