zmedico     14/10/15 11:36:53

  Added:                etcd-0.4.6.ebuild metadata.xml ChangeLog
  Log:
  Add dev-db/etcd.
  
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key 0xAE5719A3)

Revision  Changes    Path
1.1                  dev-db/etcd/etcd-0.4.6.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/etcd/etcd-0.4.6.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/etcd/etcd-0.4.6.ebuild?rev=1.1&content-type=text/plain

Index: etcd-0.4.6.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/etcd/etcd-0.4.6.ebuild,v 1.1 
2014/10/15 11:36:53 zmedico Exp $

EAPI=5

inherit user systemd

KEYWORDS="~amd64"
DESCRIPTION="A highly-available key value store for shared configuration and 
service discovery"
HOMEPAGE="https://github.com/coreos/etcd/";
SRC_URI="https://github.com/coreos/etcd/archive/v${PV}.zip -> ${P}.zip"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
DEPEND=">=dev-lang/go-1.2"

pkg_setup() {
        enewgroup ${PN}
        enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
}

src_prepare() {
        sed -e "s:^\(go install\)\(.*\)$:\\1 -x -ldflags=\"-v 
-linkmode=external -extldflags '${LDFLAGS}'\" \\2:" \
                -i build || die
}

src_compile() {
        CGO_CFLAGS="${CFLAGS}" ./build || die
}

src_install() {
        dobin bin/${PN}
        newbin bin/bench ${PN}-bench
        dodoc -r CHANGELOG Documentation README.md
        systemd_dounit "${FILESDIR}/${PN}.service"
        systemd_dotmpfilesd "${FILESDIR}/${PN}.conf"
        newinitd "${FILESDIR}"/${PN}.initd ${PN}
        newconfd "${FILESDIR}"/${PN}.confd ${PN}
        dodir /var/lib/${PN}
        fowners ${PN}:${PN} /var/lib/${PN}
        fperms 755 /var/lib/${PN}
        dodir /var/log/${PN}
        fowners ${PN}:${PN} /var/log/${PN}
        fperms 755 /var/log/${PN}
}



1.1                  dev-db/etcd/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/etcd/metadata.xml?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/etcd/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
<pkgmetadata>
  <upstream>
    <bugs-to>https://github.com/coreos/etcd/issues</bugs-to>
    
<changelog>https://raw.githubusercontent.com/coreos/etcd/master/CHANGELOG</changelog>
    <doc>https://github.com/coreos/etcd/blob/master/README.md/</doc>
  </upstream>
  <maintainer>
    <email>[email protected]</email>
  </maintainer>
</pkgmetadata>



1.1                  dev-db/etcd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/etcd/ChangeLog?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/etcd/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for dev-db/etcd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/etcd/ChangeLog,v 1.1 2014/10/15 
11:36:53 zmedico Exp $

*etcd-0.4.6 (15 Oct 2014)

  15 Oct 2014; Zac Medico <[email protected]> +etcd-0.4.6.ebuild,
  +files/etcd.conf, +files/etcd.confd, +files/etcd.initd, +files/etcd.service,
  +metadata.xml:
  Add dev-db/etcd.




Reply via email to