Skip to content

Commit

Permalink
Namings for Deb building
Browse files Browse the repository at this point in the history
  • Loading branch information
metaspartan committed Oct 2, 2017
1 parent 61a0e84 commit a35d228
Show file tree
Hide file tree
Showing 20 changed files with 93 additions and 95 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ set -e

umask 077

basedir=~/.novacoin
basedir=~/.denarius
dbfile="$basedir/DB_CONFIG"
cfgfile="$basedir/novacoin.conf"
cfgfile="$basedir/denarius.conf"

[ -e "$basedir" ] || mkdir "$basedir"

# Novacoin does not clean up DB log files by default
# Denarius does not clean up DB log files by default
[ -e "$dbfile" ] || echo 'set_flags DB_LOG_AUTOREMOVE' > "$dbfile"

exec /usr/lib/novacoin/novacoin-qt "$@"
exec /usr/lib/denarius/denarius-qt "$@"
6 changes: 3 additions & 3 deletions contrib/debian/bin/novacoind → contrib/debian/bin/denariusd
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ set -e

umask 077

basedir=~/.novacoin
cfgfile="$basedir/novacoin.conf"
basedir=~/.denarius
cfgfile="$basedir/denarius.conf"

[ -e "$basedir" ] || mkdir "$basedir"

[ -e "$cfgfile" ] || perl -le 'print"rpcpassword=",map{(a..z,A..Z,0..9)[rand 62]}0..9' > "$cfgfile"

exec /usr/lib/novacoin/novacoind "$@"
exec /usr/lib/denarius/denariusd "$@"
6 changes: 2 additions & 4 deletions contrib/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
novacoin (0.4.0~dfsg-1) unstable; urgency=low
Denarius (1.0.7.0) stable; urgency=low

[ Balthazar ]
[ carsenk ]
* Initial release.

-- Balthazar <balthazar@yandex.ru> Mon, 15 Apr 2013 22:15:22 +0100
24 changes: 12 additions & 12 deletions contrib/debian/control
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: novacoin
Source: denarius
Section: utils
Priority: optional
Maintainer: Jonas Smedegaard <dr@jones.dk>
Expand All @@ -18,16 +18,16 @@ Build-Depends: debhelper,
qt4-qmake,
libqt4-dev,
libqrencode-dev
Standards-Version: 3.9.2
Homepage: http://www.novacoin.su/
Vcs-Git: git://github.com/CryptoManiac/novacoin.git
Vcs-Browser: http://github.com/CryptoManiac/novacoin
Standards-Version: 1.0.7.0
Homepage: http://www.denarius.io
Vcs-Git: git://github.com/carsenk/denarius.git
Vcs-Browser: http://github.com/carsenk/denarius

Package: novacoind
Package: denariusd
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: peer-to-peer network based digital currency - daemon
Novacoin is a free open source peer-to-peer electronic cash system that
Denarius 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
Expand All @@ -36,16 +36,16 @@ Description: peer-to-peer network based digital currency - daemon
By default connects to an IRC network to discover other peers.
.
Full transaction history is stored locally at each client. This
requires 2+ GB of space, slowly growing.
requires 1+ GB of space, slowly growing.
.
This package provides novacoind, a combined daemon and CLI tool to
interact with the daemon.

Package: novacoin-qt
Package: denarius-qt
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: peer-to-peer network based digital currency - Qt GUI
Novacoin is a free open source peer-to-peer electronic cash system that
Denarius 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
Expand All @@ -54,6 +54,6 @@ Description: peer-to-peer network based digital currency - Qt GUI
By default connects to an IRC network to discover other peers.
.
Full transaction history is stored locally at each client. This
requires 2+ GB of space, slowly growing.
requires 1+ GB of space, slowly growing.
.
This package provides Novacoin-Qt, a GUI for Novacoin based on Qt.
This package provides Denarius-Qt, a GUI for Denarius based on Qt.
12 changes: 12 additions & 0 deletions contrib/debian/denarius-qt.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Desktop Entry]
Encoding=UTF-8
Name=Denarius
Comment=Denarius P2P Cryptocurrency
Comment[fr]=Denarius, monnaie virtuelle cryptographique pair à pair
Comment[tr]=Denarius, eşten eşe kriptografik sanal para birimi
Exec=/usr/bin/Denarius
Terminal=false
Type=Application
Icon=/usr/share/pixmaps/bitcoin80.xpm
MimeType=x-scheme-handler/denarius;
Categories=Office;
5 changes: 5 additions & 0 deletions contrib/debian/denarius-qt.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
denarius-qt usr/bin
share/pixmaps/bitcoin32.xpm usr/share/pixmaps
share/pixmaps/bitcoin80.xpm usr/share/pixmaps
debian/denarius-qt.desktop usr/share/applications
debian/denarius-qt.protocol usr/share/kde4/services/
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Linked code is Expat - only Debian packaging is GPL-2+
novacoin-qt: possible-gpl-code-linked-with-openssl
denarius-qt: possible-gpl-code-linked-with-openssl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Protocol]
exec=novacoin-qt '%u'
protocol=novacoin
exec=denarius-qt '%u'
protocol=denarius
input=none
output=none
helper=true
Expand Down
1 change: 1 addition & 0 deletions contrib/debian/denariusd.examples
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
debian/examples/denarius.conf
2 changes: 2 additions & 0 deletions contrib/debian/denariusd.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
debian/bin/denariusd usr/bin
src/denariusd usr/lib/denarius
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Linked code is Expat - only Debian packaging is GPL-2+
novacoind: possible-gpl-code-linked-with-openssl
denariusd: possible-gpl-code-linked-with-openssl
2 changes: 2 additions & 0 deletions contrib/debian/denariusd.manpages
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
debian/manpages/denariusd.1
debian/manpages/denarius.conf.5
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# novacoin.conf configuration file. Lines beginning with # are comments.
# denarius.conf configuration file. Lines beginning with # are comments.


