Browse Source

basecoin - basecoind rename

pull/1943/head
Greg Szabo 7 years ago
parent
commit
82106913f1
18 changed files with 52 additions and 52 deletions
  1. +13
    -13
      build/Makefile
  2. +0
    -6
      build/basecoin/DEBIAN/changelog
  3. +0
    -14
      build/basecoin/DEBIAN/control
  4. +0
    -2
      build/basecoin/etc/systemd/system-preset/50-basecoin.preset
  5. +6
    -0
      build/basecoind/DEBIAN/changelog
  6. +0
    -0
      build/basecoind/DEBIAN/compat
  7. +14
    -0
      build/basecoind/DEBIAN/control
  8. +2
    -2
      build/basecoind/DEBIAN/copyright
  9. +3
    -3
      build/basecoind/DEBIAN/postinst
  10. +0
    -0
      build/basecoind/DEBIAN/postrm
  11. +4
    -4
      build/basecoind/DEBIAN/preinst
  12. +1
    -1
      build/basecoind/DEBIAN/prerm
  13. +2
    -0
      build/basecoind/etc/systemd/system-preset/50-basecoind.preset
  14. +2
    -2
      build/basecoind/etc/systemd/system/basecoind.service
  15. +0
    -0
      build/basecoind/usr/share/basecoind/key.json
  16. +0
    -0
      build/basecoind/usr/share/basecoind/key2.json
  17. +0
    -5
      build/spectemplates/basecoin.data
  18. +5
    -0
      build/spectemplates/basecoind.data

+ 13
- 13
build/Makefile View File

