parent
37fef27d4b
commit
0b94924469
52
debian.sh
52
debian.sh
|
@ -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
|
|
|
@ -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) <bob@robotics.uk.to> Thu, 09 Jul 2015 15:49:00 +0100
|
|
|
@ -1 +0,0 @@
|
||||||
9
|
|
|
@ -1,17 +0,0 @@
|
||||||
Source: freedombone
|
|
||||||
Section: utils
|
|
||||||
Priority: extra
|
|
||||||
Maintainer: Bob Mottram (4096 bits) <bob@robotics.uk.to>
|
|
||||||
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.
|
|
|
@ -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) <bob@robotics.uk.to>
|
|
||||||
License: GPL-3.0+
|
|
||||||
|
|
||||||
Files: debian/*
|
|
||||||
Copyright: Copyright 2015 Bob Mottram (4096 bits) <bob@robotics.uk.to>
|
|
||||||
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 <http://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the complete text of the GNU General
|
|
||||||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
|
|
@ -1 +0,0 @@
|
||||||
README.md
|
|
|
@ -1 +0,0 @@
|
||||||
man/freedombone.1.gz
|
|
|
@ -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
|
|
|
@ -1 +0,0 @@
|
||||||
3.0 (quilt)
|
|
|
@ -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
|
|
Loading…
Reference in New Issue