# Network-related settings:

# Run on the test network instead of the real novacoin network.
# Run on the test network instead of the real Denarius network.
#testnet=1

# Connect via a socks4 proxy
Expand All @@ -16,7 +16,7 @@
# to specific peers:
#connect=188.120.246.137:51737

# Do not use Internet Relay Chat (irc.lfnet.org #novacoin channel) to
# Do not use Internet Relay Chat (irc.lfnet.org #denarius channel) to
# find other peers.
#noirc=1

Expand All @@ -26,7 +26,7 @@

# JSON-RPC options (for controlling a running process)

# server=1 tells NovaCoin to accept JSON-RPC commands.
# server=1 tells Denarius to accept JSON-RPC commands.
#server=1

# You must set rpcuser and rpcpassword to secure the JSON-RPC api
Expand All @@ -42,12 +42,12 @@
# Listen for RPC connections on this TCP port:
rpcport=8332

# You can use NovaCoin or novacoind to send commands to Bitcoin/bitcoindNovaCoin/novacoind
# You can use Denarius or novacoind to send commands to Bitcoin/bitcoindNovaCoin/novacoind
# running on another host using this option:
rpcconnect=127.0.0.1

# Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate
# with NovaCoin -server or novacoind
# with Denarius -server or denariusd
#rpcssl=1

# OpenSSL settings used when rpcssl=1
Expand All @@ -58,14 +58,14 @@ rpcsslprivatekeyfile=server.pem

# Miscellaneous options

# Set gen=1 to attempt to generate novacoins
# Set gen=1 to attempt to generate Denarius
gen=0

# 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 novacoins.
# Pay an optional transaction fee every time you send DNR.
paytxfee=0.01

# Allow direct connections for the 'pay via IP address' feature.
Expand All @@ -74,7 +74,7 @@ paytxfee=0.01

# User interface options

# Start NovaCoin minimized
# Start Denarius minimized
#min=1

# Minimize to the system tray
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
.TH NOVACOIND "7" "April 2013" "novacoind 3.19"
.TH DENARIUSD "7" "October 2017" "denariusd 3.19"
.SH NAME
novacoind \- peer-to-peer network based digital currency
denariusd \- peer-to-peer network based digital currency
.SH SYNOPSIS
novacoin [options] <command> [params]
denarius [options] <command> [params]
.TP
novacoin [options] help <command> - Get help for a command
denarius [options] help <command> - Get help for a command
.SH DESCRIPTION
This manual page documents the novacoind program. Novacoin is a peer-to-peer digital currency. Peer-to-peer (P2P) means that there is no central authority to issue new money or keep track of transactions. Instead, these tasks are managed collectively by the nodes of the network. Advantages:
This manual page documents the denariusd program. Denarius is a peer-to-peer digital currency. Peer-to-peer (P2P) means that there is no central authority to issue new money or keep track of transactions. Instead, these tasks are managed collectively by the nodes of the network. Advantages:

Novacoins can be sent easily through the Internet, without having to trust middlemen. Transactions are designed to be irreversible. Be safe from instability caused by fractional reserve banking and central banks. The limited inflation of the Novacoin system’s money supply is distributed evenly (by CPU power) throughout the network, not monopolized by banks.
Denarius can be sent easily through the Internet, without having to trust middlemen. Transactions are designed to be irreversible. Be safe from instability caused by fractional reserve banking and central banks. The limited inflation of the Denarius system’s money supply is distributed evenly (by CPU power) throughout the network, not monopolized by banks.

