Skip to content

Commit 1408d6c

Browse files
committed
Revert #12769: Add systemd service to bitcoind in debian package
After discussion with Matt on IRC, this is not ready for prime time until 2019 and shouldn't have been ACKed and merged. - Revert "Add systemd service for bitcoind" This reverts commit 2a87b1b. - Revert "Sync contrib/debian from Matt Corallo's PPA" This reverts commit 9085532. Tree-SHA512: 439f4ccc3e196011af448b220adf26b0e653ac589bf4cfbbc276c1500c9d08f209c9d6101e4d232857779d9f25164cfb222ed30e3d63de116f9121e6ebde31c3
1 parent 35eb9d6 commit 1408d6c

File tree

10 files changed

+9
-235
lines changed

10 files changed

+9
-235
lines changed

contrib/debian/bitcoin-qt.desktop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[Desktop Entry]
2-
Encoding=UTF-8
2+
Version=1.0
33
Name=Bitcoin Core
44
Comment=Connect to the Bitcoin P2P Network
55
Comment[de]=Verbinde mit dem Bitcoin peer-to-peer Netzwerk
@@ -11,3 +11,4 @@ Type=Application
1111
Icon=bitcoin128
1212
MimeType=x-scheme-handler/bitcoin;
1313
Categories=Office;Finance;P2P;Network;Qt;
14+
StartupWMClass=Bitcoin-qt

contrib/debian/bitcoind.install

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
usr/local/bin/bitcoind usr/bin
22
usr/local/bin/bitcoin-cli usr/bin
3-
debian/examples/bitcoin.conf etc/bitcoin

contrib/debian/bitcoind.postinst

Lines changed: 0 additions & 27 deletions
This file was deleted.

contrib/debian/bitcoind.postrm

Lines changed: 0 additions & 35 deletions
This file was deleted.

contrib/debian/bitcoind.service

Lines changed: 0 additions & 45 deletions
This file was deleted.

contrib/debian/changelog

Lines changed: 0 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,3 @@
1-
bitcoin (0.16.0-trusty2) trusty; urgency=medium
2-
3-
* Add systemd service to bitcoind
4-
5-
-- Thomas M Steenholdt <[email protected]> Wed, 18 Apr 2018 16:40:00 -0200
6-
7-
bitcoin (0.16.0-xenial1) xenial; urgency=medium
8-
9-
* Mark for xenial.
10-
11-
-- Matt Corallo (BlueMatt) <[email protected]> Mon, 05 Mar 2018 11:20:00 -0500
12-
13-
bitcoin (0.16.0-trusty1) trusty; urgency=medium
14-
15-
* New upstream release.
16-
17-
-- Matt Corallo (BlueMatt) <[email protected]> Mon, 05 Mar 2018 11:18:00 -0500
18-
19-
bitcoin (0.15.1-trusty1) trusty; urgency=medium
20-
21-
* New upstream release.
22-
* Remove backported patches (which are now upstream).
23-
24-
-- Matt Corallo (BlueMatt) <[email protected]> Sat, 11 Nov 2017 16:51:00 -0500
25-
26-
bitcoin (0.15.0-artful9) artful; urgency=medium
27-
28-
* Mark for artful.
29-
30-
-- Matt Corallo (BlueMatt) <[email protected]> Sat, 21 Oct 2017 20:56:00 -0400
31-
32-
bitcoin (0.15.0-trusty9) trusty; urgency=medium
33-
34-
* Add missing xvfb dep.
35-
36-
-- Matt Corallo (BlueMatt) <[email protected]> Thu, 14 Sep 2017 22:47:00 -0400
37-
38-
bitcoin (0.15.0-trusty8) trusty; urgency=medium
39-
40-
* Backport #11332 to fix Qt settings upgrade segfault.
41-
* Use qt5 on arm to fix Qt test segfault.
42-
43-
-- Matt Corallo (BlueMatt) <[email protected]> Thu, 14 Sep 2017 22:03:00 -0400
44-
45-
bitcoin (0.15.0-trusty7) trusty; urgency=medium
46-
47-
* Backport #11210 to fix build inside launchpad.
48-
49-
-- Matt Corallo (BlueMatt) <[email protected]> Tue, 12 Sep 2017 16:13:00 -0400
50-
51-
bitcoin (0.15.0-trusty6) trusty; urgency=medium
52-
53-
* Make launchpad print more debug information.
54-
55-
-- Matt Corallo (BlueMatt) <[email protected]> Tue, 12 Sep 2017 12:50:00 -0400
56-
57-
bitcoin (0.15.0-trusty5) trusty; urgency=medium
58-
59-
* Use proper makefile comparison to fix Xvfb start.
60-
61-
-- Matt Corallo (BlueMatt) <[email protected]> Tue, 12 Sep 2017 12:49:00 -0400
62-
63-
bitcoin (0.15.0-trusty4) trusty; urgency=medium
64-
65-
* Use full path for start-stop-daemon to fix Xvfb start.
66-
67-
-- Matt Corallo (BlueMatt) <[email protected]> Tue, 12 Sep 2017 11:44:00 -0400
68-
69-
bitcoin (0.15.0-trusty3) trusty; urgency=medium
70-
71-
* Fix DISPLAY setting when using xvfb.
72-
73-
-- Matt Corallo (BlueMatt) <[email protected]> Mon, 11 Sep 2017 20:06:00 -0400
74-
75-
bitcoin (0.15.0-trusty2) trusty; urgency=medium
76-
77-
* Use xvfb to run qt4 tests.
78-
79-
-- Matt Corallo (BlueMatt) <[email protected]> Mon, 11 Sep 2017 17:31:00 -0400
80-
81-
bitcoin (0.15.0-trusty1) trusty; urgency=medium
82-
83-
* New upstream release.
84-
85-
-- Matt Corallo (BlueMatt) <[email protected]> Mon, 11 Sep 2017 16:17:00 -0400
86-
87-
bitcoin (0.14.2-trusty1) trusty; urgency=medium
88-
89-
* New upstream release.
90-
91-
-- Matt Corallo (BlueMatt) <[email protected]> Fri, 23 Jun 2017 18:21:00 -0400
92-
931
bitcoin (0.14.1-trusty4) trusty; urgency=medium
942

