File README.packaging of Package influxdb
The source tarball is obtained as the following:
1. Install govendor (skip, if already installed)
# go get github.com/kardianos/govendor
2. Obtain influxdb source codes
# mkdir ~/go/src/github.com/influxdata
# cd ~/go/src/github.com/influxdata
# git clone --branch v1.2.4 https://github.com/influxdata/influxdb.git influxdb-1.2.4
3. Obtain vendor dependencies
# cd influxdb-1.2.4
# govendor migrate
# govendor sync
4. Create archive
# cd ..
# tar -jcf influxdb-1.2.4.tar.bz2 --exclude-vcs influxdb-1.2.4