.SH OPTIONS
.TP
\fB\-conf=\fR<file>
Specify configuration file (default: novacoin.conf)
Specify configuration file (default: denarius.conf)
.TP
\fB\-gen\fR
Generate coins
Expand Down Expand Up @@ -84,14 +84,14 @@ This help message
\fBbackupwallet 'destination'\fR
Safely copies *wallet.dat* to 'destination', which can be a directory or a path with filename.
.TP
\fBgetaccount 'novacoinaddress'\fR
\fBgetaccount 'denariusaddress'\fR
Returns the account associated with the given address.
.TP
\fBsetaccount 'novacoinaddress' ['account']\fR
\fBsetaccount 'denariusaddress' ['account']\fR
Sets the ['account'] associated with the given address. ['account'] may be omitted to remove an address from ['account'].
.TP
\fBgetaccountaddress 'account'\fR
Returns a new novacoin address for 'account'.
Returns a new denarius address for 'account'.
.TP
\fBgetaddressesbyaccount 'account'\fR
Returns the list of addresses associated with the given 'account'.
Expand All @@ -112,7 +112,7 @@ Returns the number of connections to other nodes.
Returns the proof-of-work difficulty as a multiple of the minimum difficulty.
.TP
\fBgetgenerate\fR
Returns boolean true if server is trying to generate novacoins, false otherwise.
Returns boolean true if server is trying to generate denariuss, false otherwise.
.TP
\fBsetgenerate 'generate' ['genproclimit']\fR
Generation is limited to ['genproclimit'] processors, -1 is unlimited.
Expand All @@ -124,13 +124,13 @@ Returns a recent hashes per second performance measurement while generating.
Returns an object containing server information.
.TP
\fBgetnewaddress 'account'\fR
Returns a new novacoin address for receiving payments. If 'account' is specified (recommended), it is added to the address book so payments received with the address will be credited to 'account'.
Returns a new denarius address for receiving payments. If 'account' is specified (recommended), it is added to the address book so payments received with the address will be credited to 'account'.
.TP
\fBgetreceivedbyaccount 'account' ['minconf=1']\fR
Returns the total amount received by addresses associated with 'account' in transactions with at least ['minconf'] confirmations.
.TP
\fBgetreceivedbyaddress 'novacoinaddress' ['minconf=1']\fR
Returns the total amount received by 'novacoinaddress' in transactions with at least ['minconf'] confirmations.
\fBgetreceivedbyaddress 'denariusaddress' ['minconf=1']\fR
Returns the total amount received by 'denariusaddress' in transactions with at least ['minconf'] confirmations.
.TP
\fBgettransaction 'txid'\fR
Returns information about a specific transaction, given hexadecimal transaction ID.
Expand Down Expand Up @@ -179,26 +179,26 @@ Returns a list of the last ['count'] transactions for 'account' - for all accoun
\fBmove <'fromaccount'> <'toaccount'> <'amount'> ['minconf=1'] ['comment']\fR
Moves funds between accounts.
.TP
\fBsendfrom* <'account'> <'novacoinaddress'> <'amount'> ['minconf=1'] ['comment'] ['comment-to']\fR
Sends amount from account's balance to 'novacoinaddress'. This method will fail if there is less than amount novacoins with ['minconf'] confirmations in the account's balance (unless account is the empty-string-named default account; it behaves like the *sendtoaddress* method). Returns transaction ID on success.
\fBsendfrom* <'account'> <'denariusaddress'> <'amount'> ['minconf=1'] ['comment'] ['comment-to']\fR
Sends amount from account's balance to 'denariusaddress'. This method will fail if there is less than amount denariuss with ['minconf'] confirmations in the account's balance (unless account is the empty-string-named default account; it behaves like the *sendtoaddress* method). Returns transaction ID on success.
.TP
\fBsendtoaddress 'novacoinaddress' 'amount' ['comment'] ['comment-to']\fR
Sends amount from the server's available balance to 'novacoinaddress'. amount is a real and is rounded to the nearest 0.01. Returns transaction id on success.
\fBsendtoaddress 'denariusaddress' 'amount' ['comment'] ['comment-to']\fR
Sends amount from the server's available balance to 'denariusaddress'. amount is a real and is rounded to the nearest 0.01. Returns transaction id on success.
.TP
\fBstop\fR
Stops the novacoin server.
Stops the denarius server.
.TP
\fBvalidateaddress 'novacoinaddress'\fR
Checks that 'novacoinaddress' looks like a proper novacoin address. Returns an object containing:
\fBvalidateaddress 'denariusaddress'\fR
Checks that 'denariusaddress' looks like a proper denarius address. Returns an object containing:

"isvalid" : true or false.
"ismine" : true if the address is in the server's wallet.
"address" : novacoinaddress.
"address" : denariusaddress.

*note: ismine and address are only returned if the address is valid.

.SH "SEE ALSO"
novacoin.conf(5)
denarius.conf(5)
.SH AUTHOR
This manual page was written by Micah Anderson <micah@debian.org> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.

Expand Down
Loading

0 comments on commit a35d228

Please sign in to comment.