Update debian contrib files to match Dogecoin (#1449)
This commit is contained in:
parent
3fb27dd172
commit
236d74580b
|
@ -1,21 +1,21 @@
|
|||
|
||||
Debian
|
||||
====================
|
||||
This directory contains files used to package bitcoind/bitcoin-qt
|
||||
for Debian-based Linux systems. If you compile bitcoind/bitcoin-qt yourself, there are some useful files here.
|
||||
This directory contains files used to package dogecoind/dogecoin-qt
|
||||
for Debian-based Linux systems. If you compile dogecoind/dogecoin-qt yourself, there are some useful files here.
|
||||
|
||||
## bitcoin: URI support ##
|
||||
## dogecoin: URI support ##
|
||||
|
||||
|
||||
bitcoin-qt.desktop (Gnome / Open Desktop)
|
||||
dogecoin-qt.desktop (Gnome / Open Desktop)
|
||||
To install:
|
||||
|
||||
sudo desktop-file-install bitcoin-qt.desktop
|
||||
sudo desktop-file-install dogecoin-qt.desktop
|
||||
sudo update-desktop-database
|
||||
|
||||
If you build yourself, you will either need to modify the paths in
|
||||
the .desktop file or copy or symlink your bitcoin-qt binary to `/usr/bin`
|
||||
the .desktop file or copy or symlink your dogecoin-qt binary to `/usr/bin`
|
||||
and the `../../share/pixmaps/bitcoin128.png` to `/usr/share/pixmaps`
|
||||
|
||||
bitcoin-qt.protocol (KDE)
|
||||
dogecoin-qt.protocol (KDE)
|
||||
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Bitcoin Core
|
||||
Comment=Connect to the Bitcoin P2P Network
|
||||
Comment[de]=Verbinde mit dem Bitcoin peer-to-peer Netzwerk
|
||||
Comment[fr]=Bitcoin, monnaie virtuelle cryptographique pair à pair
|
||||
Comment[tr]=Bitcoin, eşten eşe kriptografik sanal para birimi
|
||||
Exec=bitcoin-qt %u
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=bitcoin128
|
||||
MimeType=x-scheme-handler/bitcoin;
|
||||
Categories=Office;Finance;
|
|
@ -1 +0,0 @@
|
|||
doc/man/bitcoin-qt.1
|
|
@ -1 +0,0 @@
|
|||
contrib/bitcoin-tx.bash-completion bitcoin-tx
|
|
@ -1 +0,0 @@
|
|||
usr/local/bin/bitcoin-tx usr/bin
|
|
@ -1 +0,0 @@
|
|||
doc/man/bitcoin-tx.1
|
|
@ -1,2 +0,0 @@
|
|||
contrib/bitcoind.bash-completion bitcoind
|
||||
contrib/bitcoin-cli.bash-completion bitcoin-cli
|
|
@ -1 +0,0 @@
|
|||
debian/examples/bitcoin.conf
|
|
@ -1,2 +0,0 @@
|
|||
usr/local/bin/bitcoind usr/bin
|
||||
usr/local/bin/bitcoin-cli usr/bin
|
|
@ -1,2 +0,0 @@
|
|||
doc/man/bitcoind.1
|
||||
doc/man/bitcoin-cli.1
|
|
@ -1,4 +1,4 @@
|
|||
Source: bitcoin
|
||||
Source: dogecoin
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: Jonas Smedegaard <dr@jones.dk>
|
||||
|
@ -23,45 +23,48 @@ Build-Depends: debhelper,
|
|||
libprotobuf-dev, protobuf-compiler,
|
||||
python
|
||||
Standards-Version: 3.9.2
|
||||
Homepage: https://bitcoincore.org/
|
||||
Vcs-Git: git://github.com/bitcoin/bitcoin.git
|
||||
Vcs-Browser: https://github.com/bitcoin/bitcoin
|
||||
Homepage: http://www.dogecoin.com/
|
||||
Vcs-Git: git://github.com/dogecoin/dogecoin.git
|
||||
Vcs-Browser: http://github.com/dogecoin/dogecoin
|
||||
|
||||
Package: bitcoind
|
||||
Package: dogecoind
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: peer-to-peer network based digital currency - daemon
|
||||
Bitcoin is an experimental new digital currency that enables instant
|
||||
payments to anyone, anywhere in the world. Bitcoin uses peer-to-peer
|
||||
technology to operate with no central authority: managing transactions
|
||||
and issuing money are carried out collectively by the network. Bitcoin Core
|
||||
is the name of the open source software which enables the use of this currency.
|
||||
Dogecoin is a free open source peer-to-peer electronic cash system that
|
||||
is completely decentralized, without the need for a central server or
|
||||
trusted parties. Users hold the crypto keys to their own money and
|
||||
transact directly with each other, with the help of a P2P network to
|
||||
check for double-spending.
|
||||
.
|
||||
This package provides the daemon, bitcoind, and the CLI tool
|
||||
bitcoin-cli to interact with the daemon.
|
||||
Full transaction history is stored locally at each client. This
|
||||
requires 20+ GB of space, slowly growing.
|
||||
.
|
||||
This package provides the daemon, dogecoind, and the CLI tool
|
||||
dogecoin-cli to interact with the daemon.
|
||||
|
||||
Package: bitcoin-qt
|
||||
Package: dogecoin-qt
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: peer-to-peer network based digital currency - Qt GUI
|
||||
Bitcoin is an experimental new digital currency that enables instant
|
||||
payments to anyone, anywhere in the world. Bitcoin uses peer-to-peer
|
||||
technology to operate with no central authority: managing transactions
|
||||
and issuing money are carried out collectively by the network. Bitcoin Core
|
||||
is the name of the open source software which enables the use of this currency.
|
||||
Dogecoin is a free open source peer-to-peer electronic cash system that
|
||||
is completely decentralized, without the need for a central server or
|
||||
trusted parties. Users hold the crypto keys to their own money and
|
||||
transact directly with each other, with the help of a P2P network to
|
||||
check for double-spending.
|
||||
.
|
||||
This package provides Bitcoin-Qt, a GUI for Bitcoin based on Qt.
|
||||
This package provides Dogecoin-Qt, a GUI for Dogecoin based on Qt.
|
||||
|
||||
Package: bitcoin-tx
|
||||
Package: dogecoin-tx
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: peer-to-peer digital currency - standalone transaction tool
|
||||
Bitcoin is an experimental new digital currency that enables instant
|
||||
payments to anyone, anywhere in the world. Bitcoin uses peer-to-peer
|
||||
technology to operate with no central authority: managing transactions
|
||||
and issuing money are carried out collectively by the network. Bitcoin Core
|
||||
is the name of the open source software which enables the use of this currency.
|
||||
Dogecoin is a free open source peer-to-peer electronic cash system that
|
||||
is completely decentralized, without the need for a central server or
|
||||
trusted parties. Users hold the crypto keys to their own money and
|
||||
transact directly with each other, with the help of a P2P network to
|
||||
check for double-spending.
|
||||
.
|
||||
This package provides bitcoin-tx, a command-line transaction creation
|
||||
tool which can be used without a bitcoin daemon. Some means of
|
||||
This package provides dogecoin-tx, a command-line transaction creation
|
||||
tool which can be used without a dogecoin daemon. Some means of
|
||||
exchanging minimal transaction data with peers is still required.
|
||||
|
|
13
contrib/debian/dogecoin-qt.desktop
Normal file
13
contrib/debian/dogecoin-qt.desktop
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Dogecoin Core
|
||||
Comment=Connect to the Dogecoin P2P Network
|
||||
Comment[de]=Verbinde mit dem Dogecoin peer-to-peer Netzwerk
|
||||
Comment[fr]=Dogecoin, monnaie virtuelle cryptographique pair à pair
|
||||
Comment[tr]=Dogecoin, eşten eşe kriptografik sanal para birimi
|
||||
Exec=dogecoin-qt %u
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=dogecoin128
|
||||
MimeType=x-scheme-handler/dogecoin;
|
||||
Categories=Office;Finance;
|
|
@ -1,6 +1,6 @@
|
|||
usr/local/bin/bitcoin-qt usr/bin
|
||||
usr/local/bin/dogecoin-qt usr/bin
|
||||
share/pixmaps/bitcoin32.xpm usr/share/pixmaps
|
||||
share/pixmaps/bitcoin16.xpm usr/share/pixmaps
|
||||
share/pixmaps/bitcoin128.png usr/share/pixmaps
|
||||
debian/bitcoin-qt.desktop usr/share/applications
|
||||
debian/bitcoin-qt.protocol usr/share/kde4/services/
|
||||
debian/dogecoin-qt.desktop usr/share/applications
|
||||
debian/dogecoin-qt.protocol usr/share/kde4/services/
|
|
@ -1,2 +1,2 @@
|
|||
# Linked code is Expat - only Debian packaging is GPL-2+
|
||||
bitcoin-qt: possible-gpl-code-linked-with-openssl
|
||||
dogecoin-qt: possible-gpl-code-linked-with-openssl
|
1
contrib/debian/dogecoin-qt.manpages
Normal file
1
contrib/debian/dogecoin-qt.manpages
Normal file
|
@ -0,0 +1 @@
|
|||
doc/man/dogecoin-qt.1
|
|
@ -1,6 +1,6 @@
|
|||
[Protocol]
|
||||
exec=bitcoin-qt '%u'
|
||||
protocol=bitcoin
|
||||
exec=dogecoin-qt '%u'
|
||||
protocol=dogecoin
|
||||
input=none
|
||||
output=none
|
||||
helper=true
|
1
contrib/debian/dogecoin-tx.bash-completion
Normal file
1
contrib/debian/dogecoin-tx.bash-completion
Normal file
|
@ -0,0 +1 @@
|
|||
contrib/dogecoin-tx.bash-completion dogecoin-tx
|
1
contrib/debian/dogecoin-tx.install
Normal file
1
contrib/debian/dogecoin-tx.install
Normal file
|
@ -0,0 +1 @@
|
|||
usr/local/bin/dogecoin-tx usr/bin
|
1
contrib/debian/dogecoin-tx.manpages
Normal file
1
contrib/debian/dogecoin-tx.manpages
Normal file
|
@ -0,0 +1 @@
|
|||
doc/man/dogecoin-tx.1
|
2
contrib/debian/dogecoind.bash-completion
Normal file
2
contrib/debian/dogecoind.bash-completion
Normal file
|
@ -0,0 +1,2 @@
|
|||
contrib/dogecoind.bash-completion dogecoind
|
||||
contrib/dogecoin-cli.bash-completion dogecoin-cli
|
1
contrib/debian/dogecoind.examples
Normal file
1
contrib/debian/dogecoind.examples
Normal file
|
@ -0,0 +1 @@
|
|||
debian/examples/dogecoin.conf
|
2
contrib/debian/dogecoind.install
Normal file
2
contrib/debian/dogecoind.install
Normal file
|
@ -0,0 +1,2 @@
|
|||
usr/local/bin/dogecoind usr/bin
|
||||
usr/local/bin/dogecoin-cli usr/bin
|
|
@ -1,2 +1,2 @@
|
|||
# Linked code is Expat - only Debian packaging is GPL-2+
|
||||
bitcoind: possible-gpl-code-linked-with-openssl
|
||||
dogecoind: possible-gpl-code-linked-with-openssl
|
2
contrib/debian/dogecoind.manpages
Normal file
2
contrib/debian/dogecoind.manpages
Normal file
|
@ -0,0 +1,2 @@
|
|||
doc/man/dogecoind.1
|
||||
doc/man/dogecoin-cli.1
|
|
@ -1,10 +1,10 @@
|
|||
##
|
||||
## bitcoin.conf configuration file. Lines beginning with # are comments.
|
||||
## dogecoin.conf configuration file. Lines beginning with # are comments.
|
||||
##
|
||||
|
||||
# Network-related settings:
|
||||
|
||||
# Run on the test network instead of the real bitcoin network.
|
||||
# Run on the test network instead of the real dogecoin network.
|
||||
#testnet=0
|
||||
|
||||
# Run a regression test network
|
||||
|
@ -44,11 +44,11 @@
|
|||
|
||||
# Use as many addnode= settings as you like to connect to specific peers
|
||||
#addnode=69.164.218.197
|
||||
#addnode=10.0.0.2:8333
|
||||
#addnode=10.0.0.2:22556
|
||||
|
||||
# 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:8333
|
||||
#connect=10.0.0.1:22556
|
||||
|
||||
# Listening mode, enabled by default except when 'connect' is being used
|
||||
#listen=1
|
||||
|
@ -57,10 +57,10 @@
|
|||
#maxconnections=
|
||||
|
||||
#
|
||||
# JSON-RPC options (for controlling a running Bitcoin/bitcoind process)
|
||||
# JSON-RPC options (for controlling a running Dogecoin/dogecoind process)
|
||||
#
|
||||
|
||||
# server=1 tells Bitcoin-Qt and bitcoind to accept JSON-RPC commands
|
||||
# server=1 tells Dogecoin-Qt and dogecoind to accept JSON-RPC commands
|
||||
#server=0
|
||||
|
||||
# Bind to given address to listen for JSON-RPC connections. Use [host]:port notation for IPv6.
|
||||
|
@ -68,7 +68,7 @@
|
|||
#rpcbind=<addr>
|
||||
|
||||
# If no rpcpassword is set, rpc cookie auth is sought. The default `-rpccookiefile` name
|
||||
# is .cookie and found in the `-datadir` being used for bitcoind. This option is typically used
|
||||
# is .cookie and found in the `-datadir` being used for dogecoind. This option is typically used
|
||||
# when the server and client are run as the same user.
|
||||
#
|
||||
# If not, you must set rpcuser and rpcpassword to secure the JSON-RPC api. The first
|
||||
|
@ -80,7 +80,7 @@
|
|||
# using the output from the script in share/rpcuser/rpcuser.py after providing a username:
|
||||
#
|
||||
# ./share/rpcuser/rpcuser.py alice
|
||||
# String to be appended to bitcoin.conf:
|
||||
# String to be appended to dogecoin.conf:
|
||||
# rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae
|
||||
# Your password:
|
||||
# DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=
|
||||
|
@ -92,7 +92,7 @@
|
|||
# You can even add multiple entries of these to the server conf file, and client can use any of them:
|
||||
# rpcauth=bob:b2dd077cb54591a2f3139e69a897ac$4e71f08d48b4347cf8eff3815c0e25ae2e9a4340474079f55705f40574f4ec99
|
||||
|
||||
# How many seconds bitcoin will wait for a complete RPC HTTP request.
|
||||
# How many seconds dogecoin will wait for a complete RPC HTTP request.
|
||||
# after the HTTP connection is established.
|
||||
#rpcclienttimeout=30
|
||||
|
||||
|
@ -103,16 +103,16 @@
|
|||
# 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.
|
||||
|
||||
# server=1 tells Bitcoin-Qt to accept JSON-RPC commands.
|
||||
# it is also read by bitcoind to determine if RPC should be enabled
|
||||
# server=1 tells Dogecoin-Qt to accept JSON-RPC commands.
|
||||
# it is also read by dogecoind to determine if RPC should be enabled
|
||||
#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=8332
|
||||
#rpcport=22555
|
||||
|
||||
# You can use Bitcoin or bitcoind to send commands to Bitcoin/bitcoind
|
||||
# You can use Dogecoin or dogecoind to send commands to Dogecoin/dogecoind
|
||||
# running on another host using this option:
|
||||
#rpcconnect=127.0.0.1
|
||||
|
||||
|
@ -131,14 +131,14 @@
|
|||
# both prior transactions and several dozen future transactions.
|
||||
#keypool=100
|
||||
|
||||
# Pay an optional transaction fee every time you send bitcoins. Transactions with fees
|
||||
# Pay an optional transaction fee every time you send dogecoins. Transactions with fees
|
||||
# are more likely than free transactions to be included in generated blocks, so may
|
||||
# be validated sooner.
|
||||
#paytxfee=0.00
|
||||
|
||||
# User interface options
|
||||
|
||||
# Start Bitcoin minimized
|
||||
# Start Dogecoin minimized
|
||||
#min=1
|
||||
|
||||
# Minimize to the system tray
|
|
@ -1,9 +1,10 @@
|
|||
|
||||
#!/usr/bin/make -f
|
||||
# -*- mode: makefile; coding: utf-8 -*-
|
||||
|
||||
#DEB_MAKE_CHECK_TARGET = test_bitcoin
|
||||
#build/bitcoind::
|
||||
# $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,src/test_bitcoin)
|
||||
#DEB_MAKE_CHECK_TARGET = test_dogecoin
|
||||
#build/dogecoind::
|
||||
# $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,src/test_dogecoin)
|
||||
|
||||
%:
|
||||
dh --with bash-completion $@
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
version=3
|
||||
# use qa.debian.org redirector; see man uscan
|
||||
opts=uversionmangle=s/(\d)(alpha|beta|rc)/$1~$2/,dversionmangle=s/~dfsg\d*// \
|
||||
http://githubredir.debian.net/github/bitcoin/bitcoin v(.*).tar.gz
|
||||
http://githubredir.debian.net/github/dogecoin/dogecoin v(.*).tar.gz
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
# bash programmable completion for bitcoind(1) and bitcoin-qt(1)
|
||||
# bash programmable completion for dogecoind(1) and bitcoin-qt(1)
|
||||
# Copyright (c) 2012-2016 The Bitcoin Core developers
|
||||
# Distributed under the MIT software license, see the accompanying
|
||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
_bitcoind() {
|
||||
_dogecoind() {
|
||||
local cur prev words=() cword
|
||||
local bitcoind
|
||||
local dogecoind
|
||||
|
||||
# save and use original argument to invoke bitcoind for -help
|
||||
# save and use original argument to invoke dogecoind for -help
|
||||
# it might not be in $PATH
|
||||
bitcoind="$1"
|
||||
dogecoind="$1"
|
||||
|
||||
COMPREPLY=()
|
||||
_get_comp_words_by_ref -n = cur prev words cword
|
||||
|
@ -33,7 +33,7 @@ _bitcoind() {
|
|||
# only parse -help if senseful
|
||||
if [[ -z "$cur" || "$cur" =~ ^- ]]; then
|
||||
local helpopts
|
||||
helpopts=$($bitcoind -help 2>&1 | awk '$1 ~ /^-/ { sub(/=.*/, "="); print $1 }' )
|
||||
helpopts=$($dogecoind -help 2>&1 | awk '$1 ~ /^-/ { sub(/=.*/, "="); print $1 }' )
|
||||
COMPREPLY=( $( compgen -W "$helpopts" -- "$cur" ) )
|
||||
fi
|
||||
|
||||
|
@ -45,7 +45,7 @@ _bitcoind() {
|
|||
;;
|
||||
esac
|
||||
} &&
|
||||
complete -F _bitcoind bitcoind bitcoin-qt
|
||||
complete -F _dogecoind dogecoind bitcoin-qt
|
||||
|
||||
# Local variables:
|
||||
# mode: shell-script
|
Loading…
Reference in a new issue