Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - geth-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: geth-git 1.5.5.r31.g115364b0a-1

Git Clone URL: https://aur-dev.archlinux.org/geth-git.git (read-only)
Package Base: geth-git
Description: Ethereum Go Client
Upstream URL: https://github.com/ethereum/go-ethereum
Licenses: GPL3, LGPL3
Conflicts: geth-git, go-ethereum, go-ethereum-git
Provides: geth
Submitter: dmp1ce
Maintainer: dmp1ce (5chdn)
Last Packager: 5chdn
Votes: 5
Popularity: 0.001615
First Submitted: 2015-06-25 04:41
Last Updated: 2016-12-23 10:23

Required by (7)

Sources (1)

Latest Comments

1 2 Next › Last »

dmp1ce commented on 2016-06-21 23:18

Here is my patch. I'll let @5chdn decide if it should be committed.

diff --git a/.SRCINFO b/.SRCINFO
index eb3487f..4bf7e40 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Wed Jun 15 13:33:36 UTC 2016
+# Tue Jun 21 23:14:18 UTC 2016
pkgbase = geth-git
pkgdesc = Ethereum Go Client
pkgver = 1.4.7.r0.g667a386
diff --git a/PKGBUILD b/PKGBUILD
index 704c6f0..0467ad8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,11 +26,17 @@ pkgver() {

build() {
cd "${srcdir}/${pkgbase}"
- make
+ make all
}

package() {
cd "$pkgbase"
install -Dm755 build/bin/geth "$pkgdir"/usr/bin/geth
+ install -Dm755 build/bin/geth "$pkgdir"/usr/bin/abigen
+ install -Dm755 build/bin/geth "$pkgdir"/usr/bin/bootnode
+ install -Dm755 build/bin/geth "$pkgdir"/usr/bin/disasm
+ install -Dm755 build/bin/geth "$pkgdir"/usr/bin/evm
+ install -Dm755 build/bin/geth "$pkgdir"/usr/bin/gethrpctest
+ install -Dm755 build/bin/geth "$pkgdir"/usr/bin/rlpdump
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

dmp1ce commented on 2016-06-21 22:59

@trekdev It is definitely possible. I'll look into it if @5chdn doesn't get to it first.

trekdev commented on 2016-06-21 10:33

Is there any possibility the PKGBUILD could expose the other binaries provided with geth: https://github.com/ethereum/go-ethereum/#executables

5chdn commented on 2016-05-31 15:30

Adapted the PKGBUILD to reflect the changes below. Master branch should be good for now.

dmp1ce commented on 2016-05-22 20:20

This package should probably use the 'master' branch actually. Another package should be for 'develop' branch if it is needed. Also, namcap detected that glibc is a dependency and there were some extra lines of code that I don't think are needed. Here is my proposed patch:

diff --git a/PKGBUILD b/PKGBUILD
index 5c3ef8b..d2d8eb7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,13 @@
# Co-Maintainer: Afri 5chdn <aur@cach.co>

pkgname=geth-git
-pkgver=v0.9.39.r963.gc8a8ad9
+pkgver=1.4.4.r1.g8ea3c88
pkgrel=1
pkgdesc="Ethereum Go Client"
arch=('i686' 'x86_64')
url="https://github.com/ethereum/go-ethereum"
license=('LGPL3' 'GPL3')
+depends=('glibc')
makedepends=('go' 'gmp')
optdepends=('mist: Graphical Ethereum wallet and DApps browser.')
conflicts=(
@@ -16,20 +17,16 @@ conflicts=(
'go-ethereum-git'
)
provides=('geth')
-source=("${pkgname}::git+https://github.com/ethereum/go-ethereum.git#branch=develop")
+source=("${pkgname}::git+https://github.com/ethereum/go-ethereum.git")
sha256sums=('SKIP')

pkgver() {
cd "$pkgbase"
- git checkout -q develop
- git pull -q
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
cd "${srcdir}/${pkgbase}"
- git checkout develop
- git pull
make
}

redfish commented on 2016-05-22 18:36

Because develop branch does not contain all commits that are tagged releases, latest contained tagged release (1.0.1 currently) is not very meaningful for devel branch. However, the master branch does contain tagged commits, and the tag is meaningful.

To make this package compatible with either branch, please change the pkgver to (1) use a _branch variable, (2) include the unannotated release tags in git describe command, (3) cut 'v' prefix, (4) no need for checkout command:

_branch=develop
source=("...#branch=${_branch}")
pkgver() {
cd $pkgname
git describe --long --tags ${_branch} | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

Details here: https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git

No need to do a git checkout in build(), makepkg checks out the branch specified after # automatically.

Also, bump the package version in PKGBUILD to either '1.0.1' (latest tagged commit in develop, even if not very meaningful) or '1.4.4' (latest in master).

dmp1ce commented on 2016-03-04 05:43

I added you 5chdn

5chdn commented on 2016-03-03 19:45

You can add me as co/maintainer, I'm willing to pick up this package if you wish to drop it.

dmp1ce commented on 2016-02-02 03:11

I moved to the develop branch using the URL syntax here: https://www.archlinux.org/pacman/PKGBUILD.5.html#_using_vcs_sources_a_id_vcs_a

I didn't add the conflicts because I didn't see those packages anywhere.

I added mist as an optional dependency.

I'm not currently developing with ethereum so I might not see problems with this package. Let me know if you anyone wants to take it over, or just continue to let me know what is broken.

5chdn commented on 2016-02-01 22:48

it keeps triggering updates because version r563 is not available in github. something is wrong in the pkgbuild version string. i keep getting r480 from github:

$ pacaur -Q geth-git
geth-git v0.9.39.r480.gc541b38-1

please let me suggest the following patch for the pkgbuild: https://gist.github.com/5chdn/6391a5ce8673f1af4496

- ensures working on develop branch
- add proper conflicted packages: geth, go-ethereum, go-ethereum-git
- add optional dependency: mist