blueness    15/07/14 12:01:02

  Modified:             ChangeLog
  Added:                litecoind-0.10.2.2-r1.ebuild
  Removed:              litecoind-0.10.2.2.ebuild
  Log:
  Install the daemon as well.  Bug #554176c8.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0xF52D4BBA)

Revision  Changes    Path
1.14                 net-p2p/litecoind/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/litecoind/ChangeLog?rev=1.14&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/litecoind/ChangeLog?rev=1.14&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/litecoind/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/litecoind/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog   11 Jul 2015 13:54:41 -0000      1.13
+++ ChangeLog   14 Jul 2015 12:01:02 -0000      1.14
@@ -1,6 +1,12 @@
 # ChangeLog for net-p2p/litecoind
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/litecoind/ChangeLog,v 1.13 
2015/07/11 13:54:41 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/litecoind/ChangeLog,v 1.14 
2015/07/14 12:01:02 blueness Exp $
+
+*litecoind-0.10.2.2-r1 (14 Jul 2015)
+
+  14 Jul 2015; Anthony G. Basile <[email protected]>
+  +litecoind-0.10.2.2-r1.ebuild, -litecoind-0.10.2.2.ebuild:
+  Install the daemon as well.  Bug #554176c8.
 
   11 Jul 2015; Anthony G. Basile <[email protected]>
   litecoind-0.10.2.2.ebuild:



1.1                  net-p2p/litecoind/litecoind-0.10.2.2-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/litecoind/litecoind-0.10.2.2-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/litecoind/litecoind-0.10.2.2-r1.ebuild?rev=1.1&content-type=text/plain

Index: litecoind-0.10.2.2-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-p2p/litecoind/litecoind-0.10.2.2-r1.ebuild,v 1.1 
2015/07/14 12:01:02 blueness Exp $

EAPI=5

DB_VER="4.8"

inherit autotools db-use eutils systemd user

MyPV="${PV/_/-}"
MyPN="litecoin"
MyP="${MyPN}-${MyPV}"

DESCRIPTION="P2P Internet currency based on Bitcoin but easier to mine"
HOMEPAGE="https://litecoin.org/";
SRC_URI="https://github.com/${MyPN}-project/${MyPN}/archive/v${MyPV}.tar.gz -> 
${MyP}.tar.gz"

LICENSE="MIT ISC GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="logrotate upnp"

RDEPEND="
        dev-libs/boost[threads(+)]
        dev-libs/openssl:0[-bindist]
        logrotate? ( app-admin/logrotate )
        upnp? ( net-libs/miniupnpc )
        sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
        virtual/bitcoin-leveldb
"
DEPEND="${RDEPEND}
        >=app-shells/bash-4.1
        sys-apps/sed
"

S="${WORKDIR}/${MyP}"

pkg_setup() {
        local UG='litecoin'
        enewgroup "${UG}"
        enewuser "${UG}" -1 -1 /var/lib/litecoin "${UG}"
}

src_prepare() {
        epatch "${FILESDIR}/0.9.0-sys_leveldb.patch"
        eautoreconf
        rm -r src/leveldb
}

src_configure() {
        local my_econf=
        if use upnp; then
                my_econf="${my_econf} --with-miniupnpc --enable-upnp-default"
        else
                my_econf="${my_econf} --without-miniupnpc 
--disable-upnp-default"
        fi
        econf \
                --disable-wallet \
                --disable-ccache \
                --disable-static \
                --disable-tests \
                --with-system-leveldb \
                --with-system-libsecp256k1  \
                --without-libs \
                --with-daemon  \
                --without-gui     \
                --without-qrencode \
                ${my_econf}
}

src_install() {
        default

        insinto /etc/litecoin
        doins "${FILESDIR}/litecoin.conf"
        fowners litecoin:litecoin /etc/litecoin/litecoin.conf
        fperms 600 /etc/litecoin/litecoin.conf

        newconfd "${FILESDIR}/litecoin.confd" ${PN}
        newinitd "${FILESDIR}/litecoin.initd-r1" ${PN}
        systemd_dounit "${FILESDIR}/litecoin.service"

        keepdir /var/lib/litecoin/.litecoin
        fperms 700 /var/lib/litecoin
        fowners litecoin:litecoin /var/lib/litecoin/
        fowners litecoin:litecoin /var/lib/litecoin/.litecoin
        dosym /etc/litecoin/litecoin.conf 
/var/lib/litecoin/.litecoin/litecoin.conf

        dodoc doc/README.md doc/release-notes.md
        newman contrib/debian/manpages/bitcoind.1 litecoind.1
        newman contrib/debian/manpages/bitcoin.conf.5 litecoin.conf.5

        if use logrotate; then
                insinto /etc/logrotate.d
                newins "${FILESDIR}/litecoind.logrotate" litecoind
        fi
}




Reply via email to