@ -35,12 +35,12 @@ endif
# Here comes the real deal
###
binaries = tendermint basecoin ethermint gaia
build-binaries = build-tendermint build-basecoin build-ethermint build-gaia
package-rpm = package-rpm-tendermint package-rpm-basecoin package-rpm-ethermint package-rpm-gaia
install-rpm = install-rpm-tendermint install-rpm-basecoin install-rpm-ethermint install-rpm-gaia
package-deb = package-deb-tendermint package-deb-basecoin package-deb-ethermint package-deb-gaia
install-deb = install-deb-tendermint install-deb-basecoin install-deb-ethermint install-deb-gaia
binaries = tendermint basecoind ethermint gaia
build-binaries = build-tendermint build-basecoind build-ethermint build-gaia
package-rpm = package-rpm-tendermint package-rpm-basecoind package-rpm-ethermint package-rpm-gaia
install-rpm = install-rpm-tendermint install-rpm-basecoind install-rpm-ethermint install-rpm-gaia
package-deb = package-deb-tendermint package-deb-basecoind package-deb-ethermint package-deb-gaia
install-deb = install-deb-tendermint install-deb-basecoind install-deb-ethermint install-deb-gaia
all: $(binaries)
build: $(build-binaries)
@ -83,13 +83,13 @@ build-gaia: git-branch gopath-setup
export PATH=$(GOPATH)/bin:$(PATH) && $(MAKE) -C $(GOPATH)/src/github.com/cosmos/gaia get_vendor_deps install
@echo "*** Built gaia"
build-basecoin: git-branch gopath-setup
@echo "*** Building basecoin from cosmos-sdk"
build-basecoind: git-branch gopath-setup
@echo "*** Building basecoind from cosmos-sdk"
go get -d -u github.com/cosmos/cosmos-sdk/examples/basecoin/cmd/basecoind
cd $(GOPATH)/src/github.com/cosmos/cosmos-sdk && git checkout "$(GIT_BRANCH)" && git pull
export PATH=$(GOPATH)/bin:$(PATH) && $(MAKE) -C $(GOPATH)/src/github.com/cosmos/cosmos-sdk get_tools get_vendor_deps build
cp $(GOPATH)/src/github.com/cosmos/cosmos-sdk/build/basecoind $(GOPATH)/bin/basecoin
@echo "*** Built basecoin from cosmos-sdk"
cp $(GOPATH)/src/github.com/cosmos/cosmos-sdk/build/basecoind $(GOPATH)/bin/basecoind
@echo "*** Built basecoind from cosmos-sdk"
###
# Prepare package files
@ -119,7 +119,7 @@ prepare-ethermint = mkdir -p $(build_folder)/etc/ethermint && \
cp $(GOPATH)/src/github.com/tendermint/ethermint/setup/genesis.json $(build_folder)/etc/ethermint/genesis.json && \
cp -r $(GOPATH)/src/github.com/tendermint/ethermint/setup/keystore $(build_folder)/etc/ethermint
prepare-gaia =
prepare-basecoin = cp $(GOPATH)/bin/basecoin $(build_folder)/usr/bin
prepare-basecoind = cp $(GOPATH)/bin/basecoind $(build_folder)/usr/bin
###
# Package the binary for CentOS/RedHat (RPM) and Debian/Ubuntu (DEB)
@ -199,7 +199,7 @@ install-rpm-%: version-%
cp ./RPM-GPG-KEY-Tendermint tmp/s3/7/os/x86_64/
cp ./tendermint.repo tmp/s3/7/os/x86_64/
rm -f tmp/s3/7/os/x86_64/repodata/*.bz2 tmp/s3/7/os/x86_64/repodata/*.gz tmp/s3/7/os/x86_64/repodata/repomd.xml.asc
createrepo tmp/s3/7/os/x86_64/Packages -u https://tendermint-packages.interblock.io/$(DEVOPS_PATH)centos/7/os/x86_64/Packages -o tmp/s3/7/os/x86_64 --update -S --repo Tendermint --content tendermint --content basecoin --content ethermint
createrepo tmp/s3/7/os/x86_64/Packages -u https://tendermint-packages.interblock.io/$(DEVOPS_PATH)centos/7/os/x86_64/Packages -o tmp/s3/7/os/x86_64 --update -S --repo Tendermint --content tendermint --content basecoind --content ethermint
gpg --batch --passphrase "$(GPG_PASSPHRASE)" --detach-sign -a tmp/s3/7/os/x86_64/repodata/repomd.xml
aws s3 sync tmp/s3/ s3://tendermint-packages/$(DEVOPS_PATH)centos/ --delete --acl public-read
@echo "*** Uploaded $* to AWS $(DEVOPS_PATH)CentOS repository"
@ -281,7 +281,7 @@ distclean: clean
rm -rf $(GOPATH)/src/github.com/cosmos/cosmos-sdk
rm -rf $(GOPATH)/src/github.com/tendermint/ethermint
rm -rf $(GOPATH)/bin/tendermint
rm -rf $(GOPATH)/bin/basecoin
rm -rf $(GOPATH)/bin/basecoind
rm -rf $(GOPATH)/bin/ethermint
rm -rf $(GOPATH)/bin/gaia


+ 0
- 6
build/basecoin/DEBIAN/changelog View File

@ -1,6 +0,0 @@
basecoin (@VERSION@) @STABILITY@; urgency=medium
* Automatic build. See https://github.com/tendermint/basecoin for more information.
-- Greg Szabo <greg@philosobear.com> @DATETIMESTAMP@

+ 0
- 14
build/basecoin/DEBIAN/control View File

@ -1,14 +0,0 @@
Source: basecoin
Section: net
Priority: optional
Maintainer: Greg Szabo <greg@philosobear.com>
Build-Depends: debhelper (>=9)
Standards-Version: 3.9.6
Homepage: https://tendermint.com
Package: basecoin
Architecture: amd64
Version: @VERSION@
Installed-Size: @INSTALLEDSIZE@
Description: basecoin is a Proof-of-Stake cryptocurrency and framework
Basecoin is an ABCI application designed to be used with the Tendermint consensus engine to form a Proof-of-Stake cryptocurrency. It also provides a general purpose framework for extending the feature-set of the cryptocurrency by implementing plugins.

+ 0
- 2
build/basecoin/etc/systemd/system-preset/50-basecoin.preset View File

@ -1,2 +0,0 @@
disable basecoin.service

+ 6
- 0
build/basecoind/DEBIAN/changelog View File

@ -0,0 +1,6 @@
basecoind (@VERSION@) @STABILITY@; urgency=medium
* Automatic build. See https://github.com/cosmos/cosmos-sdk for more information.
-- Greg Szabo <greg@philosobear.com> @DATETIMESTAMP@

build/basecoin/DEBIAN/compat → build/basecoind/DEBIAN/compat View File


+ 14
- 0
build/basecoind/DEBIAN/control View File

@ -0,0 +1,14 @@
Source: basecoind
Section: net
Priority: optional
Maintainer: Greg Szabo <greg@philosobear.com>
Build-Depends: debhelper (>=9)
Standards-Version: 3.9.6
Homepage: https://tendermint.com
Package: basecoind
Architecture: amd64
Version: @VERSION@
Installed-Size: @INSTALLEDSIZE@
Description: basecoind is a Proof-of-Stake cryptocurrency and framework
Basecoind is an ABCI application designed to be used with the Tendermint consensus engine to form a Proof-of-Stake cryptocurrency. It also provides a general purpose framework for extending the feature-set of the cryptocurrency by implementing plugins.

build/basecoin/DEBIAN/copyright → build/basecoind/DEBIAN/copyright View File


build/basecoin/DEBIAN/postinst → build/basecoind/DEBIAN/postinst View File


build/basecoin/DEBIAN/postrm → build/basecoind/DEBIAN/postrm View File


build/basecoin/DEBIAN/preinst → build/basecoind/DEBIAN/preinst View File


build/basecoin/DEBIAN/prerm → build/basecoind/DEBIAN/prerm View File


+ 2
- 0
build/basecoind/etc/systemd/system-preset/50-basecoind.preset View File

@ -0,0 +1,2 @@
disable basecoind.service

build/basecoin/etc/systemd/system/basecoin.service → build/basecoind/etc/systemd/system/basecoind.service View File


build/basecoin/usr/share/basecoin/key.json → build/basecoind/usr/share/basecoind/key.json View File


build/basecoin/usr/share/basecoin/key2.json → build/basecoind/usr/share/basecoind/key2.json View File


+ 0
- 5
build/spectemplates/basecoin.data View File

@ -1,5 +0,0 @@
PACKAGE_SUMMARY="basecoin is a Proof-of-Stake cryptocurrency and framework"
PACKAGE_URL="https://cosmos.network/"
PACKAGE_ADDITIONAL_HEADER="Provides: basecoin"
PACKAGE_DESCRIPTION="Basecoin is an ABCI application designed to be used with the Tendermint consensus engine to form a Proof-of-Stake cryptocurrency. It also provides a general purpose framework for extending the feature-set of the cryptocurrency by implementing plugins."

+ 5
- 0
build/spectemplates/basecoind.data View File

@ -0,0 +1,5 @@
PACKAGE_SUMMARY="basecoind is a Proof-of-Stake cryptocurrency and framework"
PACKAGE_URL="https://cosmos.network/"
PACKAGE_ADDITIONAL_HEADER="Provides: basecoind"
PACKAGE_DESCRIPTION="Basecoind is an ABCI application designed to be used with the Tendermint consensus engine to form a Proof-of-Stake cryptocurrency. It also provides a general purpose framework for extending the feature-set of the cryptocurrency by implementing plugins."

Loading…
Cancel
Save