Initial packaging for Debian

This adds some source files, a script and skeleton for building
a Debian package that installs the zcash daemon and CLI tool.
Also removes unused Bitcoin files.
This commit is contained in:
Kevin Gallagher
2016-10-13 13:15:14 -07:00
parent 49fc58b782
commit b5718a5a57
36 changed files with 223 additions and 1480 deletions

43
contrib/DEBIAN/postrm Executable file
View File

@@ -0,0 +1,43 @@
#!/bin/sh
# postrm script for zcash
#
# see: dh_installdeb(1)
set -e
#set -x
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <overwriter>
# <overwriter-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
. /usr/share/debconf/confmodule
case "$1" in
upgrade|failed-upgrade)
;;
remove|abort-install|abort-upgrade|disappear)
;;
purge)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0