From b7ecea8fdee3468c5e7c20af7af733bb1c2f2390 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Thu, 17 Oct 2019 19:49:47 -0700 Subject: [PATCH] debian stuff --- contrib/debian/changelog | 240 +--------- contrib/debian/examples/HUSH3.conf | 140 ++++++ .../debian/{zcash.examples => hush.example} | 0 .../debian/{zcash.install => hush.install} | 0 .../debian/{zcash.manpages => hush.manpages} | 0 zcutil/VerusCoin.xml | 432 ------------------ zcutil/build-debian-package.sh | 13 +- 7 files changed, 148 insertions(+), 677 deletions(-) create mode 100644 contrib/debian/examples/HUSH3.conf rename contrib/debian/{zcash.examples => hush.example} (100%) rename contrib/debian/{zcash.install => hush.install} (100%) rename contrib/debian/{zcash.manpages => hush.manpages} (100%) delete mode 100644 zcutil/VerusCoin.xml diff --git a/contrib/debian/changelog b/contrib/debian/changelog index 1dbe1cc0d..08ed69a2c 100644 --- a/contrib/debian/changelog +++ b/contrib/debian/changelog @@ -1,239 +1,5 @@ -zcash (2.0.1) stable; urgency=medium +hush (3.2.0) stable; urgency=medium - * 2.0.1 release. + * 3.2.0.1 release. - -- Zcash Company Sun, 14 Oct 2018 13:40:30 -0700 - -zcash (2.0.1~rc1) stable; urgency=medium - - * 2.0.1-rc1 release. - - -- Zcash Company Mon, 08 Oct 2018 12:40:54 -0700 - -zcash (2.0.0) stable; urgency=medium - - * 2.0.0 release. - - -- Zcash Company Wed, 15 Aug 2018 17:57:50 -0700 - -zcash (2.0.0~rc1) stable; urgency=medium - - * 2.0.0-rc1 release. - - -- Zcash Company Thu, 09 Aug 2018 16:56:56 +0000 - -zcash (1.1.2) stable; urgency=medium - - * 1.1.2 release. - - -- Zcash Company Sun, 01 Jul 2018 20:12:33 -0700 - -zcash (1.1.2~rc1) stable; urgency=medium - - * 1.1.2-rc1 release. - - -- Zcash Company Fri, 22 Jun 2018 17:03:41 -0700 - -zcash (1.1.1) stable; urgency=medium - - * 1.1.1 release. - - -- Zcash Company Fri, 25 May 2018 15:49:34 +1200 - -zcash (1.1.1~rc2) stable; urgency=medium - - * 1.1.1-rc2 release. - - -- Zcash Company Wed, 23 May 2018 09:28:50 -0700 - -zcash (1.1.1~rc1) stable; urgency=medium - - * 1.1.1-rc1 release. - - -- Zcash Company Sat, 19 May 2018 10:16:14 +1200 - -zcash (1.1.0) stable; urgency=medium - - * 1.1.0 release. - - -- Zcash Company Wed, 11 Apr 2018 20:15:29 -0600 - -zcash (1.1.0~rc1) stable; urgency=medium - - * 1.1.0-rc1 release. - - -- Zcash Company Thu, 05 Apr 2018 03:26:17 +0100 - -zcash (1.0.15) stable; urgency=medium - - * 1.0.15 release. - - -- Zcash Company Wed, 28 Feb 2018 16:58:19 +0000 - -zcash (1.0.15~rc1) stable; urgency=medium - - * 1.0.15-rc1 release. - - -- Zcash Company Sat, 24 Feb 2018 04:20:05 +0000 - -zcash (1.0.14) stable; urgency=medium - - * 1.0.14 release. - - -- Zcash Company Wed, 03 Jan 2018 23:54:16 +0100 - -zcash (1.0.14~rc1) stable; urgency=medium - - * 1.0.14-rc1 release. - - -- Zcash Company Fri, 22 Dec 2017 10:12:41 +0000 - -zcash (1.0.13) stable; urgency=medium - - * 1.0.13 release. - - -- Zcash Company Mon, 20 Nov 2017 12:31:53 +0000 - -zcash (1.0.13~rc2) stable; urgency=medium - - * 1.0.13-rc2 release. - - -- Zcash Company Fri, 17 Nov 2017 18:01:08 +0000 - -zcash (1.0.13~rc1) stable; urgency=medium - - * 1.0.13-rc1 release. - - -- Zcash Company Wed, 15 Nov 2017 00:02:21 +0000 - -zcash (1.0.12) stable; urgency=medium - - * 1.0.12 release. - - -- Zcash Company Thu, 28 Sep 2017 01:26:44 +0100 - -zcash (1.0.12~rc1) stable; urgency=medium - - * 1.0.12-rc1 release. - - -- Zcash Company Sat, 23 Sep 2017 10:51:36 +0100 - -zcash (1.0.11) stable; urgency=medium - - * 1.0.11 release. - - -- Zcash Company Tue, 15 Aug 2017 10:06:25 +0100 - -zcash (1.0.11~rc1) stable; urgency=medium - - * 1.0.11-rc1 release. - - -- Zcash Company Tue, 01 Aug 2017 17:12:52 +0200 - -zcash (1.0.10+1) stable; urgency=medium - - * 1.0.10-1 release. - - -- Zcash Company Fri, 23 Jun 2017 19:50:41 -0700 - -zcash (1.0.10) stable; urgency=medium - - * 1.0.10 release. - - -- Zcash Company Thu, 22 Jun 2017 15:13:04 +1200 - -zcash (1.0.9) stable; urgency=medium - - * 1.0.9 release. - - -- Zcash Company Wed, 24 May 2017 12:51:06 -0700 - -zcash (1.0.8+1) jessie; urgency=high - - * 1.0.8-1 release. - - -- Zcash Company Thu, 13 Apr 2017 20:20:37 -0700 - -zcash (1.0.8) jessie; urgency=medium - - * 1.0.8 release. - - -- Zcash Company Mon, 27 Mar 2017 21:30:07 +0100 - -zcash (1.0.7+1) jessie; urgency=medium - - * 1.0.7-1 release. - - -- Zcash Company Wed, 08 Mar 2017 13:51:11 -0800 - -zcash (1.0.7) jessie; urgency=medium - - * 1.0.7 release. - - -- Zcash Company Fri, 03 Mar 2017 20:55:04 -0800 - -zcash (1.0.6) jessie; urgency=medium - - * 1.0.6 release. - - -- Zcash Company Fri, 10 Feb 2017 10:23:00 -0800 - -zcash (1.0.5) jessie; urgency=medium - - * 1.0.5 release. - - -- Zcash Company Thu, 19 Jan 2017 19:23:40 -0700 - -zcash (1.0.4) jessie; urgency=medium - - * 1.0.4 release. - - -- Zcash Company Thu, 15 Dec 2016 16:46:14 +1300 - -zcash (1.0.3) jessie; urgency=medium - - * 1.0.3 release. - - -- Zcash Company Wed, 17 Nov 2016 15:56:00 -0700 - -zcash (1.0.2) jessie; urgency=medium - - * 1.0.2 release. - - -- Zcash Company Mon, 07 Nov 2016 19:01:35 -0600 - -zcash (1.0.1) jessie; urgency=medium - - * 1.0.1 release. - - -- Zcash Company Thu, 03 Nov 2016 23:21:09 -0500 - -zcash (1.0.0-sprout) jessie; urgency=medium - - * 1.0.0 release. - - -- Zcash Company Fri, 28 Oct 2016 03:00:50 -0700 - -zcash (1.0.0-rc4) jessie; urgency=medium - - * 1.0.0-rc4 release. - - -- Zcash Company Thu, 27 Oct 2016 13:36:00 +0100 - -zcash (1.0.0-rc3) jessie; urgency=medium - - * 1.0.0-rc3 release. - - -- Zcash Company Wed, 26 Oct 2016 23:17:03 +0100 - -zcash (1.0.0-rc2) jessie; urgency=medium - - * 1.0.0-rc2 release. - - -- Zcash Company Sun, 23 Oct 2016 01:51:27 +0100 - -zcash (1.0.0-rc1) jessie; urgency=medium - - * Initial packaging for Debian. - - -- Zcash Company Mon, 17 Oct 2016 11:47:02 -0700 + -- Hush Core Sun, 14 Oct 2019 13:40:30 -0700 diff --git a/contrib/debian/examples/HUSH3.conf b/contrib/debian/examples/HUSH3.conf new file mode 100644 index 000000000..656a43533 --- /dev/null +++ b/contrib/debian/examples/HUSH3.conf @@ -0,0 +1,140 @@ +## +## komodo.conf configuration file. Lines beginning with # are comments. +## + +# Network-related settings: + +# Run a regression test network +#regtest=0 + +# Connect via a SOCKS5 proxy +#proxy=127.0.0.1:9050 + +# Bind to given address and always listen on it. Use [host]:port notation for IPv6 +#bind= + +# Bind to given address and whitelist peers connecting to it. Use [host]:port notation for IPv6 +#whitebind= + +############################################################## +## Quick Primer on addnode vs connect ## +## Let's say for instance you use addnode=4.2.2.4 ## +## addnode will connect you to and tell you about the ## +## nodes connected to 4.2.2.4. In addition it will tell ## +## the other nodes connected to it that you exist so ## +## they can connect to you. ## +## connect will not do the above when you 'connect' to it. ## +## It will *only* connect you to 4.2.2.4 and no one else.## +## ## +## So if you're behind a firewall, or have other problems ## +## finding nodes, add some using 'addnode'. ## +## ## +## If you want to stay private, use 'connect' to only ## +## connect to "trusted" nodes. ## +## ## +## If you run multiple nodes on a LAN, there's no need for ## +## all of them to open lots of connections. Instead ## +## 'connect' them all to one node that is port forwarded ## +## and has lots of connections. ## +## Thanks goes to [Noodle] on Freenode. ## +############################################################## + +# Use as many addnode= settings as you like to connect to specific peers +#addnode=69.164.218.197 +#addnode=10.0.0.2:8233 + +# Alternatively use as many connect= settings as you like to connect ONLY to specific peers +#connect=69.164.218.197 +#connect=10.0.0.1:8233 + +# Listening mode, enabled by default except when 'connect' is being used +#listen=1 + +# Maximum number of inbound+outbound connections. +#maxconnections= + +# +# JSON-RPC options (for controlling a running Komodo/komodod process) +# + +# server=1 tells komodod to accept JSON-RPC commands (set as default if not specified) +#server=1 + +# Bind to given address to listen for JSON-RPC connections. Use [host]:port notation for IPv6. +# This option can be specified multiple times (default: bind to all interfaces) +#rpcbind= + +# You must set rpcuser and rpcpassword to secure the JSON-RPC api +#rpcuser=Ulysses +#rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593 + +# How many seconds komodo will wait for a complete RPC HTTP request. +# after the HTTP connection is established. +#rpcclienttimeout=30 + +# By default, only RPC connections from localhost are allowed. +# Specify as many rpcallowip= settings as you like to allow connections from other hosts, +# either as a single IPv4/IPv6 or with a subnet specification. + +# NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED, +# because the rpcpassword is transmitted over the network unencrypted and also because anyone +# that can authenticate on the RPC port can steal your keys + take over the account running komodod +# For more information see https://github.com/zcash/zcash/issues/1497 + +#rpcallowip=10.1.1.34/255.255.255.0 +#rpcallowip=1.2.3.4/24 +#rpcallowip=2001:db8:85a3:0:0:8a2e:370:7334/96 + +# Listen for RPC connections on this TCP port: +#rpcport=8232 + +# You can use Komodo or komodod to send commands to Komodo/komodod +# running on another host using this option: +#rpcconnect=127.0.0.1 + +# Transaction Fee + +# Send transactions as zero-fee transactions if possible (default: 0) +#sendfreetransactions=0 + +# Create transactions that have enough fees (or priority) so they are likely to # begin confirmation within n blocks (default: 1). +# This setting is overridden by the -paytxfee option. +#txconfirmtarget=n + +# Miscellaneous options + +# Enable attempt to mine komodo. +#gen=0 + +# Set the number of threads to be used for mining komodo (-1 = all cores). +#genproclimit=1 + +# Specify a different Equihash solver (e.g. "tromp") to try to mine komodo +# faster when gen=1. +#equihashsolver=default + +# Pre-generate this many public/private key pairs, so wallet backups will be valid for +# both prior transactions and several dozen future transactions. +#keypool=100 + +# Pay an optional transaction fee every time you send komodo. Transactions with fees +# are more likely than free transactions to be included in generated blocks, so may +# be validated sooner. This setting does not affect private transactions created with +# 'z_sendmany'. +#paytxfee=0.00 + +#Rewind the chain to specific block height. This is useful for creating snapshots at a given block height. +#rewind=777777 + +#Stop the chain a specific block height. This is useful for creating snapshots at a given block height. +#stopat=1000000 + +#Set an address to use as change address for all transactions. This value must be set to a 33 byte pubkey. All mined coins will also be sent to this address. +#pubkey=027dc7b5cfb5efca96674b45e9fda18df069d040b9fd9ff32c35df56005e330392 + +#Forfeit all user rewards to miners. Set this to explicitly not claim user rewards. +#exchange=1 + +#Donate all user rewards to a a specific address. This value must be set to a 33 byte pubkey. +#donation=027dc7b5cfb5efca96674b45e9fda18df069d040b9fd9ff32c35df56005e330392 + diff --git a/contrib/debian/zcash.examples b/contrib/debian/hush.example similarity index 100% rename from contrib/debian/zcash.examples rename to contrib/debian/hush.example diff --git a/contrib/debian/zcash.install b/contrib/debian/hush.install similarity index 100% rename from contrib/debian/zcash.install rename to contrib/debian/hush.install diff --git a/contrib/debian/zcash.manpages b/contrib/debian/hush.manpages similarity index 100% rename from contrib/debian/zcash.manpages rename to contrib/debian/hush.manpages diff --git a/zcutil/VerusCoin.xml b/zcutil/VerusCoin.xml deleted file mode 100644 index 914e2f14b..000000000 --- a/zcutil/VerusCoin.xml +++ /dev/null @@ -1,432 +0,0 @@ - - VerusCoin - VerusCoin - 0.3.12 - ${product_shortname}-v${product_version}-${platform_name}-installer.${platform_exec_suffix} - ../COPYING - ../assets/imgs/VRSC_256x256.png - ../assets/imgs/VRSC_256x256.png - ../assets/imgs/VRSC_256x256.png - 1 - - - VerusCoin - VerusCoin CLI - 1 - 1 - 1 - 1 - - - Agama - Verus-Enhanced Agama Wallet - 1 - 1 - 1 - 1 - - - Start Agama App - - ../assets/icons/agama_icons/256x256.png - Agama App - - all - 0 - 0 - ${installdir}/Agama/Agama-win32-x64/Agama.exe - - - ${windows_folder_common_programs}/ - - - - - Verus-Enhanced Agama Wallet - ${installdir}/Agama - Agama - all - - - ../Agama-win32-x64 - - - - - - - - - Program Files - ${installdir} - programfiles - all - - - Uninstall - ${installdir}/${uninstallerName} - - Uninstall ${product_fullname} - ${installdir} - all - 0 - 0 - ${installdir}/${uninstallerName}.exe - - - ${installdir} - - - - - VerusCoin - ${installdir}/ - VerusCoin - all - - - ../verus-cli - - - - - - - - - HKEY_LOCAL_MACHINE\SOFTWARE\${project.shortname} - uninstaller_path - uninstaller_path - - - previous_installation_exists - 1 - - - - - - - - ${uninstaller_path} - - - - equals - ${previous_installation_exists} - 1 - - - - - Deleting user data - ${windows_folder_appdata}/Agama - Deleting user data - - - equals - ${previous_installation_exists} - 1 - - - equals - ${installation_type} - uninstall - - - equals - ${delete_user_data} - 1 - - - - - Deleting iguana config json - ${windows_folder_appdata}/Iguana/config.json - Deleting iguana config - - - equals - ${previous_installation_exists} - 1 - - - equals - ${installation_type} - uninstall - - - equals - ${delete_config_data} - 1 - - - - - Uninstalled - Uninstalled - - - equals - ${previous_installation_exists} - 1 - - - equals - ${installation_type} - uninstall - - - - - Downloading files - - - 0 - Visual C++ Redistributable for Visual Studio 2015 library files are needed for Agama daemon - ${system_temp_directory}/vc_redist.x64.exe - Downloading Visual C++ Redistributable for Visual Studio 2015 - 0 - https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe - - - - - 1 - ${system_temp_directory}/vc_redist.x64.exe - - - - - 0 - Visual C++ Redistributable for Visual Studio 2015 library files are needed for Agama daemon - ${system_temp_directory}/vc_redist.x64.exe - /install /passive - Downloading Visual C++ Redistributable for Visual Studio 2015 - 0 - - - Downloading files - - - 0 - Visual C++ Redistributable for Visual Studio 2015 library files are needed for Agama daemon - ${system_temp_directory}/vc_redist.x86.exe - Downloading Visual C++ Redistributable for Visual Studio 2015 - 0 - https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe - - - - - 1 - ${system_temp_directory}/vc_redist.x86.exe - - - - - 0 - Visual C++ Redistributable for Visual Studio 2015 library files are needed for Agama daemon - ${system_temp_directory}/vc_redist.x86.exe - /install /passive - Downloading Visual C++ Redistributable for Visual Studio 2015 - 0 - - - 0 - Creating ZcashParam directory - ${windows_folder_appdata}/ZcashParams/ - Creating ZcashParam directory - 0 - - - 0 - Zcash Params file: sprout-proving.key - Zcash Params file: sprout-proving.key - 0 - Downloading Zcash Params file - - - 0 - Zcash Params file: sprout-proving.key - ${windows_folder_appdata}/ZcashParams/sprout-proving.key - Zcash Params file: sprout-proving.key - 0 - https://z.cash/downloads/sprout-proving.key - - - - - 1 - ${windows_folder_appdata}/ZcashParams/sprout-proving.key - - - - - 0 - Zcash Params file: sprout-verifying.key - Zcash Params file: sprout-verifying.key - Downloading Zcash Params files - - - 0 - Zcash Params file: sprout-verifying.key - ${windows_folder_appdata}/ZcashParams/sprout-verifying.key - Zcash Params file: sprout-verifying.key - 0 - https://z.cash/downloads/sprout-verifying.key - - - - - 1 - ${windows_folder_appdata}/ZcashParams/sprout-verifying.key - - - - - - - VERUS_HOME - system - ${installdir}/verus-cli/ - - - HKEY_LOCAL_MACHINE\SOFTWARE\${project.shortname} - uninstaller_path - REG_SZ - ${installdir}/${uninstallerName}.exe - - - - - C:\Windows\System32\ - Copying ReqCopying Required DLL filesuired DLL files - ${installdir}/resources/app/windeps/x86/vcruntime140d.dll - Copying ReqCopying Required DLL filesuired DLL files - - - - - - - - - - C:\Windows\System32\ - Copying ReqCopying Required DLL filesuired DLL files - ${installdir}/resources/app/windeps/x64/ucrtbased.dll - Copying ReqCopying Required DLL filesuired DLL files - - - C:\Windows\System32\ - Copying ReqCopying Required DLL filesuired DLL files - ${installdir}/resources/app/windeps/x64/vcruntime140d.dll - Copying ReqCopying Required DLL filesuired DLL files - - - C:\Windows\SysWOW64\ - Copying ReqCopying Required DLL filesuired DLL files - ${installdir}/resources/app/windeps/x86/ucrtbased.dll - Copying ReqCopying Required DLL filesuired DLL files - - - C:\Windows\SysWOW64\ - Copying ReqCopying Required DLL filesuired DLL files - ${installdir}/resources/app/windeps/x86/vcruntime140d.dll - Copying ReqCopying Required DLL filesuired DLL files - - - - - - - - - - HKEY_LOCAL_MACHINE\SOFTWARE\${project.shortname} - uninstaller_path - - - 1 - 1 - 1 - 1 - 1 - ../builds - 1 - ${windows_folder_appdata} - 1 - 1 - VerusCoin - 1 - - - installdir - Installer.Parameter.installdir.description - Installer.Parameter.installdir.explanation - - ${platform_install_prefix}/${product_shortname} - 0 - prefix - 1 - 0 - 30 - - - You don't have enough disk space to install the application, - please select another installation directory - - - less - ${installdir} - ${required_diskspace} - - - - - - - installation_type - Instalation type - Existing instalation is detected - Existing instalation is detected - uninstall - uninstall - - - uninstall - Uninstall - Uninstall - - - - - - 0 - 0 - - - - 0 - 0 - - - - - Upgrade - - - - - - - equals - ${previous_installation_exists} - 1 - - - - - - diff --git a/zcutil/build-debian-package.sh b/zcutil/build-debian-package.sh index 9c621d15b..e9afcd83f 100755 --- a/zcutil/build-debian-package.sh +++ b/zcutil/build-debian-package.sh @@ -1,12 +1,13 @@ #!/bin/bash +# Copyright 2019 Hush Developers ## Usage: ## ./zcutil/build-debian-package.sh set -e set -x -BUILD_PATH="/tmp/verus-cli" -PACKAGE_NAME="verus-cli" +BUILD_PATH="/tmp/hush-deb" +PACKAGE_NAME="hush" SRC_PATH=`pwd` SRC_DEB=$SRC_PATH/contrib/debian SRC_DOC=$SRC_PATH/doc @@ -18,12 +19,8 @@ if [ ! -d $BUILD_PATH ]; then fi ## PACKAGE_VERSION=$($SRC_PATH/src/zcashd --version | grep version | cut -d' ' -f4 | tr -d v) -## Need version setting from environment - -PACKAGE_VERSION=0.3.10-beta - -## -## Also, what does the sed end up doing? +#PACKAGE_VERSION=0.3.10-beta +PACKAGE_VERSION=$($SRC_PATH/src/hushd --version|head -n1|cut -d' ' -f4|cut -d- -f1|sed 's/v//g') DEBVERSION=$(echo $PACKAGE_VERSION | sed 's/-beta/~beta/' | sed 's/-rc/~rc/' | sed 's/-/+/') BUILD_DIR="$BUILD_PATH/$PACKAGE_NAME-$PACKAGE_VERSION-amd64"