diff --git a/build/deb/ethereum/completions/bash/geth b/build/deb/ethereum/completions/bash/geth deleted file mode 100755 index a78952793e..0000000000 --- a/build/deb/ethereum/completions/bash/geth +++ /dev/null @@ -1,16 +0,0 @@ -_geth_bash_autocomplete() { - if [[ "${COMP_WORDS[0]}" != "source" ]]; then - local cur opts base - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - if [[ "$cur" == "-"* ]]; then - opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} ${cur} --generate-bash-completion ) - else - opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion ) - fi - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - fi -} - -complete -o bashdefault -o default -o nospace -F _geth_bash_autocomplete geth diff --git a/build/deb/ethereum/completions/zsh/_geth b/build/deb/ethereum/completions/zsh/_geth deleted file mode 100644 index 119794c532..0000000000 --- a/build/deb/ethereum/completions/zsh/_geth +++ /dev/null @@ -1,18 +0,0 @@ -_geth_zsh_autocomplete() { - local -a opts - local cur - cur=${words[-1]} - if [[ "$cur" == "-"* ]]; then - opts=("${(@f)$(${words[@]:0:#words[@]-1} ${cur} --generate-bash-completion)}") - else - opts=("${(@f)$(${words[@]:0:#words[@]-1} --generate-bash-completion)}") - fi - - if [[ "${opts[1]}" != "" ]]; then - _describe 'values' opts - else - _files - fi -} - -compdef _geth_zsh_autocomplete geth diff --git a/build/deb/ethereum/deb.changelog b/build/deb/ethereum/deb.changelog deleted file mode 100644 index 83f804a833..0000000000 --- a/build/deb/ethereum/deb.changelog +++ /dev/null @@ -1,5 +0,0 @@ -{{.Name}} ({{.VersionString}}) {{.Distro}}; urgency=low - - * git build of {{.Env.Commit}} - - -- {{.Author}} {{.Time}} diff --git a/build/deb/ethereum/deb.control b/build/deb/ethereum/deb.control deleted file mode 100644 index 3b759f2d04..0000000000 --- a/build/deb/ethereum/deb.control +++ /dev/null @@ -1,25 +0,0 @@ -Source: {{.Name}} -Section: science -Priority: extra -Maintainer: {{.Author}} -Build-Depends: debhelper (>= 8.0.0), {{.GoBootPackage}} -Standards-Version: 3.9.5 -Homepage: https://ethereum.org -Vcs-Git: https://github.com/ethereum/go-ethereum.git -Vcs-Browser: https://github.com/ethereum/go-ethereum - -Package: {{.Name}} -Architecture: any -Depends: ${misc:Depends}, {{.ExeList}} -Description: Meta-package to install geth and other tools - Meta-package to install geth and other tools - -{{range .Executables}} -Package: {{$.ExeName .}} -Conflicts: {{$.ExeConflicts .}} -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Built-Using: ${misc:Built-Using} -Description: {{.Description}} - {{.Description}} -{{end}} diff --git a/build/deb/ethereum/deb.copyright b/build/deb/ethereum/deb.copyright deleted file mode 100644 index fe6e36ad9d..0000000000 --- a/build/deb/ethereum/deb.copyright +++ /dev/null @@ -1,14 +0,0 @@ -Copyright 2018 The go-ethereum Authors - -go-ethereum is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -go-ethereum is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with go-ethereum. If not, see . diff --git a/build/deb/ethereum/deb.docs b/build/deb/ethereum/deb.docs deleted file mode 100644 index 62deb04972..0000000000 --- a/build/deb/ethereum/deb.docs +++ /dev/null @@ -1 +0,0 @@ -AUTHORS diff --git a/build/deb/ethereum/deb.install b/build/deb/ethereum/deb.install deleted file mode 100644 index 5a624594b0..0000000000 --- a/build/deb/ethereum/deb.install +++ /dev/null @@ -1,5 +0,0 @@ -build/bin/{{.BinaryName}} usr/bin -{{- if eq .BinaryName "geth" }} -build/deb/ethereum/completions/bash/geth etc/bash_completion.d -build/deb/ethereum/completions/zsh/_geth usr/share/zsh/vendor-completions -{{end -}} diff --git a/build/deb/ethereum/deb.rules b/build/deb/ethereum/deb.rules deleted file mode 100644 index daca793e55..0000000000 --- a/build/deb/ethereum/deb.rules +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# Launchpad rejects Go's access to $HOME, use custom folders -export GOCACHE=/tmp/go-build -export GOPATH=/tmp/gopath -export GOROOT_BOOTSTRAP={{.GoBootPath}} - -override_dh_auto_clean: - # Don't try to be smart Launchpad, we know our build rules better than you - -override_dh_auto_build: - # We can't download a fresh Go within Launchpad, so we're shipping and building - # one on the fly. However, we can't build it inside the go-ethereum folder as - # bootstrapping clashes with go modules, so build in a sibling folder. - # - # We're also shipping the bootstrapper as of Go 1.20 as it had minimum version - # requirements opposed to older versions of Go. - (mv .goboot ../ && cd ../.goboot/src && ./make.bash) - (mv .go ../ && cd ../.go/src && GOROOT_BOOTSTRAP=`pwd`/../../.goboot ./make.bash) - - # We can't download external go modules within Launchpad, so we're shipping the - # entire dependency source cache with go-ethereum. - mkdir -p $(GOPATH)/pkg - mv .mod $(GOPATH)/pkg/mod - - # A fresh Go was built, all dependency downloads faked, hope build works now - ../.go/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}} -ubuntu {{.Distro}} - -override_dh_auto_test: - -%: - dh $@