953
* Re-enable UPnP support.

contrib/debian/control

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,19 @@ Build-Depends: debhelper,
2020
libboost-chrono1.48-dev | libboost-chrono-dev (>> 1.47),
2121
libminiupnpc8-dev | libminiupnpc-dev,
2222
qt4-qmake, libqt4-dev,
23-
xvfb,
2423
qttools5-dev-tools, qttools5-dev,
2524
libqrencode-dev,
2625
libprotobuf-dev, protobuf-compiler,
2726
python,
28-
libzmq3-dev,
29-
dh-systemd
27+
libzmq3-dev
3028
Standards-Version: 3.9.2
3129
Homepage: https://bitcoincore.org/
3230
Vcs-Git: git://github.com/bitcoin/bitcoin.git
3331
Vcs-Browser: https://github.com/bitcoin/bitcoin
3432

3533
Package: bitcoind
3634
Architecture: any
37-
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
35+
Depends: ${shlibs:Depends}, ${misc:Depends}
3836
Description: peer-to-peer network based digital currency - daemon
3937
Bitcoin is a free open source peer-to-peer electronic cash system that
4038
is completely decentralized, without the need for a central server or

contrib/debian/examples/bitcoin.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
#rpcuser=Ulysseys
7777
#rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593
7878
#
79-
# The second method `rpcauth` can be added to server startup argument. It is set at intialization time
80-
# using the output from the script in share/rpcuser/rpcuser.py after providing a username:
79+
# The second method `rpcauth` can be added to server startup argument. It is set at initialization time
80+
# using the output from the script in share/rpcauth/rpcauth.py after providing a username:
8181
#
82-
# ./share/rpcuser/rpcuser.py alice
82+
# ./share/rpcauth/rpcauth.py alice
8383
# String to be appended to bitcoin.conf:
8484
# rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae
8585
# Your password:

contrib/debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

contrib/debian/rules

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,44 +6,18 @@
66
# $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,src/test_bitcoin)
77

88
%:
9-
dh --with bash-completion --with systemd $@
9+
dh --with bash-completion $@
1010

1111
override_dh_auto_clean:
1212
if [ -f Makefile ]; then $(MAKE) distclean; fi
1313
rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/bitcoin-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in
1414

1515
QT=$(shell dpkg-vendor --derives-from Ubuntu && echo qt4 || echo qt5)
16-
# qt4 is very broken on arm
17-
ifeq ($(findstring arm,$(shell uname -m)),arm)
18-
QT=qt5
19-
endif
20-
ifeq ($(findstring aarch64,$(shell uname -m)),aarch64)
21-
QT=qt5
22-
endif
2316

2417
# Yea, autogen should be run on the source archive, but I like doing git archive
2518
override_dh_auto_configure:
2619
./autogen.sh
2720
./configure --with-gui=$(QT)
2821

2922
override_dh_auto_test:
30-
ifeq ($(QT), qt4)
31-
xvfb-run -n 99 -l make check
32-
else
3323
make check
34-
endif
35-
36-
# No SysV or Upstart init scripts included
37-
override_dh_installinit:
38-
dh_installinit \
39-
--noscripts
40-
41-
# Don’t enable service by default
42-
override_dh_systemd_enable:
43-
dh_systemd_enable \
44-
--no-enable
45-
46-
# Restart after upgrade
47-
override_dh_systemd_start:
48-
dh_systemd_start \
49-
--restart-after-upgrade

0 commit comments

Comments
 (0)