Giter Site home page Giter Site logo

rpm-etcd's Introduction

rpm-etcd

An RPM spec file to build and install etcd.

To Install:

etcd_version='2.0.9'

etcd_rpm_github_repo='nmilford/rpm-etcd'

sudo yum -y install rpmdevtools && rpmdev-setuptree

wget https://raw.github.com/${etcd_rpm_github_repo}/master/etcd.spec -O ~/rpmbuild/SPECS/etcd.spec

wget https://github.com/coreos/etcd/releases/download/v${etcd_version}/etcd-v${etcd_version}-linux-amd64.tar.gz -O ~/rpmbuild/SOURCES/etcd-v${etcd_version}-linux-amd64.tar.gz

wget https://raw.github.com/${etcd_rpm_github_repo}/master/etcd.initd -O ~/rpmbuild/SOURCES/etcd.initd

wget https://raw.github.com/${etcd_rpm_github_repo}/master/etcd.sysconfig -O ~/rpmbuild/SOURCES/etcd.sysconfig

wget https://raw.github.com/${etcd_rpm_github_repo}/master/etcd.nofiles.conf -O ~/rpmbuild/SOURCES/etcd.nofiles.conf

wget https://raw.github.com/${etcd_rpm_github_repo}/master/etcd.logrotate -O ~/rpmbuild/SOURCES/etcd.logrotate

rpmbuild -bb ~/rpmbuild/SPECS/etcd.spec

rpm-etcd's People

Contributors

choplin avatar cooktheryan avatar mlebbink avatar nmilford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rpm-etcd's Issues

Centos 6 support

Could we release a version of etcd for Centos 6, that doesn't rely on systemd?

(Build)Requires doesn't match nmilford/rpm-go, bogus Requires anyway?

The etcd.spec lists:

BuildRequires: golang >= 1.1
Requires:      golang >= 1.1

but the go.spec from rpm-go doesn't provide a golang resource, it provides go. This could be considered a bug in go.spec, that it should Provides: golang. Anyone know what other packagers are doing?

However, the spec as currently written repackages the binary distribution from https://github.com/coreos/etcd/releases/ which has no go-specific dependencies (dynamically linked but only depends on libc and libpthread), so these BuildRequires and Requires lines are not necessary.

I'd do a PR that fixes these up, but I'm interested in knowing what the intent is for how this should work. Would there be an advantage to building etcd from source rather than repackaging the binaries from upstream (I'd almost prefer that from a completeness/pristine-sources standpoint)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.